Annotation of sql/sqlite/configure, revision 1.26

1.1       misha       1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.25      moko        3: # Generated by GNU Autoconf 2.69 for parser3sqlite 10.3.
1.22      moko        4: #
                      5: #
1.25      moko        6: # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
1.22      moko        7: #
1.1       misha       8: #
                      9: # This configure script is free software; the Free Software Foundation
                     10: # gives unlimited permission to copy, distribute and modify it.
1.22      moko       11: ## -------------------- ##
                     12: ## M4sh Initialization. ##
                     13: ## -------------------- ##
1.1       misha      14: 
1.22      moko       15: # Be more Bourne compatible
                     16: DUALCASE=1; export DUALCASE # for MKS sh
                     17: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.1       misha      18:   emulate sh
                     19:   NULLCMD=:
1.22      moko       20:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.1       misha      21:   # is contrary to our usage.  Disable this feature.
                     22:   alias -g '${1+"$@"}'='"$@"'
1.22      moko       23:   setopt NO_GLOB_SUBST
                     24: else
                     25:   case `(set -o) 2>/dev/null` in #(
                     26:   *posix*) :
                     27:     set -o posix ;; #(
                     28:   *) :
                     29:      ;;
                     30: esac
                     31: fi
                     32: 
                     33: 
                     34: as_nl='
                     35: '
                     36: export as_nl
                     37: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                     38: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                     39: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                     40: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                     41: # Prefer a ksh shell builtin over an external printf program on Solaris,
                     42: # but without wasting forks for bash or zsh.
                     43: if test -z "$BASH_VERSION$ZSH_VERSION" \
                     44:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                     45:   as_echo='print -r --'
                     46:   as_echo_n='print -rn --'
                     47: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                     48:   as_echo='printf %s\n'
                     49:   as_echo_n='printf %s'
                     50: else
                     51:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                     52:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                     53:     as_echo_n='/usr/ucb/echo -n'
                     54:   else
                     55:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                     56:     as_echo_n_body='eval
                     57:       arg=$1;
                     58:       case $arg in #(
                     59:       *"$as_nl"*)
                     60:        expr "X$arg" : "X\\(.*\\)$as_nl";
                     61:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                     62:       esac;
                     63:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                     64:     '
                     65:     export as_echo_n_body
                     66:     as_echo_n='sh -c $as_echo_n_body as_echo'
                     67:   fi
                     68:   export as_echo_body
                     69:   as_echo='sh -c $as_echo_body as_echo'
1.10      moko       70: fi
                     71: 
1.22      moko       72: # The user is always right.
                     73: if test "${PATH_SEPARATOR+set}" != set; then
                     74:   PATH_SEPARATOR=:
                     75:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                     76:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                     77:       PATH_SEPARATOR=';'
                     78:   }
1.1       misha      79: fi
                     80: 
1.10      moko       81: 
1.22      moko       82: # IFS
                     83: # We need space, tab and new line, in precisely that order.  Quoting is
                     84: # there to prevent editors from complaining about space-tab.
                     85: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                     86: # splitting by setting IFS to empty value.)
                     87: IFS=" ""       $as_nl"
                     88: 
                     89: # Find who we are.  Look in the path if we contain no directory separator.
                     90: as_myself=
                     91: case $0 in #((
                     92:   *[\\/]* ) as_myself=$0 ;;
                     93:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                     94: for as_dir in $PATH
                     95: do
                     96:   IFS=$as_save_IFS
                     97:   test -z "$as_dir" && as_dir=.
                     98:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                     99:   done
                    100: IFS=$as_save_IFS
                    101: 
                    102:      ;;
                    103: esac
                    104: # We did not find ourselves, most probably we were run as `sh COMMAND'
                    105: # in which case we are not to be found in the path.
                    106: if test "x$as_myself" = x; then
                    107:   as_myself=$0
                    108: fi
                    109: if test ! -f "$as_myself"; then
                    110:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                    111:   exit 1
                    112: fi
                    113: 
                    114: # Unset variables that we do not need and which cause bugs (e.g. in
                    115: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                    116: # suppresses any "Segmentation fault" message there.  '((' could
                    117: # trigger a bug in pdksh 5.2.14.
                    118: for as_var in BASH_ENV ENV MAIL MAILPATH
                    119: do eval test x\${$as_var+set} = xset \
                    120:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                    121: done
1.1       misha     122: PS1='$ '
                    123: PS2='> '
                    124: PS4='+ '
                    125: 
                    126: # NLS nuisances.
1.22      moko      127: LC_ALL=C
                    128: export LC_ALL
                    129: LANGUAGE=C
                    130: export LANGUAGE
                    131: 
                    132: # CDPATH.
                    133: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                    134: 
1.25      moko      135: # Use a proper internal environment variable to ensure we don't fall
                    136:   # into an infinite loop, continuously re-executing ourselves.
                    137:   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
                    138:     _as_can_reexec=no; export _as_can_reexec;
                    139:     # We cannot yet assume a decent shell, so we have to provide a
                    140: # neutralization value for shells without unset; and this also
                    141: # works around shells that cannot unset nonexistent variables.
                    142: # Preserve -v and -x to the replacement shell.
                    143: BASH_ENV=/dev/null
                    144: ENV=/dev/null
                    145: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
                    146: case $- in # ((((
                    147:   *v*x* | *x*v* ) as_opts=-vx ;;
                    148:   *v* ) as_opts=-v ;;
                    149:   *x* ) as_opts=-x ;;
                    150:   * ) as_opts= ;;
                    151: esac
                    152: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
                    153: # Admittedly, this is quite paranoid, since all the known shells bail
                    154: # out after a failed `exec'.
                    155: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
                    156: as_fn_exit 255
                    157:   fi
                    158:   # We don't want this to propagate to other subprocesses.
                    159:           { _as_can_reexec=; unset _as_can_reexec;}
1.22      moko      160: if test "x$CONFIG_SHELL" = x; then
                    161:   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
                    162:   emulate sh
                    163:   NULLCMD=:
                    164:   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
                    165:   # is contrary to our usage.  Disable this feature.
                    166:   alias -g '\${1+\"\$@\"}'='\"\$@\"'
                    167:   setopt NO_GLOB_SUBST
                    168: else
                    169:   case \`(set -o) 2>/dev/null\` in #(
                    170:   *posix*) :
                    171:     set -o posix ;; #(
                    172:   *) :
                    173:      ;;
                    174: esac
                    175: fi
                    176: "
                    177:   as_required="as_fn_return () { (exit \$1); }
                    178: as_fn_success () { as_fn_return 0; }
                    179: as_fn_failure () { as_fn_return 1; }
                    180: as_fn_ret_success () { return 0; }
                    181: as_fn_ret_failure () { return 1; }
                    182: 
                    183: exitcode=0
                    184: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
                    185: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
                    186: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
                    187: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
                    188: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
                    189: 
                    190: else
                    191:   exitcode=1; echo positional parameters were not saved.
                    192: fi
1.25      moko      193: test x\$exitcode = x0 || exit 1
                    194: test -x / || exit 1"
1.22      moko      195:   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
                    196:   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
                    197:   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
                    198:   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
                    199: 
                    200:   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
                    201:     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                    202:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
                    203:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
                    204:     PATH=/empty FPATH=/empty; export PATH FPATH
                    205:     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
                    206:       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
                    207: test \$(( 1 + 1 )) = 2 || exit 1"
                    208:   if (eval "$as_required") 2>/dev/null; then :
                    209:   as_have_required=yes
                    210: else
                    211:   as_have_required=no
                    212: fi
                    213:   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
                    214: 
                    215: else
                    216:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                    217: as_found=false
                    218: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1.1       misha     219: do
1.22      moko      220:   IFS=$as_save_IFS
                    221:   test -z "$as_dir" && as_dir=.
                    222:   as_found=:
                    223:   case $as_dir in #(
                    224:         /*)
                    225:           for as_base in sh bash ksh sh5; do
                    226:             # Try only shells that exist, to save several forks.
                    227:             as_shell=$as_dir/$as_base
                    228:             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
                    229:                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
                    230:   CONFIG_SHELL=$as_shell as_have_required=yes
                    231:                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
                    232:   break 2
                    233: fi
                    234: fi
                    235:           done;;
                    236:        esac
                    237:   as_found=false
                    238: done
                    239: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
                    240:              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
                    241:   CONFIG_SHELL=$SHELL as_have_required=yes
                    242: fi; }
                    243: IFS=$as_save_IFS
                    244: 
                    245: 
                    246:       if test "x$CONFIG_SHELL" != x; then :
1.25      moko      247:   export CONFIG_SHELL
                    248:              # We cannot yet assume a decent shell, so we have to provide a
                    249: # neutralization value for shells without unset; and this also
                    250: # works around shells that cannot unset nonexistent variables.
                    251: # Preserve -v and -x to the replacement shell.
                    252: BASH_ENV=/dev/null
                    253: ENV=/dev/null
                    254: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
                    255: case $- in # ((((
                    256:   *v*x* | *x*v* ) as_opts=-vx ;;
                    257:   *v* ) as_opts=-v ;;
                    258:   *x* ) as_opts=-x ;;
                    259:   * ) as_opts= ;;
                    260: esac
                    261: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
                    262: # Admittedly, this is quite paranoid, since all the known shells bail
                    263: # out after a failed `exec'.
                    264: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
                    265: exit 255
1.22      moko      266: fi
                    267: 
                    268:     if test x$as_have_required = xno; then :
                    269:   $as_echo "$0: This script requires a shell more modern than all"
                    270:   $as_echo "$0: the shells that I found on your system."
                    271:   if test x${ZSH_VERSION+set} = xset ; then
                    272:     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
                    273:     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
1.1       misha     274:   else
1.22      moko      275:     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
                    276: $0: including any error possibly output before this
                    277: $0: message. Then install a modern shell, or manually run
                    278: $0: the script under such a shell if you do have one."
1.1       misha     279:   fi
1.22      moko      280:   exit 1
                    281: fi
                    282: fi
                    283: fi
                    284: SHELL=${CONFIG_SHELL-/bin/sh}
                    285: export SHELL
                    286: # Unset more variables known to interfere with behavior of common tools.
                    287: CLICOLOR_FORCE= GREP_OPTIONS=
                    288: unset CLICOLOR_FORCE GREP_OPTIONS
                    289: 
                    290: ## --------------------- ##
                    291: ## M4sh Shell Functions. ##
                    292: ## --------------------- ##
                    293: # as_fn_unset VAR
                    294: # ---------------
                    295: # Portably unset VAR.
                    296: as_fn_unset ()
                    297: {
                    298:   { eval $1=; unset $1;}
                    299: }
                    300: as_unset=as_fn_unset
                    301: 
                    302: # as_fn_set_status STATUS
                    303: # -----------------------
                    304: # Set $? to STATUS, without forking.
                    305: as_fn_set_status ()
                    306: {
                    307:   return $1
                    308: } # as_fn_set_status
                    309: 
                    310: # as_fn_exit STATUS
                    311: # -----------------
                    312: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                    313: as_fn_exit ()
                    314: {
                    315:   set +e
                    316:   as_fn_set_status $1
                    317:   exit $1
                    318: } # as_fn_exit
                    319: 
                    320: # as_fn_mkdir_p
                    321: # -------------
                    322: # Create "$as_dir" as a directory, including parents if necessary.
                    323: as_fn_mkdir_p ()
                    324: {
                    325: 
                    326:   case $as_dir in #(
                    327:   -*) as_dir=./$as_dir;;
                    328:   esac
                    329:   test -d "$as_dir" || eval $as_mkdir_p || {
                    330:     as_dirs=
                    331:     while :; do
                    332:       case $as_dir in #(
                    333:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                    334:       *) as_qdir=$as_dir;;
                    335:       esac
                    336:       as_dirs="'$as_qdir' $as_dirs"
                    337:       as_dir=`$as_dirname -- "$as_dir" ||
                    338: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                    339:         X"$as_dir" : 'X\(//\)[^/]' \| \
                    340:         X"$as_dir" : 'X\(//\)$' \| \
                    341:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                    342: $as_echo X"$as_dir" |
                    343:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                    344:            s//\1/
                    345:            q
                    346:          }
                    347:          /^X\(\/\/\)[^/].*/{
                    348:            s//\1/
                    349:            q
                    350:          }
                    351:          /^X\(\/\/\)$/{
                    352:            s//\1/
                    353:            q
                    354:          }
                    355:          /^X\(\/\).*/{
                    356:            s//\1/
                    357:            q
                    358:          }
                    359:          s/.*/./; q'`
                    360:       test -d "$as_dir" && break
                    361:     done
                    362:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                    363:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                    364: 
                    365: 
                    366: } # as_fn_mkdir_p
1.25      moko      367: 
                    368: # as_fn_executable_p FILE
                    369: # -----------------------
                    370: # Test if FILE is an executable regular file.
                    371: as_fn_executable_p ()
                    372: {
                    373:   test -f "$1" && test -x "$1"
                    374: } # as_fn_executable_p
1.22      moko      375: # as_fn_append VAR VALUE
                    376: # ----------------------
                    377: # Append the text in VALUE to the end of the definition contained in VAR. Take
                    378: # advantage of any shell optimizations that allow amortized linear growth over
                    379: # repeated appends, instead of the typical quadratic growth present in naive
                    380: # implementations.
                    381: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                    382:   eval 'as_fn_append ()
                    383:   {
                    384:     eval $1+=\$2
                    385:   }'
                    386: else
                    387:   as_fn_append ()
                    388:   {
                    389:     eval $1=\$$1\$2
                    390:   }
                    391: fi # as_fn_append
                    392: 
                    393: # as_fn_arith ARG...
                    394: # ------------------
                    395: # Perform arithmetic evaluation on the ARGs, and store the result in the
                    396: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                    397: # must be portable across $(()) and expr.
                    398: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                    399:   eval 'as_fn_arith ()
                    400:   {
                    401:     as_val=$(( $* ))
                    402:   }'
                    403: else
                    404:   as_fn_arith ()
                    405:   {
                    406:     as_val=`expr "$@" || test $? -eq 1`
                    407:   }
                    408: fi # as_fn_arith
                    409: 
                    410: 
                    411: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                    412: # ----------------------------------------
                    413: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                    414: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                    415: # script with STATUS, using 1 if that was 0.
                    416: as_fn_error ()
                    417: {
                    418:   as_status=$1; test $as_status -eq 0 && as_status=1
                    419:   if test "$4"; then
                    420:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                    421:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                    422:   fi
                    423:   $as_echo "$as_me: error: $2" >&2
                    424:   as_fn_exit $as_status
                    425: } # as_fn_error
1.10      moko      426: 
1.22      moko      427: if expr a : '\(a\)' >/dev/null 2>&1 &&
                    428:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.1       misha     429:   as_expr=expr
                    430: else
                    431:   as_expr=false
                    432: fi
                    433: 
1.22      moko      434: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1.1       misha     435:   as_basename=basename
                    436: else
                    437:   as_basename=false
                    438: fi
                    439: 
1.22      moko      440: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                    441:   as_dirname=dirname
                    442: else
                    443:   as_dirname=false
                    444: fi
1.1       misha     445: 
1.22      moko      446: as_me=`$as_basename -- "$0" ||
1.1       misha     447: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                    448:         X"$0" : 'X\(//\)$' \| \
1.22      moko      449:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                    450: $as_echo X/"$0" |
                    451:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                    452:            s//\1/
                    453:            q
                    454:          }
                    455:          /^X\/\(\/\/\)$/{
                    456:            s//\1/
                    457:            q
                    458:          }
                    459:          /^X\/\(\/\).*/{
                    460:            s//\1/
                    461:            q
                    462:          }
                    463:          s/.*/./; q'`
1.11      moko      464: 
1.1       misha     465: # Avoid depending upon Character Ranges.
                    466: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                    467: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                    468: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                    469: as_cr_digits='0123456789'
                    470: as_cr_alnum=$as_cr_Letters$as_cr_digits
                    471: 
                    472: 
1.22      moko      473:   as_lineno_1=$LINENO as_lineno_1a=$LINENO
                    474:   as_lineno_2=$LINENO as_lineno_2a=$LINENO
                    475:   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
                    476:   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
                    477:   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
                    478:   sed -n '
                    479:     p
                    480:     /[$]LINENO/=
                    481:   ' <$as_myself |
1.1       misha     482:     sed '
1.22      moko      483:       s/[$]LINENO.*/&-/
                    484:       t lineno
                    485:       b
                    486:       :lineno
1.1       misha     487:       N
1.22      moko      488:       :loop
                    489:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1.1       misha     490:       t loop
1.22      moko      491:       s/-\n.*//
1.1       misha     492:     ' >$as_me.lineno &&
1.22      moko      493:   chmod +x "$as_me.lineno" ||
                    494:     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
1.1       misha     495: 
1.25      moko      496:   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
                    497:   # already done that, so ensure we don't try to do so again and fall
                    498:   # in an infinite loop.  This has already happened in practice.
                    499:   _as_can_reexec=no; export _as_can_reexec
1.1       misha     500:   # Don't try to exec as it changes $[0], causing all sort of problems
                    501:   # (the dirname of $[0] is not the place where we might find the
1.22      moko      502:   # original and so on.  Autoconf is especially sensitive to this).
                    503:   . "./$as_me.lineno"
1.1       misha     504:   # Exit status is that of the last command.
                    505:   exit
                    506: }
                    507: 
1.22      moko      508: ECHO_C= ECHO_N= ECHO_T=
                    509: case `echo -n x` in #(((((
                    510: -n*)
                    511:   case `echo 'xy\c'` in
                    512:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                    513:   xy)  ECHO_C='\c';;
                    514:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                    515:        ECHO_T='        ';;
                    516:   esac;;
                    517: *)
                    518:   ECHO_N='-n';;
1.1       misha     519: esac
                    520: 
1.22      moko      521: rm -f conf$$ conf$$.exe conf$$.file
                    522: if test -d conf$$.dir; then
                    523:   rm -f conf$$.dir/conf$$.file
1.1       misha     524: else
1.22      moko      525:   rm -f conf$$.dir
                    526:   mkdir conf$$.dir 2>/dev/null
1.1       misha     527: fi
1.22      moko      528: if (echo >conf$$.file) 2>/dev/null; then
                    529:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                    530:     as_ln_s='ln -s'
                    531:     # ... but there are two gotchas:
                    532:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                    533:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1.25      moko      534:     # In both cases, we have to default to `cp -pR'.
1.22      moko      535:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.25      moko      536:       as_ln_s='cp -pR'
1.22      moko      537:   elif ln conf$$.file conf$$ 2>/dev/null; then
                    538:     as_ln_s=ln
                    539:   else
1.25      moko      540:     as_ln_s='cp -pR'
1.1       misha     541:   fi
                    542: else
1.25      moko      543:   as_ln_s='cp -pR'
1.1       misha     544: fi
1.22      moko      545: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                    546: rmdir conf$$.dir 2>/dev/null
1.1       misha     547: 
                    548: if mkdir -p . 2>/dev/null; then
1.22      moko      549:   as_mkdir_p='mkdir -p "$as_dir"'
1.1       misha     550: else
                    551:   test -d ./-p && rmdir ./-p
                    552:   as_mkdir_p=false
                    553: fi
                    554: 
1.25      moko      555: as_test_x='test -x'
                    556: as_executable_p=as_fn_executable_p
1.1       misha     557: 
                    558: # Sed expression to map a string onto a valid CPP name.
                    559: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                    560: 
                    561: # Sed expression to map a string onto a valid variable name.
                    562: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                    563: 
1.13      moko      564: lt_ltdl_dir='libltdl'
                    565: 
1.1       misha     566: SHELL=${CONFIG_SHELL-/bin/sh}
                    567: 
1.8       moko      568: lt_dlopen_dir="$lt_ltdl_dir"
1.1       misha     569: 
                    570: 
1.22      moko      571: test -n "$DJDIR" || exec 7<&0 </dev/null
                    572: exec 6>&1
                    573: 
1.1       misha     574: # Name of the host.
1.22      moko      575: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
1.1       misha     576: # so uname gets run too.
                    577: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
                    578: 
                    579: #
                    580: # Initializations.
                    581: #
                    582: ac_default_prefix=/usr/local
1.22      moko      583: ac_clean_files=
1.1       misha     584: ac_config_libobj_dir=.
1.22      moko      585: LIBOBJS=
1.1       misha     586: cross_compiling=no
                    587: subdirs=
                    588: MFLAGS=
                    589: MAKEFLAGS=
                    590: 
                    591: # Identity of this package.
1.25      moko      592: PACKAGE_NAME='parser3sqlite'
                    593: PACKAGE_TARNAME='parser3sqlite'
1.23      moko      594: PACKAGE_VERSION='10.3'
1.25      moko      595: PACKAGE_STRING='parser3sqlite 10.3'
1.13      moko      596: PACKAGE_BUGREPORT=''
1.22      moko      597: PACKAGE_URL=''
1.1       misha     598: 
                    599: ac_unique_file="parser3sqlite.C"
                    600: # Factoring default headers for most tests.
                    601: ac_includes_default="\
                    602: #include <stdio.h>
1.22      moko      603: #ifdef HAVE_SYS_TYPES_H
1.1       misha     604: # include <sys/types.h>
                    605: #endif
1.22      moko      606: #ifdef HAVE_SYS_STAT_H
1.1       misha     607: # include <sys/stat.h>
                    608: #endif
1.22      moko      609: #ifdef STDC_HEADERS
1.1       misha     610: # include <stdlib.h>
                    611: # include <stddef.h>
                    612: #else
1.22      moko      613: # ifdef HAVE_STDLIB_H
1.1       misha     614: #  include <stdlib.h>
                    615: # endif
                    616: #endif
1.22      moko      617: #ifdef HAVE_STRING_H
                    618: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
1.1       misha     619: #  include <memory.h>
                    620: # endif
                    621: # include <string.h>
                    622: #endif
1.22      moko      623: #ifdef HAVE_STRINGS_H
1.1       misha     624: # include <strings.h>
                    625: #endif
1.22      moko      626: #ifdef HAVE_INTTYPES_H
1.1       misha     627: # include <inttypes.h>
                    628: #endif
1.22      moko      629: #ifdef HAVE_STDINT_H
                    630: # include <stdint.h>
                    631: #endif
                    632: #ifdef HAVE_UNISTD_H
1.1       misha     633: # include <unistd.h>
                    634: #endif"
                    635: 
1.22      moko      636: enable_option_checking=no
                    637: ac_subst_vars='ltdl_LTLIBOBJS
                    638: ltdl_LIBOBJS
                    639: am__EXEEXT_FALSE
                    640: am__EXEEXT_TRUE
                    641: LTLIBOBJS
                    642: LIBOBJS
                    643: LTDLOPEN
                    644: LT_CONFIG_H
                    645: subdirs
                    646: CONVENIENCE_LTDL_FALSE
                    647: CONVENIENCE_LTDL_TRUE
                    648: INSTALL_LTDL_FALSE
                    649: INSTALL_LTDL_TRUE
                    650: ARGZ_H
                    651: sys_symbol_underscore
                    652: LIBADD_DL
                    653: LT_DLPREOPEN
                    654: LIBADD_DLD_LINK
                    655: LIBADD_SHL_LOAD
                    656: LIBADD_DLOPEN
                    657: LT_DLLOADERS
                    658: INCLTDL
                    659: LTDLINCL
                    660: LTDLDEPS
                    661: LIBLTDL
                    662: CXXCPP
                    663: CPP
                    664: OTOOL64
                    665: OTOOL
                    666: LIPO
                    667: NMEDIT
                    668: DSYMUTIL
                    669: MANIFEST_TOOL
                    670: RANLIB
                    671: ac_ct_AR
                    672: AR
                    673: LN_S
                    674: NM
                    675: ac_ct_DUMPBIN
                    676: DUMPBIN
                    677: LD
                    678: FGREP
                    679: EGREP
                    680: GREP
                    681: SED
                    682: host_os
                    683: host_vendor
                    684: host_cpu
                    685: host
                    686: build_os
                    687: build_vendor
                    688: build_cpu
                    689: build
                    690: LIBTOOL
                    691: OBJDUMP
                    692: DLLTOOL
                    693: AS
                    694: am__fastdepCC_FALSE
                    695: am__fastdepCC_TRUE
                    696: CCDEPMODE
                    697: ac_ct_CC
                    698: CFLAGS
                    699: CC
                    700: am__fastdepCXX_FALSE
                    701: am__fastdepCXX_TRUE
                    702: CXXDEPMODE
                    703: AMDEPBACKSLASH
                    704: AMDEP_FALSE
                    705: AMDEP_TRUE
                    706: am__quote
                    707: am__include
                    708: DEPDIR
                    709: OBJEXT
                    710: EXEEXT
                    711: ac_ct_CXX
                    712: CPPFLAGS
                    713: LDFLAGS
                    714: CXXFLAGS
                    715: CXX
                    716: SQLITE_INC
                    717: am__untar
                    718: am__tar
                    719: AMTAR
                    720: am__leading_dot
                    721: SET_MAKE
                    722: AWK
                    723: mkdir_p
                    724: MKDIR_P
                    725: INSTALL_STRIP_PROGRAM
                    726: STRIP
                    727: install_sh
                    728: MAKEINFO
                    729: AUTOHEADER
                    730: AUTOMAKE
                    731: AUTOCONF
                    732: ACLOCAL
                    733: VERSION
                    734: PACKAGE
                    735: CYGPATH_W
                    736: am__isrc
                    737: INSTALL_DATA
                    738: INSTALL_SCRIPT
                    739: INSTALL_PROGRAM
                    740: target_alias
                    741: host_alias
                    742: build_alias
                    743: LIBS
                    744: ECHO_T
                    745: ECHO_N
                    746: ECHO_C
                    747: DEFS
                    748: mandir
                    749: localedir
                    750: libdir
                    751: psdir
                    752: pdfdir
                    753: dvidir
                    754: htmldir
                    755: infodir
                    756: docdir
                    757: oldincludedir
                    758: includedir
                    759: localstatedir
                    760: sharedstatedir
                    761: sysconfdir
                    762: datadir
                    763: datarootdir
                    764: libexecdir
                    765: sbindir
                    766: bindir
                    767: program_transform_name
                    768: prefix
                    769: exec_prefix
                    770: PACKAGE_URL
                    771: PACKAGE_BUGREPORT
                    772: PACKAGE_STRING
                    773: PACKAGE_VERSION
                    774: PACKAGE_TARNAME
                    775: PACKAGE_NAME
                    776: PATH_SEPARATOR
                    777: SHELL'
1.1       misha     778: ac_subst_files=''
1.22      moko      779: ac_user_opts='
                    780: enable_option_checking
                    781: with_sqlite_inc
                    782: enable_dependency_tracking
                    783: enable_static
                    784: enable_shared
                    785: with_pic
                    786: enable_fast_install
                    787: with_gnu_ld
                    788: with_sysroot
                    789: enable_libtool_lock
                    790: with_included_ltdl
                    791: with_ltdl_include
                    792: with_ltdl_lib
                    793: enable_ltdl_install
                    794: '
                    795:       ac_precious_vars='build_alias
                    796: host_alias
                    797: target_alias
                    798: CXX
                    799: CXXFLAGS
                    800: LDFLAGS
                    801: LIBS
                    802: CPPFLAGS
                    803: CCC
                    804: CC
                    805: CFLAGS
                    806: CPP
                    807: CXXCPP'
                    808: ac_subdirs_all='libltdl'
1.1       misha     809: 
                    810: # Initialize some variables set by options.
                    811: ac_init_help=
                    812: ac_init_version=false
1.22      moko      813: ac_unrecognized_opts=
                    814: ac_unrecognized_sep=
1.1       misha     815: # The variables have the same names as the options, with
                    816: # dashes changed to underlines.
                    817: cache_file=/dev/null
                    818: exec_prefix=NONE
                    819: no_create=
                    820: no_recursion=
                    821: prefix=NONE
                    822: program_prefix=NONE
                    823: program_suffix=NONE
                    824: program_transform_name=s,x,x,
                    825: silent=
                    826: site=
                    827: srcdir=
                    828: verbose=
                    829: x_includes=NONE
                    830: x_libraries=NONE
                    831: 
                    832: # Installation directory options.
                    833: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    834: # and all the variables that are supposed to be based on exec_prefix
                    835: # by default will actually change.
                    836: # Use braces instead of parens because sh, perl, etc. also accept them.
1.22      moko      837: # (The list follows the same order as the GNU Coding Standards.)
1.1       misha     838: bindir='${exec_prefix}/bin'
                    839: sbindir='${exec_prefix}/sbin'
                    840: libexecdir='${exec_prefix}/libexec'
1.22      moko      841: datarootdir='${prefix}/share'
                    842: datadir='${datarootdir}'
1.1       misha     843: sysconfdir='${prefix}/etc'
                    844: sharedstatedir='${prefix}/com'
                    845: localstatedir='${prefix}/var'
                    846: includedir='${prefix}/include'
                    847: oldincludedir='/usr/include'
1.22      moko      848: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
                    849: infodir='${datarootdir}/info'
                    850: htmldir='${docdir}'
                    851: dvidir='${docdir}'
                    852: pdfdir='${docdir}'
                    853: psdir='${docdir}'
                    854: libdir='${exec_prefix}/lib'
                    855: localedir='${datarootdir}/locale'
                    856: mandir='${datarootdir}/man'
1.1       misha     857: 
                    858: ac_prev=
1.22      moko      859: ac_dashdash=
1.1       misha     860: for ac_option
                    861: do
                    862:   # If the previous option needs an argument, assign it.
                    863:   if test -n "$ac_prev"; then
1.22      moko      864:     eval $ac_prev=\$ac_option
1.1       misha     865:     ac_prev=
                    866:     continue
                    867:   fi
                    868: 
1.22      moko      869:   case $ac_option in
                    870:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
                    871:   *=)   ac_optarg= ;;
                    872:   *)    ac_optarg=yes ;;
                    873:   esac
1.1       misha     874: 
                    875:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    876: 
1.22      moko      877:   case $ac_dashdash$ac_option in
                    878:   --)
                    879:     ac_dashdash=yes ;;
1.1       misha     880: 
                    881:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    882:     ac_prev=bindir ;;
                    883:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
                    884:     bindir=$ac_optarg ;;
                    885: 
                    886:   -build | --build | --buil | --bui | --bu)
                    887:     ac_prev=build_alias ;;
                    888:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
                    889:     build_alias=$ac_optarg ;;
                    890: 
                    891:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    892:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    893:     ac_prev=cache_file ;;
                    894:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    895:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
                    896:     cache_file=$ac_optarg ;;
                    897: 
                    898:   --config-cache | -C)
                    899:     cache_file=config.cache ;;
                    900: 
1.22      moko      901:   -datadir | --datadir | --datadi | --datad)
1.1       misha     902:     ac_prev=datadir ;;
1.22      moko      903:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1.1       misha     904:     datadir=$ac_optarg ;;
                    905: 
1.22      moko      906:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
                    907:   | --dataroo | --dataro | --datar)
                    908:     ac_prev=datarootdir ;;
                    909:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
                    910:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
                    911:     datarootdir=$ac_optarg ;;
                    912: 
1.1       misha     913:   -disable-* | --disable-*)
1.22      moko      914:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1       misha     915:     # Reject names that are not valid shell variable names.
1.22      moko      916:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                    917:       as_fn_error $? "invalid feature name: $ac_useropt"
                    918:     ac_useropt_orig=$ac_useropt
                    919:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    920:     case $ac_user_opts in
                    921:       *"
                    922: "enable_$ac_useropt"
                    923: "*) ;;
                    924:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
                    925:         ac_unrecognized_sep=', ';;
                    926:     esac
                    927:     eval enable_$ac_useropt=no ;;
                    928: 
                    929:   -docdir | --docdir | --docdi | --doc | --do)
                    930:     ac_prev=docdir ;;
                    931:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
                    932:     docdir=$ac_optarg ;;
                    933: 
                    934:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
                    935:     ac_prev=dvidir ;;
                    936:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
                    937:     dvidir=$ac_optarg ;;
1.1       misha     938: 
                    939:   -enable-* | --enable-*)
1.22      moko      940:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1       misha     941:     # Reject names that are not valid shell variable names.
1.22      moko      942:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                    943:       as_fn_error $? "invalid feature name: $ac_useropt"
                    944:     ac_useropt_orig=$ac_useropt
                    945:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    946:     case $ac_user_opts in
                    947:       *"
                    948: "enable_$ac_useropt"
                    949: "*) ;;
                    950:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
                    951:         ac_unrecognized_sep=', ';;
1.1       misha     952:     esac
1.22      moko      953:     eval enable_$ac_useropt=\$ac_optarg ;;
1.1       misha     954: 
                    955:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    956:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    957:   | --exec | --exe | --ex)
                    958:     ac_prev=exec_prefix ;;
                    959:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                    960:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                    961:   | --exec=* | --exe=* | --ex=*)
                    962:     exec_prefix=$ac_optarg ;;
                    963: 
                    964:   -gas | --gas | --ga | --g)
                    965:     # Obsolete; use --with-gas.
                    966:     with_gas=yes ;;
                    967: 
                    968:   -help | --help | --hel | --he | -h)
                    969:     ac_init_help=long ;;
                    970:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                    971:     ac_init_help=recursive ;;
                    972:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                    973:     ac_init_help=short ;;
                    974: 
                    975:   -host | --host | --hos | --ho)
                    976:     ac_prev=host_alias ;;
                    977:   -host=* | --host=* | --hos=* | --ho=*)
                    978:     host_alias=$ac_optarg ;;
                    979: 
1.22      moko      980:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
                    981:     ac_prev=htmldir ;;
                    982:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
                    983:   | --ht=*)
                    984:     htmldir=$ac_optarg ;;
                    985: 
1.1       misha     986:   -includedir | --includedir | --includedi | --included | --include \
                    987:   | --includ | --inclu | --incl | --inc)
                    988:     ac_prev=includedir ;;
                    989:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                    990:   | --includ=* | --inclu=* | --incl=* | --inc=*)
                    991:     includedir=$ac_optarg ;;
                    992: 
                    993:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                    994:     ac_prev=infodir ;;
                    995:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
                    996:     infodir=$ac_optarg ;;
                    997: 
                    998:   -libdir | --libdir | --libdi | --libd)
                    999:     ac_prev=libdir ;;
                   1000:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
                   1001:     libdir=$ac_optarg ;;
                   1002: 
                   1003:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                   1004:   | --libexe | --libex | --libe)
                   1005:     ac_prev=libexecdir ;;
                   1006:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                   1007:   | --libexe=* | --libex=* | --libe=*)
                   1008:     libexecdir=$ac_optarg ;;
                   1009: 
1.22      moko     1010:   -localedir | --localedir | --localedi | --localed | --locale)
                   1011:     ac_prev=localedir ;;
                   1012:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
                   1013:     localedir=$ac_optarg ;;
                   1014: 
1.1       misha    1015:   -localstatedir | --localstatedir | --localstatedi | --localstated \
1.22      moko     1016:   | --localstate | --localstat | --localsta | --localst | --locals)
1.1       misha    1017:     ac_prev=localstatedir ;;
                   1018:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1.22      moko     1019:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1.1       misha    1020:     localstatedir=$ac_optarg ;;
                   1021: 
                   1022:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                   1023:     ac_prev=mandir ;;
                   1024:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
                   1025:     mandir=$ac_optarg ;;
                   1026: 
                   1027:   -nfp | --nfp | --nf)
                   1028:     # Obsolete; use --without-fp.
                   1029:     with_fp=no ;;
                   1030: 
                   1031:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
                   1032:   | --no-cr | --no-c | -n)
                   1033:     no_create=yes ;;
                   1034: 
                   1035:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                   1036:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                   1037:     no_recursion=yes ;;
                   1038: 
                   1039:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                   1040:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                   1041:   | --oldin | --oldi | --old | --ol | --o)
                   1042:     ac_prev=oldincludedir ;;
                   1043:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                   1044:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                   1045:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
                   1046:     oldincludedir=$ac_optarg ;;
                   1047: 
                   1048:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   1049:     ac_prev=prefix ;;
                   1050:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   1051:     prefix=$ac_optarg ;;
                   1052: 
                   1053:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                   1054:   | --program-pre | --program-pr | --program-p)
                   1055:     ac_prev=program_prefix ;;
                   1056:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                   1057:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
                   1058:     program_prefix=$ac_optarg ;;
                   1059: 
                   1060:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                   1061:   | --program-suf | --program-su | --program-s)
                   1062:     ac_prev=program_suffix ;;
                   1063:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                   1064:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
                   1065:     program_suffix=$ac_optarg ;;
                   1066: 
                   1067:   -program-transform-name | --program-transform-name \
                   1068:   | --program-transform-nam | --program-transform-na \
                   1069:   | --program-transform-n | --program-transform- \
                   1070:   | --program-transform | --program-transfor \
                   1071:   | --program-transfo | --program-transf \
                   1072:   | --program-trans | --program-tran \
                   1073:   | --progr-tra | --program-tr | --program-t)
                   1074:     ac_prev=program_transform_name ;;
                   1075:   -program-transform-name=* | --program-transform-name=* \
                   1076:   | --program-transform-nam=* | --program-transform-na=* \
                   1077:   | --program-transform-n=* | --program-transform-=* \
                   1078:   | --program-transform=* | --program-transfor=* \
                   1079:   | --program-transfo=* | --program-transf=* \
                   1080:   | --program-trans=* | --program-tran=* \
                   1081:   | --progr-tra=* | --program-tr=* | --program-t=*)
                   1082:     program_transform_name=$ac_optarg ;;
                   1083: 
1.22      moko     1084:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
                   1085:     ac_prev=pdfdir ;;
                   1086:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
                   1087:     pdfdir=$ac_optarg ;;
                   1088: 
                   1089:   -psdir | --psdir | --psdi | --psd | --ps)
                   1090:     ac_prev=psdir ;;
                   1091:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
                   1092:     psdir=$ac_optarg ;;
                   1093: 
1.1       misha    1094:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1095:   | -silent | --silent | --silen | --sile | --sil)
                   1096:     silent=yes ;;
                   1097: 
                   1098:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                   1099:     ac_prev=sbindir ;;
                   1100:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                   1101:   | --sbi=* | --sb=*)
                   1102:     sbindir=$ac_optarg ;;
                   1103: 
                   1104:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                   1105:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                   1106:   | --sharedst | --shareds | --shared | --share | --shar \
                   1107:   | --sha | --sh)
                   1108:     ac_prev=sharedstatedir ;;
                   1109:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                   1110:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                   1111:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                   1112:   | --sha=* | --sh=*)
                   1113:     sharedstatedir=$ac_optarg ;;
                   1114: 
                   1115:   -site | --site | --sit)
                   1116:     ac_prev=site ;;
                   1117:   -site=* | --site=* | --sit=*)
                   1118:     site=$ac_optarg ;;
                   1119: 
                   1120:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   1121:     ac_prev=srcdir ;;
                   1122:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   1123:     srcdir=$ac_optarg ;;
                   1124: 
                   1125:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                   1126:   | --syscon | --sysco | --sysc | --sys | --sy)
                   1127:     ac_prev=sysconfdir ;;
                   1128:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                   1129:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
                   1130:     sysconfdir=$ac_optarg ;;
                   1131: 
                   1132:   -target | --target | --targe | --targ | --tar | --ta | --t)
                   1133:     ac_prev=target_alias ;;
                   1134:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
                   1135:     target_alias=$ac_optarg ;;
                   1136: 
                   1137:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                   1138:     verbose=yes ;;
                   1139: 
                   1140:   -version | --version | --versio | --versi | --vers | -V)
                   1141:     ac_init_version=: ;;
                   1142: 
                   1143:   -with-* | --with-*)
1.22      moko     1144:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1       misha    1145:     # Reject names that are not valid shell variable names.
1.22      moko     1146:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1147:       as_fn_error $? "invalid package name: $ac_useropt"
                   1148:     ac_useropt_orig=$ac_useropt
                   1149:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1150:     case $ac_user_opts in
                   1151:       *"
                   1152: "with_$ac_useropt"
                   1153: "*) ;;
                   1154:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
                   1155:         ac_unrecognized_sep=', ';;
1.1       misha    1156:     esac
1.22      moko     1157:     eval with_$ac_useropt=\$ac_optarg ;;
1.1       misha    1158: 
                   1159:   -without-* | --without-*)
1.22      moko     1160:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1       misha    1161:     # Reject names that are not valid shell variable names.
1.22      moko     1162:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1163:       as_fn_error $? "invalid package name: $ac_useropt"
                   1164:     ac_useropt_orig=$ac_useropt
                   1165:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1166:     case $ac_user_opts in
                   1167:       *"
                   1168: "with_$ac_useropt"
                   1169: "*) ;;
                   1170:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
                   1171:         ac_unrecognized_sep=', ';;
                   1172:     esac
                   1173:     eval with_$ac_useropt=no ;;
1.1       misha    1174: 
                   1175:   --x)
                   1176:     # Obsolete; use --with-x.
                   1177:     with_x=yes ;;
                   1178: 
                   1179:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                   1180:   | --x-incl | --x-inc | --x-in | --x-i)
                   1181:     ac_prev=x_includes ;;
                   1182:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                   1183:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
                   1184:     x_includes=$ac_optarg ;;
                   1185: 
                   1186:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                   1187:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                   1188:     ac_prev=x_libraries ;;
                   1189:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                   1190:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
                   1191:     x_libraries=$ac_optarg ;;
                   1192: 
1.22      moko     1193:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
                   1194: Try \`$0 --help' for more information"
1.1       misha    1195:     ;;
                   1196: 
                   1197:   *=*)
                   1198:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                   1199:     # Reject names that are not valid shell variable names.
1.22      moko     1200:     case $ac_envvar in #(
                   1201:       '' | [0-9]* | *[!_$as_cr_alnum]* )
                   1202:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
                   1203:     esac
                   1204:     eval $ac_envvar=\$ac_optarg
1.1       misha    1205:     export $ac_envvar ;;
                   1206: 
                   1207:   *)
                   1208:     # FIXME: should be removed in autoconf 3.0.
1.22      moko     1209:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1.1       misha    1210:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.22      moko     1211:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
                   1212:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1.1       misha    1213:     ;;
                   1214: 
                   1215:   esac
                   1216: done
                   1217: 
                   1218: if test -n "$ac_prev"; then
                   1219:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1.22      moko     1220:   as_fn_error $? "missing argument to $ac_option"
                   1221: fi
                   1222: 
                   1223: if test -n "$ac_unrecognized_opts"; then
                   1224:   case $enable_option_checking in
                   1225:     no) ;;
                   1226:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
                   1227:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
                   1228:   esac
1.10      moko     1229: fi
                   1230: 
1.22      moko     1231: # Check all directory arguments for consistency.
                   1232: for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
                   1233:                datadir sysconfdir sharedstatedir localstatedir includedir \
                   1234:                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
                   1235:                libdir localedir mandir
1.11      moko     1236: do
1.22      moko     1237:   eval ac_val=\$$ac_var
                   1238:   # Remove trailing slashes.
1.11      moko     1239:   case $ac_val in
1.22      moko     1240:     */ )
                   1241:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
                   1242:       eval $ac_var=\$ac_val;;
1.10      moko     1243:   esac
1.22      moko     1244:   # Be sure to have absolute directory names.
1.1       misha    1245:   case $ac_val in
1.22      moko     1246:     [\\/$]* | ?:[\\/]* )  continue;;
                   1247:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1.1       misha    1248:   esac
1.22      moko     1249:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1.1       misha    1250: done
                   1251: 
                   1252: # There might be people who depend on the old broken behavior: `$host'
                   1253: # used to hold the argument of --host etc.
                   1254: # FIXME: To remove some day.
                   1255: build=$build_alias
                   1256: host=$host_alias
                   1257: target=$target_alias
                   1258: 
                   1259: # FIXME: To remove some day.
                   1260: if test "x$host_alias" != x; then
                   1261:   if test "x$build_alias" = x; then
                   1262:     cross_compiling=maybe
                   1263:   elif test "x$build_alias" != "x$host_alias"; then
                   1264:     cross_compiling=yes
                   1265:   fi
                   1266: fi
                   1267: 
                   1268: ac_tool_prefix=
                   1269: test -n "$host_alias" && ac_tool_prefix=$host_alias-
                   1270: 
                   1271: test "$silent" = yes && exec 6>/dev/null
                   1272: 
                   1273: 
1.22      moko     1274: ac_pwd=`pwd` && test -n "$ac_pwd" &&
                   1275: ac_ls_di=`ls -di .` &&
                   1276: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
                   1277:   as_fn_error $? "working directory cannot be determined"
                   1278: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
                   1279:   as_fn_error $? "pwd does not report name of working directory"
                   1280: 
                   1281: 
1.1       misha    1282: # Find the source files, if location was not specified.
                   1283: if test -z "$srcdir"; then
                   1284:   ac_srcdir_defaulted=yes
1.22      moko     1285:   # Try the directory containing this script, then the parent directory.
                   1286:   ac_confdir=`$as_dirname -- "$as_myself" ||
                   1287: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   1288:         X"$as_myself" : 'X\(//\)[^/]' \| \
                   1289:         X"$as_myself" : 'X\(//\)$' \| \
                   1290:         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
                   1291: $as_echo X"$as_myself" |
                   1292:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   1293:            s//\1/
                   1294:            q
                   1295:          }
                   1296:          /^X\(\/\/\)[^/].*/{
                   1297:            s//\1/
                   1298:            q
                   1299:          }
                   1300:          /^X\(\/\/\)$/{
                   1301:            s//\1/
                   1302:            q
                   1303:          }
                   1304:          /^X\(\/\).*/{
                   1305:            s//\1/
                   1306:            q
                   1307:          }
                   1308:          s/.*/./; q'`
1.1       misha    1309:   srcdir=$ac_confdir
1.22      moko     1310:   if test ! -r "$srcdir/$ac_unique_file"; then
1.1       misha    1311:     srcdir=..
                   1312:   fi
                   1313: else
                   1314:   ac_srcdir_defaulted=no
                   1315: fi
1.22      moko     1316: if test ! -r "$srcdir/$ac_unique_file"; then
                   1317:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
                   1318:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
                   1319: fi
                   1320: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
                   1321: ac_abs_confdir=`(
                   1322:        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
                   1323:        pwd)`
                   1324: # When building in place, set srcdir=.
                   1325: if test "$ac_abs_confdir" = "$ac_pwd"; then
                   1326:   srcdir=.
                   1327: fi
                   1328: # Remove unnecessary trailing slashes from srcdir.
                   1329: # Double slashes in file names in object file debugging info
                   1330: # mess up M-x gdb in Emacs.
                   1331: case $srcdir in
                   1332: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
                   1333: esac
                   1334: for ac_var in $ac_precious_vars; do
                   1335:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
                   1336:   eval ac_env_${ac_var}_value=\$${ac_var}
                   1337:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
                   1338:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
                   1339: done
1.1       misha    1340: 
                   1341: #
                   1342: # Report the --help message.
                   1343: #
                   1344: if test "$ac_init_help" = "long"; then
                   1345:   # Omit some internal or obsolete options to make the list less imposing.
                   1346:   # This message is too long to be a string in the A/UX 3.1 sh.
                   1347:   cat <<_ACEOF
1.25      moko     1348: \`configure' configures parser3sqlite 10.3 to adapt to many kinds of systems.
1.1       misha    1349: 
                   1350: Usage: $0 [OPTION]... [VAR=VALUE]...
                   1351: 
                   1352: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                   1353: VAR=VALUE.  See below for descriptions of some of the useful variables.
                   1354: 
                   1355: Defaults for the options are specified in brackets.
                   1356: 
                   1357: Configuration:
                   1358:   -h, --help              display this help and exit
                   1359:       --help=short        display options specific to this package
                   1360:       --help=recursive    display the short help of all the included packages
                   1361:   -V, --version           display version information and exit
1.22      moko     1362:   -q, --quiet, --silent   do not print \`checking ...' messages
1.1       misha    1363:       --cache-file=FILE   cache test results in FILE [disabled]
                   1364:   -C, --config-cache      alias for \`--cache-file=config.cache'
                   1365:   -n, --no-create         do not create output files
                   1366:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                   1367: 
                   1368: Installation directories:
                   1369:   --prefix=PREFIX         install architecture-independent files in PREFIX
1.22      moko     1370:                           [$ac_default_prefix]
1.1       misha    1371:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1.22      moko     1372:                           [PREFIX]
1.1       misha    1373: 
                   1374: By default, \`make install' will install all the files in
                   1375: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                   1376: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                   1377: for instance \`--prefix=\$HOME'.
                   1378: 
                   1379: For better control, use the options below.
                   1380: 
                   1381: Fine tuning of the installation directories:
1.22      moko     1382:   --bindir=DIR            user executables [EPREFIX/bin]
                   1383:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
                   1384:   --libexecdir=DIR        program executables [EPREFIX/libexec]
                   1385:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
                   1386:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
                   1387:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
                   1388:   --libdir=DIR            object code libraries [EPREFIX/lib]
                   1389:   --includedir=DIR        C header files [PREFIX/include]
                   1390:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
                   1391:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
                   1392:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
                   1393:   --infodir=DIR           info documentation [DATAROOTDIR/info]
                   1394:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
                   1395:   --mandir=DIR            man documentation [DATAROOTDIR/man]
1.25      moko     1396:   --docdir=DIR            documentation root [DATAROOTDIR/doc/parser3sqlite]
1.22      moko     1397:   --htmldir=DIR           html documentation [DOCDIR]
                   1398:   --dvidir=DIR            dvi documentation [DOCDIR]
                   1399:   --pdfdir=DIR            pdf documentation [DOCDIR]
                   1400:   --psdir=DIR             ps documentation [DOCDIR]
1.1       misha    1401: _ACEOF
                   1402: 
                   1403:   cat <<\_ACEOF
                   1404: 
                   1405: Program names:
                   1406:   --program-prefix=PREFIX            prepend PREFIX to installed program names
                   1407:   --program-suffix=SUFFIX            append SUFFIX to installed program names
                   1408:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
                   1409: 
                   1410: System types:
                   1411:   --build=BUILD     configure for building on BUILD [guessed]
                   1412:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                   1413: _ACEOF
                   1414: fi
                   1415: 
                   1416: if test -n "$ac_init_help"; then
1.13      moko     1417:   case $ac_init_help in
1.25      moko     1418:      short | recursive ) echo "Configuration of parser3sqlite 10.3:";;
1.13      moko     1419:    esac
1.1       misha    1420:   cat <<\_ACEOF
                   1421: 
                   1422: Optional Features:
1.22      moko     1423:   --disable-option-checking  ignore unrecognized --enable/--with options
1.1       misha    1424:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                   1425:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
                   1426:   --disable-dependency-tracking  speeds up one-time build
                   1427:   --enable-dependency-tracking   do not reject slow dependency extractors
1.22      moko     1428:   --enable-static[=PKGS]  build static libraries [default=no]
                   1429:   --enable-shared[=PKGS]  build shared libraries [default=yes]
1.8       moko     1430:   --enable-fast-install[=PKGS]
                   1431:                           optimize for fast installation [default=yes]
1.1       misha    1432:   --disable-libtool-lock  avoid locking (might break parallel builds)
1.8       moko     1433:   --enable-ltdl-install   install libltdl
1.1       misha    1434: 
                   1435: Optional Packages:
                   1436:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                   1437:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
                   1438:   --with-sqlite-inc=DIR        DIR is the SQLite includes directory
1.22      moko     1439:   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1.8       moko     1440:                           both]
                   1441:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
                   1442:   --with-sysroot=DIR Search for dependent libraries within DIR
                   1443:                         (or the compiler's sysroot if not specified).
                   1444:   --with-included-ltdl    use the GNU ltdl sources included here
                   1445:   --with-ltdl-include=DIR use the ltdl headers installed in DIR
                   1446:   --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1.1       misha    1447: 
                   1448: Some influential environment variables:
                   1449:   CXX         C++ compiler command
                   1450:   CXXFLAGS    C++ compiler flags
                   1451:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                   1452:               nonstandard directory <lib dir>
1.22      moko     1453:   LIBS        libraries to pass to the linker, e.g. -l<library>
                   1454:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
                   1455:               you have headers in a nonstandard directory <include dir>
1.1       misha    1456:   CC          C compiler command
                   1457:   CFLAGS      C compiler flags
                   1458:   CPP         C preprocessor
1.8       moko     1459:   CXXCPP      C++ preprocessor
1.1       misha    1460: 
                   1461: Use these variables to override the choices made by `configure' or to help
                   1462: it to find libraries and programs with nonstandard names/locations.
                   1463: 
1.22      moko     1464: Report bugs to the package provider.
1.1       misha    1465: _ACEOF
1.22      moko     1466: ac_status=$?
1.1       misha    1467: fi
                   1468: 
                   1469: if test "$ac_init_help" = "recursive"; then
                   1470:   # If there are subdirs, report their specific --help.
                   1471:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1.22      moko     1472:     test -d "$ac_dir" ||
                   1473:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
                   1474:       continue
1.1       misha    1475:     ac_builddir=.
                   1476: 
1.22      moko     1477: case "$ac_dir" in
                   1478: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1479: *)
                   1480:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   1481:   # A ".." for each directory in $ac_dir_suffix.
                   1482:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   1483:   case $ac_top_builddir_sub in
                   1484:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1485:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   1486:   esac ;;
                   1487: esac
                   1488: ac_abs_top_builddir=$ac_pwd
                   1489: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   1490: # for backward compatibility:
                   1491: ac_top_builddir=$ac_top_build_prefix
1.1       misha    1492: 
                   1493: case $srcdir in
1.22      moko     1494:   .)  # We are building in place.
1.1       misha    1495:     ac_srcdir=.
1.22      moko     1496:     ac_top_srcdir=$ac_top_builddir_sub
                   1497:     ac_abs_top_srcdir=$ac_pwd ;;
                   1498:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.1       misha    1499:     ac_srcdir=$srcdir$ac_dir_suffix;
1.22      moko     1500:     ac_top_srcdir=$srcdir
                   1501:     ac_abs_top_srcdir=$srcdir ;;
                   1502:   *) # Relative name.
                   1503:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   1504:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   1505:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.11      moko     1506: esac
1.22      moko     1507: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.11      moko     1508: 
1.22      moko     1509:     cd "$ac_dir" || { ac_status=$?; continue; }
                   1510:     # Check for guested configure.
                   1511:     if test -f "$ac_srcdir/configure.gnu"; then
                   1512:       echo &&
                   1513:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
                   1514:     elif test -f "$ac_srcdir/configure"; then
                   1515:       echo &&
                   1516:       $SHELL "$ac_srcdir/configure" --help=recursive
1.1       misha    1517:     else
1.22      moko     1518:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
                   1519:     fi || ac_status=$?
                   1520:     cd "$ac_pwd" || { ac_status=$?; break; }
1.1       misha    1521:   done
                   1522: fi
                   1523: 
1.22      moko     1524: test -n "$ac_init_help" && exit $ac_status
1.1       misha    1525: if $ac_init_version; then
                   1526:   cat <<\_ACEOF
1.25      moko     1527: parser3sqlite configure 10.3
                   1528: generated by GNU Autoconf 2.69
1.1       misha    1529: 
1.25      moko     1530: Copyright (C) 2012 Free Software Foundation, Inc.
1.1       misha    1531: This configure script is free software; the Free Software Foundation
                   1532: gives unlimited permission to copy, distribute and modify it.
                   1533: _ACEOF
1.22      moko     1534:   exit
1.1       misha    1535: fi
                   1536: 
1.22      moko     1537: ## ------------------------ ##
                   1538: ## Autoconf initialization. ##
                   1539: ## ------------------------ ##
                   1540: 
                   1541: # ac_fn_cxx_try_compile LINENO
                   1542: # ----------------------------
                   1543: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1544: ac_fn_cxx_try_compile ()
                   1545: {
                   1546:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1547:   rm -f conftest.$ac_objext
                   1548:   if { { ac_try="$ac_compile"
                   1549: case "(($ac_try" in
                   1550:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1551:   *) ac_try_echo=$ac_try;;
                   1552: esac
                   1553: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1554: $as_echo "$ac_try_echo"; } >&5
                   1555:   (eval "$ac_compile") 2>conftest.err
                   1556:   ac_status=$?
                   1557:   if test -s conftest.err; then
                   1558:     grep -v '^ *+' conftest.err >conftest.er1
                   1559:     cat conftest.er1 >&5
                   1560:     mv -f conftest.er1 conftest.err
                   1561:   fi
                   1562:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1563:   test $ac_status = 0; } && {
                   1564:         test -z "$ac_cxx_werror_flag" ||
                   1565:         test ! -s conftest.err
                   1566:        } && test -s conftest.$ac_objext; then :
                   1567:   ac_retval=0
                   1568: else
                   1569:   $as_echo "$as_me: failed program was:" >&5
                   1570: sed 's/^/| /' conftest.$ac_ext >&5
                   1571: 
                   1572:        ac_retval=1
                   1573: fi
                   1574:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1575:   as_fn_set_status $ac_retval
1.10      moko     1576: 
1.22      moko     1577: } # ac_fn_cxx_try_compile
1.1       misha    1578: 
1.22      moko     1579: # ac_fn_c_try_compile LINENO
                   1580: # --------------------------
                   1581: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1582: ac_fn_c_try_compile ()
1.1       misha    1583: {
1.22      moko     1584:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1585:   rm -f conftest.$ac_objext
                   1586:   if { { ac_try="$ac_compile"
                   1587: case "(($ac_try" in
                   1588:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1589:   *) ac_try_echo=$ac_try;;
                   1590: esac
                   1591: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1592: $as_echo "$ac_try_echo"; } >&5
                   1593:   (eval "$ac_compile") 2>conftest.err
                   1594:   ac_status=$?
                   1595:   if test -s conftest.err; then
                   1596:     grep -v '^ *+' conftest.err >conftest.er1
                   1597:     cat conftest.er1 >&5
                   1598:     mv -f conftest.er1 conftest.err
                   1599:   fi
                   1600:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1601:   test $ac_status = 0; } && {
                   1602:         test -z "$ac_c_werror_flag" ||
                   1603:         test ! -s conftest.err
                   1604:        } && test -s conftest.$ac_objext; then :
                   1605:   ac_retval=0
                   1606: else
                   1607:   $as_echo "$as_me: failed program was:" >&5
                   1608: sed 's/^/| /' conftest.$ac_ext >&5
                   1609: 
                   1610:        ac_retval=1
                   1611: fi
                   1612:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1613:   as_fn_set_status $ac_retval
                   1614: 
                   1615: } # ac_fn_c_try_compile
                   1616: 
                   1617: # ac_fn_c_try_link LINENO
                   1618: # -----------------------
                   1619: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1620: ac_fn_c_try_link ()
                   1621: {
                   1622:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1623:   rm -f conftest.$ac_objext conftest$ac_exeext
                   1624:   if { { ac_try="$ac_link"
                   1625: case "(($ac_try" in
                   1626:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1627:   *) ac_try_echo=$ac_try;;
                   1628: esac
                   1629: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1630: $as_echo "$ac_try_echo"; } >&5
                   1631:   (eval "$ac_link") 2>conftest.err
                   1632:   ac_status=$?
                   1633:   if test -s conftest.err; then
                   1634:     grep -v '^ *+' conftest.err >conftest.er1
                   1635:     cat conftest.er1 >&5
                   1636:     mv -f conftest.er1 conftest.err
                   1637:   fi
                   1638:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1639:   test $ac_status = 0; } && {
                   1640:         test -z "$ac_c_werror_flag" ||
                   1641:         test ! -s conftest.err
                   1642:        } && test -s conftest$ac_exeext && {
                   1643:         test "$cross_compiling" = yes ||
1.25      moko     1644:         test -x conftest$ac_exeext
1.22      moko     1645:        }; then :
                   1646:   ac_retval=0
                   1647: else
                   1648:   $as_echo "$as_me: failed program was:" >&5
                   1649: sed 's/^/| /' conftest.$ac_ext >&5
                   1650: 
                   1651:        ac_retval=1
                   1652: fi
                   1653:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   1654:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   1655:   # interfere with the next link command; also delete a directory that is
                   1656:   # left behind by Apple's compiler.  We do this before executing the actions.
                   1657:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1658:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1659:   as_fn_set_status $ac_retval
                   1660: 
                   1661: } # ac_fn_c_try_link
                   1662: 
                   1663: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
                   1664: # -------------------------------------------------------
                   1665: # Tests whether HEADER exists and can be compiled using the include files in
                   1666: # INCLUDES, setting the cache variable VAR accordingly.
                   1667: ac_fn_c_check_header_compile ()
                   1668: {
                   1669:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1670:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1671: $as_echo_n "checking for $2... " >&6; }
                   1672: if eval \${$3+:} false; then :
                   1673:   $as_echo_n "(cached) " >&6
                   1674: else
                   1675:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1676: /* end confdefs.h.  */
                   1677: $4
                   1678: #include <$2>
                   1679: _ACEOF
                   1680: if ac_fn_c_try_compile "$LINENO"; then :
                   1681:   eval "$3=yes"
                   1682: else
                   1683:   eval "$3=no"
                   1684: fi
                   1685: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1686: fi
                   1687: eval ac_res=\$$3
                   1688:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1689: $as_echo "$ac_res" >&6; }
                   1690:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1691: 
                   1692: } # ac_fn_c_check_header_compile
                   1693: 
                   1694: # ac_fn_c_try_cpp LINENO
                   1695: # ----------------------
                   1696: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
                   1697: ac_fn_c_try_cpp ()
                   1698: {
                   1699:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1700:   if { { ac_try="$ac_cpp conftest.$ac_ext"
                   1701: case "(($ac_try" in
                   1702:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1703:   *) ac_try_echo=$ac_try;;
                   1704: esac
                   1705: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1706: $as_echo "$ac_try_echo"; } >&5
                   1707:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
                   1708:   ac_status=$?
                   1709:   if test -s conftest.err; then
                   1710:     grep -v '^ *+' conftest.err >conftest.er1
                   1711:     cat conftest.er1 >&5
                   1712:     mv -f conftest.er1 conftest.err
                   1713:   fi
                   1714:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1715:   test $ac_status = 0; } > conftest.i && {
                   1716:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   1717:         test ! -s conftest.err
                   1718:        }; then :
                   1719:   ac_retval=0
                   1720: else
                   1721:   $as_echo "$as_me: failed program was:" >&5
                   1722: sed 's/^/| /' conftest.$ac_ext >&5
                   1723: 
                   1724:     ac_retval=1
                   1725: fi
                   1726:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1727:   as_fn_set_status $ac_retval
                   1728: 
                   1729: } # ac_fn_c_try_cpp
                   1730: 
                   1731: # ac_fn_c_try_run LINENO
                   1732: # ----------------------
                   1733: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
                   1734: # that executables *can* be run.
                   1735: ac_fn_c_try_run ()
                   1736: {
                   1737:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1738:   if { { ac_try="$ac_link"
                   1739: case "(($ac_try" in
                   1740:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1741:   *) ac_try_echo=$ac_try;;
                   1742: esac
                   1743: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1744: $as_echo "$ac_try_echo"; } >&5
                   1745:   (eval "$ac_link") 2>&5
                   1746:   ac_status=$?
                   1747:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1748:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
                   1749:   { { case "(($ac_try" in
                   1750:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1751:   *) ac_try_echo=$ac_try;;
                   1752: esac
                   1753: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1754: $as_echo "$ac_try_echo"; } >&5
                   1755:   (eval "$ac_try") 2>&5
                   1756:   ac_status=$?
                   1757:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1758:   test $ac_status = 0; }; }; then :
                   1759:   ac_retval=0
                   1760: else
                   1761:   $as_echo "$as_me: program exited with status $ac_status" >&5
                   1762:        $as_echo "$as_me: failed program was:" >&5
                   1763: sed 's/^/| /' conftest.$ac_ext >&5
                   1764: 
                   1765:        ac_retval=$ac_status
                   1766: fi
                   1767:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1768:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1769:   as_fn_set_status $ac_retval
                   1770: 
                   1771: } # ac_fn_c_try_run
                   1772: 
                   1773: # ac_fn_c_check_func LINENO FUNC VAR
                   1774: # ----------------------------------
                   1775: # Tests whether FUNC exists, setting the cache variable VAR accordingly
                   1776: ac_fn_c_check_func ()
                   1777: {
                   1778:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1779:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1780: $as_echo_n "checking for $2... " >&6; }
                   1781: if eval \${$3+:} false; then :
                   1782:   $as_echo_n "(cached) " >&6
                   1783: else
                   1784:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1785: /* end confdefs.h.  */
                   1786: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
                   1787:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   1788: #define $2 innocuous_$2
                   1789: 
                   1790: /* System header to define __stub macros and hopefully few prototypes,
                   1791:     which can conflict with char $2 (); below.
                   1792:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   1793:     <limits.h> exists even on freestanding compilers.  */
                   1794: 
                   1795: #ifdef __STDC__
                   1796: # include <limits.h>
                   1797: #else
                   1798: # include <assert.h>
                   1799: #endif
                   1800: 
                   1801: #undef $2
                   1802: 
                   1803: /* Override any GCC internal prototype to avoid an error.
                   1804:    Use char because int might match the return type of a GCC
                   1805:    builtin and then its argument prototype would still apply.  */
                   1806: #ifdef __cplusplus
                   1807: extern "C"
                   1808: #endif
                   1809: char $2 ();
                   1810: /* The GNU C library defines this for functions which it implements
                   1811:     to always fail with ENOSYS.  Some functions are actually named
                   1812:     something starting with __ and the normal name is an alias.  */
                   1813: #if defined __stub_$2 || defined __stub___$2
                   1814: choke me
                   1815: #endif
                   1816: 
                   1817: int
                   1818: main ()
                   1819: {
                   1820: return $2 ();
                   1821:   ;
                   1822:   return 0;
                   1823: }
                   1824: _ACEOF
                   1825: if ac_fn_c_try_link "$LINENO"; then :
                   1826:   eval "$3=yes"
                   1827: else
                   1828:   eval "$3=no"
                   1829: fi
                   1830: rm -f core conftest.err conftest.$ac_objext \
                   1831:     conftest$ac_exeext conftest.$ac_ext
                   1832: fi
                   1833: eval ac_res=\$$3
                   1834:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1835: $as_echo "$ac_res" >&6; }
                   1836:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1837: 
                   1838: } # ac_fn_c_check_func
                   1839: 
                   1840: # ac_fn_cxx_try_cpp LINENO
                   1841: # ------------------------
                   1842: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
                   1843: ac_fn_cxx_try_cpp ()
                   1844: {
                   1845:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1846:   if { { ac_try="$ac_cpp conftest.$ac_ext"
                   1847: case "(($ac_try" in
                   1848:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1849:   *) ac_try_echo=$ac_try;;
                   1850: esac
                   1851: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1852: $as_echo "$ac_try_echo"; } >&5
                   1853:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
                   1854:   ac_status=$?
                   1855:   if test -s conftest.err; then
                   1856:     grep -v '^ *+' conftest.err >conftest.er1
                   1857:     cat conftest.er1 >&5
                   1858:     mv -f conftest.er1 conftest.err
                   1859:   fi
                   1860:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1861:   test $ac_status = 0; } > conftest.i && {
                   1862:         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
                   1863:         test ! -s conftest.err
                   1864:        }; then :
                   1865:   ac_retval=0
                   1866: else
                   1867:   $as_echo "$as_me: failed program was:" >&5
                   1868: sed 's/^/| /' conftest.$ac_ext >&5
                   1869: 
                   1870:     ac_retval=1
                   1871: fi
                   1872:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1873:   as_fn_set_status $ac_retval
                   1874: 
                   1875: } # ac_fn_cxx_try_cpp
                   1876: 
                   1877: # ac_fn_cxx_try_link LINENO
                   1878: # -------------------------
                   1879: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1880: ac_fn_cxx_try_link ()
                   1881: {
                   1882:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1883:   rm -f conftest.$ac_objext conftest$ac_exeext
                   1884:   if { { ac_try="$ac_link"
                   1885: case "(($ac_try" in
                   1886:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1887:   *) ac_try_echo=$ac_try;;
                   1888: esac
                   1889: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1890: $as_echo "$ac_try_echo"; } >&5
                   1891:   (eval "$ac_link") 2>conftest.err
                   1892:   ac_status=$?
                   1893:   if test -s conftest.err; then
                   1894:     grep -v '^ *+' conftest.err >conftest.er1
                   1895:     cat conftest.er1 >&5
                   1896:     mv -f conftest.er1 conftest.err
                   1897:   fi
                   1898:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1899:   test $ac_status = 0; } && {
                   1900:         test -z "$ac_cxx_werror_flag" ||
                   1901:         test ! -s conftest.err
                   1902:        } && test -s conftest$ac_exeext && {
                   1903:         test "$cross_compiling" = yes ||
1.25      moko     1904:         test -x conftest$ac_exeext
1.22      moko     1905:        }; then :
                   1906:   ac_retval=0
                   1907: else
                   1908:   $as_echo "$as_me: failed program was:" >&5
                   1909: sed 's/^/| /' conftest.$ac_ext >&5
                   1910: 
                   1911:        ac_retval=1
                   1912: fi
                   1913:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   1914:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   1915:   # interfere with the next link command; also delete a directory that is
                   1916:   # left behind by Apple's compiler.  We do this before executing the actions.
                   1917:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1918:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1919:   as_fn_set_status $ac_retval
                   1920: 
                   1921: } # ac_fn_cxx_try_link
                   1922: 
                   1923: # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
                   1924: # ---------------------------------------------
                   1925: # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
                   1926: # accordingly.
                   1927: ac_fn_c_check_decl ()
                   1928: {
                   1929:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1930:   as_decl_name=`echo $2|sed 's/ *(.*//'`
                   1931:   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
                   1932:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
                   1933: $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
                   1934: if eval \${$3+:} false; then :
                   1935:   $as_echo_n "(cached) " >&6
                   1936: else
                   1937:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1938: /* end confdefs.h.  */
                   1939: $4
                   1940: int
                   1941: main ()
                   1942: {
                   1943: #ifndef $as_decl_name
                   1944: #ifdef __cplusplus
                   1945:   (void) $as_decl_use;
                   1946: #else
                   1947:   (void) $as_decl_name;
                   1948: #endif
                   1949: #endif
                   1950: 
                   1951:   ;
                   1952:   return 0;
                   1953: }
                   1954: _ACEOF
                   1955: if ac_fn_c_try_compile "$LINENO"; then :
                   1956:   eval "$3=yes"
                   1957: else
                   1958:   eval "$3=no"
                   1959: fi
                   1960: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1961: fi
                   1962: eval ac_res=\$$3
                   1963:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1964: $as_echo "$ac_res" >&6; }
                   1965:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1966: 
                   1967: } # ac_fn_c_check_decl
                   1968: 
                   1969: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
                   1970: # -------------------------------------------
                   1971: # Tests whether TYPE exists after having included INCLUDES, setting cache
                   1972: # variable VAR accordingly.
                   1973: ac_fn_c_check_type ()
                   1974: {
                   1975:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1976:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1977: $as_echo_n "checking for $2... " >&6; }
                   1978: if eval \${$3+:} false; then :
                   1979:   $as_echo_n "(cached) " >&6
                   1980: else
                   1981:   eval "$3=no"
                   1982:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1983: /* end confdefs.h.  */
                   1984: $4
                   1985: int
                   1986: main ()
                   1987: {
                   1988: if (sizeof ($2))
                   1989:         return 0;
                   1990:   ;
                   1991:   return 0;
                   1992: }
                   1993: _ACEOF
                   1994: if ac_fn_c_try_compile "$LINENO"; then :
                   1995:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1996: /* end confdefs.h.  */
                   1997: $4
                   1998: int
                   1999: main ()
                   2000: {
                   2001: if (sizeof (($2)))
                   2002:            return 0;
                   2003:   ;
                   2004:   return 0;
                   2005: }
                   2006: _ACEOF
                   2007: if ac_fn_c_try_compile "$LINENO"; then :
                   2008: 
                   2009: else
                   2010:   eval "$3=yes"
                   2011: fi
                   2012: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2013: fi
                   2014: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2015: fi
                   2016: eval ac_res=\$$3
                   2017:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2018: $as_echo "$ac_res" >&6; }
                   2019:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2020: 
                   2021: } # ac_fn_c_check_type
                   2022: 
                   2023: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
                   2024: # -------------------------------------------------------
                   2025: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
                   2026: # the include files in INCLUDES and setting the cache variable VAR
                   2027: # accordingly.
                   2028: ac_fn_c_check_header_mongrel ()
                   2029: {
                   2030:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2031:   if eval \${$3+:} false; then :
                   2032:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2033: $as_echo_n "checking for $2... " >&6; }
                   2034: if eval \${$3+:} false; then :
                   2035:   $as_echo_n "(cached) " >&6
                   2036: fi
                   2037: eval ac_res=\$$3
                   2038:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2039: $as_echo "$ac_res" >&6; }
                   2040: else
                   2041:   # Is the header compilable?
                   2042: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
                   2043: $as_echo_n "checking $2 usability... " >&6; }
                   2044: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2045: /* end confdefs.h.  */
                   2046: $4
                   2047: #include <$2>
                   2048: _ACEOF
                   2049: if ac_fn_c_try_compile "$LINENO"; then :
                   2050:   ac_header_compiler=yes
                   2051: else
                   2052:   ac_header_compiler=no
                   2053: fi
                   2054: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2055: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
                   2056: $as_echo "$ac_header_compiler" >&6; }
                   2057: 
                   2058: # Is the header present?
                   2059: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
                   2060: $as_echo_n "checking $2 presence... " >&6; }
                   2061: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2062: /* end confdefs.h.  */
                   2063: #include <$2>
                   2064: _ACEOF
                   2065: if ac_fn_c_try_cpp "$LINENO"; then :
                   2066:   ac_header_preproc=yes
                   2067: else
                   2068:   ac_header_preproc=no
                   2069: fi
                   2070: rm -f conftest.err conftest.i conftest.$ac_ext
                   2071: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
                   2072: $as_echo "$ac_header_preproc" >&6; }
                   2073: 
                   2074: # So?  What about this header?
                   2075: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
                   2076:   yes:no: )
                   2077:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
                   2078: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   2079:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   2080: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   2081:     ;;
                   2082:   no:yes:* )
                   2083:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
                   2084: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
                   2085:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
                   2086: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
                   2087:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
                   2088: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
                   2089:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
                   2090: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
                   2091:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   2092: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   2093:     ;;
                   2094: esac
                   2095:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2096: $as_echo_n "checking for $2... " >&6; }
                   2097: if eval \${$3+:} false; then :
                   2098:   $as_echo_n "(cached) " >&6
                   2099: else
                   2100:   eval "$3=\$ac_header_compiler"
                   2101: fi
                   2102: eval ac_res=\$$3
                   2103:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2104: $as_echo "$ac_res" >&6; }
                   2105: fi
                   2106:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2107: 
                   2108: } # ac_fn_c_check_header_mongrel
                   2109: cat >config.log <<_ACEOF
                   2110: This file contains any messages produced by compilers while
                   2111: running configure, to aid debugging if configure makes a mistake.
                   2112: 
1.25      moko     2113: It was created by parser3sqlite $as_me 10.3, which was
                   2114: generated by GNU Autoconf 2.69.  Invocation command line was
1.22      moko     2115: 
                   2116:   $ $0 $@
                   2117: 
                   2118: _ACEOF
                   2119: exec 5>>config.log
                   2120: {
                   2121: cat <<_ASUNAME
                   2122: ## --------- ##
                   2123: ## Platform. ##
                   2124: ## --------- ##
1.10      moko     2125: 
1.11      moko     2126: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   2127: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   2128: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   2129: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   2130: uname -v = `(uname -v) 2>/dev/null || echo unknown`
1.1       misha    2131: 
1.11      moko     2132: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1.1       misha    2133: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
                   2134: 
                   2135: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   2136: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   2137: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1.22      moko     2138: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1.1       misha    2139: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   2140: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   2141: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   2142: 
                   2143: _ASUNAME
                   2144: 
                   2145: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2146: for as_dir in $PATH
                   2147: do
                   2148:   IFS=$as_save_IFS
                   2149:   test -z "$as_dir" && as_dir=.
1.22      moko     2150:     $as_echo "PATH: $as_dir"
                   2151:   done
                   2152: IFS=$as_save_IFS
1.1       misha    2153: 
                   2154: } >&5
                   2155: 
                   2156: cat >&5 <<_ACEOF
                   2157: 
                   2158: 
                   2159: ## ----------- ##
                   2160: ## Core tests. ##
                   2161: ## ----------- ##
                   2162: 
                   2163: _ACEOF
                   2164: 
                   2165: 
                   2166: # Keep a trace of the command line.
                   2167: # Strip out --no-create and --no-recursion so they do not pile up.
                   2168: # Strip out --silent because we don't want to record it for future runs.
                   2169: # Also quote any args containing shell meta-characters.
                   2170: # Make two passes to allow for proper duplicate-argument suppression.
                   2171: ac_configure_args=
                   2172: ac_configure_args0=
                   2173: ac_configure_args1=
                   2174: ac_must_keep_next=false
                   2175: for ac_pass in 1 2
                   2176: do
                   2177:   for ac_arg
                   2178:   do
                   2179:     case $ac_arg in
                   2180:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   2181:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   2182:     | -silent | --silent | --silen | --sile | --sil)
                   2183:       continue ;;
1.22      moko     2184:     *\'*)
                   2185:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1       misha    2186:     esac
                   2187:     case $ac_pass in
1.22      moko     2188:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1.1       misha    2189:     2)
1.22      moko     2190:       as_fn_append ac_configure_args1 " '$ac_arg'"
1.1       misha    2191:       if test $ac_must_keep_next = true; then
                   2192:        ac_must_keep_next=false # Got value, back to normal.
                   2193:       else
                   2194:        case $ac_arg in
                   2195:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   2196:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   2197:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   2198:          | -with-* | --with-* | -without-* | --without-* | --x)
                   2199:            case "$ac_configure_args0 " in
                   2200:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   2201:            esac
                   2202:            ;;
                   2203:          -* ) ac_must_keep_next=true ;;
                   2204:        esac
                   2205:       fi
1.22      moko     2206:       as_fn_append ac_configure_args " '$ac_arg'"
1.1       misha    2207:       ;;
                   2208:     esac
                   2209:   done
                   2210: done
1.22      moko     2211: { ac_configure_args0=; unset ac_configure_args0;}
                   2212: { ac_configure_args1=; unset ac_configure_args1;}
1.1       misha    2213: 
                   2214: # When interrupted or exit'd, cleanup temporary files, and complete
                   2215: # config.log.  We remove comments because anyway the quotes in there
                   2216: # would cause problems or look ugly.
1.22      moko     2217: # WARNING: Use '\'' to represent an apostrophe within the trap.
                   2218: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1.1       misha    2219: trap 'exit_status=$?
                   2220:   # Save into config.log some information that might help in debugging.
                   2221:   {
                   2222:     echo
                   2223: 
1.22      moko     2224:     $as_echo "## ---------------- ##
1.1       misha    2225: ## Cache variables. ##
1.22      moko     2226: ## ---------------- ##"
1.1       misha    2227:     echo
                   2228:     # The following way of writing the cache mishandles newlines in values,
1.22      moko     2229: (
                   2230:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
                   2231:     eval ac_val=\$$ac_var
                   2232:     case $ac_val in #(
                   2233:     *${as_nl}*)
                   2234:       case $ac_var in #(
                   2235:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   2236: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   2237:       esac
                   2238:       case $ac_var in #(
                   2239:       _ | IFS | as_nl) ;; #(
                   2240:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   2241:       *) { eval $ac_var=; unset $ac_var;} ;;
                   2242:       esac ;;
                   2243:     esac
                   2244:   done
1.1       misha    2245:   (set) 2>&1 |
1.22      moko     2246:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
                   2247:     *${as_nl}ac_space=\ *)
1.1       misha    2248:       sed -n \
1.22      moko     2249:        "s/'\''/'\''\\\\'\'''\''/g;
                   2250:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
                   2251:       ;; #(
1.1       misha    2252:     *)
1.22      moko     2253:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.1       misha    2254:       ;;
1.22      moko     2255:     esac |
                   2256:     sort
                   2257: )
1.1       misha    2258:     echo
                   2259: 
1.22      moko     2260:     $as_echo "## ----------------- ##
1.1       misha    2261: ## Output variables. ##
1.22      moko     2262: ## ----------------- ##"
1.1       misha    2263:     echo
                   2264:     for ac_var in $ac_subst_vars
                   2265:     do
1.22      moko     2266:       eval ac_val=\$$ac_var
                   2267:       case $ac_val in
                   2268:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2269:       esac
                   2270:       $as_echo "$ac_var='\''$ac_val'\''"
1.1       misha    2271:     done | sort
                   2272:     echo
                   2273: 
                   2274:     if test -n "$ac_subst_files"; then
1.22      moko     2275:       $as_echo "## ------------------- ##
                   2276: ## File substitutions. ##
                   2277: ## ------------------- ##"
1.1       misha    2278:       echo
                   2279:       for ac_var in $ac_subst_files
                   2280:       do
1.22      moko     2281:        eval ac_val=\$$ac_var
                   2282:        case $ac_val in
                   2283:        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2284:        esac
                   2285:        $as_echo "$ac_var='\''$ac_val'\''"
1.1       misha    2286:       done | sort
                   2287:       echo
                   2288:     fi
                   2289: 
                   2290:     if test -s confdefs.h; then
1.22      moko     2291:       $as_echo "## ----------- ##
1.1       misha    2292: ## confdefs.h. ##
1.22      moko     2293: ## ----------- ##"
1.1       misha    2294:       echo
1.22      moko     2295:       cat confdefs.h
1.1       misha    2296:       echo
                   2297:     fi
                   2298:     test "$ac_signal" != 0 &&
1.22      moko     2299:       $as_echo "$as_me: caught signal $ac_signal"
                   2300:     $as_echo "$as_me: exit $exit_status"
1.1       misha    2301:   } >&5
1.22      moko     2302:   rm -f core *.core core.conftest.* &&
                   2303:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1.1       misha    2304:     exit $exit_status
1.22      moko     2305: ' 0
1.1       misha    2306: for ac_signal in 1 2 13 15; do
1.22      moko     2307:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1.1       misha    2308: done
                   2309: ac_signal=0
                   2310: 
                   2311: # confdefs.h avoids OS command line length limits that DEFS can exceed.
1.22      moko     2312: rm -f -r conftest* confdefs.h
                   2313: 
                   2314: $as_echo "/* confdefs.h */" > confdefs.h
1.1       misha    2315: 
                   2316: # Predefined preprocessor variables.
                   2317: 
                   2318: cat >>confdefs.h <<_ACEOF
                   2319: #define PACKAGE_NAME "$PACKAGE_NAME"
                   2320: _ACEOF
                   2321: 
                   2322: cat >>confdefs.h <<_ACEOF
                   2323: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   2324: _ACEOF
                   2325: 
                   2326: cat >>confdefs.h <<_ACEOF
                   2327: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   2328: _ACEOF
                   2329: 
                   2330: cat >>confdefs.h <<_ACEOF
                   2331: #define PACKAGE_STRING "$PACKAGE_STRING"
                   2332: _ACEOF
                   2333: 
1.22      moko     2334: cat >>confdefs.h <<_ACEOF
                   2335: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   2336: _ACEOF
1.11      moko     2337: 
1.10      moko     2338: cat >>confdefs.h <<_ACEOF
1.22      moko     2339: #define PACKAGE_URL "$PACKAGE_URL"
1.10      moko     2340: _ACEOF
1.1       misha    2341: 
                   2342: 
                   2343: # Let the site file select an alternate cache file if it wants to.
1.22      moko     2344: # Prefer an explicitly selected file to automatically selected ones.
                   2345: ac_site_file1=NONE
                   2346: ac_site_file2=NONE
                   2347: if test -n "$CONFIG_SITE"; then
                   2348:   # We do not want a PATH search for config.site.
                   2349:   case $CONFIG_SITE in #((
                   2350:     -*)  ac_site_file1=./$CONFIG_SITE;;
                   2351:     */*) ac_site_file1=$CONFIG_SITE;;
                   2352:     *)   ac_site_file1=./$CONFIG_SITE;;
                   2353:   esac
                   2354: elif test "x$prefix" != xNONE; then
                   2355:   ac_site_file1=$prefix/share/config.site
                   2356:   ac_site_file2=$prefix/etc/config.site
                   2357: else
                   2358:   ac_site_file1=$ac_default_prefix/share/config.site
                   2359:   ac_site_file2=$ac_default_prefix/etc/config.site
                   2360: fi
                   2361: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
                   2362: do
                   2363:   test "x$ac_site_file" = xNONE && continue
                   2364:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
                   2365:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
                   2366: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1.1       misha    2367:     sed 's/^/| /' "$ac_site_file" >&5
1.22      moko     2368:     . "$ac_site_file" \
                   2369:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2370: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2371: as_fn_error $? "failed to load site script $ac_site_file
                   2372: See \`config.log' for more details" "$LINENO" 5; }
1.1       misha    2373:   fi
                   2374: done
                   2375: 
                   2376: if test -r "$cache_file"; then
1.22      moko     2377:   # Some versions of bash will fail to source /dev/null (special files
                   2378:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
                   2379:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
                   2380:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
                   2381: $as_echo "$as_me: loading cache $cache_file" >&6;}
1.1       misha    2382:     case $cache_file in
1.22      moko     2383:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
                   2384:       *)                      . "./$cache_file";;
1.1       misha    2385:     esac
                   2386:   fi
                   2387: else
1.22      moko     2388:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
                   2389: $as_echo "$as_me: creating cache $cache_file" >&6;}
1.1       misha    2390:   >$cache_file
                   2391: fi
                   2392: 
                   2393: # Check that the precious variables saved in the cache have kept the same
                   2394: # value.
                   2395: ac_cache_corrupted=false
1.22      moko     2396: for ac_var in $ac_precious_vars; do
1.1       misha    2397:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   2398:   eval ac_new_set=\$ac_env_${ac_var}_set
1.22      moko     2399:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
                   2400:   eval ac_new_val=\$ac_env_${ac_var}_value
1.1       misha    2401:   case $ac_old_set,$ac_new_set in
                   2402:     set,)
1.22      moko     2403:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   2404: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1.1       misha    2405:       ac_cache_corrupted=: ;;
                   2406:     ,set)
1.22      moko     2407:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
                   2408: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1.1       misha    2409:       ac_cache_corrupted=: ;;
                   2410:     ,);;
                   2411:     *)
                   2412:       if test "x$ac_old_val" != "x$ac_new_val"; then
1.22      moko     2413:        # differences in whitespace do not lead to failure.
                   2414:        ac_old_val_w=`echo x $ac_old_val`
                   2415:        ac_new_val_w=`echo x $ac_new_val`
                   2416:        if test "$ac_old_val_w" != "$ac_new_val_w"; then
                   2417:          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
                   2418: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
                   2419:          ac_cache_corrupted=:
                   2420:        else
                   2421:          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
                   2422: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
                   2423:          eval $ac_var=\$ac_old_val
                   2424:        fi
                   2425:        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
                   2426: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
                   2427:        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
                   2428: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1.1       misha    2429:       fi;;
                   2430:   esac
                   2431:   # Pass precious variables to config.status.
                   2432:   if test "$ac_new_set" = set; then
                   2433:     case $ac_new_val in
1.22      moko     2434:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1       misha    2435:     *) ac_arg=$ac_var=$ac_new_val ;;
                   2436:     esac
                   2437:     case " $ac_configure_args " in
                   2438:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1.22      moko     2439:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1.1       misha    2440:     esac
                   2441:   fi
                   2442: done
                   2443: if $ac_cache_corrupted; then
1.22      moko     2444:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2445: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2446:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
                   2447: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
                   2448:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
                   2449: fi
                   2450: ## -------------------- ##
                   2451: ## Main body of script. ##
                   2452: ## -------------------- ##
1.1       misha    2453: 
                   2454: ac_ext=c
                   2455: ac_cpp='$CPP $CPPFLAGS'
                   2456: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2457: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2458: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2459: 
                   2460: 
                   2461: 
1.22      moko     2462: ac_config_headers="$ac_config_headers config_auto.h"
1.1       misha    2463: 
1.11      moko     2464: 
1.22      moko     2465: am__api_version='1.11'
1.11      moko     2466: 
1.1       misha    2467: ac_aux_dir=
1.22      moko     2468: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
                   2469:   if test -f "$ac_dir/install-sh"; then
1.1       misha    2470:     ac_aux_dir=$ac_dir
                   2471:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   2472:     break
1.22      moko     2473:   elif test -f "$ac_dir/install.sh"; then
1.1       misha    2474:     ac_aux_dir=$ac_dir
                   2475:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   2476:     break
1.22      moko     2477:   elif test -f "$ac_dir/shtool"; then
1.1       misha    2478:     ac_aux_dir=$ac_dir
                   2479:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   2480:     break
                   2481:   fi
                   2482: done
                   2483: if test -z "$ac_aux_dir"; then
1.22      moko     2484:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
                   2485: fi
                   2486: 
                   2487: # These three variables are undocumented and unsupported,
                   2488: # and are intended to be withdrawn in a future Autoconf release.
                   2489: # They can cause serious problems if a builder's source tree is in a directory
                   2490: # whose full name contains unusual characters.
                   2491: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
                   2492: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
                   2493: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
                   2494: 
1.1       misha    2495: 
                   2496: # Find a good install program.  We prefer a C program (faster),
                   2497: # so one script is as good as another.  But avoid the broken or
                   2498: # incompatible versions:
                   2499: # SysV /etc/install, /usr/sbin/install
                   2500: # SunOS /usr/etc/install
                   2501: # IRIX /sbin/install
                   2502: # AIX /bin/install
                   2503: # AmigaOS /C/install, which installs bootblocks on floppy discs
                   2504: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   2505: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   2506: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
                   2507: # OS/2's system install, which has a completely different semantic
                   2508: # ./install, which can be erroneously created by make from ./install.sh.
1.22      moko     2509: # Reject install programs that cannot install multiple files.
                   2510: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
                   2511: $as_echo_n "checking for a BSD-compatible install... " >&6; }
1.1       misha    2512: if test -z "$INSTALL"; then
1.22      moko     2513: if ${ac_cv_path_install+:} false; then :
                   2514:   $as_echo_n "(cached) " >&6
1.1       misha    2515: else
                   2516:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2517: for as_dir in $PATH
                   2518: do
                   2519:   IFS=$as_save_IFS
                   2520:   test -z "$as_dir" && as_dir=.
1.22      moko     2521:     # Account for people who put trailing slashes in PATH elements.
                   2522: case $as_dir/ in #((
                   2523:   ./ | .// | /[cC]/* | \
1.1       misha    2524:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.22      moko     2525:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1.1       misha    2526:   /usr/ucb/* ) ;;
                   2527:   *)
                   2528:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   2529:     # Don't use installbsd from OSF since it installs stuff as root
                   2530:     # by default.
                   2531:     for ac_prog in ginstall scoinst install; do
                   2532:       for ac_exec_ext in '' $ac_executable_extensions; do
1.25      moko     2533:        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1.1       misha    2534:          if test $ac_prog = install &&
                   2535:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2536:            # AIX install.  It has an incompatible calling convention.
                   2537:            :
                   2538:          elif test $ac_prog = install &&
                   2539:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2540:            # program-specific install script used by HP pwplus--don't use.
                   2541:            :
                   2542:          else
1.22      moko     2543:            rm -rf conftest.one conftest.two conftest.dir
                   2544:            echo one > conftest.one
                   2545:            echo two > conftest.two
                   2546:            mkdir conftest.dir
                   2547:            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
                   2548:              test -s conftest.one && test -s conftest.two &&
                   2549:              test -s conftest.dir/conftest.one &&
                   2550:              test -s conftest.dir/conftest.two
                   2551:            then
                   2552:              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   2553:              break 3
                   2554:            fi
1.1       misha    2555:          fi
                   2556:        fi
                   2557:       done
                   2558:     done
                   2559:     ;;
                   2560: esac
                   2561: 
1.22      moko     2562:   done
                   2563: IFS=$as_save_IFS
                   2564: 
                   2565: rm -rf conftest.one conftest.two conftest.dir
1.1       misha    2566: 
                   2567: fi
                   2568:   if test "${ac_cv_path_install+set}" = set; then
                   2569:     INSTALL=$ac_cv_path_install
                   2570:   else
1.22      moko     2571:     # As a last resort, use the slow shell script.  Don't cache a
                   2572:     # value for INSTALL within a source directory, because that will
1.1       misha    2573:     # break other packages using the cache if that directory is
1.22      moko     2574:     # removed, or if the value is a relative name.
1.1       misha    2575:     INSTALL=$ac_install_sh
                   2576:   fi
                   2577: fi
1.22      moko     2578: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
                   2579: $as_echo "$INSTALL" >&6; }
1.1       misha    2580: 
                   2581: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   2582: # It thinks the first close brace ends the variable substitution.
                   2583: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   2584: 
                   2585: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
                   2586: 
                   2587: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   2588: 
1.22      moko     2589: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
                   2590: $as_echo_n "checking whether build environment is sane... " >&6; }
1.1       misha    2591: # Just in case
                   2592: sleep 1
                   2593: echo timestamp > conftest.file
1.22      moko     2594: # Reject unsafe characters in $srcdir or the absolute working directory
                   2595: # name.  Accept space and tab only in the latter.
                   2596: am_lf='
                   2597: '
                   2598: case `pwd` in
                   2599:   *[\\\"\#\$\&\'\`$am_lf]*)
                   2600:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
                   2601: esac
                   2602: case $srcdir in
                   2603:   *[\\\"\#\$\&\'\`$am_lf\ \    ]*)
                   2604:     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
                   2605: esac
                   2606: 
1.1       misha    2607: # Do `set' in a subshell so we don't clobber the current shell's
                   2608: # arguments.  Must try -L first in case configure is actually a
                   2609: # symlink; some systems play weird games with the mod time of symlinks
                   2610: # (eg FreeBSD returns the mod time of the symlink's containing
                   2611: # directory).
                   2612: if (
1.22      moko     2613:    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1.1       misha    2614:    if test "$*" = "X"; then
                   2615:       # -L didn't work.
1.22      moko     2616:       set X `ls -t "$srcdir/configure" conftest.file`
1.1       misha    2617:    fi
                   2618:    rm -f conftest.file
                   2619:    if test "$*" != "X $srcdir/configure conftest.file" \
                   2620:       && test "$*" != "X conftest.file $srcdir/configure"; then
                   2621: 
                   2622:       # If neither matched, then we have a broken ls.  This can happen
                   2623:       # if, for instance, CONFIG_SHELL is bash and it inherits a
                   2624:       # broken ls alias from the environment.  This has actually
                   2625:       # happened.  Such a system could not be considered "sane".
1.22      moko     2626:       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
                   2627: alias in your environment" "$LINENO" 5
1.1       misha    2628:    fi
                   2629: 
                   2630:    test "$2" = conftest.file
                   2631:    )
                   2632: then
                   2633:    # Ok.
                   2634:    :
                   2635: else
1.22      moko     2636:    as_fn_error $? "newly created file is older than distributed files!
                   2637: Check your system clock" "$LINENO" 5
1.1       misha    2638: fi
1.22      moko     2639: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2640: $as_echo "yes" >&6; }
1.1       misha    2641: test "$program_prefix" != NONE &&
1.22      moko     2642:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
1.1       misha    2643: # Use a double $ so make ignores it.
                   2644: test "$program_suffix" != NONE &&
1.22      moko     2645:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
                   2646: # Double any \ or $.
1.1       misha    2647: # By default was `s,x,x', remove it if useless.
1.22      moko     2648: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
                   2649: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1.1       misha    2650: 
                   2651: # expand $ac_aux_dir to an absolute path
                   2652: am_aux_dir=`cd $ac_aux_dir && pwd`
                   2653: 
1.22      moko     2654: if test x"${MISSING+set}" != xset; then
                   2655:   case $am_aux_dir in
                   2656:   *\ * | *\    *)
                   2657:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
                   2658:   *)
                   2659:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
                   2660:   esac
                   2661: fi
1.1       misha    2662: # Use eval to expand $SHELL
                   2663: if eval "$MISSING --run true"; then
                   2664:   am_missing_run="$MISSING --run "
                   2665: else
                   2666:   am_missing_run=
1.22      moko     2667:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
                   2668: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1.1       misha    2669: fi
                   2670: 
1.22      moko     2671: if test x"${install_sh}" != xset; then
                   2672:   case $am_aux_dir in
                   2673:   *\ * | *\    *)
                   2674:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
                   2675:   *)
                   2676:     install_sh="\${SHELL} $am_aux_dir/install-sh"
                   2677:   esac
                   2678: fi
                   2679: 
                   2680: # Installed binaries are usually stripped using `strip' when the user
                   2681: # run `make install-strip'.  However `strip' might not be the right
                   2682: # tool to use in cross-compilation environments, therefore Automake
                   2683: # will honor the `STRIP' environment variable to overrule this program.
                   2684: if test "$cross_compiling" != no; then
                   2685:   if test -n "$ac_tool_prefix"; then
                   2686:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   2687: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   2688: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2689: $as_echo_n "checking for $ac_word... " >&6; }
                   2690: if ${ac_cv_prog_STRIP+:} false; then :
                   2691:   $as_echo_n "(cached) " >&6
                   2692: else
                   2693:   if test -n "$STRIP"; then
                   2694:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   2695: else
                   2696: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2697: for as_dir in $PATH
                   2698: do
                   2699:   IFS=$as_save_IFS
                   2700:   test -z "$as_dir" && as_dir=.
                   2701:     for ac_exec_ext in '' $ac_executable_extensions; do
1.25      moko     2702:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.22      moko     2703:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   2704:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2705:     break 2
                   2706:   fi
                   2707: done
                   2708:   done
                   2709: IFS=$as_save_IFS
                   2710: 
                   2711: fi
                   2712: fi
                   2713: STRIP=$ac_cv_prog_STRIP
                   2714: if test -n "$STRIP"; then
                   2715:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   2716: $as_echo "$STRIP" >&6; }
                   2717: else
                   2718:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2719: $as_echo "no" >&6; }
                   2720: fi
                   2721: 
                   2722: 
                   2723: fi
                   2724: if test -z "$ac_cv_prog_STRIP"; then
                   2725:   ac_ct_STRIP=$STRIP
                   2726:   # Extract the first word of "strip", so it can be a program name with args.
                   2727: set dummy strip; ac_word=$2
                   2728: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2729: $as_echo_n "checking for $ac_word... " >&6; }
                   2730: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
                   2731:   $as_echo_n "(cached) " >&6
                   2732: else
                   2733:   if test -n "$ac_ct_STRIP"; then
                   2734:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   2735: else
                   2736: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2737: for as_dir in $PATH
                   2738: do
                   2739:   IFS=$as_save_IFS
                   2740:   test -z "$as_dir" && as_dir=.
                   2741:     for ac_exec_ext in '' $ac_executable_extensions; do
1.25      moko     2742:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.22      moko     2743:     ac_cv_prog_ac_ct_STRIP="strip"
                   2744:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2745:     break 2
                   2746:   fi
                   2747: done
                   2748:   done
                   2749: IFS=$as_save_IFS
                   2750: 
                   2751: fi
                   2752: fi
                   2753: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   2754: if test -n "$ac_ct_STRIP"; then
                   2755:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   2756: $as_echo "$ac_ct_STRIP" >&6; }
                   2757: else
                   2758:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2759: $as_echo "no" >&6; }
                   2760: fi
                   2761: 
                   2762:   if test "x$ac_ct_STRIP" = x; then
                   2763:     STRIP=":"
                   2764:   else
                   2765:     case $cross_compiling:$ac_tool_warned in
                   2766: yes:)
                   2767: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   2768: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   2769: ac_tool_warned=yes ;;
                   2770: esac
                   2771:     STRIP=$ac_ct_STRIP
                   2772:   fi
                   2773: else
                   2774:   STRIP="$ac_cv_prog_STRIP"
                   2775: fi
                   2776: 
                   2777: fi
                   2778: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
                   2779: 
                   2780: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
                   2781: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
                   2782: if test -z "$MKDIR_P"; then
                   2783:   if ${ac_cv_path_mkdir+:} false; then :
                   2784:   $as_echo_n "(cached) " >&6
                   2785: else
                   2786:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2787: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
                   2788: do
                   2789:   IFS=$as_save_IFS
                   2790:   test -z "$as_dir" && as_dir=.
                   2791:     for ac_prog in mkdir gmkdir; do
                   2792:         for ac_exec_ext in '' $ac_executable_extensions; do
1.25      moko     2793:           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
1.22      moko     2794:           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
                   2795:             'mkdir (GNU coreutils) '* | \
                   2796:             'mkdir (coreutils) '* | \
                   2797:             'mkdir (fileutils) '4.1*)
                   2798:               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
                   2799:               break 3;;
                   2800:           esac
                   2801:         done
                   2802:        done
1.1       misha    2803:   done
1.22      moko     2804: IFS=$as_save_IFS
                   2805: 
                   2806: fi
                   2807: 
                   2808:   test -d ./--version && rmdir ./--version
                   2809:   if test "${ac_cv_path_mkdir+set}" = set; then
                   2810:     MKDIR_P="$ac_cv_path_mkdir -p"
1.1       misha    2811:   else
1.22      moko     2812:     # As a last resort, use the slow shell script.  Don't cache a
                   2813:     # value for MKDIR_P within a source directory, because that will
                   2814:     # break other packages using the cache if that directory is
                   2815:     # removed, or if the value is a relative name.
                   2816:     MKDIR_P="$ac_install_sh -d"
1.1       misha    2817:   fi
                   2818: fi
1.22      moko     2819: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
                   2820: $as_echo "$MKDIR_P" >&6; }
                   2821: 
                   2822: mkdir_p="$MKDIR_P"
                   2823: case $mkdir_p in
                   2824:   [\\/$]* | ?:[\\/]*) ;;
                   2825:   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
                   2826: esac
1.1       misha    2827: 
                   2828: for ac_prog in gawk mawk nawk awk
                   2829: do
                   2830:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2831: set dummy $ac_prog; ac_word=$2
1.22      moko     2832: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2833: $as_echo_n "checking for $ac_word... " >&6; }
                   2834: if ${ac_cv_prog_AWK+:} false; then :
                   2835:   $as_echo_n "(cached) " >&6
1.1       misha    2836: else
                   2837:   if test -n "$AWK"; then
                   2838:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   2839: else
                   2840: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2841: for as_dir in $PATH
                   2842: do
                   2843:   IFS=$as_save_IFS
                   2844:   test -z "$as_dir" && as_dir=.
1.22      moko     2845:     for ac_exec_ext in '' $ac_executable_extensions; do
1.25      moko     2846:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misha    2847:     ac_cv_prog_AWK="$ac_prog"
1.22      moko     2848:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misha    2849:     break 2
                   2850:   fi
                   2851: done
1.22      moko     2852:   done
                   2853: IFS=$as_save_IFS
1.1       misha    2854: 
                   2855: fi
                   2856: fi
                   2857: AWK=$ac_cv_prog_AWK
                   2858: if test -n "$AWK"; then
1.22      moko     2859:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   2860: $as_echo "$AWK" >&6; }
1.1       misha    2861: else
1.22      moko     2862:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2863: $as_echo "no" >&6; }
1.1       misha    2864: fi
                   2865: 
1.22      moko     2866: 
1.1       misha    2867:   test -n "$AWK" && break
                   2868: done
                   2869: 
1.22      moko     2870: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   2871: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
                   2872: set x ${MAKE-make}
                   2873: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
                   2874: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
                   2875:   $as_echo_n "(cached) " >&6
1.1       misha    2876: else
                   2877:   cat >conftest.make <<\_ACEOF
1.22      moko     2878: SHELL = /bin/sh
1.1       misha    2879: all:
1.22      moko     2880:        @echo '@@@%%%=$(MAKE)=@@@%%%'
1.1       misha    2881: _ACEOF
1.22      moko     2882: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
                   2883: case `${MAKE-make} -f conftest.make 2>/dev/null` in
                   2884:   *@@@%%%=?*=@@@%%%*)
                   2885:     eval ac_cv_prog_make_${ac_make}_set=yes;;
                   2886:   *)
                   2887:     eval ac_cv_prog_make_${ac_make}_set=no;;
                   2888: esac
1.1       misha    2889: rm -f conftest.make
                   2890: fi
1.22      moko     2891: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
                   2892:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2893: $as_echo "yes" >&6; }
1.1       misha    2894:   SET_MAKE=
                   2895: else
1.22      moko     2896:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2897: $as_echo "no" >&6; }
1.1       misha    2898:   SET_MAKE="MAKE=${MAKE-make}"
                   2899: fi
                   2900: 
                   2901: rm -rf .tst 2>/dev/null
                   2902: mkdir .tst 2>/dev/null
                   2903: if test -d .tst; then
                   2904:   am__leading_dot=.
                   2905: else
                   2906:   am__leading_dot=_
                   2907: fi
                   2908: rmdir .tst 2>/dev/null
                   2909: 
1.22      moko     2910: if test "`cd $srcdir && pwd`" != "`pwd`"; then
                   2911:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
                   2912:   # is not polluted with repeated "-I."
                   2913:   am__isrc=' -I$(srcdir)'
                   2914:   # test to see if srcdir already configured
                   2915:   if test -f $srcdir/config.status; then
                   2916:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
                   2917:   fi
1.1       misha    2918: fi
                   2919: 
                   2920: # test whether we have cygpath
                   2921: if test -z "$CYGPATH_W"; then
                   2922:   if (cygpath --version) >/dev/null 2>/dev/null; then
                   2923:     CYGPATH_W='cygpath -w'
                   2924:   else
                   2925:     CYGPATH_W=echo
                   2926:   fi
                   2927: fi
                   2928: 
                   2929: 
                   2930: # Define the identity of the package.
1.25      moko     2931:  PACKAGE='parser3sqlite'
1.23      moko     2932:  VERSION='10.3'
1.1       misha    2933: 
                   2934: 
1.13      moko     2935: cat >>confdefs.h <<_ACEOF
                   2936: #define PACKAGE "$PACKAGE"
                   2937: _ACEOF
                   2938: 
                   2939: 
                   2940: cat >>confdefs.h <<_ACEOF
                   2941: #define VERSION "$VERSION"
                   2942: _ACEOF
                   2943: 
1.1       misha    2944: # Some tools Automake needs.
                   2945: 
                   2946: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
                   2947: 
                   2948: 
                   2949: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   2950: 
                   2951: 
                   2952: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
                   2953: 
                   2954: 
                   2955: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   2956: 
                   2957: 
                   2958: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
                   2959: 
                   2960: # We need awk for the "check" target.  The system "awk" is bad on
                   2961: # some platforms.
                   2962: # Always define AMTAR for backward compatibility.
                   2963: 
                   2964: AMTAR=${AMTAR-"${am_missing_run}tar"}
                   2965: 
                   2966: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
                   2967: 
                   2968: 
                   2969: 
                   2970: 
                   2971: 
                   2972: 
                   2973: 
                   2974: 
                   2975: 
1.22      moko     2976: # Check whether --with-sqlite-inc was given.
                   2977: if test "${with_sqlite_inc+set}" = set; then :
                   2978:   withval=$with_sqlite_inc;
1.1       misha    2979:        if test -r "$withval/sqlite3.h"; then
                   2980:                SQLITE_INC=$withval
                   2981:        fi
                   2982: 
                   2983: 
1.4       misha    2984:        if test -z "$SQLITE_INC"; then
1.22      moko     2985:                as_fn_error $? "$SQLITE_INC does not seem to be valid SQLite includes directory" "$LINENO" 5
1.4       misha    2986:        fi
1.1       misha    2987: 
                   2988: else
1.22      moko     2989:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SQLITE_INC directory" >&5
                   2990: $as_echo_n "checking for SQLITE_INC directory... " >&6; }
1.1       misha    2991:        for d in \
1.9       moko     2992:                /usr/local/include \
                   2993:                /usr/include \
1.1       misha    2994:                /usr/local/include/sqlite \
                   2995:                /usr/include/sqlite ; do
                   2996: 
                   2997:        if test -r "$d/sqlite3.h"; then
                   2998:                SQLITE_INC=$d
                   2999:        fi
                   3000: 
                   3001:        done
                   3002: 
1.4       misha    3003:        if test -z "$SQLITE_INC"; then
1.22      moko     3004:                as_fn_error $? "use --with-sqlite-inc=DIR to specify SQLite includes directory" "$LINENO" 5
1.4       misha    3005:        fi
1.1       misha    3006: 
1.22      moko     3007:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SQLITE_INC" >&5
                   3008: $as_echo "$SQLITE_INC" >&6; }
1.1       misha    3009: 
1.22      moko     3010: fi
1.11      moko     3011: 
                   3012: 
1.6       misha    3013: 
                   3014: 
                   3015: 
1.22      moko     3016: ac_ext=cpp
1.1       misha    3017: ac_cpp='$CXXCPP $CPPFLAGS'
                   3018: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3019: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3020: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.22      moko     3021: if test -z "$CXX"; then
                   3022:   if test -n "$CCC"; then
                   3023:     CXX=$CCC
                   3024:   else
                   3025:     if test -n "$ac_tool_prefix"; then
                   3026:   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1.1       misha    3027:   do
                   3028:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3029: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.22      moko     3030: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3031: $as_echo_n "checking for $ac_word... " >&6; }
                   3032: if ${ac_cv_prog_CXX+:} false; then :
                   3033:   $as_echo_n "(cached) " >&6
1.1       misha    3034: else
                   3035:   if test -n "$CXX"; then
                   3036:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
                   3037: else
                   3038: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3039: for as_dir in $PATH
                   3040: do
                   3041:   IFS=$as_save_IFS
                   3042:   test -z "$as_dir" && as_dir=.
1.22      moko     3043:     for ac_exec_ext in '' $ac_executable_extensions; do
1.25      moko     3044:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misha    3045:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1.22      moko     3046:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misha    3047:     break 2
                   3048:   fi
                   3049: done
1.22      moko     3050:   done
                   3051: IFS=$as_save_IFS
1.1       misha    3052: 
                   3053: fi
                   3054: fi
                   3055: CXX=$ac_cv_prog_CXX
                   3056: if test -n "$CXX"; then
1.22      moko     3057:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
                   3058: $as_echo "$CXX" >&6; }
1.1       misha    3059: else
1.22      moko     3060:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3061: $as_echo "no" >&6; }
1.1       misha    3062: fi
                   3063: 
1.22      moko     3064: 
1.1       misha    3065:     test -n "$CXX" && break
                   3066:   done
                   3067: fi
                   3068: if test -z "$CXX"; then
                   3069:   ac_ct_CXX=$CXX
1.22      moko     3070:   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1.1       misha    3071: do
                   3072:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3073: set dummy $ac_prog; ac_word=$2
1.22      moko     3074: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3075: $as_echo_n "checking for $ac_word... " >&6; }
                   3076: if ${ac_cv_prog_ac_ct_CXX+:} false; then :
                   3077:   $as_echo_n "(cached) " >&6
1.1       misha    3078: else
                   3079:   if test -n "$ac_ct_CXX"; then
                   3080:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
                   3081: else
                   3082: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3083: for as_dir in $PATH
                   3084: do
                   3085:   IFS=$as_save_IFS
                   3086:   test -z "$as_dir" && as_dir=.
1.22      moko     3087:     for ac_exec_ext in '' $ac_executable_extensions; do
1.25      moko     3088:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misha    3089:     ac_cv_prog_ac_ct_CXX="$ac_prog"
1.22      moko     3090:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misha    3091:     break 2
                   3092:   fi
                   3093: done
1.22      moko     3094:   done
                   3095: IFS=$as_save_IFS
1.1       misha    3096: 
                   3097: fi
                   3098: fi
                   3099: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
                   3100: if test -n "$ac_ct_CXX"; then
1.22      moko     3101:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
                   3102: $as_echo "$ac_ct_CXX" >&6; }
1.1       misha    3103: else
1.22      moko     3104:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3105: $as_echo "no" >&6; }
1.1       misha    3106: fi
                   3107: 
1.22      moko     3108: 
1.1       misha    3109:   test -n "$ac_ct_CXX" && break
                   3110: done
                   3111: 
1.22      moko     3112:   if test "x$ac_ct_CXX" = x; then
                   3113:     CXX="g++"
                   3114:   else
                   3115:     case $cross_compiling:$ac_tool_warned in
                   3116: yes:)
                   3117: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3118: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3119: ac_tool_warned=yes ;;
                   3120: esac
                   3121:     CXX=$ac_ct_CXX
                   3122:   fi
1.1       misha    3123: fi
                   3124: 
1.22      moko     3125:   fi
                   3126: fi
1.1       misha    3127: # Provide some information about the compiler.
1.22      moko     3128: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
                   3129: set X $ac_compile
                   3130: ac_compiler=$2
                   3131: for ac_option in --version -v -V -qversion; do
                   3132:   { { ac_try="$ac_compiler $ac_option >&5"
                   3133: case "(($ac_try" in
                   3134:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3135:   *) ac_try_echo=$ac_try;;
                   3136: esac
                   3137: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3138: $as_echo "$ac_try_echo"; } >&5
                   3139:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.11      moko     3140:   ac_status=$?
1.22      moko     3141:   if test -s conftest.err; then
                   3142:     sed '10a\
                   3143: ... rest of stderr output deleted ...
                   3144:          10q' conftest.err >conftest.er1
                   3145:     cat conftest.er1 >&5
                   3146:   fi
                   3147:   rm -f conftest.er1 conftest.err
                   3148:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3149:   test $ac_status = 0; }
                   3150: done
1.1       misha    3151: 
1.22      moko     3152: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misha    3153: /* end confdefs.h.  */
                   3154: 
                   3155: int
                   3156: main ()
                   3157: {
                   3158: 
                   3159:   ;
                   3160:   return 0;
                   3161: }
                   3162: _ACEOF
                   3163: ac_clean_files_save=$ac_clean_files
1.22      moko     3164: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
1.1       misha    3165: # Try to create an executable without -o first, disregard a.out.
                   3166: # It will help us diagnose broken compilers, and finding out an intuition
                   3167: # of exeext.
1.22      moko     3168: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
                   3169: $as_echo_n "checking whether the C++ compiler works... " >&6; }
                   3170: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   3171: 
                   3172: # The possible output files:
                   3173: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
                   3174: 
                   3175: ac_rmfiles=
                   3176: for ac_file in $ac_files
                   3177: do
                   3178:   case $ac_file in
                   3179:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3180:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
                   3181:   esac
                   3182: done
                   3183: rm -f $ac_rmfiles
                   3184: 
                   3185: if { { ac_try="$ac_link_default"
                   3186: case "(($ac_try" in
                   3187:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3188:   *) ac_try_echo=$ac_try;;
                   3189: esac
                   3190: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3191: $as_echo "$ac_try_echo"; } >&5
                   3192:   (eval "$ac_link_default") 2>&5
                   3193:   ac_status=$?
                   3194:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3195:   test $ac_status = 0; }; then :
                   3196:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
                   3197: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
                   3198: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
                   3199: # so that the user can short-circuit this test for compilers unknown to
                   3200: # Autoconf.
                   3201: for ac_file in $ac_files ''
1.1       misha    3202: do
                   3203:   test -f "$ac_file" || continue
                   3204:   case $ac_file in
1.22      moko     3205:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
1.1       misha    3206:        ;;
                   3207:     [ab].out )
                   3208:        # We found the default executable, but exeext='' is most
                   3209:        # certainly right.
                   3210:        break;;
                   3211:     *.* )
1.22      moko     3212:        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
                   3213:        then :; else
                   3214:           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3215:        fi
                   3216:        # We set ac_cv_exeext here because the later test for it is not
                   3217:        # safe: cross compilers may not add the suffix if given an `-o'
                   3218:        # argument, so we may need to know it at that point already.
                   3219:        # Even if this section looks crufty: it has the advantage of
                   3220:        # actually working.
1.1       misha    3221:        break;;
                   3222:     * )
                   3223:        break;;
                   3224:   esac
                   3225: done
1.22      moko     3226: test "$ac_cv_exeext" = no && ac_cv_exeext=
                   3227: 
1.11      moko     3228: else
1.22      moko     3229:   ac_file=''
                   3230: fi
                   3231: if test -z "$ac_file"; then :
                   3232:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3233: $as_echo "no" >&6; }
                   3234: $as_echo "$as_me: failed program was:" >&5
1.11      moko     3235: sed 's/^/| /' conftest.$ac_ext >&5
1.10      moko     3236: 
1.22      moko     3237: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3238: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3239: as_fn_error 77 "C++ compiler cannot create executables
                   3240: See \`config.log' for more details" "$LINENO" 5; }
                   3241: else
                   3242:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3243: $as_echo "yes" >&6; }
                   3244: fi
                   3245: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
                   3246: $as_echo_n "checking for C++ compiler default output file name... " >&6; }
                   3247: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
                   3248: $as_echo "$ac_file" >&6; }
1.1       misha    3249: ac_exeext=$ac_cv_exeext
1.11      moko     3250: 
1.22      moko     3251: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
1.1       misha    3252: ac_clean_files=$ac_clean_files_save
1.22      moko     3253: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
                   3254: $as_echo_n "checking for suffix of executables... " >&6; }
                   3255: if { { ac_try="$ac_link"
                   3256: case "(($ac_try" in
                   3257:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3258:   *) ac_try_echo=$ac_try;;
                   3259: esac
                   3260: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3261: $as_echo "$ac_try_echo"; } >&5
                   3262:   (eval "$ac_link") 2>&5
1.1       misha    3263:   ac_status=$?
1.22      moko     3264:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3265:   test $ac_status = 0; }; then :
1.1       misha    3266:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   3267: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   3268: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   3269: # `rm'.
                   3270: for ac_file in conftest.exe conftest conftest.*; do
                   3271:   test -f "$ac_file" || continue
                   3272:   case $ac_file in
1.22      moko     3273:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
1.1       misha    3274:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3275:          break;;
                   3276:     * ) break;;
                   3277:   esac
                   3278: done
                   3279: else
1.22      moko     3280:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3281: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3282: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
                   3283: See \`config.log' for more details" "$LINENO" 5; }
                   3284: fi
                   3285: rm -f conftest conftest$ac_cv_exeext
                   3286: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
                   3287: $as_echo "$ac_cv_exeext" >&6; }
1.1       misha    3288: 
                   3289: rm -f conftest.$ac_ext
                   3290: EXEEXT=$ac_cv_exeext
                   3291: ac_exeext=$EXEEXT
1.22      moko     3292: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3293: /* end confdefs.h.  */
                   3294: #include <stdio.h>
                   3295: int
                   3296: main ()
                   3297: {
                   3298: FILE *f = fopen ("conftest.out", "w");
                   3299:  return ferror (f) || fclose (f) != 0;
                   3300: 
                   3301:   ;
                   3302:   return 0;
                   3303: }
                   3304: _ACEOF
                   3305: ac_clean_files="$ac_clean_files conftest.out"
                   3306: # Check that the compiler produces executables we can run.  If not, either
                   3307: # the compiler is broken, or we cross compile.
                   3308: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
                   3309: $as_echo_n "checking whether we are cross compiling... " >&6; }
                   3310: if test "$cross_compiling" != yes; then
                   3311:   { { ac_try="$ac_link"
                   3312: case "(($ac_try" in
                   3313:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3314:   *) ac_try_echo=$ac_try;;
                   3315: esac
                   3316: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3317: $as_echo "$ac_try_echo"; } >&5
                   3318:   (eval "$ac_link") 2>&5
                   3319:   ac_status=$?
                   3320:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3321:   test $ac_status = 0; }
                   3322:   if { ac_try='./conftest$ac_cv_exeext'
                   3323:   { { case "(($ac_try" in
                   3324:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3325:   *) ac_try_echo=$ac_try;;
                   3326: esac
                   3327: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3328: $as_echo "$ac_try_echo"; } >&5
                   3329:   (eval "$ac_try") 2>&5
                   3330:   ac_status=$?
                   3331:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3332:   test $ac_status = 0; }; }; then
                   3333:     cross_compiling=no
                   3334:   else
                   3335:     if test "$cross_compiling" = maybe; then
                   3336:        cross_compiling=yes
                   3337:     else
                   3338:        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3339: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3340: as_fn_error $? "cannot run C++ compiled programs.
                   3341: If you meant to cross compile, use \`--host'.
                   3342: See \`config.log' for more details" "$LINENO" 5; }
                   3343:     fi
                   3344:   fi
                   3345: fi
                   3346: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
                   3347: $as_echo "$cross_compiling" >&6; }
                   3348: 
                   3349: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
                   3350: ac_clean_files=$ac_clean_files_save
                   3351: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
                   3352: $as_echo_n "checking for suffix of object files... " >&6; }
                   3353: if ${ac_cv_objext+:} false; then :
                   3354:   $as_echo_n "(cached) " >&6
1.11      moko     3355: else
1.22      moko     3356:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misha    3357: /* end confdefs.h.  */
                   3358: 
                   3359: int
                   3360: main ()
                   3361: {
                   3362: 
                   3363:   ;
                   3364:   return 0;
                   3365: }
                   3366: _ACEOF
                   3367: rm -f conftest.o conftest.obj
1.22      moko     3368: if { { ac_try="$ac_compile"
                   3369: case "(($ac_try" in
                   3370:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3371:   *) ac_try_echo=$ac_try;;
                   3372: esac
                   3373: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3374: $as_echo "$ac_try_echo"; } >&5
                   3375:   (eval "$ac_compile") 2>&5
                   3376:   ac_status=$?
                   3377:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3378:   test $ac_status = 0; }; then :
                   3379:   for ac_file in conftest.o conftest.obj conftest.*; do
                   3380:   test -f "$ac_file" || continue;
1.1       misha    3381:   case $ac_file in
1.22      moko     3382:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
1.1       misha    3383:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   3384:        break;;
                   3385:   esac
                   3386: done
                   3387: else
1.22      moko     3388:   $as_echo "$as_me: failed program was:" >&5
1.1       misha    3389: sed 's/^/| /' conftest.$ac_ext >&5
                   3390: 
1.22      moko     3391: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3392: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3393: as_fn_error $? "cannot compute suffix of object files: cannot compile
                   3394: See \`config.log' for more details" "$LINENO" 5; }
1.1       misha    3395: fi
                   3396: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   3397: fi
1.22      moko     3398: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
                   3399: $as_echo "$ac_cv_objext" >&6; }
1.1       misha    3400: OBJEXT=$ac_cv_objext
                   3401: ac_objext=$OBJEXT
1.22      moko     3402: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
                   3403: $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
                   3404: if ${ac_cv_cxx_compiler_gnu+:} false; then :
                   3405:   $as_echo_n "(cached) " >&6
1.1       misha    3406: else
1.22      moko     3407:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misha    3408: /* end confdefs.h.  */
                   3409: 
                   3410: int
                   3411: main ()
                   3412: {
                   3413: #ifndef __GNUC__
                   3414:        choke me
                   3415: #endif
                   3416: 
                   3417:   ;
                   3418:   return 0;
                   3419: }
                   3420: _ACEOF
1.22      moko     3421: if ac_fn_cxx_try_compile "$LINENO"; then :
1.1       misha    3422:   ac_compiler_gnu=yes
                   3423: else
1.22      moko     3424:   ac_compiler_gnu=no
1.1       misha    3425: fi
1.22      moko     3426: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       misha    3427: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
                   3428: 
                   3429: fi
1.22      moko     3430: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
                   3431: $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
                   3432: if test $ac_compiler_gnu = yes; then
                   3433:   GXX=yes
                   3434: else
                   3435:   GXX=
                   3436: fi
1.1       misha    3437: ac_test_CXXFLAGS=${CXXFLAGS+set}
                   3438: ac_save_CXXFLAGS=$CXXFLAGS
1.22      moko     3439: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
                   3440: $as_echo_n "checking whether $CXX accepts -g... " >&6; }
                   3441: if ${ac_cv_prog_cxx_g+:} false; then :
                   3442:   $as_echo_n "(cached) " >&6
                   3443: else
                   3444:   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
                   3445:    ac_cxx_werror_flag=yes
                   3446:    ac_cv_prog_cxx_g=no
                   3447:    CXXFLAGS="-g"
                   3448:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misha    3449: /* end confdefs.h.  */
                   3450: 
                   3451: int
                   3452: main ()
                   3453: {
                   3454: 
                   3455:   ;
                   3456:   return 0;
                   3457: }
                   3458: _ACEOF
1.22      moko     3459: if ac_fn_cxx_try_compile "$LINENO"; then :
1.1       misha    3460:   ac_cv_prog_cxx_g=yes
                   3461: else
1.22      moko     3462:   CXXFLAGS=""
                   3463:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3464: /* end confdefs.h.  */
1.11      moko     3465: 
1.1       misha    3466: int
                   3467: main ()
                   3468: {
1.22      moko     3469: 
1.1       misha    3470:   ;
                   3471:   return 0;
                   3472: }
                   3473: _ACEOF
1.22      moko     3474: if ac_fn_cxx_try_compile "$LINENO"; then :
                   3475: 
1.11      moko     3476: else
1.22      moko     3477:   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
                   3478:         CXXFLAGS="-g"
                   3479:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.10      moko     3480: /* end confdefs.h.  */
1.22      moko     3481: 
1.1       misha    3482: int
                   3483: main ()
                   3484: {
1.22      moko     3485: 
1.1       misha    3486:   ;
                   3487:   return 0;
                   3488: }
                   3489: _ACEOF
1.22      moko     3490: if ac_fn_cxx_try_compile "$LINENO"; then :
                   3491:   ac_cv_prog_cxx_g=yes
                   3492: fi
                   3493: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3494: fi
                   3495: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3496: fi
                   3497: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3498:    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
                   3499: fi
                   3500: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
                   3501: $as_echo "$ac_cv_prog_cxx_g" >&6; }
                   3502: if test "$ac_test_CXXFLAGS" = set; then
                   3503:   CXXFLAGS=$ac_save_CXXFLAGS
                   3504: elif test $ac_cv_prog_cxx_g = yes; then
                   3505:   if test "$GXX" = yes; then
                   3506:     CXXFLAGS="-g -O2"
                   3507:   else
                   3508:     CXXFLAGS="-g"
                   3509:   fi
1.11      moko     3510: else
1.22      moko     3511:   if test "$GXX" = yes; then
                   3512:     CXXFLAGS="-O2"
                   3513:   else
                   3514:     CXXFLAGS=
                   3515:   fi
1.10      moko     3516: fi
1.1       misha    3517: ac_ext=c
                   3518: ac_cpp='$CPP $CPPFLAGS'
                   3519: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3520: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3521: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3522: DEPDIR="${am__leading_dot}deps"
                   3523: 
1.22      moko     3524: ac_config_commands="$ac_config_commands depfiles"
1.1       misha    3525: 
                   3526: 
                   3527: am_make=${MAKE-make}
                   3528: cat > confinc << 'END'
                   3529: am__doit:
1.22      moko     3530:        @echo this is the am__doit target
1.1       misha    3531: .PHONY: am__doit
                   3532: END
                   3533: # If we don't find an include directive, just comment out the code.
1.22      moko     3534: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
                   3535: $as_echo_n "checking for style of include used by $am_make... " >&6; }
1.1       misha    3536: am__include="#"
                   3537: am__quote=
                   3538: _am_result=none
                   3539: # First try GNU make style include.
                   3540: echo "include confinc" > confmf
1.22      moko     3541: # Ignore all kinds of additional output from `make'.
                   3542: case `$am_make -s -f confmf 2> /dev/null` in #(
                   3543: *the\ am__doit\ target*)
                   3544:   am__include=include
                   3545:   am__quote=
                   3546:   _am_result=GNU
                   3547:   ;;
                   3548: esac
1.1       misha    3549: # Now try BSD make style include.
                   3550: if test "$am__include" = "#"; then
                   3551:    echo '.include "confinc"' > confmf
1.22      moko     3552:    case `$am_make -s -f confmf 2> /dev/null` in #(
                   3553:    *the\ am__doit\ target*)
                   3554:      am__include=.include
                   3555:      am__quote="\""
                   3556:      _am_result=BSD
                   3557:      ;;
                   3558:    esac
1.1       misha    3559: fi
                   3560: 
                   3561: 
1.22      moko     3562: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
                   3563: $as_echo "$_am_result" >&6; }
1.1       misha    3564: rm -f confinc confmf
                   3565: 
1.22      moko     3566: # Check whether --enable-dependency-tracking was given.
                   3567: if test "${enable_dependency_tracking+set}" = set; then :
                   3568:   enableval=$enable_dependency_tracking;
                   3569: fi
1.1       misha    3570: 
                   3571: if test "x$enable_dependency_tracking" != xno; then
                   3572:   am_depcomp="$ac_aux_dir/depcomp"
                   3573:   AMDEPBACKSLASH='\'
                   3574: fi
1.22      moko     3575:  if test "x$enable_dependency_tracking" != xno; then
1.1       misha    3576:   AMDEP_TRUE=
                   3577:   AMDEP_FALSE='#'
                   3578: else
                   3579:   AMDEP_TRUE='#'
                   3580:   AMDEP_FALSE=
                   3581: fi
                   3582: 
                   3583: 
                   3584: 
                   3585: depcc="$CXX"  am_compiler_list=
                   3586: 
1.22      moko     3587: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   3588: $as_echo_n "checking dependency style of $depcc... " >&6; }
                   3589: if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
                   3590:   $as_echo_n "(cached) " >&6
1.1       misha    3591: else
                   3592:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   3593:   # We make a subdir and do the tests there.  Otherwise we can end up
                   3594:   # making bogus files that we don't know about and never remove.  For
                   3595:   # instance it was reported that on HP-UX the gcc test will end up
                   3596:   # making a dummy file named `D' -- because `-MD' means `put the output
                   3597:   # in D'.
                   3598:   mkdir conftest.dir
                   3599:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   3600:   # using a relative directory.
                   3601:   cp "$am_depcomp" conftest.dir
                   3602:   cd conftest.dir
                   3603:   # We will build objects and dependencies in a subdirectory because
                   3604:   # it helps to detect inapplicable dependency modes.  For instance
                   3605:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   3606:   # side effect of compilation, but ICC will put the dependencies in
                   3607:   # the current directory while Tru64 will put them in the object
                   3608:   # directory.
                   3609:   mkdir sub
                   3610: 
                   3611:   am_cv_CXX_dependencies_compiler_type=none
                   3612:   if test "$am_compiler_list" = ""; then
                   3613:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   3614:   fi
1.22      moko     3615:   am__universal=false
                   3616:   case " $depcc " in #(
                   3617:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   3618:      esac
                   3619: 
1.1       misha    3620:   for depmode in $am_compiler_list; do
                   3621:     # Setup a source with many dependencies, because some compilers
                   3622:     # like to wrap large dependency lists on column 80 (with \), and
                   3623:     # we should not choose a depcomp mode which is confused by this.
                   3624:     #
                   3625:     # We need to recreate these files for each test, as the compiler may
                   3626:     # overwrite some of them when testing with obscure command lines.
                   3627:     # This happens at least with the AIX C compiler.
                   3628:     : > sub/conftest.c
                   3629:     for i in 1 2 3 4 5 6; do
                   3630:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   3631:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   3632:       # Solaris 8's {/usr,}/bin/sh.
                   3633:       touch sub/conftst$i.h
                   3634:     done
                   3635:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
                   3636: 
1.22      moko     3637:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   3638:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   3639:     # handle `-M -o', and we need to detect this.  Also, some Intel
                   3640:     # versions had trouble with output in subdirs
                   3641:     am__obj=sub/conftest.${OBJEXT-o}
                   3642:     am__minus_obj="-o $am__obj"
1.1       misha    3643:     case $depmode in
1.22      moko     3644:     gcc)
                   3645:       # This depmode causes a compiler race in universal mode.
                   3646:       test "$am__universal" = false || continue
                   3647:       ;;
1.1       misha    3648:     nosideeffect)
                   3649:       # after this tag, mechanisms are not by side-effect, so they'll
                   3650:       # only be used when explicitly requested
                   3651:       if test "x$enable_dependency_tracking" = xyes; then
                   3652:        continue
                   3653:       else
                   3654:        break
                   3655:       fi
                   3656:       ;;
1.22      moko     3657:     msvisualcpp | msvcmsys)
                   3658:       # This compiler won't grok `-c -o', but also, the minuso test has
                   3659:       # not run yet.  These depmodes are late enough in the game, and
                   3660:       # so weak that their functioning should not be impacted.
                   3661:       am__obj=conftest.${OBJEXT-o}
                   3662:       am__minus_obj=
                   3663:       ;;
1.1       misha    3664:     none) break ;;
                   3665:     esac
                   3666:     if depmode=$depmode \
1.22      moko     3667:        source=sub/conftest.c object=$am__obj \
1.1       misha    3668:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.22      moko     3669:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1.1       misha    3670:          >/dev/null 2>conftest.err &&
1.22      moko     3671:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1.1       misha    3672:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.22      moko     3673:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1.1       misha    3674:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
                   3675:       # icc doesn't choke on unknown options, it will just issue warnings
                   3676:       # or remarks (even with -Werror).  So we grep stderr for any message
                   3677:       # that says an option was ignored or not supported.
                   3678:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   3679:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   3680:       # The diagnosis changed in icc 8.0:
                   3681:       #   icc: Command line remark: option '-MP' not supported
                   3682:       if (grep 'ignoring option' conftest.err ||
                   3683:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   3684:         am_cv_CXX_dependencies_compiler_type=$depmode
                   3685:         break
                   3686:       fi
                   3687:     fi
                   3688:   done
                   3689: 
                   3690:   cd ..
                   3691:   rm -rf conftest.dir
                   3692: else
                   3693:   am_cv_CXX_dependencies_compiler_type=none
                   3694: fi
                   3695: 
                   3696: fi
1.22      moko     3697: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
                   3698: $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
1.1       misha    3699: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
                   3700: 
1.22      moko     3701:  if
1.1       misha    3702:   test "x$enable_dependency_tracking" != xno \
                   3703:   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
                   3704:   am__fastdepCXX_TRUE=
                   3705:   am__fastdepCXX_FALSE='#'
                   3706: else
                   3707:   am__fastdepCXX_TRUE='#'
                   3708:   am__fastdepCXX_FALSE=
                   3709: fi
                   3710: 
                   3711: 
                   3712: ac_ext=c
                   3713: ac_cpp='$CPP $CPPFLAGS'
                   3714: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3715: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3716: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3717: if test -n "$ac_tool_prefix"; then
                   3718:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   3719: set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.22      moko     3720: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3721: $as_echo_n "checking for $ac_word... " >&6; }
                   3722: if ${ac_cv_prog_CC+:} false; then :
                   3723:   $as_echo_n "(cached) " >&6
1.1       misha    3724: else
                   3725:   if test -n "$CC"; then
                   3726:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3727: else
                   3728: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3729: for as_dir in $PATH
                   3730: do
                   3731:   IFS=$as_save_IFS
                   3732:   test -z "$as_dir" && as_dir=.
1.22      moko     3733:     for ac_exec_ext in '' $ac_executable_extensions; do
1.25      moko     3734:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misha    3735:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.22      moko     3736:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misha    3737:     break 2
                   3738:   fi
                   3739: done
1.22      moko     3740:   done
                   3741: IFS=$as_save_IFS
1.1       misha    3742: 
                   3743: fi
                   3744: fi
                   3745: CC=$ac_cv_prog_CC
                   3746: if test -n "$CC"; then
1.22      moko     3747:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3748: $as_echo "$CC" >&6; }
1.1       misha    3749: else
1.22      moko     3750:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3751: $as_echo "no" >&6; }
1.1       misha    3752: fi
                   3753: 
1.22      moko     3754: 
1.1       misha    3755: fi
                   3756: if test -z "$ac_cv_prog_CC"; then
                   3757:   ac_ct_CC=$CC
                   3758:   # Extract the first word of "gcc", so it can be a program name with args.
                   3759: set dummy gcc; ac_word=$2
1.22      moko     3760: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3761: $as_echo_n "checking for $ac_word... " >&6; }
                   3762: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   3763:   $as_echo_n "(cached) " >&6
1.1       misha    3764: else
                   3765:   if test -n "$ac_ct_CC"; then
                   3766:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3767: else
                   3768: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3769: for as_dir in $PATH
                   3770: do
                   3771:   IFS=$as_save_IFS
                   3772:   test -z "$as_dir" && as_dir=.
1.22      moko     3773:     for ac_exec_ext in '' $ac_executable_extensions; do
1.25      moko     3774:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misha    3775:     ac_cv_prog_ac_ct_CC="gcc"
1.22      moko     3776:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misha    3777:     break 2
                   3778:   fi
                   3779: done
1.22      moko     3780:   done
                   3781: IFS=$as_save_IFS
1.1       misha    3782: 
                   3783: fi
                   3784: fi
                   3785: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3786: if test -n "$ac_ct_CC"; then
1.22      moko     3787:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   3788: $as_echo "$ac_ct_CC" >&6; }
1.1       misha    3789: else
1.22      moko     3790:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3791: $as_echo "no" >&6; }
1.1       misha    3792: fi
                   3793: 
1.22      moko     3794:   if test "x$ac_ct_CC" = x; then
                   3795:     CC=""
                   3796:   else
                   3797:     case $cross_compiling:$ac_tool_warned in
                   3798: yes:)
                   3799: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3800: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3801: ac_tool_warned=yes ;;
                   3802: esac
                   3803:     CC=$ac_ct_CC
                   3804:   fi
1.1       misha    3805: else
                   3806:   CC="$ac_cv_prog_CC"
                   3807: fi
                   3808: 
                   3809: if test -z "$CC"; then
1.22      moko     3810:           if test -n "$ac_tool_prefix"; then
                   3811:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1.1       misha    3812: set dummy ${ac_tool_prefix}cc; ac_word=$2
1.22      moko     3813: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3814: $as_echo_n "checking for $ac_word... " >&6; }
                   3815: if ${ac_cv_prog_CC+:} false; then :
                   3816:   $as_echo_n "(cached) " >&6
1.1       misha    3817: else
                   3818:   if test -n "$CC"; then
                   3819:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3820: else
                   3821: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3822: for as_dir in $PATH
                   3823: do
                   3824:   IFS=$as_save_IFS
                   3825:   test -z "$as_dir" && as_dir=.
1.22      moko     3826:     for ac_exec_ext in '' $ac_executable_extensions; do
1.25      moko     3827:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misha    3828:     ac_cv_prog_CC="${ac_tool_prefix}cc"
1.22      moko     3829:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misha    3830:     break 2
                   3831:   fi
                   3832: done
1.22      moko     3833:   done
                   3834: IFS=$as_save_IFS
1.1       misha    3835: 
                   3836: fi
                   3837: fi
                   3838: CC=$ac_cv_prog_CC
                   3839: if test -n "$CC"; then
1.22      moko     3840:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3841: $as_echo "$CC" >&6; }
1.11      moko     3842: else
1.22      moko     3843:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3844: $as_echo "no" >&6; }
1.11      moko     3845: fi
                   3846: 
1.22      moko     3847: 
1.11      moko     3848:   fi
1.1       misha    3849: fi
                   3850: if test -z "$CC"; then
                   3851:   # Extract the first word of "cc", so it can be a program name with args.
                   3852: set dummy cc; ac_word=$2
1.22      moko     3853: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3854: $as_echo_n "checking for $ac_word... " >&6; }
                   3855: if ${ac_cv_prog_CC+:} false; then :
                   3856:   $as_echo_n "(cached) " >&6
1.1       misha    3857: else
                   3858:   if test -n "$CC"; then
                   3859:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3860: else
                   3861:   ac_prog_rejected=no
                   3862: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3863: for as_dir in $PATH
                   3864: do
                   3865:   IFS=$as_save_IFS
                   3866:   test -z "$as_dir" && as_dir=.
1.22      moko     3867:     for ac_exec_ext in '' $ac_executable_extensions; do
1.25      moko     3868:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misha    3869:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   3870:        ac_prog_rejected=yes
                   3871:        continue
                   3872:      fi
                   3873:     ac_cv_prog_CC="cc"
1.22      moko     3874:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misha    3875:     break 2
                   3876:   fi
                   3877: done
1.22      moko     3878:   done
                   3879: IFS=$as_save_IFS
1.1       misha    3880: 
                   3881: if test $ac_prog_rejected = yes; then
                   3882:   # We found a bogon in the path, so make sure we never use it.
                   3883:   set dummy $ac_cv_prog_CC
                   3884:   shift
                   3885:   if test $# != 0; then
                   3886:     # We chose a different compiler from the bogus one.
                   3887:     # However, it has the same basename, so the bogon will be chosen
                   3888:     # first if we set CC to just the basename; use the full file name.
                   3889:     shift
                   3890:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
                   3891:   fi
                   3892: fi
                   3893: fi
                   3894: fi
                   3895: CC=$ac_cv_prog_CC
                   3896: if test -n "$CC"; then
1.22      moko     3897:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3898: $as_echo "$CC" >&6; }
1.1       misha    3899: else
1.22      moko     3900:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3901: $as_echo "no" >&6; }
1.1       misha    3902: fi
                   3903: 
1.22      moko     3904: 
1.1       misha    3905: fi
                   3906: if test -z "$CC"; then
                   3907:   if test -n "$ac_tool_prefix"; then
1.22      moko     3908:   for ac_prog in cl.exe
1.1       misha    3909:   do
                   3910:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3911: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.22      moko     3912: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3913: $as_echo_n "checking for $ac_word... " >&6; }
                   3914: if ${ac_cv_prog_CC+:} false; then :
                   3915:   $as_echo_n "(cached) " >&6
1.1       misha    3916: else
                   3917:   if test -n "$CC"; then
                   3918:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3919: else
                   3920: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3921: for as_dir in $PATH
                   3922: do
                   3923:   IFS=$as_save_IFS
                   3924:   test -z "$as_dir" && as_dir=.
1.22      moko     3925:     for ac_exec_ext in '' $ac_executable_extensions; do
1.25      moko     3926:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misha    3927:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.22      moko     3928:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misha    3929:     break 2
                   3930:   fi
                   3931: done
1.22      moko     3932:   done
                   3933: IFS=$as_save_IFS
1.1       misha    3934: 
                   3935: fi
                   3936: fi
                   3937: CC=$ac_cv_prog_CC
                   3938: if test -n "$CC"; then
1.22      moko     3939:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3940: $as_echo "$CC" >&6; }
1.1       misha    3941: else
1.22      moko     3942:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3943: $as_echo "no" >&6; }
1.1       misha    3944: fi
                   3945: 
1.22      moko     3946: 
1.1       misha    3947:     test -n "$CC" && break
                   3948:   done
                   3949: fi
                   3950: if test -z "$CC"; then
                   3951:   ac_ct_CC=$CC
1.22      moko     3952:   for ac_prog in cl.exe
1.1       misha    3953: do
                   3954:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3955: set dummy $ac_prog; ac_word=$2
1.22      moko     3956: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3957: $as_echo_n "checking for $ac_word... " >&6; }
                   3958: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   3959:   $as_echo_n "(cached) " >&6
1.1       misha    3960: else
                   3961:   if test -n "$ac_ct_CC"; then
                   3962:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3963: else
                   3964: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3965: for as_dir in $PATH
                   3966: do
                   3967:   IFS=$as_save_IFS
                   3968:   test -z "$as_dir" && as_dir=.
1.22      moko     3969:     for ac_exec_ext in '' $ac_executable_extensions; do
1.25      moko     3970:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misha    3971:     ac_cv_prog_ac_ct_CC="$ac_prog"
1.22      moko     3972:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misha    3973:     break 2
                   3974:   fi
                   3975: done
1.22      moko     3976:   done
                   3977: IFS=$as_save_IFS
1.1       misha    3978: 
                   3979: fi
                   3980: fi
                   3981: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3982: if test -n "$ac_ct_CC"; then
1.22      moko     3983:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   3984: $as_echo "$ac_ct_CC" >&6; }
1.1       misha    3985: else
1.22      moko     3986:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3987: $as_echo "no" >&6; }
1.1       misha    3988: fi
                   3989: 
1.22      moko     3990: 
1.1       misha    3991:   test -n "$ac_ct_CC" && break
                   3992: done
                   3993: 
1.22      moko     3994:   if test "x$ac_ct_CC" = x; then
                   3995:     CC=""
                   3996:   else
                   3997:     case $cross_compiling:$ac_tool_warned in
                   3998: yes:)
                   3999: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   4000: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   4001: ac_tool_warned=yes ;;
                   4002: esac
                   4003:     CC=$ac_ct_CC
                   4004:   fi
1.1       misha    4005: fi
                   4006: 
                   4007: fi
                   4008: 
                   4009: 
1.22      moko     4010: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   4011: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   4012: as_fn_error $? "no acceptable C compiler found in \$PATH
                   4013: See \`config.log' for more details" "$LINENO" 5; }
1.1       misha    4014: 
                   4015: # Provide some information about the compiler.
1.22      moko     4016: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
                   4017: set X $ac_compile
                   4018: ac_compiler=$2
                   4019: for ac_option in --version -v -V -qversion; do
                   4020:   { { ac_try="$ac_compiler $ac_option >&5"
                   4021: case "(($ac_try" in
                   4022:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4023:   *) ac_try_echo=$ac_try;;
                   4024: esac
                   4025: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4026: $as_echo "$ac_try_echo"; } >&5
                   4027:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.11      moko     4028:   ac_status=$?
1.22      moko     4029:   if test -s conftest.err; then
                   4030:     sed '10a\
                   4031: ... rest of stderr output deleted ...
                   4032:          10q' conftest.err >conftest.er1
                   4033:     cat conftest.er1 >&5
                   4034:   fi
                   4035:   rm -f conftest.er1 conftest.err
                   4036:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4037:   test $ac_status = 0; }
                   4038: done
                   4039: 
                   4040: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
                   4041: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
                   4042: if ${ac_cv_c_compiler_gnu+:} false; then :
                   4043:   $as_echo_n "(cached) " >&6
1.1       misha    4044: else
1.22      moko     4045:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misha    4046: /* end confdefs.h.  */
                   4047: 
                   4048: int
                   4049: main ()
                   4050: {
                   4051: #ifndef __GNUC__
                   4052:        choke me
                   4053: #endif
                   4054: 
                   4055:   ;
                   4056:   return 0;
                   4057: }
                   4058: _ACEOF
1.22      moko     4059: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misha    4060:   ac_compiler_gnu=yes
                   4061: else
1.22      moko     4062:   ac_compiler_gnu=no
1.1       misha    4063: fi
1.22      moko     4064: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       misha    4065: ac_cv_c_compiler_gnu=$ac_compiler_gnu
                   4066: 
                   4067: fi
1.22      moko     4068: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
                   4069: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
                   4070: if test $ac_compiler_gnu = yes; then
                   4071:   GCC=yes
                   4072: else
                   4073:   GCC=
                   4074: fi
1.1       misha    4075: ac_test_CFLAGS=${CFLAGS+set}
                   4076: ac_save_CFLAGS=$CFLAGS
1.22      moko     4077: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
                   4078: $as_echo_n "checking whether $CC accepts -g... " >&6; }
                   4079: if ${ac_cv_prog_cc_g+:} false; then :
                   4080:   $as_echo_n "(cached) " >&6
                   4081: else
                   4082:   ac_save_c_werror_flag=$ac_c_werror_flag
                   4083:    ac_c_werror_flag=yes
                   4084:    ac_cv_prog_cc_g=no
                   4085:    CFLAGS="-g"
                   4086:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4087: /* end confdefs.h.  */
                   4088: 
                   4089: int
                   4090: main ()
                   4091: {
                   4092: 
                   4093:   ;
                   4094:   return 0;
                   4095: }
                   4096: _ACEOF
                   4097: if ac_fn_c_try_compile "$LINENO"; then :
                   4098:   ac_cv_prog_cc_g=yes
1.11      moko     4099: else
1.22      moko     4100:   CFLAGS=""
                   4101:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4102: /* end confdefs.h.  */
                   4103: 
                   4104: int
                   4105: main ()
                   4106: {
                   4107: 
                   4108:   ;
                   4109:   return 0;
                   4110: }
1.11      moko     4111: _ACEOF
1.22      moko     4112: if ac_fn_c_try_compile "$LINENO"; then :
                   4113: 
                   4114: else
                   4115:   ac_c_werror_flag=$ac_save_c_werror_flag
                   4116:         CFLAGS="-g"
                   4117:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.10      moko     4118: /* end confdefs.h.  */
                   4119: 
                   4120: int
                   4121: main ()
                   4122: {
                   4123: 
                   4124:   ;
                   4125:   return 0;
                   4126: }
                   4127: _ACEOF
1.22      moko     4128: if ac_fn_c_try_compile "$LINENO"; then :
1.10      moko     4129:   ac_cv_prog_cc_g=yes
                   4130: fi
1.22      moko     4131: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4132: fi
                   4133: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4134: fi
                   4135: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4136:    ac_c_werror_flag=$ac_save_c_werror_flag
1.1       misha    4137: fi
1.22      moko     4138: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
                   4139: $as_echo "$ac_cv_prog_cc_g" >&6; }
1.1       misha    4140: if test "$ac_test_CFLAGS" = set; then
                   4141:   CFLAGS=$ac_save_CFLAGS
                   4142: elif test $ac_cv_prog_cc_g = yes; then
                   4143:   if test "$GCC" = yes; then
                   4144:     CFLAGS="-g -O2"
                   4145:   else
                   4146:     CFLAGS="-g"
                   4147:   fi
                   4148: else
                   4149:   if test "$GCC" = yes; then
                   4150:     CFLAGS="-O2"
                   4151:   else
                   4152:     CFLAGS=
                   4153:   fi
                   4154: fi
1.22      moko     4155: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
                   4156: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
                   4157: if ${ac_cv_prog_cc_c89+:} false; then :
                   4158:   $as_echo_n "(cached) " >&6
1.1       misha    4159: else
1.22      moko     4160:   ac_cv_prog_cc_c89=no
1.1       misha    4161: ac_save_CC=$CC
1.22      moko     4162: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misha    4163: /* end confdefs.h.  */
                   4164: #include <stdarg.h>
                   4165: #include <stdio.h>
1.25      moko     4166: struct stat;
1.1       misha    4167: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   4168: struct buf { int x; };
                   4169: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   4170: static char *e (p, i)
                   4171:      char **p;
                   4172:      int i;
                   4173: {
                   4174:   return p[i];
                   4175: }
                   4176: static char *f (char * (*g) (char **, int), char **p, ...)
                   4177: {
                   4178:   char *s;
                   4179:   va_list v;
                   4180:   va_start (v,p);
                   4181:   s = g (p, va_arg (v,int));
                   4182:   va_end (v);
                   4183:   return s;
                   4184: }
                   4185: 
                   4186: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   4187:    function prototypes and stuff, but not '\xHH' hex character constants.
                   4188:    These don't provoke an error unfortunately, instead are silently treated
1.22      moko     4189:    as 'x'.  The following induces an error, until -std is added to get
1.1       misha    4190:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   4191:    array size at least.  It's necessary to write '\x00'==0 to get something
1.22      moko     4192:    that's true only with -std.  */
1.1       misha    4193: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   4194: 
1.22      moko     4195: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
                   4196:    inside strings and character constants.  */
                   4197: #define FOO(x) 'x'
                   4198: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
                   4199: 
1.1       misha    4200: int test (int i, double x);
                   4201: struct s1 {int (*f) (int a);};
                   4202: struct s2 {int (*f) (double a);};
                   4203: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   4204: int argc;
                   4205: char **argv;
                   4206: int
                   4207: main ()
                   4208: {
                   4209: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   4210:   ;
                   4211:   return 0;
                   4212: }
                   4213: _ACEOF
1.22      moko     4214: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
                   4215:        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.1       misha    4216: do
                   4217:   CC="$ac_save_CC $ac_arg"
1.22      moko     4218:   if ac_fn_c_try_compile "$LINENO"; then :
                   4219:   ac_cv_prog_cc_c89=$ac_arg
1.1       misha    4220: fi
1.22      moko     4221: rm -f core conftest.err conftest.$ac_objext
                   4222:   test "x$ac_cv_prog_cc_c89" != "xno" && break
1.1       misha    4223: done
1.22      moko     4224: rm -f conftest.$ac_ext
1.1       misha    4225: CC=$ac_save_CC
                   4226: 
                   4227: fi
1.22      moko     4228: # AC_CACHE_VAL
                   4229: case "x$ac_cv_prog_cc_c89" in
                   4230:   x)
                   4231:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   4232: $as_echo "none needed" >&6; } ;;
                   4233:   xno)
                   4234:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   4235: $as_echo "unsupported" >&6; } ;;
1.1       misha    4236:   *)
1.22      moko     4237:     CC="$CC $ac_cv_prog_cc_c89"
                   4238:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
                   4239: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
1.1       misha    4240: esac
1.22      moko     4241: if test "x$ac_cv_prog_cc_c89" != xno; then :
1.1       misha    4242: 
                   4243: fi
                   4244: 
                   4245: ac_ext=c
                   4246: ac_cpp='$CPP $CPPFLAGS'
                   4247: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4248: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4249: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4250: 
                   4251: depcc="$CC"   am_compiler_list=
                   4252: 
1.22      moko     4253: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   4254: $as_echo_n "checking dependency style of $depcc... " >&6; }
                   4255: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
                   4256:   $as_echo_n "(cached) " >&6
1.1       misha    4257: else
                   4258:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   4259:   # We make a subdir and do the tests there.  Otherwise we can end up
                   4260:   # making bogus files that we don't know about and never remove.  For
                   4261:   # instance it was reported that on HP-UX the gcc test will end up
                   4262:   # making a dummy file named `D' -- because `-MD' means `put the output
                   4263:   # in D'.
                   4264:   mkdir conftest.dir
                   4265:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   4266:   # using a relative directory.
                   4267:   cp "$am_depcomp" conftest.dir
                   4268:   cd conftest.dir
                   4269:   # We will build objects and dependencies in a subdirectory because
                   4270:   # it helps to detect inapplicable dependency modes.  For instance
                   4271:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   4272:   # side effect of compilation, but ICC will put the dependencies in
                   4273:   # the current directory while Tru64 will put them in the object
                   4274:   # directory.
                   4275:   mkdir sub
                   4276: 
                   4277:   am_cv_CC_dependencies_compiler_type=none
                   4278:   if test "$am_compiler_list" = ""; then
                   4279:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   4280:   fi
1.22      moko     4281:   am__universal=false
                   4282:   case " $depcc " in #(
                   4283:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   4284:      esac
                   4285: 
1.1       misha    4286:   for depmode in $am_compiler_list; do
                   4287:     # Setup a source with many dependencies, because some compilers
                   4288:     # like to wrap large dependency lists on column 80 (with \), and
                   4289:     # we should not choose a depcomp mode which is confused by this.
                   4290:     #
                   4291:     # We need to recreate these files for each test, as the compiler may
                   4292:     # overwrite some of them when testing with obscure command lines.
                   4293:     # This happens at least with the AIX C compiler.
                   4294:     : > sub/conftest.c
                   4295:     for i in 1 2 3 4 5 6; do
                   4296:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   4297:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   4298:       # Solaris 8's {/usr,}/bin/sh.
                   4299:       touch sub/conftst$i.h
                   4300:     done
                   4301:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
                   4302: 
1.22      moko     4303:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   4304:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   4305:     # handle `-M -o', and we need to detect this.  Also, some Intel
                   4306:     # versions had trouble with output in subdirs
                   4307:     am__obj=sub/conftest.${OBJEXT-o}
                   4308:     am__minus_obj="-o $am__obj"
1.1       misha    4309:     case $depmode in
1.22      moko     4310:     gcc)
                   4311:       # This depmode causes a compiler race in universal mode.
                   4312:       test "$am__universal" = false || continue
                   4313:       ;;
1.1       misha    4314:     nosideeffect)
                   4315:       # after this tag, mechanisms are not by side-effect, so they'll
                   4316:       # only be used when explicitly requested
                   4317:       if test "x$enable_dependency_tracking" = xyes; then
                   4318:        continue
                   4319:       else
                   4320:        break
                   4321:       fi
                   4322:       ;;
1.22      moko     4323:     msvisualcpp | msvcmsys)
                   4324:       # This compiler won't grok `-c -o', but also, the minuso test has
                   4325:       # not run yet.  These depmodes are late enough in the game, and
                   4326:       # so weak that their functioning should not be impacted.
                   4327:       am__obj=conftest.${OBJEXT-o}
                   4328:       am__minus_obj=
                   4329:       ;;
1.1       misha    4330:     none) break ;;
                   4331:     esac
                   4332:     if depmode=$depmode \
1.22      moko     4333:        source=sub/conftest.c object=$am__obj \
1.1       misha    4334:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.22      moko     4335:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1.1       misha    4336:          >/dev/null 2>conftest.err &&
1.22      moko     4337:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1.1       misha    4338:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.22      moko     4339:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1.1       misha    4340:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
                   4341:       # icc doesn't choke on unknown options, it will just issue warnings
                   4342:       # or remarks (even with -Werror).  So we grep stderr for any message
                   4343:       # that says an option was ignored or not supported.
                   4344:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   4345:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   4346:       # The diagnosis changed in icc 8.0:
                   4347:       #   icc: Command line remark: option '-MP' not supported
                   4348:       if (grep 'ignoring option' conftest.err ||
                   4349:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   4350:         am_cv_CC_dependencies_compiler_type=$depmode
                   4351:         break
                   4352:       fi
                   4353:     fi
                   4354:   done
                   4355: 
                   4356:   cd ..
                   4357:   rm -rf conftest.dir
                   4358: else
                   4359:   am_cv_CC_dependencies_compiler_type=none
                   4360: fi
                   4361: 
                   4362: fi
1.22      moko     4363: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
                   4364: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
1.1       misha    4365: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   4366: 
1.22      moko     4367:  if
1.1       misha    4368:   test "x$enable_dependency_tracking" != xno \
                   4369:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   4370:   am__fastdepCC_TRUE=
                   4371:   am__fastdepCC_FALSE='#'
                   4372: else
                   4373:   am__fastdepCC_TRUE='#'
                   4374:   am__fastdepCC_FALSE=
                   4375: fi
                   4376: 
                   4377: 
                   4378: 
1.8       moko     4379: 
1.13      moko     4380: 
                   4381: 
                   4382: 
                   4383: 
                   4384: 
                   4385: 
1.8       moko     4386: case `pwd` in
                   4387:   *\ * | *\    *)
1.22      moko     4388:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
                   4389: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
1.8       moko     4390: esac
                   4391: 
                   4392: 
                   4393: 
                   4394: macro_version='2.4.2'
                   4395: macro_revision='1.3337'
                   4396: 
                   4397: 
                   4398: 
                   4399: 
                   4400: 
                   4401: 
                   4402: 
1.1       misha    4403: 
                   4404: 
                   4405: 
                   4406: 
                   4407: 
                   4408: 
1.8       moko     4409: ltmain="$ac_aux_dir/ltmain.sh"
1.1       misha    4410: 
                   4411: # Make sure we can run config.sub.
1.22      moko     4412: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
                   4413:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1.1       misha    4414: 
1.22      moko     4415: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
                   4416: $as_echo_n "checking build system type... " >&6; }
                   4417: if ${ac_cv_build+:} false; then :
                   4418:   $as_echo_n "(cached) " >&6
                   4419: else
                   4420:   ac_build_alias=$build_alias
                   4421: test "x$ac_build_alias" = x &&
                   4422:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
                   4423: test "x$ac_build_alias" = x &&
                   4424:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
                   4425: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
                   4426:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
                   4427: 
                   4428: fi
                   4429: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
                   4430: $as_echo "$ac_cv_build" >&6; }
                   4431: case $ac_cv_build in
                   4432: *-*-*) ;;
                   4433: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
                   4434: esac
                   4435: build=$ac_cv_build
                   4436: ac_save_IFS=$IFS; IFS='-'
                   4437: set x $ac_cv_build
                   4438: shift
                   4439: build_cpu=$1
                   4440: build_vendor=$2
                   4441: shift; shift
                   4442: # Remember, the first character of IFS is used to create $*,
                   4443: # except with old shells:
                   4444: build_os=$*
                   4445: IFS=$ac_save_IFS
                   4446: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
                   4447: 
                   4448: 
                   4449: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
                   4450: $as_echo_n "checking host system type... " >&6; }
                   4451: if ${ac_cv_host+:} false; then :
                   4452:   $as_echo_n "(cached) " >&6
                   4453: else
                   4454:   if test "x$host_alias" = x; then
                   4455:   ac_cv_host=$ac_cv_build
                   4456: else
                   4457:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
                   4458:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1.11      moko     4459: fi
1.1       misha    4460: 
                   4461: fi
1.22      moko     4462: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
                   4463: $as_echo "$ac_cv_host" >&6; }
                   4464: case $ac_cv_host in
                   4465: *-*-*) ;;
                   4466: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
                   4467: esac
1.1       misha    4468: host=$ac_cv_host
1.22      moko     4469: ac_save_IFS=$IFS; IFS='-'
                   4470: set x $ac_cv_host
                   4471: shift
                   4472: host_cpu=$1
                   4473: host_vendor=$2
                   4474: shift; shift
                   4475: # Remember, the first character of IFS is used to create $*,
                   4476: # except with old shells:
                   4477: host_os=$*
                   4478: IFS=$ac_save_IFS
                   4479: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1.1       misha    4480: 
                   4481: 
1.8       moko     4482: # Backslashify metacharacters that are still active within
                   4483: # double-quoted strings.
                   4484: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
                   4485: 
                   4486: # Same as above, but do not quote variable references.
                   4487: double_quote_subst='s/\(["`\\]\)/\\\1/g'
                   4488: 
                   4489: # Sed substitution to delay expansion of an escaped shell variable in a
                   4490: # double_quote_subst'ed string.
                   4491: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
                   4492: 
                   4493: # Sed substitution to delay expansion of an escaped single quote.
                   4494: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
1.1       misha    4495: 
1.8       moko     4496: # Sed substitution to avoid accidental globbing in evaled expressions
                   4497: no_glob_subst='s/\*/\\\*/g'
1.1       misha    4498: 
1.8       moko     4499: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   4500: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
                   4501: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
                   4502: 
1.22      moko     4503: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
                   4504: $as_echo_n "checking how to print strings... " >&6; }
1.8       moko     4505: # Test print first, because it will be a builtin if present.
                   4506: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
                   4507:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
                   4508:   ECHO='print -r --'
                   4509: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
                   4510:   ECHO='printf %s\n'
1.1       misha    4511: else
1.8       moko     4512:   # Use this function as a fallback that always works.
                   4513:   func_fallback_echo ()
                   4514:   {
                   4515:     eval 'cat <<_LTECHO_EOF
                   4516: $1
                   4517: _LTECHO_EOF'
                   4518:   }
                   4519:   ECHO='func_fallback_echo'
1.1       misha    4520: fi
1.8       moko     4521: 
                   4522: # func_echo_all arg...
                   4523: # Invoke $ECHO with all args, space-separated.
                   4524: func_echo_all ()
                   4525: {
                   4526:     $ECHO ""
                   4527: }
                   4528: 
                   4529: case "$ECHO" in
1.22      moko     4530:   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
                   4531: $as_echo "printf" >&6; } ;;
                   4532:   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
                   4533: $as_echo "print -r" >&6; } ;;
                   4534:   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
                   4535: $as_echo "cat" >&6; } ;;
1.8       moko     4536: esac
                   4537: 
                   4538: 
                   4539: 
                   4540: 
                   4541: 
                   4542: 
                   4543: 
                   4544: 
                   4545: 
                   4546: 
                   4547: 
                   4548: 
                   4549: 
                   4550: 
1.22      moko     4551: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
                   4552: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
                   4553: if ${ac_cv_path_SED+:} false; then :
                   4554:   $as_echo_n "(cached) " >&6
                   4555: else
                   4556:             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
                   4557:      for ac_i in 1 2 3 4 5 6 7; do
                   4558:        ac_script="$ac_script$as_nl$ac_script"
                   4559:      done
                   4560:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
                   4561:      { ac_script=; unset ac_script;}
                   4562:      if test -z "$SED"; then
                   4563:   ac_path_SED_found=false
                   4564:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4565:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.8       moko     4566: for as_dir in $PATH
                   4567: do
                   4568:   IFS=$as_save_IFS
                   4569:   test -z "$as_dir" && as_dir=.
1.22      moko     4570:     for ac_prog in sed gsed; do
1.8       moko     4571:     for ac_exec_ext in '' $ac_executable_extensions; do
1.22      moko     4572:       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
1.25      moko     4573:       as_fn_executable_p "$ac_path_SED" || continue
1.22      moko     4574: # Check for GNU ac_path_SED and select it if it is found.
                   4575:   # Check for GNU $ac_path_SED
                   4576: case `"$ac_path_SED" --version 2>&1` in
                   4577: *GNU*)
                   4578:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
                   4579: *)
                   4580:   ac_count=0
                   4581:   $as_echo_n 0123456789 >"conftest.in"
                   4582:   while :
                   4583:   do
                   4584:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4585:     mv "conftest.tmp" "conftest.in"
                   4586:     cp "conftest.in" "conftest.nl"
                   4587:     $as_echo '' >> "conftest.nl"
                   4588:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4589:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4590:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4591:     if test $ac_count -gt ${ac_path_SED_max-0}; then
                   4592:       # Best one so far, save it but keep looking for a better one
                   4593:       ac_cv_path_SED="$ac_path_SED"
                   4594:       ac_path_SED_max=$ac_count
                   4595:     fi
                   4596:     # 10*(2^10) chars as input seems more than enough
                   4597:     test $ac_count -gt 10 && break
                   4598:   done
                   4599:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4600: esac
                   4601: 
                   4602:       $ac_path_SED_found && break 3
1.8       moko     4603:     done
                   4604:   done
1.22      moko     4605:   done
1.8       moko     4606: IFS=$as_save_IFS
1.22      moko     4607:   if test -z "$ac_cv_path_SED"; then
                   4608:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
                   4609:   fi
                   4610: else
                   4611:   ac_cv_path_SED=$SED
                   4612: fi
1.11      moko     4613: 
1.10      moko     4614: fi
1.22      moko     4615: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
                   4616: $as_echo "$ac_cv_path_SED" >&6; }
                   4617:  SED="$ac_cv_path_SED"
                   4618:   rm -f conftest.sed
1.8       moko     4619: 
                   4620: test -z "$SED" && SED=sed
                   4621: Xsed="$SED -e 1s/^X//"
                   4622: 
                   4623: 
                   4624: 
                   4625: 
                   4626: 
                   4627: 
                   4628: 
                   4629: 
                   4630: 
                   4631: 
                   4632: 
1.22      moko     4633: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
                   4634: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
                   4635: if ${ac_cv_path_GREP+:} false; then :
                   4636:   $as_echo_n "(cached) " >&6
                   4637: else
                   4638:   if test -z "$GREP"; then
                   4639:   ac_path_GREP_found=false
                   4640:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4641:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4642: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   4643: do
                   4644:   IFS=$as_save_IFS
                   4645:   test -z "$as_dir" && as_dir=.
                   4646:     for ac_prog in grep ggrep; do
                   4647:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4648:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
1.25      moko     4649:       as_fn_executable_p "$ac_path_GREP" || continue
1.22      moko     4650: # Check for GNU ac_path_GREP and select it if it is found.
                   4651:   # Check for GNU $ac_path_GREP
                   4652: case `"$ac_path_GREP" --version 2>&1` in
                   4653: *GNU*)
                   4654:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
                   4655: *)
                   4656:   ac_count=0
                   4657:   $as_echo_n 0123456789 >"conftest.in"
                   4658:   while :
                   4659:   do
                   4660:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4661:     mv "conftest.tmp" "conftest.in"
                   4662:     cp "conftest.in" "conftest.nl"
                   4663:     $as_echo 'GREP' >> "conftest.nl"
                   4664:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4665:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4666:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4667:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
                   4668:       # Best one so far, save it but keep looking for a better one
                   4669:       ac_cv_path_GREP="$ac_path_GREP"
                   4670:       ac_path_GREP_max=$ac_count
1.8       moko     4671:     fi
1.22      moko     4672:     # 10*(2^10) chars as input seems more than enough
                   4673:     test $ac_count -gt 10 && break
                   4674:   done
                   4675:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4676: esac
                   4677: 
                   4678:       $ac_path_GREP_found && break 3
                   4679:     done
                   4680:   done
                   4681:   done
                   4682: IFS=$as_save_IFS
                   4683:   if test -z "$ac_cv_path_GREP"; then
                   4684:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   4685:   fi
                   4686: else
                   4687:   ac_cv_path_GREP=$GREP
                   4688: fi
                   4689: 
1.8       moko     4690: fi
1.22      moko     4691: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
                   4692: $as_echo "$ac_cv_path_GREP" >&6; }
                   4693:  GREP="$ac_cv_path_GREP"
                   4694: 
                   4695: 
                   4696: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
                   4697: $as_echo_n "checking for egrep... " >&6; }
                   4698: if ${ac_cv_path_EGREP+:} false; then :
                   4699:   $as_echo_n "(cached) " >&6
                   4700: else
                   4701:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
                   4702:    then ac_cv_path_EGREP="$GREP -E"
                   4703:    else
                   4704:      if test -z "$EGREP"; then
                   4705:   ac_path_EGREP_found=false
                   4706:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4707:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4708: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   4709: do
                   4710:   IFS=$as_save_IFS
                   4711:   test -z "$as_dir" && as_dir=.
                   4712:     for ac_prog in egrep; do
                   4713:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4714:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
1.25      moko     4715:       as_fn_executable_p "$ac_path_EGREP" || continue
1.22      moko     4716: # Check for GNU ac_path_EGREP and select it if it is found.
                   4717:   # Check for GNU $ac_path_EGREP
                   4718: case `"$ac_path_EGREP" --version 2>&1` in
                   4719: *GNU*)
                   4720:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
                   4721: *)
                   4722:   ac_count=0
                   4723:   $as_echo_n 0123456789 >"conftest.in"
                   4724:   while :
                   4725:   do
                   4726:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4727:     mv "conftest.tmp" "conftest.in"
                   4728:     cp "conftest.in" "conftest.nl"
                   4729:     $as_echo 'EGREP' >> "conftest.nl"
                   4730:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4731:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4732:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4733:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
                   4734:       # Best one so far, save it but keep looking for a better one
                   4735:       ac_cv_path_EGREP="$ac_path_EGREP"
                   4736:       ac_path_EGREP_max=$ac_count
                   4737:     fi
                   4738:     # 10*(2^10) chars as input seems more than enough
                   4739:     test $ac_count -gt 10 && break
                   4740:   done
                   4741:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4742: esac
1.8       moko     4743: 
1.22      moko     4744:       $ac_path_EGREP_found && break 3
                   4745:     done
                   4746:   done
                   4747:   done
                   4748: IFS=$as_save_IFS
                   4749:   if test -z "$ac_cv_path_EGREP"; then
                   4750:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   4751:   fi
                   4752: else
                   4753:   ac_cv_path_EGREP=$EGREP
                   4754: fi
1.8       moko     4755: 
1.22      moko     4756:    fi
                   4757: fi
                   4758: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
                   4759: $as_echo "$ac_cv_path_EGREP" >&6; }
                   4760:  EGREP="$ac_cv_path_EGREP"
                   4761: 
                   4762: 
                   4763: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
                   4764: $as_echo_n "checking for fgrep... " >&6; }
                   4765: if ${ac_cv_path_FGREP+:} false; then :
                   4766:   $as_echo_n "(cached) " >&6
                   4767: else
                   4768:   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
                   4769:    then ac_cv_path_FGREP="$GREP -F"
                   4770:    else
                   4771:      if test -z "$FGREP"; then
                   4772:   ac_path_FGREP_found=false
                   4773:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4774:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4775: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   4776: do
                   4777:   IFS=$as_save_IFS
                   4778:   test -z "$as_dir" && as_dir=.
                   4779:     for ac_prog in fgrep; do
                   4780:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4781:       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
1.25      moko     4782:       as_fn_executable_p "$ac_path_FGREP" || continue
1.22      moko     4783: # Check for GNU ac_path_FGREP and select it if it is found.
                   4784:   # Check for GNU $ac_path_FGREP
                   4785: case `"$ac_path_FGREP" --version 2>&1` in
                   4786: *GNU*)
                   4787:   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
                   4788: *)
                   4789:   ac_count=0
                   4790:   $as_echo_n 0123456789 >"conftest.in"
                   4791:   while :
                   4792:   do
                   4793:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4794:     mv "conftest.tmp" "conftest.in"
                   4795:     cp "conftest.in" "conftest.nl"
                   4796:     $as_echo 'FGREP' >> "conftest.nl"
                   4797:     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4798:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4799:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4800:     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
                   4801:       # Best one so far, save it but keep looking for a better one
                   4802:       ac_cv_path_FGREP="$ac_path_FGREP"
                   4803:       ac_path_FGREP_max=$ac_count
1.8       moko     4804:     fi
1.22      moko     4805:     # 10*(2^10) chars as input seems more than enough
                   4806:     test $ac_count -gt 10 && break
                   4807:   done
                   4808:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4809: esac
                   4810: 
                   4811:       $ac_path_FGREP_found && break 3
                   4812:     done
                   4813:   done
                   4814:   done
                   4815: IFS=$as_save_IFS
                   4816:   if test -z "$ac_cv_path_FGREP"; then
                   4817:     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   4818:   fi
                   4819: else
                   4820:   ac_cv_path_FGREP=$FGREP
                   4821: fi
                   4822: 
                   4823:    fi
1.8       moko     4824: fi
1.22      moko     4825: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
                   4826: $as_echo "$ac_cv_path_FGREP" >&6; }
                   4827:  FGREP="$ac_cv_path_FGREP"
1.8       moko     4828: 
                   4829: 
                   4830: test -z "$GREP" && GREP=grep
                   4831: 
                   4832: 
                   4833: 
                   4834: 
                   4835: 
                   4836: 
                   4837: 
                   4838: 
                   4839: 
                   4840: 
                   4841: 
                   4842: 
                   4843: 
                   4844: 
                   4845: 
                   4846: 
                   4847: 
                   4848: 
                   4849: 
1.22      moko     4850: # Check whether --with-gnu-ld was given.
                   4851: if test "${with_gnu_ld+set}" = set; then :
                   4852:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
1.8       moko     4853: else
                   4854:   with_gnu_ld=no
1.22      moko     4855: fi
                   4856: 
1.8       moko     4857: ac_prog=ld
                   4858: if test "$GCC" = yes; then
                   4859:   # Check if gcc -print-prog-name=ld gives a path.
1.22      moko     4860:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   4861: $as_echo_n "checking for ld used by $CC... " >&6; }
1.8       moko     4862:   case $host in
                   4863:   *-*-mingw*)
                   4864:     # gcc leaves a trailing carriage return which upsets mingw
                   4865:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   4866:   *)
                   4867:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   4868:   esac
                   4869:   case $ac_prog in
                   4870:     # Accept absolute paths.
                   4871:     [\\/]* | ?:[\\/]*)
                   4872:       re_direlt='/[^/][^/]*/\.\./'
                   4873:       # Canonicalize the pathname of ld
                   4874:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   4875:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   4876:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   4877:       done
                   4878:       test -z "$LD" && LD="$ac_prog"
                   4879:       ;;
                   4880:   "")
                   4881:     # If it fails, then pretend we aren't using GCC.
                   4882:     ac_prog=ld
                   4883:     ;;
                   4884:   *)
                   4885:     # If it is relative, then search for the first ld in PATH.
                   4886:     with_gnu_ld=unknown
                   4887:     ;;
                   4888:   esac
                   4889: elif test "$with_gnu_ld" = yes; then
1.22      moko     4890:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   4891: $as_echo_n "checking for GNU ld... " >&6; }
1.8       moko     4892: else
1.22      moko     4893:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   4894: $as_echo_n "checking for non-GNU ld... " >&6; }
1.8       moko     4895: fi
1.22      moko     4896: if ${lt_cv_path_LD+:} false; then :
                   4897:   $as_echo_n "(cached) " >&6
1.1       misha    4898: else
                   4899:   if test -z "$LD"; then
1.8       moko     4900:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1.1       misha    4901:   for ac_dir in $PATH; do
1.8       moko     4902:     IFS="$lt_save_ifs"
1.1       misha    4903:     test -z "$ac_dir" && ac_dir=.
                   4904:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   4905:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   4906:       # Check to see if the program is GNU ld.  I'd rather use --version,
1.8       moko     4907:       # but apparently some variants of GNU ld only accept -v.
1.1       misha    4908:       # Break only if it was the GNU/non-GNU ld that we prefer.
1.8       moko     4909:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   4910:       *GNU* | *'with BFD'*)
1.1       misha    4911:        test "$with_gnu_ld" != no && break
1.8       moko     4912:        ;;
                   4913:       *)
1.1       misha    4914:        test "$with_gnu_ld" != yes && break
1.8       moko     4915:        ;;
                   4916:       esac
1.1       misha    4917:     fi
                   4918:   done
1.8       moko     4919:   IFS="$lt_save_ifs"
1.1       misha    4920: else
                   4921:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   4922: fi
                   4923: fi
                   4924: 
                   4925: LD="$lt_cv_path_LD"
                   4926: if test -n "$LD"; then
1.22      moko     4927:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   4928: $as_echo "$LD" >&6; }
1.1       misha    4929: else
1.22      moko     4930:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4931: $as_echo "no" >&6; }
1.1       misha    4932: fi
1.22      moko     4933: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
                   4934: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   4935: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
                   4936: if ${lt_cv_prog_gnu_ld+:} false; then :
                   4937:   $as_echo_n "(cached) " >&6
1.1       misha    4938: else
1.8       moko     4939:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   4940: case `$LD -v 2>&1 </dev/null` in
                   4941: *GNU* | *'with BFD'*)
1.1       misha    4942:   lt_cv_prog_gnu_ld=yes
1.8       moko     4943:   ;;
                   4944: *)
1.1       misha    4945:   lt_cv_prog_gnu_ld=no
1.8       moko     4946:   ;;
                   4947: esac
1.1       misha    4948: fi
1.22      moko     4949: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   4950: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
1.1       misha    4951: with_gnu_ld=$lt_cv_prog_gnu_ld
                   4952: 
                   4953: 
                   4954: 
1.8       moko     4955: 
                   4956: 
                   4957: 
                   4958: 
                   4959: 
                   4960: 
1.22      moko     4961: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
                   4962: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
                   4963: if ${lt_cv_path_NM+:} false; then :
                   4964:   $as_echo_n "(cached) " >&6
1.1       misha    4965: else
                   4966:   if test -n "$NM"; then
                   4967:   # Let the user override the test.
                   4968:   lt_cv_path_NM="$NM"
                   4969: else
1.8       moko     4970:   lt_nm_to_check="${ac_tool_prefix}nm"
                   4971:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
                   4972:     lt_nm_to_check="$lt_nm_to_check nm"
                   4973:   fi
                   4974:   for lt_tmp_nm in $lt_nm_to_check; do
                   4975:     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   4976:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
                   4977:       IFS="$lt_save_ifs"
                   4978:       test -z "$ac_dir" && ac_dir=.
                   4979:       tmp_nm="$ac_dir/$lt_tmp_nm"
                   4980:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
                   4981:        # Check to see if the nm accepts a BSD-compat flag.
                   4982:        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
                   4983:        #   nm: unknown option "B" ignored
                   4984:        # Tru64's nm complains that /dev/null is an invalid object file
                   4985:        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
                   4986:        */dev/null* | *'Invalid file or object type'*)
                   4987:          lt_cv_path_NM="$tmp_nm -B"
                   4988:          break
                   4989:          ;;
                   4990:        *)
                   4991:          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
                   4992:          */dev/null*)
                   4993:            lt_cv_path_NM="$tmp_nm -p"
                   4994:            break
                   4995:            ;;
                   4996:          *)
                   4997:            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
                   4998:            continue # so that we can try to find one that supports BSD flags
                   4999:            ;;
                   5000:          esac
                   5001:          ;;
                   5002:        esac
1.1       misha    5003:       fi
1.8       moko     5004:     done
                   5005:     IFS="$lt_save_ifs"
1.1       misha    5006:   done
1.8       moko     5007:   : ${lt_cv_path_NM=no}
1.1       misha    5008: fi
                   5009: fi
1.22      moko     5010: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
                   5011: $as_echo "$lt_cv_path_NM" >&6; }
1.8       moko     5012: if test "$lt_cv_path_NM" != "no"; then
                   5013:   NM="$lt_cv_path_NM"
                   5014: else
                   5015:   # Didn't find any BSD compatible name lister, look for dumpbin.
                   5016:   if test -n "$DUMPBIN"; then :
                   5017:     # Let the user override the test.
                   5018:   else
                   5019:     if test -n "$ac_tool_prefix"; then
                   5020:   for ac_prog in dumpbin "link -dump"
                   5021:   do
                   5022:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   5023: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.22      moko     5024: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5025: $as_echo_n "checking for $ac_word... " >&6; }
                   5026: if ${ac_cv_prog_DUMPBIN+:} false; then :
                   5027:   $as_echo_n "(cached) " >&6
1.1       misha    5028: else
1.8       moko     5029:   if test -n "$DUMPBIN"; then
                   5030:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
                   5031: else
1.1       misha    5032: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5033: for as_dir in $PATH
                   5034: do
                   5035:   IFS=$as_save_IFS
                   5036:   test -z "$as_dir" && as_dir=.
1.22      moko     5037:     for ac_exec_ext in '' $ac_executable_extensions; do
1.25      moko     5038:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     5039:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
1.22      moko     5040:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     5041:     break 2
                   5042:   fi
                   5043: done
1.22      moko     5044:   done
                   5045: IFS=$as_save_IFS
1.11      moko     5046: 
1.8       moko     5047: fi
                   5048: fi
                   5049: DUMPBIN=$ac_cv_prog_DUMPBIN
                   5050: if test -n "$DUMPBIN"; then
1.22      moko     5051:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
                   5052: $as_echo "$DUMPBIN" >&6; }
1.8       moko     5053: else
1.22      moko     5054:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5055: $as_echo "no" >&6; }
1.8       moko     5056: fi
1.1       misha    5057: 
1.22      moko     5058: 
1.8       moko     5059:     test -n "$DUMPBIN" && break
1.1       misha    5060:   done
1.8       moko     5061: fi
                   5062: if test -z "$DUMPBIN"; then
                   5063:   ac_ct_DUMPBIN=$DUMPBIN
                   5064:   for ac_prog in dumpbin "link -dump"
                   5065: do
                   5066:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   5067: set dummy $ac_prog; ac_word=$2
1.22      moko     5068: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5069: $as_echo_n "checking for $ac_word... " >&6; }
                   5070: if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
                   5071:   $as_echo_n "(cached) " >&6
1.8       moko     5072: else
                   5073:   if test -n "$ac_ct_DUMPBIN"; then
                   5074:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
                   5075: else
                   5076: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5077: for as_dir in $PATH
                   5078: do
                   5079:   IFS=$as_save_IFS
                   5080:   test -z "$as_dir" && as_dir=.
1.22      moko     5081:     for ac_exec_ext in '' $ac_executable_extensions; do
1.25      moko     5082:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     5083:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
1.22      moko     5084:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     5085:     break 2
                   5086:   fi
                   5087: done
1.22      moko     5088:   done
                   5089: IFS=$as_save_IFS
1.1       misha    5090: 
                   5091: fi
1.8       moko     5092: fi
                   5093: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
                   5094: if test -n "$ac_ct_DUMPBIN"; then
1.22      moko     5095:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
                   5096: $as_echo "$ac_ct_DUMPBIN" >&6; }
1.1       misha    5097: else
1.22      moko     5098:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5099: $as_echo "no" >&6; }
1.1       misha    5100: fi
                   5101: 
1.22      moko     5102: 
1.8       moko     5103:   test -n "$ac_ct_DUMPBIN" && break
                   5104: done
                   5105: 
1.22      moko     5106:   if test "x$ac_ct_DUMPBIN" = x; then
                   5107:     DUMPBIN=":"
                   5108:   else
                   5109:     case $cross_compiling:$ac_tool_warned in
                   5110: yes:)
                   5111: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5112: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5113: ac_tool_warned=yes ;;
                   5114: esac
                   5115:     DUMPBIN=$ac_ct_DUMPBIN
                   5116:   fi
1.1       misha    5117: fi
                   5118: 
1.8       moko     5119:     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
                   5120:     *COFF*)
                   5121:       DUMPBIN="$DUMPBIN -symbols"
                   5122:       ;;
                   5123:     *)
                   5124:       DUMPBIN=:
                   5125:       ;;
                   5126:     esac
                   5127:   fi
                   5128: 
                   5129:   if test "$DUMPBIN" != ":"; then
                   5130:     NM="$DUMPBIN"
                   5131:   fi
                   5132: fi
                   5133: test -z "$NM" && NM=nm
                   5134: 
                   5135: 
                   5136: 
                   5137: 
                   5138: 
                   5139: 
1.22      moko     5140: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
                   5141: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
                   5142: if ${lt_cv_nm_interface+:} false; then :
                   5143:   $as_echo_n "(cached) " >&6
1.8       moko     5144: else
                   5145:   lt_cv_nm_interface="BSD nm"
                   5146:   echo "int some_variable = 0;" > conftest.$ac_ext
                   5147:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
                   5148:   (eval "$ac_compile" 2>conftest.err)
                   5149:   cat conftest.err >&5
                   5150:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
                   5151:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
                   5152:   cat conftest.err >&5
                   5153:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
                   5154:   cat conftest.out >&5
                   5155:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
                   5156:     lt_cv_nm_interface="MS dumpbin"
                   5157:   fi
                   5158:   rm -f conftest*
                   5159: fi
1.22      moko     5160: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
                   5161: $as_echo "$lt_cv_nm_interface" >&6; }
1.8       moko     5162: 
1.22      moko     5163: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
                   5164: $as_echo_n "checking whether ln -s works... " >&6; }
1.8       moko     5165: LN_S=$as_ln_s
                   5166: if test "$LN_S" = "ln -s"; then
1.22      moko     5167:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5168: $as_echo "yes" >&6; }
1.8       moko     5169: else
1.22      moko     5170:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
                   5171: $as_echo "no, using $LN_S" >&6; }
1.8       moko     5172: fi
                   5173: 
                   5174: # find the maximum length of command line arguments
1.22      moko     5175: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
                   5176: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
                   5177: if ${lt_cv_sys_max_cmd_len+:} false; then :
                   5178:   $as_echo_n "(cached) " >&6
1.8       moko     5179: else
                   5180:     i=0
                   5181:   teststring="ABCD"
                   5182: 
                   5183:   case $build_os in
                   5184:   msdosdjgpp*)
                   5185:     # On DJGPP, this test can blow up pretty badly due to problems in libc
                   5186:     # (any single argument exceeding 2000 bytes causes a buffer overrun
                   5187:     # during glob expansion).  Even if it were fixed, the result of this
                   5188:     # check would be larger than it should be.
                   5189:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
                   5190:     ;;
                   5191: 
                   5192:   gnu*)
                   5193:     # Under GNU Hurd, this test is not required because there is
                   5194:     # no limit to the length of command line arguments.
                   5195:     # Libtool will interpret -1 as no limit whatsoever
                   5196:     lt_cv_sys_max_cmd_len=-1;
                   5197:     ;;
                   5198: 
                   5199:   cygwin* | mingw* | cegcc*)
                   5200:     # On Win9x/ME, this test blows up -- it succeeds, but takes
                   5201:     # about 5 minutes as the teststring grows exponentially.
                   5202:     # Worse, since 9x/ME are not pre-emptively multitasking,
                   5203:     # you end up with a "frozen" computer, even though with patience
                   5204:     # the test eventually succeeds (with a max line length of 256k).
                   5205:     # Instead, let's just punt: use the minimum linelength reported by
                   5206:     # all of the supported platforms: 8192 (on NT/2K/XP).
                   5207:     lt_cv_sys_max_cmd_len=8192;
                   5208:     ;;
                   5209: 
                   5210:   mint*)
                   5211:     # On MiNT this can take a long time and run out of memory.
                   5212:     lt_cv_sys_max_cmd_len=8192;
                   5213:     ;;
                   5214: 
                   5215:   amigaos*)
                   5216:     # On AmigaOS with pdksh, this test takes hours, literally.
                   5217:     # So we just punt and use a minimum line length of 8192.
                   5218:     lt_cv_sys_max_cmd_len=8192;
                   5219:     ;;
                   5220: 
                   5221:   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
                   5222:     # This has been around since 386BSD, at least.  Likely further.
                   5223:     if test -x /sbin/sysctl; then
                   5224:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
                   5225:     elif test -x /usr/sbin/sysctl; then
                   5226:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
                   5227:     else
                   5228:       lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
                   5229:     fi
                   5230:     # And add a safety zone
                   5231:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   5232:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   5233:     ;;
                   5234: 
                   5235:   interix*)
                   5236:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
                   5237:     lt_cv_sys_max_cmd_len=196608
                   5238:     ;;
                   5239: 
                   5240:   os2*)
                   5241:     # The test takes a long time on OS/2.
                   5242:     lt_cv_sys_max_cmd_len=8192
                   5243:     ;;
                   5244: 
                   5245:   osf*)
                   5246:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
                   5247:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
                   5248:     # nice to cause kernel panics so lets avoid the loop below.
                   5249:     # First set a reasonable default.
                   5250:     lt_cv_sys_max_cmd_len=16384
                   5251:     #
                   5252:     if test -x /sbin/sysconfig; then
                   5253:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
                   5254:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
                   5255:       esac
                   5256:     fi
                   5257:     ;;
                   5258:   sco3.2v5*)
                   5259:     lt_cv_sys_max_cmd_len=102400
                   5260:     ;;
                   5261:   sysv5* | sco5v6* | sysv4.2uw2*)
                   5262:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
                   5263:     if test -n "$kargmax"; then
                   5264:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
                   5265:     else
                   5266:       lt_cv_sys_max_cmd_len=32768
                   5267:     fi
                   5268:     ;;
                   5269:   *)
                   5270:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
                   5271:     if test -n "$lt_cv_sys_max_cmd_len"; then
                   5272:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   5273:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   5274:     else
                   5275:       # Make teststring a little bigger before we do anything with it.
                   5276:       # a 1K string should be a reasonable start.
                   5277:       for i in 1 2 3 4 5 6 7 8 ; do
                   5278:         teststring=$teststring$teststring
                   5279:       done
                   5280:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
                   5281:       # If test is not a shell built-in, we'll probably end up computing a
                   5282:       # maximum length that is only half of the actual maximum length, but
                   5283:       # we can't tell.
                   5284:       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
                   5285:                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
                   5286:              test $i != 17 # 1/2 MB should be enough
                   5287:       do
                   5288:         i=`expr $i + 1`
                   5289:         teststring=$teststring$teststring
                   5290:       done
                   5291:       # Only check the string length outside the loop.
                   5292:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
                   5293:       teststring=
                   5294:       # Add a significant safety factor because C++ compilers can tack on
                   5295:       # massive amounts of additional arguments before passing them to the
                   5296:       # linker.  It appears as though 1/2 is a usable value.
                   5297:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
                   5298:     fi
                   5299:     ;;
                   5300:   esac
                   5301: 
                   5302: fi
                   5303: 
                   5304: if test -n $lt_cv_sys_max_cmd_len ; then
1.22      moko     5305:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
                   5306: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
1.8       moko     5307: else
1.22      moko     5308:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
                   5309: $as_echo "none" >&6; }
1.8       moko     5310: fi
                   5311: max_cmd_len=$lt_cv_sys_max_cmd_len
                   5312: 
                   5313: 
                   5314: 
                   5315: 
                   5316: 
                   5317: 
                   5318: : ${CP="cp -f"}
                   5319: : ${MV="mv -f"}
                   5320: : ${RM="rm -f"}
                   5321: 
1.22      moko     5322: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
                   5323: $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
1.8       moko     5324: # Try some XSI features
                   5325: xsi_shell=no
                   5326: ( _lt_dummy="a/b/c"
                   5327:   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
                   5328:       = c,a/b,b/c, \
                   5329:     && eval 'test $(( 1 + 1 )) -eq 2 \
                   5330:     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
                   5331:   && xsi_shell=yes
1.22      moko     5332: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
                   5333: $as_echo "$xsi_shell" >&6; }
1.8       moko     5334: 
                   5335: 
1.22      moko     5336: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
                   5337: $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
1.8       moko     5338: lt_shell_append=no
                   5339: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
                   5340:     >/dev/null 2>&1 \
                   5341:   && lt_shell_append=yes
1.22      moko     5342: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
                   5343: $as_echo "$lt_shell_append" >&6; }
1.8       moko     5344: 
                   5345: 
                   5346: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                   5347:   lt_unset=unset
                   5348: else
                   5349:   lt_unset=false
                   5350: fi
                   5351: 
                   5352: 
                   5353: 
                   5354: 
                   5355: 
                   5356: # test EBCDIC or ASCII
                   5357: case `echo X|tr X '\101'` in
                   5358:  A) # ASCII based system
                   5359:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
                   5360:   lt_SP2NL='tr \040 \012'
                   5361:   lt_NL2SP='tr \015\012 \040\040'
                   5362:   ;;
                   5363:  *) # EBCDIC based system
                   5364:   lt_SP2NL='tr \100 \n'
                   5365:   lt_NL2SP='tr \r\n \100\100'
                   5366:   ;;
                   5367: esac
                   5368: 
                   5369: 
                   5370: 
                   5371: 
                   5372: 
                   5373: 
                   5374: 
                   5375: 
                   5376: 
1.22      moko     5377: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
                   5378: $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
                   5379: if ${lt_cv_to_host_file_cmd+:} false; then :
                   5380:   $as_echo_n "(cached) " >&6
1.8       moko     5381: else
                   5382:   case $host in
                   5383:   *-*-mingw* )
                   5384:     case $build in
                   5385:       *-*-mingw* ) # actually msys
                   5386:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
                   5387:         ;;
                   5388:       *-*-cygwin* )
                   5389:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
                   5390:         ;;
                   5391:       * ) # otherwise, assume *nix
                   5392:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
                   5393:         ;;
                   5394:     esac
                   5395:     ;;
                   5396:   *-*-cygwin* )
                   5397:     case $build in
                   5398:       *-*-mingw* ) # actually msys
                   5399:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
                   5400:         ;;
                   5401:       *-*-cygwin* )
                   5402:         lt_cv_to_host_file_cmd=func_convert_file_noop
                   5403:         ;;
                   5404:       * ) # otherwise, assume *nix
                   5405:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
                   5406:         ;;
                   5407:     esac
                   5408:     ;;
                   5409:   * ) # unhandled hosts (and "normal" native builds)
                   5410:     lt_cv_to_host_file_cmd=func_convert_file_noop
                   5411:     ;;
                   5412: esac
                   5413: 
                   5414: fi
                   5415: 
                   5416: to_host_file_cmd=$lt_cv_to_host_file_cmd
1.22      moko     5417: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
                   5418: $as_echo "$lt_cv_to_host_file_cmd" >&6; }
1.8       moko     5419: 
                   5420: 
                   5421: 
                   5422: 
                   5423: 
1.22      moko     5424: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
                   5425: $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
                   5426: if ${lt_cv_to_tool_file_cmd+:} false; then :
                   5427:   $as_echo_n "(cached) " >&6
1.8       moko     5428: else
                   5429:   #assume ordinary cross tools, or native build.
                   5430: lt_cv_to_tool_file_cmd=func_convert_file_noop
                   5431: case $host in
                   5432:   *-*-mingw* )
                   5433:     case $build in
                   5434:       *-*-mingw* ) # actually msys
                   5435:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
                   5436:         ;;
                   5437:     esac
                   5438:     ;;
                   5439: esac
                   5440: 
                   5441: fi
                   5442: 
                   5443: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
1.22      moko     5444: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
                   5445: $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
1.8       moko     5446: 
                   5447: 
                   5448: 
                   5449: 
                   5450: 
1.22      moko     5451: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
                   5452: $as_echo_n "checking for $LD option to reload object files... " >&6; }
                   5453: if ${lt_cv_ld_reload_flag+:} false; then :
                   5454:   $as_echo_n "(cached) " >&6
1.8       moko     5455: else
                   5456:   lt_cv_ld_reload_flag='-r'
                   5457: fi
1.22      moko     5458: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
                   5459: $as_echo "$lt_cv_ld_reload_flag" >&6; }
1.8       moko     5460: reload_flag=$lt_cv_ld_reload_flag
                   5461: case $reload_flag in
                   5462: "" | " "*) ;;
                   5463: *) reload_flag=" $reload_flag" ;;
                   5464: esac
                   5465: reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   5466: case $host_os in
                   5467:   cygwin* | mingw* | pw32* | cegcc*)
                   5468:     if test "$GCC" != yes; then
                   5469:       reload_cmds=false
                   5470:     fi
                   5471:     ;;
                   5472:   darwin*)
                   5473:     if test "$GCC" = yes; then
                   5474:       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
                   5475:     else
                   5476:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   5477:     fi
                   5478:     ;;
                   5479: esac
                   5480: 
                   5481: 
                   5482: 
                   5483: 
                   5484: 
                   5485: 
                   5486: 
                   5487: 
                   5488: 
                   5489: if test -n "$ac_tool_prefix"; then
                   5490:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   5491: set dummy ${ac_tool_prefix}objdump; ac_word=$2
1.22      moko     5492: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5493: $as_echo_n "checking for $ac_word... " >&6; }
                   5494: if ${ac_cv_prog_OBJDUMP+:} false; then :
                   5495:   $as_echo_n "(cached) " >&6
1.8       moko     5496: else
                   5497:   if test -n "$OBJDUMP"; then
                   5498:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   5499: else
                   5500: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5501: for as_dir in $PATH
                   5502: do
                   5503:   IFS=$as_save_IFS
                   5504:   test -z "$as_dir" && as_dir=.
1.22      moko     5505:     for ac_exec_ext in '' $ac_executable_extensions; do
1.25      moko     5506:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     5507:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1.22      moko     5508:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     5509:     break 2
                   5510:   fi
                   5511: done
1.22      moko     5512:   done
                   5513: IFS=$as_save_IFS
1.8       moko     5514: 
                   5515: fi
                   5516: fi
                   5517: OBJDUMP=$ac_cv_prog_OBJDUMP
                   5518: if test -n "$OBJDUMP"; then
1.22      moko     5519:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   5520: $as_echo "$OBJDUMP" >&6; }
1.8       moko     5521: else
1.22      moko     5522:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5523: $as_echo "no" >&6; }
1.8       moko     5524: fi
                   5525: 
1.22      moko     5526: 
1.8       moko     5527: fi
                   5528: if test -z "$ac_cv_prog_OBJDUMP"; then
                   5529:   ac_ct_OBJDUMP=$OBJDUMP
                   5530:   # Extract the first word of "objdump", so it can be a program name with args.
                   5531: set dummy objdump; ac_word=$2
1.22      moko     5532: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5533: $as_echo_n "checking for $ac_word... " >&6; }
                   5534: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
                   5535:   $as_echo_n "(cached) " >&6
1.8       moko     5536: else
                   5537:   if test -n "$ac_ct_OBJDUMP"; then
                   5538:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   5539: else
                   5540: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5541: for as_dir in $PATH
                   5542: do
                   5543:   IFS=$as_save_IFS
                   5544:   test -z "$as_dir" && as_dir=.
1.22      moko     5545:     for ac_exec_ext in '' $ac_executable_extensions; do
1.25      moko     5546:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     5547:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.22      moko     5548:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     5549:     break 2
                   5550:   fi
                   5551: done
1.22      moko     5552:   done
                   5553: IFS=$as_save_IFS
1.8       moko     5554: 
                   5555: fi
                   5556: fi
                   5557: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   5558: if test -n "$ac_ct_OBJDUMP"; then
1.22      moko     5559:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   5560: $as_echo "$ac_ct_OBJDUMP" >&6; }
1.8       moko     5561: else
1.22      moko     5562:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5563: $as_echo "no" >&6; }
1.8       moko     5564: fi
                   5565: 
1.22      moko     5566:   if test "x$ac_ct_OBJDUMP" = x; then
                   5567:     OBJDUMP="false"
                   5568:   else
                   5569:     case $cross_compiling:$ac_tool_warned in
                   5570: yes:)
                   5571: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5572: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5573: ac_tool_warned=yes ;;
                   5574: esac
                   5575:     OBJDUMP=$ac_ct_OBJDUMP
                   5576:   fi
1.8       moko     5577: else
                   5578:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   5579: fi
                   5580: 
                   5581: test -z "$OBJDUMP" && OBJDUMP=objdump
                   5582: 
                   5583: 
                   5584: 
                   5585: 
                   5586: 
                   5587: 
1.22      moko     5588: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
                   5589: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
                   5590: if ${lt_cv_deplibs_check_method+:} false; then :
                   5591:   $as_echo_n "(cached) " >&6
1.1       misha    5592: else
                   5593:   lt_cv_file_magic_cmd='$MAGIC_CMD'
                   5594: lt_cv_file_magic_test_file=
                   5595: lt_cv_deplibs_check_method='unknown'
                   5596: # Need to set the preceding variable on all platforms that support
                   5597: # interlibrary dependencies.
                   5598: # 'none' -- dependencies not supported.
                   5599: # `unknown' -- same as none, but documents that we really don't know.
                   5600: # 'pass_all' -- all dependencies passed with no checks.
                   5601: # 'test_compile' -- check by making test program.
                   5602: # 'file_magic [[regex]]' -- check by looking for files in library path
1.8       moko     5603: # which responds to the $file_magic_cmd with a given extended regex.
1.1       misha    5604: # If you have `file' or equivalent on your system and you're not sure
                   5605: # whether `pass_all' will *always* work, you probably want this one.
                   5606: 
                   5607: case $host_os in
1.8       moko     5608: aix[4-9]*)
1.1       misha    5609:   lt_cv_deplibs_check_method=pass_all
                   5610:   ;;
                   5611: 
                   5612: beos*)
                   5613:   lt_cv_deplibs_check_method=pass_all
                   5614:   ;;
                   5615: 
1.8       moko     5616: bsdi[45]*)
1.1       misha    5617:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
                   5618:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   5619:   lt_cv_file_magic_test_file=/shlib/libc.so
                   5620:   ;;
                   5621: 
1.8       moko     5622: cygwin*)
                   5623:   # func_win32_libid is a shell function defined in ltmain.sh
                   5624:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   5625:   lt_cv_file_magic_cmd='func_win32_libid'
                   5626:   ;;
                   5627: 
                   5628: mingw* | pw32*)
                   5629:   # Base MSYS/MinGW do not provide the 'file' command needed by
                   5630:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
                   5631:   # unless we find 'file', for example because we are cross-compiling.
                   5632:   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
                   5633:   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
                   5634:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   5635:     lt_cv_file_magic_cmd='func_win32_libid'
                   5636:   else
                   5637:     # Keep this pattern in sync with the one in func_win32_libid.
                   5638:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
                   5639:     lt_cv_file_magic_cmd='$OBJDUMP -f'
                   5640:   fi
                   5641:   ;;
                   5642: 
                   5643: cegcc*)
                   5644:   # use the weaker test based on 'objdump'. See mingw*.
                   5645:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
1.1       misha    5646:   lt_cv_file_magic_cmd='$OBJDUMP -f'
                   5647:   ;;
                   5648: 
                   5649: darwin* | rhapsody*)
1.8       moko     5650:   lt_cv_deplibs_check_method=pass_all
1.1       misha    5651:   ;;
                   5652: 
1.8       moko     5653: freebsd* | dragonfly*)
                   5654:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
1.1       misha    5655:     case $host_cpu in
                   5656:     i*86 )
                   5657:       # Not sure whether the presence of OpenBSD here was a mistake.
                   5658:       # Let's accept both of them until this is cleared up.
1.8       moko     5659:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
1.1       misha    5660:       lt_cv_file_magic_cmd=/usr/bin/file
                   5661:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
                   5662:       ;;
                   5663:     esac
                   5664:   else
                   5665:     lt_cv_deplibs_check_method=pass_all
                   5666:   fi
                   5667:   ;;
                   5668: 
                   5669: gnu*)
                   5670:   lt_cv_deplibs_check_method=pass_all
                   5671:   ;;
                   5672: 
1.8       moko     5673: haiku*)
                   5674:   lt_cv_deplibs_check_method=pass_all
1.1       misha    5675:   ;;
                   5676: 
1.8       moko     5677: hpux10.20* | hpux11*)
                   5678:   lt_cv_file_magic_cmd=/usr/bin/file
                   5679:   case $host_cpu in
                   5680:   ia64*)
                   5681:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
                   5682:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
                   5683:     ;;
                   5684:   hppa*64*)
                   5685:     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]'
                   5686:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
1.1       misha    5687:     ;;
                   5688:   *)
1.8       moko     5689:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
                   5690:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
1.1       misha    5691:     ;;
                   5692:   esac
1.8       moko     5693:   ;;
                   5694: 
                   5695: interix[3-9]*)
                   5696:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
                   5697:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
                   5698:   ;;
                   5699: 
                   5700: irix5* | irix6* | nonstopux*)
                   5701:   case $LD in
                   5702:   *-32|*"-32 ") libmagic=32-bit;;
                   5703:   *-n32|*"-n32 ") libmagic=N32;;
                   5704:   *-64|*"-64 ") libmagic=64-bit;;
                   5705:   *) libmagic=never-match;;
                   5706:   esac
1.1       misha    5707:   lt_cv_deplibs_check_method=pass_all
                   5708:   ;;
                   5709: 
1.8       moko     5710: # This must be glibc/ELF.
                   5711: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   5712:   lt_cv_deplibs_check_method=pass_all
1.1       misha    5713:   ;;
                   5714: 
                   5715: netbsd*)
1.8       moko     5716:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   5717:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
1.1       misha    5718:   else
1.8       moko     5719:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
1.1       misha    5720:   fi
                   5721:   ;;
                   5722: 
                   5723: newos6*)
                   5724:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
                   5725:   lt_cv_file_magic_cmd=/usr/bin/file
                   5726:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
                   5727:   ;;
                   5728: 
1.8       moko     5729: *nto* | *qnx*)
                   5730:   lt_cv_deplibs_check_method=pass_all
                   5731:   ;;
                   5732: 
1.1       misha    5733: openbsd*)
1.8       moko     5734:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   5735:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
1.1       misha    5736:   else
1.8       moko     5737:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
1.1       misha    5738:   fi
                   5739:   ;;
                   5740: 
                   5741: osf3* | osf4* | osf5*)
                   5742:   lt_cv_deplibs_check_method=pass_all
                   5743:   ;;
                   5744: 
1.8       moko     5745: rdos*)
1.1       misha    5746:   lt_cv_deplibs_check_method=pass_all
                   5747:   ;;
                   5748: 
                   5749: solaris*)
                   5750:   lt_cv_deplibs_check_method=pass_all
                   5751:   ;;
                   5752: 
1.8       moko     5753: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
1.1       misha    5754:   lt_cv_deplibs_check_method=pass_all
                   5755:   ;;
                   5756: 
1.8       moko     5757: sysv4 | sysv4.3*)
1.1       misha    5758:   case $host_vendor in
                   5759:   motorola)
                   5760:     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]'
                   5761:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
                   5762:     ;;
                   5763:   ncr)
                   5764:     lt_cv_deplibs_check_method=pass_all
                   5765:     ;;
                   5766:   sequent)
                   5767:     lt_cv_file_magic_cmd='/bin/file'
                   5768:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
                   5769:     ;;
                   5770:   sni)
                   5771:     lt_cv_file_magic_cmd='/bin/file'
                   5772:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
                   5773:     lt_cv_file_magic_test_file=/lib/libc.so
                   5774:     ;;
                   5775:   siemens)
                   5776:     lt_cv_deplibs_check_method=pass_all
                   5777:     ;;
1.8       moko     5778:   pc)
                   5779:     lt_cv_deplibs_check_method=pass_all
                   5780:     ;;
1.1       misha    5781:   esac
                   5782:   ;;
1.8       moko     5783: 
                   5784: tpf*)
                   5785:   lt_cv_deplibs_check_method=pass_all
                   5786:   ;;
1.1       misha    5787: esac
                   5788: 
                   5789: fi
1.22      moko     5790: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
                   5791: $as_echo "$lt_cv_deplibs_check_method" >&6; }
1.8       moko     5792: 
                   5793: file_magic_glob=
                   5794: want_nocaseglob=no
                   5795: if test "$build" = "$host"; then
                   5796:   case $host_os in
                   5797:   mingw* | pw32*)
                   5798:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
                   5799:       want_nocaseglob=yes
                   5800:     else
                   5801:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
                   5802:     fi
                   5803:     ;;
                   5804:   esac
                   5805: fi
                   5806: 
1.1       misha    5807: file_magic_cmd=$lt_cv_file_magic_cmd
                   5808: deplibs_check_method=$lt_cv_deplibs_check_method
1.8       moko     5809: test -z "$deplibs_check_method" && deplibs_check_method=unknown
                   5810: 
                   5811: 
1.1       misha    5812: 
                   5813: 
                   5814: 
                   5815: 
                   5816: 
                   5817: 
                   5818: 
                   5819: 
1.8       moko     5820: 
                   5821: 
                   5822: 
                   5823: 
                   5824: 
                   5825: 
                   5826: 
                   5827: 
                   5828: 
                   5829: 
                   5830: 
                   5831: 
                   5832: if test -n "$ac_tool_prefix"; then
                   5833:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   5834: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1.22      moko     5835: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5836: $as_echo_n "checking for $ac_word... " >&6; }
                   5837: if ${ac_cv_prog_DLLTOOL+:} false; then :
                   5838:   $as_echo_n "(cached) " >&6
1.8       moko     5839: else
                   5840:   if test -n "$DLLTOOL"; then
                   5841:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   5842: else
                   5843: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5844: for as_dir in $PATH
                   5845: do
                   5846:   IFS=$as_save_IFS
                   5847:   test -z "$as_dir" && as_dir=.
1.22      moko     5848:     for ac_exec_ext in '' $ac_executable_extensions; do
1.25      moko     5849:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     5850:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
1.22      moko     5851:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     5852:     break 2
                   5853:   fi
                   5854: done
1.22      moko     5855:   done
                   5856: IFS=$as_save_IFS
1.8       moko     5857: 
                   5858: fi
                   5859: fi
                   5860: DLLTOOL=$ac_cv_prog_DLLTOOL
                   5861: if test -n "$DLLTOOL"; then
1.22      moko     5862:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
                   5863: $as_echo "$DLLTOOL" >&6; }
1.8       moko     5864: else
1.22      moko     5865:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5866: $as_echo "no" >&6; }
1.8       moko     5867: fi
                   5868: 
1.22      moko     5869: 
1.8       moko     5870: fi
                   5871: if test -z "$ac_cv_prog_DLLTOOL"; then
                   5872:   ac_ct_DLLTOOL=$DLLTOOL
                   5873:   # Extract the first word of "dlltool", so it can be a program name with args.
                   5874: set dummy dlltool; ac_word=$2
1.22      moko     5875: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5876: $as_echo_n "checking for $ac_word... " >&6; }
                   5877: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
                   5878:   $as_echo_n "(cached) " >&6
1.1       misha    5879: else
1.8       moko     5880:   if test -n "$ac_ct_DLLTOOL"; then
                   5881:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   5882: else
                   5883: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5884: for as_dir in $PATH
                   5885: do
                   5886:   IFS=$as_save_IFS
                   5887:   test -z "$as_dir" && as_dir=.
1.22      moko     5888:     for ac_exec_ext in '' $ac_executable_extensions; do
1.25      moko     5889:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     5890:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
1.22      moko     5891:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     5892:     break 2
                   5893:   fi
                   5894: done
1.22      moko     5895:   done
                   5896: IFS=$as_save_IFS
1.8       moko     5897: 
                   5898: fi
                   5899: fi
                   5900: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   5901: if test -n "$ac_ct_DLLTOOL"; then
1.22      moko     5902:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
                   5903: $as_echo "$ac_ct_DLLTOOL" >&6; }
1.8       moko     5904: else
1.22      moko     5905:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5906: $as_echo "no" >&6; }
1.8       moko     5907: fi
                   5908: 
1.22      moko     5909:   if test "x$ac_ct_DLLTOOL" = x; then
                   5910:     DLLTOOL="false"
                   5911:   else
                   5912:     case $cross_compiling:$ac_tool_warned in
                   5913: yes:)
                   5914: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5915: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5916: ac_tool_warned=yes ;;
                   5917: esac
                   5918:     DLLTOOL=$ac_ct_DLLTOOL
                   5919:   fi
1.8       moko     5920: else
                   5921:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   5922: fi
                   5923: 
                   5924: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   5925: 
                   5926: 
                   5927: 
                   5928: 
1.1       misha    5929: 
                   5930: 
                   5931: 
1.22      moko     5932: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
                   5933: $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
                   5934: if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
                   5935:   $as_echo_n "(cached) " >&6
1.8       moko     5936: else
                   5937:   lt_cv_sharedlib_from_linklib_cmd='unknown'
1.1       misha    5938: 
                   5939: case $host_os in
1.8       moko     5940: cygwin* | mingw* | pw32* | cegcc*)
                   5941:   # two different shell functions defined in ltmain.sh
                   5942:   # decide which to use based on capabilities of $DLLTOOL
                   5943:   case `$DLLTOOL --help 2>&1` in
                   5944:   *--identify-strict*)
                   5945:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
                   5946:     ;;
                   5947:   *)
                   5948:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
                   5949:     ;;
                   5950:   esac
1.1       misha    5951:   ;;
1.8       moko     5952: *)
                   5953:   # fallback: assume linklib IS sharedlib
                   5954:   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
1.1       misha    5955:   ;;
                   5956: esac
                   5957: 
                   5958: fi
1.22      moko     5959: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
                   5960: $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
1.8       moko     5961: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
                   5962: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
1.1       misha    5963: 
                   5964: 
                   5965: 
                   5966: 
                   5967: 
                   5968: 
                   5969: 
                   5970: 
1.8       moko     5971: if test -n "$ac_tool_prefix"; then
                   5972:   for ac_prog in ar
                   5973:   do
                   5974:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   5975: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.22      moko     5976: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5977: $as_echo_n "checking for $ac_word... " >&6; }
                   5978: if ${ac_cv_prog_AR+:} false; then :
                   5979:   $as_echo_n "(cached) " >&6
1.8       moko     5980: else
                   5981:   if test -n "$AR"; then
                   5982:   ac_cv_prog_AR="$AR" # Let the user override the test.
                   5983: else
                   5984: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5985: for as_dir in $PATH
                   5986: do
                   5987:   IFS=$as_save_IFS
                   5988:   test -z "$as_dir" && as_dir=.
1.22      moko     5989:     for ac_exec_ext in '' $ac_executable_extensions; do
1.25      moko     5990:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     5991:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
1.22      moko     5992:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     5993:     break 2
1.1       misha    5994:   fi
1.8       moko     5995: done
1.22      moko     5996:   done
                   5997: IFS=$as_save_IFS
1.1       misha    5998: 
                   5999: fi
                   6000: fi
1.8       moko     6001: AR=$ac_cv_prog_AR
                   6002: if test -n "$AR"; then
1.22      moko     6003:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
                   6004: $as_echo "$AR" >&6; }
1.1       misha    6005: else
1.22      moko     6006:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6007: $as_echo "no" >&6; }
1.1       misha    6008: fi
                   6009: 
1.22      moko     6010: 
1.8       moko     6011:     test -n "$AR" && break
                   6012:   done
1.1       misha    6013: fi
1.8       moko     6014: if test -z "$AR"; then
                   6015:   ac_ct_AR=$AR
                   6016:   for ac_prog in ar
                   6017: do
                   6018:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   6019: set dummy $ac_prog; ac_word=$2
1.22      moko     6020: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6021: $as_echo_n "checking for $ac_word... " >&6; }
                   6022: if ${ac_cv_prog_ac_ct_AR+:} false; then :
                   6023:   $as_echo_n "(cached) " >&6
1.1       misha    6024: else
1.8       moko     6025:   if test -n "$ac_ct_AR"; then
                   6026:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
                   6027: else
                   6028: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6029: for as_dir in $PATH
1.1       misha    6030: do
1.8       moko     6031:   IFS=$as_save_IFS
                   6032:   test -z "$as_dir" && as_dir=.
1.22      moko     6033:     for ac_exec_ext in '' $ac_executable_extensions; do
1.25      moko     6034:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     6035:     ac_cv_prog_ac_ct_AR="$ac_prog"
1.22      moko     6036:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     6037:     break 2
1.1       misha    6038:   fi
1.8       moko     6039: done
1.22      moko     6040:   done
                   6041: IFS=$as_save_IFS
1.1       misha    6042: 
                   6043: fi
                   6044: fi
1.8       moko     6045: ac_ct_AR=$ac_cv_prog_ac_ct_AR
                   6046: if test -n "$ac_ct_AR"; then
1.22      moko     6047:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
                   6048: $as_echo "$ac_ct_AR" >&6; }
1.1       misha    6049: else
1.22      moko     6050:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6051: $as_echo "no" >&6; }
1.1       misha    6052: fi
                   6053: 
1.22      moko     6054: 
1.8       moko     6055:   test -n "$ac_ct_AR" && break
1.1       misha    6056: done
1.8       moko     6057: 
1.22      moko     6058:   if test "x$ac_ct_AR" = x; then
                   6059:     AR="false"
                   6060:   else
                   6061:     case $cross_compiling:$ac_tool_warned in
                   6062: yes:)
                   6063: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6064: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6065: ac_tool_warned=yes ;;
                   6066: esac
                   6067:     AR=$ac_ct_AR
                   6068:   fi
1.1       misha    6069: fi
                   6070: 
1.8       moko     6071: : ${AR=ar}
                   6072: : ${AR_FLAGS=cru}
                   6073: 
1.1       misha    6074: 
                   6075: 
                   6076: 
                   6077: 
                   6078: 
                   6079: 
                   6080: 
                   6081: 
                   6082: 
                   6083: 
1.22      moko     6084: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
                   6085: $as_echo_n "checking for archiver @FILE support... " >&6; }
                   6086: if ${lt_cv_ar_at_file+:} false; then :
                   6087:   $as_echo_n "(cached) " >&6
1.1       misha    6088: else
1.8       moko     6089:   lt_cv_ar_at_file=no
1.22      moko     6090:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misha    6091: /* end confdefs.h.  */
                   6092: 
                   6093: int
                   6094: main ()
                   6095: {
                   6096: 
                   6097:   ;
                   6098:   return 0;
                   6099: }
                   6100: _ACEOF
1.22      moko     6101: if ac_fn_c_try_compile "$LINENO"; then :
1.8       moko     6102:   echo conftest.$ac_objext > conftest.lst
                   6103:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
1.22      moko     6104:       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
1.8       moko     6105:   (eval $lt_ar_try) 2>&5
                   6106:   ac_status=$?
1.22      moko     6107:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6108:   test $ac_status = 0; }
1.8       moko     6109:       if test "$ac_status" -eq 0; then
                   6110:        # Ensure the archiver fails upon bogus file names.
                   6111:        rm -f conftest.$ac_objext libconftest.a
1.22      moko     6112:        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
1.8       moko     6113:   (eval $lt_ar_try) 2>&5
                   6114:   ac_status=$?
1.22      moko     6115:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6116:   test $ac_status = 0; }
1.8       moko     6117:        if test "$ac_status" -ne 0; then
                   6118:           lt_cv_ar_at_file=@
                   6119:         fi
                   6120:       fi
                   6121:       rm -f conftest.* libconftest.a
                   6122: 
1.1       misha    6123: fi
1.22      moko     6124: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       misha    6125: 
1.8       moko     6126: fi
1.22      moko     6127: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
                   6128: $as_echo "$lt_cv_ar_at_file" >&6; }
1.8       moko     6129: 
                   6130: if test "x$lt_cv_ar_at_file" = xno; then
                   6131:   archiver_list_spec=
1.1       misha    6132: else
1.8       moko     6133:   archiver_list_spec=$lt_cv_ar_at_file
1.1       misha    6134: fi
                   6135: 
                   6136: 
                   6137: 
1.8       moko     6138: 
                   6139: 
                   6140: 
                   6141: 
                   6142: if test -n "$ac_tool_prefix"; then
                   6143:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   6144: set dummy ${ac_tool_prefix}strip; ac_word=$2
1.22      moko     6145: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6146: $as_echo_n "checking for $ac_word... " >&6; }
                   6147: if ${ac_cv_prog_STRIP+:} false; then :
                   6148:   $as_echo_n "(cached) " >&6
1.8       moko     6149: else
                   6150:   if test -n "$STRIP"; then
                   6151:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   6152: else
                   6153: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6154: for as_dir in $PATH
                   6155: do
                   6156:   IFS=$as_save_IFS
                   6157:   test -z "$as_dir" && as_dir=.
1.22      moko     6158:     for ac_exec_ext in '' $ac_executable_extensions; do
1.25      moko     6159:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     6160:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1.22      moko     6161:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     6162:     break 2
                   6163:   fi
                   6164: done
1.22      moko     6165:   done
                   6166: IFS=$as_save_IFS
1.8       moko     6167: 
                   6168: fi
                   6169: fi
                   6170: STRIP=$ac_cv_prog_STRIP
                   6171: if test -n "$STRIP"; then
1.22      moko     6172:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   6173: $as_echo "$STRIP" >&6; }
1.1       misha    6174: else
1.22      moko     6175:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6176: $as_echo "no" >&6; }
1.1       misha    6177: fi
                   6178: 
1.22      moko     6179: 
1.1       misha    6180: fi
1.8       moko     6181: if test -z "$ac_cv_prog_STRIP"; then
                   6182:   ac_ct_STRIP=$STRIP
                   6183:   # Extract the first word of "strip", so it can be a program name with args.
                   6184: set dummy strip; ac_word=$2
1.22      moko     6185: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6186: $as_echo_n "checking for $ac_word... " >&6; }
                   6187: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
                   6188:   $as_echo_n "(cached) " >&6
1.1       misha    6189: else
1.8       moko     6190:   if test -n "$ac_ct_STRIP"; then
                   6191:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1.1       misha    6192: else
1.8       moko     6193: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6194: for as_dir in $PATH
                   6195: do
                   6196:   IFS=$as_save_IFS
                   6197:   test -z "$as_dir" && as_dir=.
1.22      moko     6198:     for ac_exec_ext in '' $ac_executable_extensions; do
1.25      moko     6199:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     6200:     ac_cv_prog_ac_ct_STRIP="strip"
1.22      moko     6201:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     6202:     break 2
                   6203:   fi
                   6204: done
1.22      moko     6205:   done
                   6206: IFS=$as_save_IFS
1.1       misha    6207: 
                   6208: fi
                   6209: fi
1.8       moko     6210: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   6211: if test -n "$ac_ct_STRIP"; then
1.22      moko     6212:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   6213: $as_echo "$ac_ct_STRIP" >&6; }
1.8       moko     6214: else
1.22      moko     6215:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6216: $as_echo "no" >&6; }
1.1       misha    6217: fi
                   6218: 
1.22      moko     6219:   if test "x$ac_ct_STRIP" = x; then
                   6220:     STRIP=":"
                   6221:   else
                   6222:     case $cross_compiling:$ac_tool_warned in
                   6223: yes:)
                   6224: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6225: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6226: ac_tool_warned=yes ;;
                   6227: esac
                   6228:     STRIP=$ac_ct_STRIP
                   6229:   fi
1.8       moko     6230: else
                   6231:   STRIP="$ac_cv_prog_STRIP"
1.1       misha    6232: fi
                   6233: 
1.8       moko     6234: test -z "$STRIP" && STRIP=:
1.1       misha    6235: 
                   6236: 
                   6237: 
                   6238: 
                   6239: 
                   6240: 
1.8       moko     6241: if test -n "$ac_tool_prefix"; then
                   6242:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   6243: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1.22      moko     6244: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6245: $as_echo_n "checking for $ac_word... " >&6; }
                   6246: if ${ac_cv_prog_RANLIB+:} false; then :
                   6247:   $as_echo_n "(cached) " >&6
1.1       misha    6248: else
1.8       moko     6249:   if test -n "$RANLIB"; then
                   6250:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1.1       misha    6251: else
1.8       moko     6252: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6253: for as_dir in $PATH
                   6254: do
                   6255:   IFS=$as_save_IFS
                   6256:   test -z "$as_dir" && as_dir=.
1.22      moko     6257:     for ac_exec_ext in '' $ac_executable_extensions; do
1.25      moko     6258:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     6259:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1.22      moko     6260:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     6261:     break 2
                   6262:   fi
                   6263: done
1.22      moko     6264:   done
                   6265: IFS=$as_save_IFS
1.1       misha    6266: 
                   6267: fi
                   6268: fi
1.8       moko     6269: RANLIB=$ac_cv_prog_RANLIB
                   6270: if test -n "$RANLIB"; then
1.22      moko     6271:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
                   6272: $as_echo "$RANLIB" >&6; }
1.8       moko     6273: else
1.22      moko     6274:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6275: $as_echo "no" >&6; }
1.8       moko     6276: fi
1.1       misha    6277: 
1.22      moko     6278: 
1.1       misha    6279: fi
1.8       moko     6280: if test -z "$ac_cv_prog_RANLIB"; then
                   6281:   ac_ct_RANLIB=$RANLIB
                   6282:   # Extract the first word of "ranlib", so it can be a program name with args.
                   6283: set dummy ranlib; ac_word=$2
1.22      moko     6284: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6285: $as_echo_n "checking for $ac_word... " >&6; }
                   6286: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
                   6287:   $as_echo_n "(cached) " >&6
1.8       moko     6288: else
                   6289:   if test -n "$ac_ct_RANLIB"; then
                   6290:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   6291: else
                   6292: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6293: for as_dir in $PATH
                   6294: do
                   6295:   IFS=$as_save_IFS
                   6296:   test -z "$as_dir" && as_dir=.
1.22      moko     6297:     for ac_exec_ext in '' $ac_executable_extensions; do
1.25      moko     6298:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     6299:     ac_cv_prog_ac_ct_RANLIB="ranlib"
1.22      moko     6300:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     6301:     break 2
                   6302:   fi
                   6303: done
1.22      moko     6304:   done
                   6305: IFS=$as_save_IFS
1.1       misha    6306: 
1.8       moko     6307: fi
1.1       misha    6308: fi
1.8       moko     6309: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   6310: if test -n "$ac_ct_RANLIB"; then
1.22      moko     6311:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
                   6312: $as_echo "$ac_ct_RANLIB" >&6; }
1.1       misha    6313: else
1.22      moko     6314:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6315: $as_echo "no" >&6; }
1.1       misha    6316: fi
                   6317: 
1.22      moko     6318:   if test "x$ac_ct_RANLIB" = x; then
                   6319:     RANLIB=":"
                   6320:   else
                   6321:     case $cross_compiling:$ac_tool_warned in
                   6322: yes:)
                   6323: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6324: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6325: ac_tool_warned=yes ;;
                   6326: esac
                   6327:     RANLIB=$ac_ct_RANLIB
                   6328:   fi
1.1       misha    6329: else
1.8       moko     6330:   RANLIB="$ac_cv_prog_RANLIB"
1.1       misha    6331: fi
                   6332: 
1.8       moko     6333: test -z "$RANLIB" && RANLIB=:
                   6334: 
                   6335: 
                   6336: 
                   6337: 
                   6338: 
                   6339: 
                   6340: # Determine commands to create old-style static archives.
                   6341: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
                   6342: old_postinstall_cmds='chmod 644 $oldlib'
                   6343: old_postuninstall_cmds=
1.1       misha    6344: 
1.8       moko     6345: if test -n "$RANLIB"; then
                   6346:   case $host_os in
                   6347:   openbsd*)
                   6348:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
1.1       misha    6349:     ;;
1.8       moko     6350:   *)
                   6351:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
1.1       misha    6352:     ;;
1.8       moko     6353:   esac
                   6354:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
                   6355: fi
                   6356: 
                   6357: case $host_os in
                   6358:   darwin*)
                   6359:     lock_old_archive_extraction=yes ;;
                   6360:   *)
                   6361:     lock_old_archive_extraction=no ;;
1.1       misha    6362: esac
                   6363: 
                   6364: 
                   6365: 
                   6366: 
                   6367: 
                   6368: 
                   6369: 
                   6370: 
                   6371: 
                   6372: 
                   6373: 
                   6374: 
                   6375: 
                   6376: 
                   6377: 
                   6378: 
                   6379: 
                   6380: 
                   6381: 
                   6382: 
                   6383: 
                   6384: 
                   6385: 
                   6386: 
                   6387: 
                   6388: 
                   6389: 
                   6390: 
                   6391: 
                   6392: 
                   6393: 
                   6394: 
                   6395: 
                   6396: 
1.8       moko     6397: 
                   6398: 
                   6399: 
                   6400: 
                   6401: 
                   6402: # If no C compiler was specified, use CC.
                   6403: LTCC=${LTCC-"$CC"}
                   6404: 
                   6405: # If no C compiler flags were specified, use CFLAGS.
                   6406: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   6407: 
                   6408: # Allow CC to be a program name with arguments.
                   6409: compiler=$CC
                   6410: 
                   6411: 
                   6412: # Check for command to grab the raw symbol name followed by C symbol from nm.
1.22      moko     6413: { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
                   6414: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
                   6415: if ${lt_cv_sys_global_symbol_pipe+:} false; then :
                   6416:   $as_echo_n "(cached) " >&6
1.1       misha    6417: else
                   6418: 
1.8       moko     6419: # These are sane defaults that work on at least a few old systems.
                   6420: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
1.1       misha    6421: 
1.8       moko     6422: # Character class describing NM global symbol codes.
                   6423: symcode='[BCDEGRST]'
1.1       misha    6424: 
1.8       moko     6425: # Regexp to match symbols that can be accessed directly from C.
                   6426: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
1.1       misha    6427: 
1.8       moko     6428: # Define system-specific variables.
                   6429: case $host_os in
                   6430: aix*)
                   6431:   symcode='[BCDT]'
                   6432:   ;;
                   6433: cygwin* | mingw* | pw32* | cegcc*)
                   6434:   symcode='[ABCDGISTW]'
                   6435:   ;;
                   6436: hpux*)
                   6437:   if test "$host_cpu" = ia64; then
                   6438:     symcode='[ABCDEGRST]'
                   6439:   fi
                   6440:   ;;
                   6441: irix* | nonstopux*)
                   6442:   symcode='[BCDEGRST]'
                   6443:   ;;
                   6444: osf*)
                   6445:   symcode='[BCDEGQRST]'
                   6446:   ;;
                   6447: solaris*)
                   6448:   symcode='[BDRT]'
                   6449:   ;;
                   6450: sco3.2v5*)
                   6451:   symcode='[DT]'
                   6452:   ;;
                   6453: sysv4.2uw2*)
                   6454:   symcode='[DT]'
                   6455:   ;;
                   6456: sysv5* | sco5v6* | unixware* | OpenUNIX*)
                   6457:   symcode='[ABDT]'
                   6458:   ;;
                   6459: sysv4)
                   6460:   symcode='[DFNSTU]'
                   6461:   ;;
                   6462: esac
                   6463: 
                   6464: # If we're using GNU nm, then use its standard symbol codes.
                   6465: case `$NM -V 2>&1` in
                   6466: *GNU* | *'with BFD'*)
                   6467:   symcode='[ABCDGIRSTW]' ;;
                   6468: esac
                   6469: 
                   6470: # Transform an extracted symbol line into a proper C declaration.
                   6471: # Some systems (esp. on ia64) link data and code symbols differently,
                   6472: # so use this general approach.
                   6473: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
                   6474: 
                   6475: # Transform an extracted symbol line into symbol name and symbol address
                   6476: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
                   6477: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
                   6478: 
                   6479: # Handle CRLF in mingw tool chain
                   6480: opt_cr=
                   6481: case $build_os in
                   6482: mingw*)
                   6483:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
                   6484:   ;;
                   6485: esac
                   6486: 
                   6487: # Try without a prefix underscore, then with it.
                   6488: for ac_symprfx in "" "_"; do
                   6489: 
                   6490:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
                   6491:   symxfrm="\\1 $ac_symprfx\\2 \\2"
                   6492: 
                   6493:   # Write the raw and C identifiers.
                   6494:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   6495:     # Fake it for dumpbin and say T for any non-static function
                   6496:     # and D for any global variable.
                   6497:     # Also find C++ and __fastcall symbols from MSVC++,
                   6498:     # which start with @ or ?.
                   6499:     lt_cv_sys_global_symbol_pipe="$AWK '"\
                   6500: "     {last_section=section; section=\$ 3};"\
                   6501: "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
                   6502: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
                   6503: "     \$ 0!~/External *\|/{next};"\
                   6504: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
                   6505: "     {if(hide[section]) next};"\
                   6506: "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
                   6507: "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
                   6508: "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
                   6509: "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
                   6510: "     ' prfx=^$ac_symprfx"
                   6511:   else
                   6512:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
                   6513:   fi
                   6514:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
                   6515: 
                   6516:   # Check to see that the pipe works correctly.
                   6517:   pipe_works=no
1.1       misha    6518: 
1.8       moko     6519:   rm -f conftest*
                   6520:   cat > conftest.$ac_ext <<_LT_EOF
                   6521: #ifdef __cplusplus
                   6522: extern "C" {
                   6523: #endif
                   6524: char nm_test_var;
                   6525: void nm_test_func(void);
                   6526: void nm_test_func(void){}
                   6527: #ifdef __cplusplus
1.1       misha    6528: }
1.8       moko     6529: #endif
                   6530: int main(){nm_test_var='a';nm_test_func();return(0);}
                   6531: _LT_EOF
                   6532: 
1.22      moko     6533:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.8       moko     6534:   (eval $ac_compile) 2>&5
1.1       misha    6535:   ac_status=$?
1.22      moko     6536:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6537:   test $ac_status = 0; }; then
1.8       moko     6538:     # Now try to grab the symbols.
                   6539:     nlist=conftest.nm
1.22      moko     6540:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
1.8       moko     6541:   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
1.1       misha    6542:   ac_status=$?
1.22      moko     6543:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6544:   test $ac_status = 0; } && test -s "$nlist"; then
1.8       moko     6545:       # Try sorting and uniquifying the output.
                   6546:       if sort "$nlist" | uniq > "$nlist"T; then
                   6547:        mv -f "$nlist"T "$nlist"
                   6548:       else
                   6549:        rm -f "$nlist"T
                   6550:       fi
                   6551: 
                   6552:       # Make sure that we snagged all the symbols we need.
                   6553:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
                   6554:        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
                   6555:          cat <<_LT_EOF > conftest.$ac_ext
                   6556: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
                   6557: #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
                   6558: /* DATA imports from DLLs on WIN32 con't be const, because runtime
                   6559:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
                   6560: # define LT_DLSYM_CONST
                   6561: #elif defined(__osf__)
                   6562: /* This system does not cope well with relocations in const data.  */
                   6563: # define LT_DLSYM_CONST
                   6564: #else
                   6565: # define LT_DLSYM_CONST const
                   6566: #endif
                   6567: 
                   6568: #ifdef __cplusplus
                   6569: extern "C" {
                   6570: #endif
                   6571: 
                   6572: _LT_EOF
                   6573:          # Now generate the symbol file.
                   6574:          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
                   6575: 
                   6576:          cat <<_LT_EOF >> conftest.$ac_ext
                   6577: 
                   6578: /* The mapping between symbol names and symbols.  */
                   6579: LT_DLSYM_CONST struct {
                   6580:   const char *name;
                   6581:   void       *address;
                   6582: }
                   6583: lt__PROGRAM__LTX_preloaded_symbols[] =
                   6584: {
                   6585:   { "@PROGRAM@", (void *) 0 },
                   6586: _LT_EOF
                   6587:          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
                   6588:          cat <<\_LT_EOF >> conftest.$ac_ext
                   6589:   {0, (void *) 0}
                   6590: };
                   6591: 
                   6592: /* This works around a problem in FreeBSD linker */
                   6593: #ifdef FREEBSD_WORKAROUND
                   6594: static const void *lt_preloaded_setup() {
                   6595:   return lt__PROGRAM__LTX_preloaded_symbols;
                   6596: }
                   6597: #endif
                   6598: 
                   6599: #ifdef __cplusplus
                   6600: }
                   6601: #endif
                   6602: _LT_EOF
                   6603:          # Now try linking the two files.
                   6604:          mv conftest.$ac_objext conftstm.$ac_objext
                   6605:          lt_globsym_save_LIBS=$LIBS
                   6606:          lt_globsym_save_CFLAGS=$CFLAGS
                   6607:          LIBS="conftstm.$ac_objext"
                   6608:          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
1.22      moko     6609:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.8       moko     6610:   (eval $ac_link) 2>&5
1.1       misha    6611:   ac_status=$?
1.22      moko     6612:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6613:   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
1.8       moko     6614:            pipe_works=yes
                   6615:          fi
                   6616:          LIBS=$lt_globsym_save_LIBS
                   6617:          CFLAGS=$lt_globsym_save_CFLAGS
                   6618:        else
                   6619:          echo "cannot find nm_test_func in $nlist" >&5
                   6620:        fi
                   6621:       else
                   6622:        echo "cannot find nm_test_var in $nlist" >&5
                   6623:       fi
                   6624:     else
                   6625:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   6626:     fi
                   6627:   else
                   6628:     echo "$progname: failed program was:" >&5
                   6629:     cat conftest.$ac_ext >&5
                   6630:   fi
                   6631:   rm -rf conftest* conftst*
                   6632: 
                   6633:   # Do not use the global_symbol_pipe unless it works.
                   6634:   if test "$pipe_works" = yes; then
                   6635:     break
                   6636:   else
                   6637:     lt_cv_sys_global_symbol_pipe=
                   6638:   fi
                   6639: done
                   6640: 
                   6641: fi
                   6642: 
                   6643: if test -z "$lt_cv_sys_global_symbol_pipe"; then
                   6644:   lt_cv_sys_global_symbol_to_cdecl=
                   6645: fi
                   6646: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
1.22      moko     6647:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
                   6648: $as_echo "failed" >&6; }
1.1       misha    6649: else
1.22      moko     6650:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
                   6651: $as_echo "ok" >&6; }
1.8       moko     6652: fi
1.1       misha    6653: 
1.8       moko     6654: # Response file support.
                   6655: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   6656:   nm_file_list_spec='@'
                   6657: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
                   6658:   nm_file_list_spec='@'
1.1       misha    6659: fi
                   6660: 
                   6661: 
                   6662: 
                   6663: 
                   6664: 
                   6665: 
                   6666: 
                   6667: 
                   6668: 
                   6669: 
                   6670: 
                   6671: 
                   6672: 
                   6673: 
                   6674: 
                   6675: 
                   6676: 
                   6677: 
                   6678: 
                   6679: 
                   6680: 
1.8       moko     6681: 
                   6682: 
                   6683: 
                   6684: 
                   6685: 
                   6686: 
1.22      moko     6687: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
                   6688: $as_echo_n "checking for sysroot... " >&6; }
1.8       moko     6689: 
1.22      moko     6690: # Check whether --with-sysroot was given.
                   6691: if test "${with_sysroot+set}" = set; then :
                   6692:   withval=$with_sysroot;
1.1       misha    6693: else
1.8       moko     6694:   with_sysroot=no
1.22      moko     6695: fi
                   6696: 
1.1       misha    6697: 
1.8       moko     6698: lt_sysroot=
                   6699: case ${with_sysroot} in #(
                   6700:  yes)
                   6701:    if test "$GCC" = yes; then
                   6702:      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
                   6703:    fi
                   6704:    ;; #(
                   6705:  /*)
                   6706:    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
                   6707:    ;; #(
                   6708:  no|'')
                   6709:    ;; #(
                   6710:  *)
1.22      moko     6711:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
                   6712: $as_echo "${with_sysroot}" >&6; }
                   6713:    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
1.8       moko     6714:    ;;
                   6715: esac
                   6716: 
1.22      moko     6717:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
                   6718: $as_echo "${lt_sysroot:-no}" >&6; }
1.8       moko     6719: 
                   6720: 
                   6721: 
                   6722: 
                   6723: 
1.22      moko     6724: # Check whether --enable-libtool-lock was given.
                   6725: if test "${enable_libtool_lock+set}" = set; then :
                   6726:   enableval=$enable_libtool_lock;
                   6727: fi
1.1       misha    6728: 
1.8       moko     6729: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
1.1       misha    6730: 
1.8       moko     6731: # Some flags need to be propagated to the compiler or linker for good
                   6732: # libtool support.
                   6733: case $host in
                   6734: ia64-*-hpux*)
                   6735:   # Find out which ABI we are using.
                   6736:   echo 'int i;' > conftest.$ac_ext
1.22      moko     6737:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.8       moko     6738:   (eval $ac_compile) 2>&5
                   6739:   ac_status=$?
1.22      moko     6740:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6741:   test $ac_status = 0; }; then
1.8       moko     6742:     case `/usr/bin/file conftest.$ac_objext` in
                   6743:       *ELF-32*)
                   6744:        HPUX_IA64_MODE="32"
                   6745:        ;;
                   6746:       *ELF-64*)
                   6747:        HPUX_IA64_MODE="64"
                   6748:        ;;
1.1       misha    6749:     esac
                   6750:   fi
1.8       moko     6751:   rm -rf conftest*
                   6752:   ;;
                   6753: *-*-irix6*)
                   6754:   # Find out which ABI we are using.
                   6755:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
1.22      moko     6756:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.8       moko     6757:   (eval $ac_compile) 2>&5
1.1       misha    6758:   ac_status=$?
1.22      moko     6759:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6760:   test $ac_status = 0; }; then
1.8       moko     6761:     if test "$lt_cv_prog_gnu_ld" = yes; then
                   6762:       case `/usr/bin/file conftest.$ac_objext` in
                   6763:        *32-bit*)
                   6764:          LD="${LD-ld} -melf32bsmip"
                   6765:          ;;
                   6766:        *N32*)
                   6767:          LD="${LD-ld} -melf32bmipn32"
                   6768:          ;;
                   6769:        *64-bit*)
                   6770:          LD="${LD-ld} -melf64bmip"
                   6771:        ;;
                   6772:       esac
                   6773:     else
                   6774:       case `/usr/bin/file conftest.$ac_objext` in
                   6775:        *32-bit*)
                   6776:          LD="${LD-ld} -32"
                   6777:          ;;
                   6778:        *N32*)
                   6779:          LD="${LD-ld} -n32"
                   6780:          ;;
                   6781:        *64-bit*)
                   6782:          LD="${LD-ld} -64"
                   6783:          ;;
                   6784:       esac
                   6785:     fi
                   6786:   fi
                   6787:   rm -rf conftest*
                   6788:   ;;
                   6789: 
                   6790: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
                   6791: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
                   6792:   # Find out which ABI we are using.
                   6793:   echo 'int i;' > conftest.$ac_ext
1.22      moko     6794:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.8       moko     6795:   (eval $ac_compile) 2>&5
1.1       misha    6796:   ac_status=$?
1.22      moko     6797:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6798:   test $ac_status = 0; }; then
1.8       moko     6799:     case `/usr/bin/file conftest.o` in
                   6800:       *32-bit*)
                   6801:        case $host in
                   6802:          x86_64-*kfreebsd*-gnu)
                   6803:            LD="${LD-ld} -m elf_i386_fbsd"
                   6804:            ;;
                   6805:          x86_64-*linux*)
                   6806:            LD="${LD-ld} -m elf_i386"
                   6807:            ;;
                   6808:          ppc64-*linux*|powerpc64-*linux*)
                   6809:            LD="${LD-ld} -m elf32ppclinux"
                   6810:            ;;
                   6811:          s390x-*linux*)
                   6812:            LD="${LD-ld} -m elf_s390"
                   6813:            ;;
                   6814:          sparc64-*linux*)
                   6815:            LD="${LD-ld} -m elf32_sparc"
                   6816:            ;;
                   6817:        esac
1.1       misha    6818:        ;;
1.8       moko     6819:       *64-bit*)
                   6820:        case $host in
                   6821:          x86_64-*kfreebsd*-gnu)
                   6822:            LD="${LD-ld} -m elf_x86_64_fbsd"
                   6823:            ;;
                   6824:          x86_64-*linux*)
                   6825:            LD="${LD-ld} -m elf_x86_64"
                   6826:            ;;
                   6827:          ppc*-*linux*|powerpc*-*linux*)
                   6828:            LD="${LD-ld} -m elf64ppc"
                   6829:            ;;
                   6830:          s390*-*linux*|s390*-*tpf*)
                   6831:            LD="${LD-ld} -m elf64_s390"
                   6832:            ;;
                   6833:          sparc*-*linux*)
                   6834:            LD="${LD-ld} -m elf64_sparc"
                   6835:            ;;
                   6836:        esac
1.1       misha    6837:        ;;
1.8       moko     6838:     esac
1.1       misha    6839:   fi
1.8       moko     6840:   rm -rf conftest*
                   6841:   ;;
1.1       misha    6842: 
1.8       moko     6843: *-*-sco3.2v5*)
                   6844:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
                   6845:   SAVE_CFLAGS="$CFLAGS"
                   6846:   CFLAGS="$CFLAGS -belf"
1.22      moko     6847:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
                   6848: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
                   6849: if ${lt_cv_cc_needs_belf+:} false; then :
                   6850:   $as_echo_n "(cached) " >&6
1.1       misha    6851: else
1.8       moko     6852:   ac_ext=c
                   6853: ac_cpp='$CPP $CPPFLAGS'
                   6854: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   6855: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   6856: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   6857: 
1.22      moko     6858:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misha    6859: /* end confdefs.h.  */
                   6860: 
                   6861: int
                   6862: main ()
                   6863: {
                   6864: 
                   6865:   ;
                   6866:   return 0;
                   6867: }
                   6868: _ACEOF
1.22      moko     6869: if ac_fn_c_try_link "$LINENO"; then :
1.8       moko     6870:   lt_cv_cc_needs_belf=yes
1.1       misha    6871: else
1.22      moko     6872:   lt_cv_cc_needs_belf=no
1.1       misha    6873: fi
1.22      moko     6874: rm -f core conftest.err conftest.$ac_objext \
                   6875:     conftest$ac_exeext conftest.$ac_ext
1.8       moko     6876:      ac_ext=c
                   6877: ac_cpp='$CPP $CPPFLAGS'
                   6878: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   6879: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   6880: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misha    6881: 
                   6882: fi
1.22      moko     6883: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
                   6884: $as_echo "$lt_cv_cc_needs_belf" >&6; }
1.8       moko     6885:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
                   6886:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
                   6887:     CFLAGS="$SAVE_CFLAGS"
                   6888:   fi
                   6889:   ;;
                   6890: *-*solaris*)
                   6891:   # Find out which ABI we are using.
                   6892:   echo 'int i;' > conftest.$ac_ext
1.22      moko     6893:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.8       moko     6894:   (eval $ac_compile) 2>&5
                   6895:   ac_status=$?
1.22      moko     6896:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6897:   test $ac_status = 0; }; then
1.8       moko     6898:     case `/usr/bin/file conftest.o` in
                   6899:     *64-bit*)
                   6900:       case $lt_cv_prog_gnu_ld in
                   6901:       yes*)
                   6902:         case $host in
                   6903:         i?86-*-solaris*)
                   6904:           LD="${LD-ld} -m elf_x86_64"
                   6905:           ;;
                   6906:         sparc*-*-solaris*)
                   6907:           LD="${LD-ld} -m elf64_sparc"
                   6908:           ;;
                   6909:         esac
                   6910:         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
                   6911:         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
                   6912:           LD="${LD-ld}_sol2"
                   6913:         fi
                   6914:         ;;
                   6915:       *)
                   6916:        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
                   6917:          LD="${LD-ld} -64"
                   6918:        fi
                   6919:        ;;
                   6920:       esac
                   6921:       ;;
                   6922:     esac
                   6923:   fi
                   6924:   rm -rf conftest*
                   6925:   ;;
                   6926: esac
1.1       misha    6927: 
1.8       moko     6928: need_locks="$enable_libtool_lock"
1.1       misha    6929: 
1.8       moko     6930: if test -n "$ac_tool_prefix"; then
                   6931:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
                   6932: set dummy ${ac_tool_prefix}mt; ac_word=$2
1.22      moko     6933: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6934: $as_echo_n "checking for $ac_word... " >&6; }
                   6935: if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
                   6936:   $as_echo_n "(cached) " >&6
1.1       misha    6937: else
1.8       moko     6938:   if test -n "$MANIFEST_TOOL"; then
                   6939:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
                   6940: else
                   6941: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6942: for as_dir in $PATH
                   6943: do
                   6944:   IFS=$as_save_IFS
                   6945:   test -z "$as_dir" && as_dir=.
1.22      moko     6946:     for ac_exec_ext in '' $ac_executable_extensions; do
1.25      moko     6947:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     6948:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
1.22      moko     6949:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     6950:     break 2
                   6951:   fi
                   6952: done
1.22      moko     6953:   done
                   6954: IFS=$as_save_IFS
1.1       misha    6955: 
1.8       moko     6956: fi
                   6957: fi
                   6958: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
                   6959: if test -n "$MANIFEST_TOOL"; then
1.22      moko     6960:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
                   6961: $as_echo "$MANIFEST_TOOL" >&6; }
1.1       misha    6962: else
1.22      moko     6963:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6964: $as_echo "no" >&6; }
1.1       misha    6965: fi
                   6966: 
1.22      moko     6967: 
1.1       misha    6968: fi
1.8       moko     6969: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
                   6970:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
                   6971:   # Extract the first word of "mt", so it can be a program name with args.
                   6972: set dummy mt; ac_word=$2
1.22      moko     6973: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6974: $as_echo_n "checking for $ac_word... " >&6; }
                   6975: if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
                   6976:   $as_echo_n "(cached) " >&6
1.8       moko     6977: else
                   6978:   if test -n "$ac_ct_MANIFEST_TOOL"; then
                   6979:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
                   6980: else
                   6981: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6982: for as_dir in $PATH
                   6983: do
                   6984:   IFS=$as_save_IFS
                   6985:   test -z "$as_dir" && as_dir=.
1.22      moko     6986:     for ac_exec_ext in '' $ac_executable_extensions; do
1.25      moko     6987:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     6988:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
1.22      moko     6989:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     6990:     break 2
                   6991:   fi
                   6992: done
1.22      moko     6993:   done
                   6994: IFS=$as_save_IFS
1.1       misha    6995: 
1.8       moko     6996: fi
                   6997: fi
                   6998: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
                   6999: if test -n "$ac_ct_MANIFEST_TOOL"; then
1.22      moko     7000:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
                   7001: $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
1.8       moko     7002: else
1.22      moko     7003:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7004: $as_echo "no" >&6; }
1.8       moko     7005: fi
                   7006: 
1.22      moko     7007:   if test "x$ac_ct_MANIFEST_TOOL" = x; then
                   7008:     MANIFEST_TOOL=":"
                   7009:   else
                   7010:     case $cross_compiling:$ac_tool_warned in
                   7011: yes:)
                   7012: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7013: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7014: ac_tool_warned=yes ;;
                   7015: esac
                   7016:     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
                   7017:   fi
1.8       moko     7018: else
                   7019:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
                   7020: fi
1.1       misha    7021: 
1.8       moko     7022: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
1.22      moko     7023: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
                   7024: $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
                   7025: if ${lt_cv_path_mainfest_tool+:} false; then :
                   7026:   $as_echo_n "(cached) " >&6
1.1       misha    7027: else
1.8       moko     7028:   lt_cv_path_mainfest_tool=no
                   7029:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
                   7030:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
                   7031:   cat conftest.err >&5
                   7032:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
                   7033:     lt_cv_path_mainfest_tool=yes
                   7034:   fi
                   7035:   rm -f conftest*
                   7036: fi
1.22      moko     7037: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
                   7038: $as_echo "$lt_cv_path_mainfest_tool" >&6; }
1.8       moko     7039: if test "x$lt_cv_path_mainfest_tool" != xyes; then
                   7040:   MANIFEST_TOOL=:
                   7041: fi
                   7042: 
                   7043: 
                   7044: 
1.1       misha    7045: 
                   7046: 
                   7047: 
1.8       moko     7048:   case $host_os in
                   7049:     rhapsody* | darwin*)
                   7050:     if test -n "$ac_tool_prefix"; then
                   7051:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
                   7052: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
1.22      moko     7053: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7054: $as_echo_n "checking for $ac_word... " >&6; }
                   7055: if ${ac_cv_prog_DSYMUTIL+:} false; then :
                   7056:   $as_echo_n "(cached) " >&6
1.1       misha    7057: else
1.8       moko     7058:   if test -n "$DSYMUTIL"; then
                   7059:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
                   7060: else
                   7061: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7062: for as_dir in $PATH
                   7063: do
                   7064:   IFS=$as_save_IFS
                   7065:   test -z "$as_dir" && as_dir=.
1.22      moko     7066:     for ac_exec_ext in '' $ac_executable_extensions; do
1.25      moko     7067:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     7068:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
1.22      moko     7069:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     7070:     break 2
                   7071:   fi
                   7072: done
1.22      moko     7073:   done
                   7074: IFS=$as_save_IFS
1.1       misha    7075: 
                   7076: fi
1.8       moko     7077: fi
                   7078: DSYMUTIL=$ac_cv_prog_DSYMUTIL
                   7079: if test -n "$DSYMUTIL"; then
1.22      moko     7080:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
                   7081: $as_echo "$DSYMUTIL" >&6; }
1.8       moko     7082: else
1.22      moko     7083:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7084: $as_echo "no" >&6; }
1.8       moko     7085: fi
1.1       misha    7086: 
1.22      moko     7087: 
1.1       misha    7088: fi
1.8       moko     7089: if test -z "$ac_cv_prog_DSYMUTIL"; then
                   7090:   ac_ct_DSYMUTIL=$DSYMUTIL
                   7091:   # Extract the first word of "dsymutil", so it can be a program name with args.
                   7092: set dummy dsymutil; ac_word=$2
1.22      moko     7093: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7094: $as_echo_n "checking for $ac_word... " >&6; }
                   7095: if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
                   7096:   $as_echo_n "(cached) " >&6
1.8       moko     7097: else
                   7098:   if test -n "$ac_ct_DSYMUTIL"; then
                   7099:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
                   7100: else
                   7101: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7102: for as_dir in $PATH
                   7103: do
                   7104:   IFS=$as_save_IFS
                   7105:   test -z "$as_dir" && as_dir=.
1.22      moko     7106:     for ac_exec_ext in '' $ac_executable_extensions; do
1.25      moko     7107:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     7108:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
1.22      moko     7109:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     7110:     break 2
                   7111:   fi
                   7112: done
1.22      moko     7113:   done
                   7114: IFS=$as_save_IFS
1.1       misha    7115: 
1.8       moko     7116: fi
                   7117: fi
                   7118: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
                   7119: if test -n "$ac_ct_DSYMUTIL"; then
1.22      moko     7120:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
                   7121: $as_echo "$ac_ct_DSYMUTIL" >&6; }
1.1       misha    7122: else
1.22      moko     7123:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7124: $as_echo "no" >&6; }
1.1       misha    7125: fi
                   7126: 
1.22      moko     7127:   if test "x$ac_ct_DSYMUTIL" = x; then
                   7128:     DSYMUTIL=":"
                   7129:   else
                   7130:     case $cross_compiling:$ac_tool_warned in
                   7131: yes:)
                   7132: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7133: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7134: ac_tool_warned=yes ;;
                   7135: esac
                   7136:     DSYMUTIL=$ac_ct_DSYMUTIL
                   7137:   fi
1.1       misha    7138: else
1.8       moko     7139:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
1.1       misha    7140: fi
                   7141: 
1.8       moko     7142:     if test -n "$ac_tool_prefix"; then
                   7143:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
                   7144: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
1.22      moko     7145: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7146: $as_echo_n "checking for $ac_word... " >&6; }
                   7147: if ${ac_cv_prog_NMEDIT+:} false; then :
                   7148:   $as_echo_n "(cached) " >&6
1.8       moko     7149: else
                   7150:   if test -n "$NMEDIT"; then
                   7151:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
                   7152: else
                   7153: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7154: for as_dir in $PATH
                   7155: do
                   7156:   IFS=$as_save_IFS
                   7157:   test -z "$as_dir" && as_dir=.
1.22      moko     7158:     for ac_exec_ext in '' $ac_executable_extensions; do
1.25      moko     7159:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     7160:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
1.22      moko     7161:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     7162:     break 2
                   7163:   fi
                   7164: done
1.22      moko     7165:   done
                   7166: IFS=$as_save_IFS
1.1       misha    7167: 
1.8       moko     7168: fi
                   7169: fi
                   7170: NMEDIT=$ac_cv_prog_NMEDIT
                   7171: if test -n "$NMEDIT"; then
1.22      moko     7172:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
                   7173: $as_echo "$NMEDIT" >&6; }
1.8       moko     7174: else
1.22      moko     7175:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7176: $as_echo "no" >&6; }
1.8       moko     7177: fi
1.1       misha    7178: 
1.22      moko     7179: 
1.8       moko     7180: fi
                   7181: if test -z "$ac_cv_prog_NMEDIT"; then
                   7182:   ac_ct_NMEDIT=$NMEDIT
                   7183:   # Extract the first word of "nmedit", so it can be a program name with args.
                   7184: set dummy nmedit; ac_word=$2
1.22      moko     7185: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7186: $as_echo_n "checking for $ac_word... " >&6; }
                   7187: if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
                   7188:   $as_echo_n "(cached) " >&6
1.8       moko     7189: else
                   7190:   if test -n "$ac_ct_NMEDIT"; then
                   7191:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
1.1       misha    7192: else
1.8       moko     7193: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7194: for as_dir in $PATH
                   7195: do
                   7196:   IFS=$as_save_IFS
                   7197:   test -z "$as_dir" && as_dir=.
1.22      moko     7198:     for ac_exec_ext in '' $ac_executable_extensions; do
1.25      moko     7199:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     7200:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
1.22      moko     7201:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     7202:     break 2
                   7203:   fi
                   7204: done
1.22      moko     7205:   done
                   7206: IFS=$as_save_IFS
1.1       misha    7207: 
1.8       moko     7208: fi
                   7209: fi
                   7210: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
                   7211: if test -n "$ac_ct_NMEDIT"; then
1.22      moko     7212:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
                   7213: $as_echo "$ac_ct_NMEDIT" >&6; }
1.8       moko     7214: else
1.22      moko     7215:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7216: $as_echo "no" >&6; }
1.1       misha    7217: fi
                   7218: 
1.22      moko     7219:   if test "x$ac_ct_NMEDIT" = x; then
                   7220:     NMEDIT=":"
                   7221:   else
                   7222:     case $cross_compiling:$ac_tool_warned in
                   7223: yes:)
                   7224: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7225: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7226: ac_tool_warned=yes ;;
                   7227: esac
                   7228:     NMEDIT=$ac_ct_NMEDIT
                   7229:   fi
1.8       moko     7230: else
                   7231:   NMEDIT="$ac_cv_prog_NMEDIT"
1.1       misha    7232: fi
                   7233: 
1.8       moko     7234:     if test -n "$ac_tool_prefix"; then
                   7235:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
                   7236: set dummy ${ac_tool_prefix}lipo; ac_word=$2
1.22      moko     7237: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7238: $as_echo_n "checking for $ac_word... " >&6; }
                   7239: if ${ac_cv_prog_LIPO+:} false; then :
                   7240:   $as_echo_n "(cached) " >&6
1.8       moko     7241: else
                   7242:   if test -n "$LIPO"; then
                   7243:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
                   7244: else
                   7245: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7246: for as_dir in $PATH
                   7247: do
                   7248:   IFS=$as_save_IFS
                   7249:   test -z "$as_dir" && as_dir=.
1.22      moko     7250:     for ac_exec_ext in '' $ac_executable_extensions; do
1.25      moko     7251:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     7252:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
1.22      moko     7253:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     7254:     break 2
                   7255:   fi
                   7256: done
1.22      moko     7257:   done
                   7258: IFS=$as_save_IFS
1.1       misha    7259: 
1.8       moko     7260: fi
                   7261: fi
                   7262: LIPO=$ac_cv_prog_LIPO
                   7263: if test -n "$LIPO"; then
1.22      moko     7264:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
                   7265: $as_echo "$LIPO" >&6; }
1.8       moko     7266: else
1.22      moko     7267:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7268: $as_echo "no" >&6; }
1.8       moko     7269: fi
1.1       misha    7270: 
1.22      moko     7271: 
1.8       moko     7272: fi
                   7273: if test -z "$ac_cv_prog_LIPO"; then
                   7274:   ac_ct_LIPO=$LIPO
                   7275:   # Extract the first word of "lipo", so it can be a program name with args.
                   7276: set dummy lipo; ac_word=$2
1.22      moko     7277: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7278: $as_echo_n "checking for $ac_word... " >&6; }
                   7279: if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
                   7280:   $as_echo_n "(cached) " >&6
1.8       moko     7281: else
                   7282:   if test -n "$ac_ct_LIPO"; then
                   7283:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
                   7284: else
                   7285: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7286: for as_dir in $PATH
                   7287: do
                   7288:   IFS=$as_save_IFS
                   7289:   test -z "$as_dir" && as_dir=.
1.22      moko     7290:     for ac_exec_ext in '' $ac_executable_extensions; do
1.25      moko     7291:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     7292:     ac_cv_prog_ac_ct_LIPO="lipo"
1.22      moko     7293:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     7294:     break 2
1.1       misha    7295:   fi
1.8       moko     7296: done
1.22      moko     7297:   done
                   7298: IFS=$as_save_IFS
1.8       moko     7299: 
                   7300: fi
                   7301: fi
                   7302: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
                   7303: if test -n "$ac_ct_LIPO"; then
1.22      moko     7304:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
                   7305: $as_echo "$ac_ct_LIPO" >&6; }
1.8       moko     7306: else
1.22      moko     7307:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7308: $as_echo "no" >&6; }
1.8       moko     7309: fi
                   7310: 
1.22      moko     7311:   if test "x$ac_ct_LIPO" = x; then
                   7312:     LIPO=":"
                   7313:   else
                   7314:     case $cross_compiling:$ac_tool_warned in
                   7315: yes:)
                   7316: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7317: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7318: ac_tool_warned=yes ;;
                   7319: esac
                   7320:     LIPO=$ac_ct_LIPO
                   7321:   fi
1.8       moko     7322: else
                   7323:   LIPO="$ac_cv_prog_LIPO"
                   7324: fi
1.1       misha    7325: 
1.8       moko     7326:     if test -n "$ac_tool_prefix"; then
                   7327:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
                   7328: set dummy ${ac_tool_prefix}otool; ac_word=$2
1.22      moko     7329: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7330: $as_echo_n "checking for $ac_word... " >&6; }
                   7331: if ${ac_cv_prog_OTOOL+:} false; then :
                   7332:   $as_echo_n "(cached) " >&6
1.8       moko     7333: else
                   7334:   if test -n "$OTOOL"; then
                   7335:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
                   7336: else
                   7337: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7338: for as_dir in $PATH
                   7339: do
                   7340:   IFS=$as_save_IFS
                   7341:   test -z "$as_dir" && as_dir=.
1.22      moko     7342:     for ac_exec_ext in '' $ac_executable_extensions; do
1.25      moko     7343:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     7344:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
1.22      moko     7345:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     7346:     break 2
                   7347:   fi
                   7348: done
1.22      moko     7349:   done
                   7350: IFS=$as_save_IFS
1.1       misha    7351: 
1.8       moko     7352: fi
                   7353: fi
                   7354: OTOOL=$ac_cv_prog_OTOOL
                   7355: if test -n "$OTOOL"; then
1.22      moko     7356:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
                   7357: $as_echo "$OTOOL" >&6; }
1.8       moko     7358: else
1.22      moko     7359:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7360: $as_echo "no" >&6; }
1.8       moko     7361: fi
1.1       misha    7362: 
1.22      moko     7363: 
1.8       moko     7364: fi
                   7365: if test -z "$ac_cv_prog_OTOOL"; then
                   7366:   ac_ct_OTOOL=$OTOOL
                   7367:   # Extract the first word of "otool", so it can be a program name with args.
                   7368: set dummy otool; ac_word=$2
1.22      moko     7369: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7370: $as_echo_n "checking for $ac_word... " >&6; }
                   7371: if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
                   7372:   $as_echo_n "(cached) " >&6
1.8       moko     7373: else
                   7374:   if test -n "$ac_ct_OTOOL"; then
                   7375:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
                   7376: else
                   7377: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7378: for as_dir in $PATH
                   7379: do
                   7380:   IFS=$as_save_IFS
                   7381:   test -z "$as_dir" && as_dir=.
1.22      moko     7382:     for ac_exec_ext in '' $ac_executable_extensions; do
1.25      moko     7383:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     7384:     ac_cv_prog_ac_ct_OTOOL="otool"
1.22      moko     7385:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     7386:     break 2
                   7387:   fi
                   7388: done
1.22      moko     7389:   done
                   7390: IFS=$as_save_IFS
1.1       misha    7391: 
1.8       moko     7392: fi
                   7393: fi
                   7394: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
                   7395: if test -n "$ac_ct_OTOOL"; then
1.22      moko     7396:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
                   7397: $as_echo "$ac_ct_OTOOL" >&6; }
1.8       moko     7398: else
1.22      moko     7399:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7400: $as_echo "no" >&6; }
1.8       moko     7401: fi
1.1       misha    7402: 
1.22      moko     7403:   if test "x$ac_ct_OTOOL" = x; then
                   7404:     OTOOL=":"
                   7405:   else
                   7406:     case $cross_compiling:$ac_tool_warned in
                   7407: yes:)
                   7408: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7409: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7410: ac_tool_warned=yes ;;
                   7411: esac
                   7412:     OTOOL=$ac_ct_OTOOL
                   7413:   fi
1.8       moko     7414: else
                   7415:   OTOOL="$ac_cv_prog_OTOOL"
                   7416: fi
1.1       misha    7417: 
1.8       moko     7418:     if test -n "$ac_tool_prefix"; then
                   7419:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
                   7420: set dummy ${ac_tool_prefix}otool64; ac_word=$2
1.22      moko     7421: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7422: $as_echo_n "checking for $ac_word... " >&6; }
                   7423: if ${ac_cv_prog_OTOOL64+:} false; then :
                   7424:   $as_echo_n "(cached) " >&6
1.8       moko     7425: else
                   7426:   if test -n "$OTOOL64"; then
                   7427:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
                   7428: else
                   7429: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7430: for as_dir in $PATH
                   7431: do
                   7432:   IFS=$as_save_IFS
                   7433:   test -z "$as_dir" && as_dir=.
1.22      moko     7434:     for ac_exec_ext in '' $ac_executable_extensions; do
1.25      moko     7435:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     7436:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
1.22      moko     7437:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     7438:     break 2
                   7439:   fi
                   7440: done
1.22      moko     7441:   done
                   7442: IFS=$as_save_IFS
1.1       misha    7443: 
1.8       moko     7444: fi
                   7445: fi
                   7446: OTOOL64=$ac_cv_prog_OTOOL64
                   7447: if test -n "$OTOOL64"; then
1.22      moko     7448:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
                   7449: $as_echo "$OTOOL64" >&6; }
1.8       moko     7450: else
1.22      moko     7451:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7452: $as_echo "no" >&6; }
1.8       moko     7453: fi
1.1       misha    7454: 
1.22      moko     7455: 
1.8       moko     7456: fi
                   7457: if test -z "$ac_cv_prog_OTOOL64"; then
                   7458:   ac_ct_OTOOL64=$OTOOL64
                   7459:   # Extract the first word of "otool64", so it can be a program name with args.
                   7460: set dummy otool64; ac_word=$2
1.22      moko     7461: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7462: $as_echo_n "checking for $ac_word... " >&6; }
                   7463: if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
                   7464:   $as_echo_n "(cached) " >&6
1.8       moko     7465: else
                   7466:   if test -n "$ac_ct_OTOOL64"; then
                   7467:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
                   7468: else
                   7469: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7470: for as_dir in $PATH
                   7471: do
                   7472:   IFS=$as_save_IFS
                   7473:   test -z "$as_dir" && as_dir=.
1.22      moko     7474:     for ac_exec_ext in '' $ac_executable_extensions; do
1.25      moko     7475:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     7476:     ac_cv_prog_ac_ct_OTOOL64="otool64"
1.22      moko     7477:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     7478:     break 2
                   7479:   fi
                   7480: done
1.22      moko     7481:   done
                   7482: IFS=$as_save_IFS
1.1       misha    7483: 
1.8       moko     7484: fi
                   7485: fi
                   7486: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
                   7487: if test -n "$ac_ct_OTOOL64"; then
1.22      moko     7488:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
                   7489: $as_echo "$ac_ct_OTOOL64" >&6; }
1.8       moko     7490: else
1.22      moko     7491:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7492: $as_echo "no" >&6; }
1.8       moko     7493: fi
1.1       misha    7494: 
1.22      moko     7495:   if test "x$ac_ct_OTOOL64" = x; then
                   7496:     OTOOL64=":"
                   7497:   else
                   7498:     case $cross_compiling:$ac_tool_warned in
                   7499: yes:)
                   7500: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7501: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7502: ac_tool_warned=yes ;;
                   7503: esac
                   7504:     OTOOL64=$ac_ct_OTOOL64
                   7505:   fi
1.8       moko     7506: else
                   7507:   OTOOL64="$ac_cv_prog_OTOOL64"
                   7508: fi
1.1       misha    7509: 
                   7510: 
                   7511: 
                   7512: 
                   7513: 
                   7514: 
                   7515: 
                   7516: 
                   7517: 
                   7518: 
                   7519: 
                   7520: 
                   7521: 
                   7522: 
                   7523: 
                   7524: 
                   7525: 
                   7526: 
                   7527: 
                   7528: 
                   7529: 
                   7530: 
                   7531: 
                   7532: 
                   7533: 
                   7534: 
                   7535: 
1.22      moko     7536:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
                   7537: $as_echo_n "checking for -single_module linker flag... " >&6; }
                   7538: if ${lt_cv_apple_cc_single_mod+:} false; then :
                   7539:   $as_echo_n "(cached) " >&6
1.8       moko     7540: else
                   7541:   lt_cv_apple_cc_single_mod=no
                   7542:       if test -z "${LT_MULTI_MODULE}"; then
                   7543:        # By default we will add the -single_module flag. You can override
                   7544:        # by either setting the environment variable LT_MULTI_MODULE
                   7545:        # non-empty at configure time, or by adding -multi_module to the
                   7546:        # link flags.
                   7547:        rm -rf libconftest.dylib*
                   7548:        echo "int foo(void){return 1;}" > conftest.c
                   7549:        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   7550: -dynamiclib -Wl,-single_module conftest.c" >&5
                   7551:        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   7552:          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
                   7553:         _lt_result=$?
                   7554:        # If there is a non-empty error log, and "single_module"
                   7555:        # appears in it, assume the flag caused a linker warning
                   7556:         if test -s conftest.err && $GREP single_module conftest.err; then
                   7557:          cat conftest.err >&5
                   7558:        # Otherwise, if the output was created with a 0 exit code from
                   7559:        # the compiler, it worked.
                   7560:        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
                   7561:          lt_cv_apple_cc_single_mod=yes
                   7562:        else
                   7563:          cat conftest.err >&5
                   7564:        fi
                   7565:        rm -rf libconftest.dylib*
                   7566:        rm -f conftest.*
                   7567:       fi
                   7568: fi
1.22      moko     7569: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
                   7570: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
1.1       misha    7571: 
1.22      moko     7572:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
                   7573: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
                   7574: if ${lt_cv_ld_exported_symbols_list+:} false; then :
                   7575:   $as_echo_n "(cached) " >&6
1.8       moko     7576: else
                   7577:   lt_cv_ld_exported_symbols_list=no
                   7578:       save_LDFLAGS=$LDFLAGS
                   7579:       echo "_main" > conftest.sym
                   7580:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
1.22      moko     7581:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.8       moko     7582: /* end confdefs.h.  */
1.1       misha    7583: 
1.8       moko     7584: int
                   7585: main ()
                   7586: {
1.1       misha    7587: 
1.8       moko     7588:   ;
                   7589:   return 0;
                   7590: }
                   7591: _ACEOF
1.22      moko     7592: if ac_fn_c_try_link "$LINENO"; then :
1.8       moko     7593:   lt_cv_ld_exported_symbols_list=yes
                   7594: else
1.22      moko     7595:   lt_cv_ld_exported_symbols_list=no
1.8       moko     7596: fi
1.22      moko     7597: rm -f core conftest.err conftest.$ac_objext \
                   7598:     conftest$ac_exeext conftest.$ac_ext
1.8       moko     7599:        LDFLAGS="$save_LDFLAGS"
1.1       misha    7600: 
1.8       moko     7601: fi
1.22      moko     7602: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
                   7603: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
1.1       misha    7604: 
1.22      moko     7605:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
                   7606: $as_echo_n "checking for -force_load linker flag... " >&6; }
                   7607: if ${lt_cv_ld_force_load+:} false; then :
                   7608:   $as_echo_n "(cached) " >&6
1.8       moko     7609: else
                   7610:   lt_cv_ld_force_load=no
                   7611:       cat > conftest.c << _LT_EOF
                   7612: int forced_loaded() { return 2;}
                   7613: _LT_EOF
                   7614:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
                   7615:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
                   7616:       echo "$AR cru libconftest.a conftest.o" >&5
                   7617:       $AR cru libconftest.a conftest.o 2>&5
                   7618:       echo "$RANLIB libconftest.a" >&5
                   7619:       $RANLIB libconftest.a 2>&5
                   7620:       cat > conftest.c << _LT_EOF
                   7621: int main() { return 0;}
                   7622: _LT_EOF
                   7623:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
                   7624:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
                   7625:       _lt_result=$?
                   7626:       if test -s conftest.err && $GREP force_load conftest.err; then
                   7627:        cat conftest.err >&5
                   7628:       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
                   7629:        lt_cv_ld_force_load=yes
                   7630:       else
                   7631:        cat conftest.err >&5
                   7632:       fi
                   7633:         rm -f conftest.err libconftest.a conftest conftest.c
                   7634:         rm -rf conftest.dSYM
1.1       misha    7635: 
1.8       moko     7636: fi
1.22      moko     7637: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
                   7638: $as_echo "$lt_cv_ld_force_load" >&6; }
1.8       moko     7639:     case $host_os in
                   7640:     rhapsody* | darwin1.[012])
                   7641:       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
                   7642:     darwin1.*)
                   7643:       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   7644:     darwin*) # darwin 5.x on
                   7645:       # if running on 10.5 or later, the deployment target defaults
                   7646:       # to the OS version, if on x86, and 10.4, the deployment
                   7647:       # target defaults to 10.4. Don't you love it?
                   7648:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
                   7649:        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
                   7650:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   7651:        10.[012]*)
                   7652:          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   7653:        10.*)
                   7654:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   7655:       esac
1.1       misha    7656:     ;;
1.8       moko     7657:   esac
                   7658:     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
                   7659:       _lt_dar_single_mod='$single_module'
                   7660:     fi
                   7661:     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
                   7662:       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
                   7663:     else
                   7664:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
1.1       misha    7665:     fi
1.8       moko     7666:     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
                   7667:       _lt_dsymutil='~$DSYMUTIL $lib || :'
1.1       misha    7668:     else
1.8       moko     7669:       _lt_dsymutil=
1.1       misha    7670:     fi
                   7671:     ;;
1.8       moko     7672:   esac
1.1       misha    7673: 
1.8       moko     7674: ac_ext=c
                   7675: ac_cpp='$CPP $CPPFLAGS'
                   7676: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7677: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7678: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.22      moko     7679: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
                   7680: $as_echo_n "checking how to run the C preprocessor... " >&6; }
1.8       moko     7681: # On Suns, sometimes $CPP names a directory.
                   7682: if test -n "$CPP" && test -d "$CPP"; then
                   7683:   CPP=
                   7684: fi
                   7685: if test -z "$CPP"; then
1.22      moko     7686:   if ${ac_cv_prog_CPP+:} false; then :
                   7687:   $as_echo_n "(cached) " >&6
1.8       moko     7688: else
                   7689:       # Double quotes because CPP needs to be expanded
                   7690:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   7691:     do
                   7692:       ac_preproc_ok=false
                   7693: for ac_c_preproc_warn_flag in '' yes
                   7694: do
                   7695:   # Use a header file that comes with gcc, so configuring glibc
                   7696:   # with a fresh cross-compiler works.
                   7697:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   7698:   # <limits.h> exists even on freestanding compilers.
                   7699:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   7700:   # not just through cpp. "Syntax error" is here to catch this case.
1.22      moko     7701:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.8       moko     7702: /* end confdefs.h.  */
                   7703: #ifdef __STDC__
                   7704: # include <limits.h>
                   7705: #else
                   7706: # include <assert.h>
                   7707: #endif
                   7708:                     Syntax error
                   7709: _ACEOF
1.22      moko     7710: if ac_fn_c_try_cpp "$LINENO"; then :
                   7711: 
1.11      moko     7712: else
1.8       moko     7713:   # Broken: fails on valid input.
                   7714: continue
                   7715: fi
1.22      moko     7716: rm -f conftest.err conftest.i conftest.$ac_ext
1.1       misha    7717: 
1.22      moko     7718:   # OK, works on sane cases.  Now check whether nonexistent headers
1.8       moko     7719:   # can be detected and how.
1.22      moko     7720:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.8       moko     7721: /* end confdefs.h.  */
                   7722: #include <ac_nonexistent.h>
                   7723: _ACEOF
1.22      moko     7724: if ac_fn_c_try_cpp "$LINENO"; then :
1.8       moko     7725:   # Broken: success on invalid input.
                   7726: continue
                   7727: else
                   7728:   # Passes both tests.
                   7729: ac_preproc_ok=:
                   7730: break
1.1       misha    7731: fi
1.22      moko     7732: rm -f conftest.err conftest.i conftest.$ac_ext
1.1       misha    7733: 
1.8       moko     7734: done
                   7735: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.22      moko     7736: rm -f conftest.i conftest.err conftest.$ac_ext
                   7737: if $ac_preproc_ok; then :
1.8       moko     7738:   break
1.1       misha    7739: fi
                   7740: 
1.8       moko     7741:     done
                   7742:     ac_cv_prog_CPP=$CPP
1.1       misha    7743: 
1.8       moko     7744: fi
                   7745:   CPP=$ac_cv_prog_CPP
                   7746: else
                   7747:   ac_cv_prog_CPP=$CPP
                   7748: fi
1.22      moko     7749: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
                   7750: $as_echo "$CPP" >&6; }
1.8       moko     7751: ac_preproc_ok=false
                   7752: for ac_c_preproc_warn_flag in '' yes
                   7753: do
                   7754:   # Use a header file that comes with gcc, so configuring glibc
                   7755:   # with a fresh cross-compiler works.
                   7756:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   7757:   # <limits.h> exists even on freestanding compilers.
                   7758:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   7759:   # not just through cpp. "Syntax error" is here to catch this case.
1.22      moko     7760:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.8       moko     7761: /* end confdefs.h.  */
                   7762: #ifdef __STDC__
                   7763: # include <limits.h>
                   7764: #else
                   7765: # include <assert.h>
                   7766: #endif
                   7767:                     Syntax error
                   7768: _ACEOF
1.22      moko     7769: if ac_fn_c_try_cpp "$LINENO"; then :
                   7770: 
1.11      moko     7771: else
1.8       moko     7772:   # Broken: fails on valid input.
                   7773: continue
                   7774: fi
1.22      moko     7775: rm -f conftest.err conftest.i conftest.$ac_ext
1.1       misha    7776: 
1.22      moko     7777:   # OK, works on sane cases.  Now check whether nonexistent headers
1.8       moko     7778:   # can be detected and how.
1.22      moko     7779:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.8       moko     7780: /* end confdefs.h.  */
                   7781: #include <ac_nonexistent.h>
                   7782: _ACEOF
1.22      moko     7783: if ac_fn_c_try_cpp "$LINENO"; then :
1.8       moko     7784:   # Broken: success on invalid input.
                   7785: continue
                   7786: else
                   7787:   # Passes both tests.
                   7788: ac_preproc_ok=:
                   7789: break
                   7790: fi
1.22      moko     7791: rm -f conftest.err conftest.i conftest.$ac_ext
1.8       moko     7792: 
                   7793: done
                   7794: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.22      moko     7795: rm -f conftest.i conftest.err conftest.$ac_ext
                   7796: if $ac_preproc_ok; then :
                   7797: 
1.8       moko     7798: else
1.22      moko     7799:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   7800: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   7801: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
                   7802: See \`config.log' for more details" "$LINENO" 5; }
1.8       moko     7803: fi
1.1       misha    7804: 
1.8       moko     7805: ac_ext=c
                   7806: ac_cpp='$CPP $CPPFLAGS'
                   7807: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7808: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7809: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misha    7810: 
                   7811: 
1.22      moko     7812: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   7813: $as_echo_n "checking for ANSI C header files... " >&6; }
                   7814: if ${ac_cv_header_stdc+:} false; then :
                   7815:   $as_echo_n "(cached) " >&6
1.8       moko     7816: else
1.22      moko     7817:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.8       moko     7818: /* end confdefs.h.  */
                   7819: #include <stdlib.h>
                   7820: #include <stdarg.h>
                   7821: #include <string.h>
                   7822: #include <float.h>
1.1       misha    7823: 
1.8       moko     7824: int
                   7825: main ()
                   7826: {
1.1       misha    7827: 
1.8       moko     7828:   ;
                   7829:   return 0;
                   7830: }
                   7831: _ACEOF
1.22      moko     7832: if ac_fn_c_try_compile "$LINENO"; then :
1.8       moko     7833:   ac_cv_header_stdc=yes
                   7834: else
1.22      moko     7835:   ac_cv_header_stdc=no
1.8       moko     7836: fi
1.22      moko     7837: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       misha    7838: 
1.8       moko     7839: if test $ac_cv_header_stdc = yes; then
                   7840:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.22      moko     7841:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.8       moko     7842: /* end confdefs.h.  */
                   7843: #include <string.h>
                   7844: 
                   7845: _ACEOF
                   7846: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.22      moko     7847:   $EGREP "memchr" >/dev/null 2>&1; then :
                   7848: 
1.8       moko     7849: else
                   7850:   ac_cv_header_stdc=no
                   7851: fi
                   7852: rm -f conftest*
                   7853: 
                   7854: fi
                   7855: 
                   7856: if test $ac_cv_header_stdc = yes; then
                   7857:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.22      moko     7858:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.8       moko     7859: /* end confdefs.h.  */
                   7860: #include <stdlib.h>
                   7861: 
                   7862: _ACEOF
                   7863: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.22      moko     7864:   $EGREP "free" >/dev/null 2>&1; then :
                   7865: 
1.8       moko     7866: else
                   7867:   ac_cv_header_stdc=no
                   7868: fi
                   7869: rm -f conftest*
                   7870: 
                   7871: fi
1.1       misha    7872: 
1.8       moko     7873: if test $ac_cv_header_stdc = yes; then
                   7874:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.22      moko     7875:   if test "$cross_compiling" = yes; then :
1.8       moko     7876:   :
                   7877: else
1.22      moko     7878:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.8       moko     7879: /* end confdefs.h.  */
                   7880: #include <ctype.h>
1.22      moko     7881: #include <stdlib.h>
1.8       moko     7882: #if ((' ' & 0x0FF) == 0x020)
                   7883: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   7884: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   7885: #else
                   7886: # define ISLOWER(c) \
                   7887:                   (('a' <= (c) && (c) <= 'i') \
                   7888:                     || ('j' <= (c) && (c) <= 'r') \
                   7889:                     || ('s' <= (c) && (c) <= 'z'))
                   7890: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   7891: #endif
1.1       misha    7892: 
1.8       moko     7893: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   7894: int
                   7895: main ()
                   7896: {
                   7897:   int i;
                   7898:   for (i = 0; i < 256; i++)
                   7899:     if (XOR (islower (i), ISLOWER (i))
                   7900:        || toupper (i) != TOUPPER (i))
1.22      moko     7901:       return 2;
                   7902:   return 0;
1.8       moko     7903: }
                   7904: _ACEOF
1.22      moko     7905: if ac_fn_c_try_run "$LINENO"; then :
                   7906: 
1.11      moko     7907: else
1.22      moko     7908:   ac_cv_header_stdc=no
1.8       moko     7909: fi
1.22      moko     7910: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   7911:   conftest.$ac_objext conftest.beam conftest.$ac_ext
1.8       moko     7912: fi
1.22      moko     7913: 
1.8       moko     7914: fi
                   7915: fi
1.22      moko     7916: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   7917: $as_echo "$ac_cv_header_stdc" >&6; }
1.8       moko     7918: if test $ac_cv_header_stdc = yes; then
1.1       misha    7919: 
1.22      moko     7920: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
1.1       misha    7921: 
1.8       moko     7922: fi
1.1       misha    7923: 
1.8       moko     7924: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
1.11      moko     7925: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   7926:                  inttypes.h stdint.h unistd.h
1.22      moko     7927: do :
                   7928:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   7929: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   7930: "
                   7931: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1.11      moko     7932:   cat >>confdefs.h <<_ACEOF
1.22      moko     7933: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.11      moko     7934: _ACEOF
                   7935: 
                   7936: fi
                   7937: 
                   7938: done
                   7939: 
                   7940: 
                   7941: for ac_header in dlfcn.h
1.22      moko     7942: do :
                   7943:   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
                   7944: "
                   7945: if test "x$ac_cv_header_dlfcn_h" = xyes; then :
1.11      moko     7946:   cat >>confdefs.h <<_ACEOF
1.22      moko     7947: #define HAVE_DLFCN_H 1
1.11      moko     7948: _ACEOF
                   7949: 
                   7950: fi
                   7951: 
                   7952: done
1.1       misha    7953: 
                   7954: 
                   7955: 
1.8       moko     7956: 
                   7957: func_stripname_cnf ()
1.1       misha    7958: {
1.8       moko     7959:   case ${2} in
                   7960:   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
                   7961:   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
                   7962:   esac
                   7963: } # func_stripname_cnf
                   7964: 
                   7965: 
                   7966: 
                   7967: 
                   7968: 
                   7969: # Set options
1.22      moko     7970: # Check whether --enable-static was given.
                   7971: if test "${enable_static+set}" = set; then :
                   7972:   enableval=$enable_static; p=${PACKAGE-default}
1.20      moko     7973:     case $enableval in
                   7974:     yes) enable_static=yes ;;
                   7975:     no) enable_static=no ;;
                   7976:     *)
                   7977:      enable_static=no
                   7978:       # Look at the argument we got.  We use all the common list separators.
                   7979:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   7980:       for pkg in $enableval; do
                   7981:        IFS="$lt_save_ifs"
                   7982:        if test "X$pkg" = "X$p"; then
                   7983:          enable_static=yes
                   7984:        fi
                   7985:       done
                   7986:       IFS="$lt_save_ifs"
                   7987:       ;;
                   7988:     esac
                   7989: else
                   7990:   enable_static=no
1.22      moko     7991: fi
                   7992: 
1.20      moko     7993: 
                   7994: 
                   7995: 
                   7996: 
                   7997: 
                   7998: 
1.8       moko     7999: enable_dlopen=yes
1.13      moko     8000: enable_win32_dll=yes
1.8       moko     8001: 
1.13      moko     8002: case $host in
                   8003: *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
                   8004:   if test -n "$ac_tool_prefix"; then
                   8005:   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
                   8006: set dummy ${ac_tool_prefix}as; ac_word=$2
1.22      moko     8007: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8008: $as_echo_n "checking for $ac_word... " >&6; }
                   8009: if ${ac_cv_prog_AS+:} false; then :
                   8010:   $as_echo_n "(cached) " >&6
1.13      moko     8011: else
                   8012:   if test -n "$AS"; then
                   8013:   ac_cv_prog_AS="$AS" # Let the user override the test.
                   8014: else
                   8015: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8016: for as_dir in $PATH
                   8017: do
                   8018:   IFS=$as_save_IFS
                   8019:   test -z "$as_dir" && as_dir=.
1.22      moko     8020:     for ac_exec_ext in '' $ac_executable_extensions; do
1.25      moko     8021:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.13      moko     8022:     ac_cv_prog_AS="${ac_tool_prefix}as"
1.22      moko     8023:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.13      moko     8024:     break 2
                   8025:   fi
                   8026: done
1.22      moko     8027:   done
                   8028: IFS=$as_save_IFS
1.8       moko     8029: 
1.13      moko     8030: fi
                   8031: fi
                   8032: AS=$ac_cv_prog_AS
                   8033: if test -n "$AS"; then
1.22      moko     8034:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
                   8035: $as_echo "$AS" >&6; }
1.13      moko     8036: else
1.22      moko     8037:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8038: $as_echo "no" >&6; }
1.13      moko     8039: fi
1.8       moko     8040: 
1.22      moko     8041: 
1.13      moko     8042: fi
                   8043: if test -z "$ac_cv_prog_AS"; then
                   8044:   ac_ct_AS=$AS
                   8045:   # Extract the first word of "as", so it can be a program name with args.
                   8046: set dummy as; ac_word=$2
1.22      moko     8047: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8048: $as_echo_n "checking for $ac_word... " >&6; }
                   8049: if ${ac_cv_prog_ac_ct_AS+:} false; then :
                   8050:   $as_echo_n "(cached) " >&6
1.13      moko     8051: else
                   8052:   if test -n "$ac_ct_AS"; then
                   8053:   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
                   8054: else
                   8055: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8056: for as_dir in $PATH
                   8057: do
                   8058:   IFS=$as_save_IFS
                   8059:   test -z "$as_dir" && as_dir=.
1.22      moko     8060:     for ac_exec_ext in '' $ac_executable_extensions; do
1.25      moko     8061:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.13      moko     8062:     ac_cv_prog_ac_ct_AS="as"
1.22      moko     8063:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.13      moko     8064:     break 2
                   8065:   fi
                   8066: done
1.22      moko     8067:   done
                   8068: IFS=$as_save_IFS
1.8       moko     8069: 
1.13      moko     8070: fi
                   8071: fi
                   8072: ac_ct_AS=$ac_cv_prog_ac_ct_AS
                   8073: if test -n "$ac_ct_AS"; then
1.22      moko     8074:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
                   8075: $as_echo "$ac_ct_AS" >&6; }
1.13      moko     8076: else
1.22      moko     8077:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8078: $as_echo "no" >&6; }
1.13      moko     8079: fi
1.8       moko     8080: 
1.22      moko     8081:   if test "x$ac_ct_AS" = x; then
                   8082:     AS="false"
                   8083:   else
                   8084:     case $cross_compiling:$ac_tool_warned in
                   8085: yes:)
                   8086: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8087: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8088: ac_tool_warned=yes ;;
                   8089: esac
                   8090:     AS=$ac_ct_AS
                   8091:   fi
1.13      moko     8092: else
                   8093:   AS="$ac_cv_prog_AS"
                   8094: fi
1.1       misha    8095: 
1.13      moko     8096:   if test -n "$ac_tool_prefix"; then
                   8097:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   8098: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1.22      moko     8099: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8100: $as_echo_n "checking for $ac_word... " >&6; }
                   8101: if ${ac_cv_prog_DLLTOOL+:} false; then :
                   8102:   $as_echo_n "(cached) " >&6
1.13      moko     8103: else
                   8104:   if test -n "$DLLTOOL"; then
                   8105:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
1.1       misha    8106: else
1.13      moko     8107: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8108: for as_dir in $PATH
                   8109: do
                   8110:   IFS=$as_save_IFS
                   8111:   test -z "$as_dir" && as_dir=.
1.22      moko     8112:     for ac_exec_ext in '' $ac_executable_extensions; do
1.25      moko     8113:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.13      moko     8114:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
1.22      moko     8115:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.13      moko     8116:     break 2
                   8117:   fi
                   8118: done
1.22      moko     8119:   done
                   8120: IFS=$as_save_IFS
1.13      moko     8121: 
                   8122: fi
                   8123: fi
                   8124: DLLTOOL=$ac_cv_prog_DLLTOOL
                   8125: if test -n "$DLLTOOL"; then
1.22      moko     8126:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
                   8127: $as_echo "$DLLTOOL" >&6; }
1.13      moko     8128: else
1.22      moko     8129:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8130: $as_echo "no" >&6; }
1.13      moko     8131: fi
                   8132: 
1.22      moko     8133: 
1.13      moko     8134: fi
                   8135: if test -z "$ac_cv_prog_DLLTOOL"; then
                   8136:   ac_ct_DLLTOOL=$DLLTOOL
                   8137:   # Extract the first word of "dlltool", so it can be a program name with args.
                   8138: set dummy dlltool; ac_word=$2
1.22      moko     8139: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8140: $as_echo_n "checking for $ac_word... " >&6; }
                   8141: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
                   8142:   $as_echo_n "(cached) " >&6
1.13      moko     8143: else
                   8144:   if test -n "$ac_ct_DLLTOOL"; then
                   8145:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   8146: else
                   8147: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8148: for as_dir in $PATH
                   8149: do
                   8150:   IFS=$as_save_IFS
                   8151:   test -z "$as_dir" && as_dir=.
1.22      moko     8152:     for ac_exec_ext in '' $ac_executable_extensions; do
1.25      moko     8153:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.13      moko     8154:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
1.22      moko     8155:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.13      moko     8156:     break 2
                   8157:   fi
                   8158: done
1.22      moko     8159:   done
                   8160: IFS=$as_save_IFS
1.13      moko     8161: 
                   8162: fi
                   8163: fi
                   8164: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   8165: if test -n "$ac_ct_DLLTOOL"; then
1.22      moko     8166:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
                   8167: $as_echo "$ac_ct_DLLTOOL" >&6; }
1.13      moko     8168: else
1.22      moko     8169:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8170: $as_echo "no" >&6; }
1.13      moko     8171: fi
                   8172: 
1.22      moko     8173:   if test "x$ac_ct_DLLTOOL" = x; then
                   8174:     DLLTOOL="false"
                   8175:   else
                   8176:     case $cross_compiling:$ac_tool_warned in
                   8177: yes:)
                   8178: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8179: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8180: ac_tool_warned=yes ;;
                   8181: esac
                   8182:     DLLTOOL=$ac_ct_DLLTOOL
                   8183:   fi
1.13      moko     8184: else
                   8185:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   8186: fi
                   8187: 
                   8188:   if test -n "$ac_tool_prefix"; then
                   8189:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   8190: set dummy ${ac_tool_prefix}objdump; ac_word=$2
1.22      moko     8191: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8192: $as_echo_n "checking for $ac_word... " >&6; }
                   8193: if ${ac_cv_prog_OBJDUMP+:} false; then :
                   8194:   $as_echo_n "(cached) " >&6
1.13      moko     8195: else
                   8196:   if test -n "$OBJDUMP"; then
                   8197:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   8198: else
                   8199: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8200: for as_dir in $PATH
                   8201: do
                   8202:   IFS=$as_save_IFS
                   8203:   test -z "$as_dir" && as_dir=.
1.22      moko     8204:     for ac_exec_ext in '' $ac_executable_extensions; do
1.25      moko     8205:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.13      moko     8206:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1.22      moko     8207:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.13      moko     8208:     break 2
                   8209:   fi
                   8210: done
1.22      moko     8211:   done
                   8212: IFS=$as_save_IFS
1.13      moko     8213: 
                   8214: fi
                   8215: fi
                   8216: OBJDUMP=$ac_cv_prog_OBJDUMP
                   8217: if test -n "$OBJDUMP"; then
1.22      moko     8218:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   8219: $as_echo "$OBJDUMP" >&6; }
1.13      moko     8220: else
1.22      moko     8221:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8222: $as_echo "no" >&6; }
1.13      moko     8223: fi
                   8224: 
1.22      moko     8225: 
1.13      moko     8226: fi
                   8227: if test -z "$ac_cv_prog_OBJDUMP"; then
                   8228:   ac_ct_OBJDUMP=$OBJDUMP
                   8229:   # Extract the first word of "objdump", so it can be a program name with args.
                   8230: set dummy objdump; ac_word=$2
1.22      moko     8231: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8232: $as_echo_n "checking for $ac_word... " >&6; }
                   8233: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
                   8234:   $as_echo_n "(cached) " >&6
1.13      moko     8235: else
                   8236:   if test -n "$ac_ct_OBJDUMP"; then
                   8237:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   8238: else
                   8239: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8240: for as_dir in $PATH
                   8241: do
                   8242:   IFS=$as_save_IFS
                   8243:   test -z "$as_dir" && as_dir=.
1.22      moko     8244:     for ac_exec_ext in '' $ac_executable_extensions; do
1.25      moko     8245:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.13      moko     8246:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.22      moko     8247:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.13      moko     8248:     break 2
                   8249:   fi
                   8250: done
1.22      moko     8251:   done
                   8252: IFS=$as_save_IFS
1.13      moko     8253: 
                   8254: fi
                   8255: fi
                   8256: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   8257: if test -n "$ac_ct_OBJDUMP"; then
1.22      moko     8258:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   8259: $as_echo "$ac_ct_OBJDUMP" >&6; }
1.13      moko     8260: else
1.22      moko     8261:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8262: $as_echo "no" >&6; }
1.13      moko     8263: fi
                   8264: 
1.22      moko     8265:   if test "x$ac_ct_OBJDUMP" = x; then
                   8266:     OBJDUMP="false"
                   8267:   else
                   8268:     case $cross_compiling:$ac_tool_warned in
                   8269: yes:)
                   8270: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8271: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8272: ac_tool_warned=yes ;;
                   8273: esac
                   8274:     OBJDUMP=$ac_ct_OBJDUMP
                   8275:   fi
1.13      moko     8276: else
                   8277:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   8278: fi
                   8279: 
                   8280:   ;;
                   8281: esac
                   8282: 
                   8283: test -z "$AS" && AS=as
                   8284: 
                   8285: 
                   8286: 
                   8287: 
                   8288: 
                   8289: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   8290: 
                   8291: 
                   8292: 
                   8293: 
                   8294: 
                   8295: test -z "$OBJDUMP" && OBJDUMP=objdump
                   8296: 
                   8297: 
                   8298: 
                   8299: 
                   8300: 
                   8301: 
                   8302: 
                   8303: 
                   8304: 
1.22      moko     8305:             # Check whether --enable-shared was given.
                   8306: if test "${enable_shared+set}" = set; then :
                   8307:   enableval=$enable_shared; p=${PACKAGE-default}
1.13      moko     8308:     case $enableval in
                   8309:     yes) enable_shared=yes ;;
                   8310:     no) enable_shared=no ;;
                   8311:     *)
                   8312:       enable_shared=no
                   8313:       # Look at the argument we got.  We use all the common list separators.
                   8314:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8315:       for pkg in $enableval; do
                   8316:        IFS="$lt_save_ifs"
                   8317:        if test "X$pkg" = "X$p"; then
                   8318:          enable_shared=yes
                   8319:        fi
                   8320:       done
                   8321:       IFS="$lt_save_ifs"
                   8322:       ;;
                   8323:     esac
                   8324: else
                   8325:   enable_shared=yes
1.22      moko     8326: fi
1.8       moko     8327: 
                   8328: 
                   8329: 
                   8330: 
                   8331: 
                   8332: 
                   8333: 
1.1       misha    8334: 
1.8       moko     8335: 
                   8336: 
1.22      moko     8337: 
                   8338: # Check whether --with-pic was given.
                   8339: if test "${with_pic+set}" = set; then :
                   8340:   withval=$with_pic; lt_p=${PACKAGE-default}
1.8       moko     8341:     case $withval in
                   8342:     yes|no) pic_mode=$withval ;;
                   8343:     *)
                   8344:       pic_mode=default
                   8345:       # Look at the argument we got.  We use all the common list separators.
                   8346:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8347:       for lt_pkg in $withval; do
                   8348:        IFS="$lt_save_ifs"
                   8349:        if test "X$lt_pkg" = "X$lt_p"; then
                   8350:          pic_mode=yes
                   8351:        fi
                   8352:       done
                   8353:       IFS="$lt_save_ifs"
                   8354:       ;;
                   8355:     esac
1.1       misha    8356: else
1.8       moko     8357:   pic_mode=default
1.22      moko     8358: fi
                   8359: 
1.8       moko     8360: 
                   8361: test -z "$pic_mode" && pic_mode=default
                   8362: 
                   8363: 
                   8364: 
                   8365: 
                   8366: 
                   8367: 
1.1       misha    8368: 
1.22      moko     8369:   # Check whether --enable-fast-install was given.
                   8370: if test "${enable_fast_install+set}" = set; then :
                   8371:   enableval=$enable_fast_install; p=${PACKAGE-default}
1.8       moko     8372:     case $enableval in
                   8373:     yes) enable_fast_install=yes ;;
                   8374:     no) enable_fast_install=no ;;
                   8375:     *)
                   8376:       enable_fast_install=no
                   8377:       # Look at the argument we got.  We use all the common list separators.
                   8378:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8379:       for pkg in $enableval; do
                   8380:        IFS="$lt_save_ifs"
                   8381:        if test "X$pkg" = "X$p"; then
                   8382:          enable_fast_install=yes
                   8383:        fi
                   8384:       done
                   8385:       IFS="$lt_save_ifs"
                   8386:       ;;
                   8387:     esac
1.1       misha    8388: else
1.8       moko     8389:   enable_fast_install=yes
1.22      moko     8390: fi
                   8391: 
1.8       moko     8392: 
                   8393: 
                   8394: 
                   8395: 
                   8396: 
                   8397: 
                   8398: 
                   8399: 
                   8400: 
                   8401: 
                   8402: # This can be used to rebuild libtool when needed
                   8403: LIBTOOL_DEPS="$ltmain"
                   8404: 
                   8405: # Always use our own libtool.
                   8406: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
                   8407: 
                   8408: 
                   8409: 
                   8410: 
                   8411: 
                   8412: 
                   8413: 
                   8414: 
                   8415: 
                   8416: 
                   8417: 
                   8418: 
                   8419: 
                   8420: 
                   8421: 
                   8422: 
                   8423: 
                   8424: 
                   8425: 
                   8426: 
                   8427: 
                   8428: 
                   8429: 
                   8430: 
                   8431: 
                   8432: 
                   8433: 
                   8434: 
                   8435: 
                   8436: 
                   8437: test -z "$LN_S" && LN_S="ln -s"
                   8438: 
                   8439: 
                   8440: 
                   8441: 
                   8442: 
                   8443: 
                   8444: 
                   8445: 
                   8446: 
                   8447: 
                   8448: 
                   8449: 
                   8450: 
1.1       misha    8451: 
1.8       moko     8452: if test -n "${ZSH_VERSION+set}" ; then
                   8453:    setopt NO_GLOB_SUBST
1.1       misha    8454: fi
1.8       moko     8455: 
1.22      moko     8456: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
                   8457: $as_echo_n "checking for objdir... " >&6; }
                   8458: if ${lt_cv_objdir+:} false; then :
                   8459:   $as_echo_n "(cached) " >&6
1.8       moko     8460: else
                   8461:   rm -f .libs 2>/dev/null
                   8462: mkdir .libs 2>/dev/null
                   8463: if test -d .libs; then
                   8464:   lt_cv_objdir=.libs
                   8465: else
                   8466:   # MS-DOS does not allow filenames that begin with a dot.
                   8467:   lt_cv_objdir=_libs
1.1       misha    8468: fi
1.8       moko     8469: rmdir .libs 2>/dev/null
                   8470: fi
1.22      moko     8471: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
                   8472: $as_echo "$lt_cv_objdir" >&6; }
1.8       moko     8473: objdir=$lt_cv_objdir
1.1       misha    8474: 
                   8475: 
                   8476: 
                   8477: 
                   8478: 
1.8       moko     8479: cat >>confdefs.h <<_ACEOF
                   8480: #define LT_OBJDIR "$lt_cv_objdir/"
                   8481: _ACEOF
1.1       misha    8482: 
                   8483: 
                   8484: 
                   8485: 
1.8       moko     8486: case $host_os in
                   8487: aix3*)
                   8488:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   8489:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   8490:   # vanish in a puff of smoke.
                   8491:   if test "X${COLLECT_NAMES+set}" != Xset; then
                   8492:     COLLECT_NAMES=
                   8493:     export COLLECT_NAMES
                   8494:   fi
                   8495:   ;;
                   8496: esac
1.1       misha    8497: 
1.8       moko     8498: # Global variables:
                   8499: ofile=libtool
                   8500: can_build_shared=yes
1.1       misha    8501: 
1.8       moko     8502: # All known linkers require a `.a' archive for static linking (except MSVC,
                   8503: # which needs '.lib').
                   8504: libext=a
1.1       misha    8505: 
1.8       moko     8506: with_gnu_ld="$lt_cv_prog_gnu_ld"
1.1       misha    8507: 
1.8       moko     8508: old_CC="$CC"
                   8509: old_CFLAGS="$CFLAGS"
1.1       misha    8510: 
1.8       moko     8511: # Set sane defaults for various variables
                   8512: test -z "$CC" && CC=cc
                   8513: test -z "$LTCC" && LTCC=$CC
                   8514: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
                   8515: test -z "$LD" && LD=ld
                   8516: test -z "$ac_objext" && ac_objext=o
1.1       misha    8517: 
1.8       moko     8518: for cc_temp in $compiler""; do
                   8519:   case $cc_temp in
                   8520:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   8521:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   8522:     \-*) ;;
                   8523:     *) break;;
1.1       misha    8524:   esac
1.8       moko     8525: done
                   8526: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
1.1       misha    8527: 
                   8528: 
1.8       moko     8529: # Only perform the check for file, if the check method requires it
                   8530: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   8531: case $deplibs_check_method in
                   8532: file_magic*)
                   8533:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1.22      moko     8534:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
                   8535: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
                   8536: if ${lt_cv_path_MAGIC_CMD+:} false; then :
                   8537:   $as_echo_n "(cached) " >&6
1.8       moko     8538: else
                   8539:   case $MAGIC_CMD in
                   8540: [\\/*] |  ?:[\\/]*)
                   8541:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   8542:   ;;
                   8543: *)
                   8544:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   8545:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   8546:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   8547:   for ac_dir in $ac_dummy; do
                   8548:     IFS="$lt_save_ifs"
                   8549:     test -z "$ac_dir" && ac_dir=.
                   8550:     if test -f $ac_dir/${ac_tool_prefix}file; then
                   8551:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
                   8552:       if test -n "$file_magic_test_file"; then
                   8553:        case $deplibs_check_method in
                   8554:        "file_magic "*)
                   8555:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   8556:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   8557:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   8558:            $EGREP "$file_magic_regex" > /dev/null; then
                   8559:            :
                   8560:          else
                   8561:            cat <<_LT_EOF 1>&2
1.1       misha    8562: 
1.8       moko     8563: *** Warning: the command libtool uses to detect shared libraries,
                   8564: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   8565: *** The result is that libtool may fail to recognize shared libraries
                   8566: *** as such.  This will affect the creation of libtool libraries that
                   8567: *** depend on shared libraries, but programs linked with such libtool
                   8568: *** libraries will work regardless of this problem.  Nevertheless, you
                   8569: *** may want to report the problem to your system manager and/or to
                   8570: *** bug-libtool@gnu.org
1.1       misha    8571: 
1.8       moko     8572: _LT_EOF
                   8573:          fi ;;
                   8574:        esac
                   8575:       fi
                   8576:       break
                   8577:     fi
                   8578:   done
                   8579:   IFS="$lt_save_ifs"
                   8580:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   8581:   ;;
                   8582: esac
                   8583: fi
1.1       misha    8584: 
1.8       moko     8585: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   8586: if test -n "$MAGIC_CMD"; then
1.22      moko     8587:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   8588: $as_echo "$MAGIC_CMD" >&6; }
1.1       misha    8589: else
1.22      moko     8590:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8591: $as_echo "no" >&6; }
1.8       moko     8592: fi
                   8593: 
1.1       misha    8594: 
                   8595: 
                   8596: 
                   8597: 
1.8       moko     8598: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   8599:   if test -n "$ac_tool_prefix"; then
1.22      moko     8600:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
                   8601: $as_echo_n "checking for file... " >&6; }
                   8602: if ${lt_cv_path_MAGIC_CMD+:} false; then :
                   8603:   $as_echo_n "(cached) " >&6
1.8       moko     8604: else
                   8605:   case $MAGIC_CMD in
                   8606: [\\/*] |  ?:[\\/]*)
                   8607:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   8608:   ;;
                   8609: *)
                   8610:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   8611:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   8612:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   8613:   for ac_dir in $ac_dummy; do
                   8614:     IFS="$lt_save_ifs"
                   8615:     test -z "$ac_dir" && ac_dir=.
                   8616:     if test -f $ac_dir/file; then
                   8617:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
                   8618:       if test -n "$file_magic_test_file"; then
                   8619:        case $deplibs_check_method in
                   8620:        "file_magic "*)
                   8621:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   8622:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   8623:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   8624:            $EGREP "$file_magic_regex" > /dev/null; then
                   8625:            :
                   8626:          else
                   8627:            cat <<_LT_EOF 1>&2
                   8628: 
                   8629: *** Warning: the command libtool uses to detect shared libraries,
                   8630: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   8631: *** The result is that libtool may fail to recognize shared libraries
                   8632: *** as such.  This will affect the creation of libtool libraries that
                   8633: *** depend on shared libraries, but programs linked with such libtool
                   8634: *** libraries will work regardless of this problem.  Nevertheless, you
                   8635: *** may want to report the problem to your system manager and/or to
                   8636: *** bug-libtool@gnu.org
1.1       misha    8637: 
1.8       moko     8638: _LT_EOF
                   8639:          fi ;;
                   8640:        esac
                   8641:       fi
                   8642:       break
                   8643:     fi
                   8644:   done
                   8645:   IFS="$lt_save_ifs"
                   8646:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   8647:   ;;
                   8648: esac
                   8649: fi
1.1       misha    8650: 
1.8       moko     8651: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   8652: if test -n "$MAGIC_CMD"; then
1.22      moko     8653:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   8654: $as_echo "$MAGIC_CMD" >&6; }
1.8       moko     8655: else
1.22      moko     8656:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8657: $as_echo "no" >&6; }
1.8       moko     8658: fi
1.1       misha    8659: 
                   8660: 
1.8       moko     8661:   else
                   8662:     MAGIC_CMD=:
1.1       misha    8663:   fi
                   8664: fi
1.8       moko     8665: 
                   8666:   fi
                   8667:   ;;
                   8668: esac
                   8669: 
                   8670: # Use C for the default configuration in the libtool script
                   8671: 
                   8672: lt_save_CC="$CC"
                   8673: ac_ext=c
                   8674: ac_cpp='$CPP $CPPFLAGS'
                   8675: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   8676: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   8677: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   8678: 
                   8679: 
                   8680: # Source file extension for C test sources.
                   8681: ac_ext=c
                   8682: 
                   8683: # Object file extension for compiled C test sources.
                   8684: objext=o
                   8685: objext=$objext
                   8686: 
                   8687: # Code to be used in simple compile tests
                   8688: lt_simple_compile_test_code="int some_variable = 0;"
                   8689: 
                   8690: # Code to be used in simple link tests
                   8691: lt_simple_link_test_code='int main(){return(0);}'
1.1       misha    8692: 
                   8693: 
                   8694: 
                   8695: 
                   8696: 
                   8697: 
                   8698: 
1.8       moko     8699: # If no C compiler was specified, use CC.
                   8700: LTCC=${LTCC-"$CC"}
1.1       misha    8701: 
1.8       moko     8702: # If no C compiler flags were specified, use CFLAGS.
                   8703: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
1.1       misha    8704: 
1.8       moko     8705: # Allow CC to be a program name with arguments.
                   8706: compiler=$CC
1.1       misha    8707: 
1.8       moko     8708: # Save the default compiler, since it gets overwritten when the other
                   8709: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
                   8710: compiler_DEFAULT=$CC
1.1       misha    8711: 
1.8       moko     8712: # save warnings/boilerplate of simple test code
                   8713: ac_outfile=conftest.$ac_objext
                   8714: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   8715: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   8716: _lt_compiler_boilerplate=`cat conftest.err`
                   8717: $RM conftest*
1.1       misha    8718: 
1.8       moko     8719: ac_outfile=conftest.$ac_objext
                   8720: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   8721: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   8722: _lt_linker_boilerplate=`cat conftest.err`
                   8723: $RM -r conftest*
1.1       misha    8724: 
                   8725: 
1.12      moko     8726: ## CAVEAT EMPTOR:
                   8727: ## There is no encapsulation within the following macros, do not change
                   8728: ## the running order or otherwise move them around unless you know exactly
                   8729: ## what you are doing...
1.8       moko     8730: if test -n "$compiler"; then
1.1       misha    8731: 
1.8       moko     8732: lt_prog_compiler_no_builtin_flag=
1.1       misha    8733: 
1.8       moko     8734: if test "$GCC" = yes; then
                   8735:   case $cc_basename in
                   8736:   nvcc*)
                   8737:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
                   8738:   *)
                   8739:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
1.1       misha    8740:   esac
                   8741: 
1.22      moko     8742:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
                   8743: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
                   8744: if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
                   8745:   $as_echo_n "(cached) " >&6
1.1       misha    8746: else
1.8       moko     8747:   lt_cv_prog_compiler_rtti_exceptions=no
                   8748:    ac_outfile=conftest.$ac_objext
                   8749:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8750:    lt_compiler_flag="-fno-rtti -fno-exceptions"
                   8751:    # Insert the option either (1) after the last *FLAGS variable, or
                   8752:    # (2) before a word containing "conftest.", or (3) at the end.
                   8753:    # Note that $ac_compile itself does not contain backslashes and begins
                   8754:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8755:    # The option is referenced via a variable to avoid confusing sed.
                   8756:    lt_compile=`echo "$ac_compile" | $SED \
                   8757:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8758:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8759:    -e 's:$: $lt_compiler_flag:'`
                   8760:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8761:    (eval "$lt_compile" 2>conftest.err)
                   8762:    ac_status=$?
                   8763:    cat conftest.err >&5
                   8764:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8765:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   8766:      # The compiler can only warn and ignore the option if not recognized
                   8767:      # So say no if there are warnings other than the usual output.
                   8768:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   8769:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8770:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   8771:        lt_cv_prog_compiler_rtti_exceptions=yes
                   8772:      fi
                   8773:    fi
                   8774:    $RM conftest*
1.1       misha    8775: 
                   8776: fi
1.22      moko     8777: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
                   8778: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
1.1       misha    8779: 
1.8       moko     8780: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
                   8781:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
                   8782: else
                   8783:     :
1.1       misha    8784: fi
                   8785: 
1.8       moko     8786: fi
1.1       misha    8787: 
                   8788: 
                   8789: 
                   8790: 
                   8791: 
                   8792: 
1.8       moko     8793:   lt_prog_compiler_wl=
                   8794: lt_prog_compiler_pic=
                   8795: lt_prog_compiler_static=
1.1       misha    8796: 
                   8797: 
1.8       moko     8798:   if test "$GCC" = yes; then
                   8799:     lt_prog_compiler_wl='-Wl,'
                   8800:     lt_prog_compiler_static='-static'
1.1       misha    8801: 
1.8       moko     8802:     case $host_os in
                   8803:       aix*)
                   8804:       # All AIX code is PIC.
                   8805:       if test "$host_cpu" = ia64; then
                   8806:        # AIX 5 now supports IA64 processor
                   8807:        lt_prog_compiler_static='-Bstatic'
                   8808:       fi
                   8809:       ;;
1.1       misha    8810: 
1.8       moko     8811:     amigaos*)
                   8812:       case $host_cpu in
                   8813:       powerpc)
                   8814:             # see comment about AmigaOS4 .so support
                   8815:             lt_prog_compiler_pic='-fPIC'
                   8816:         ;;
                   8817:       m68k)
                   8818:             # FIXME: we need at least 68020 code to build shared libraries, but
                   8819:             # adding the `-m68020' flag to GCC prevents building anything better,
                   8820:             # like `-m68040'.
                   8821:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
                   8822:         ;;
                   8823:       esac
                   8824:       ;;
1.1       misha    8825: 
1.8       moko     8826:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   8827:       # PIC is the default for these OSes.
                   8828:       ;;
1.1       misha    8829: 
1.8       moko     8830:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   8831:       # This hack is so that the source file can tell whether it is being
                   8832:       # built for inclusion in a dll (and should export symbols for example).
                   8833:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   8834:       # (--disable-auto-import) libraries
                   8835:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   8836:       ;;
1.1       misha    8837: 
1.8       moko     8838:     darwin* | rhapsody*)
                   8839:       # PIC is the default on this platform
                   8840:       # Common symbols not allowed in MH_DYLIB files
                   8841:       lt_prog_compiler_pic='-fno-common'
                   8842:       ;;
1.1       misha    8843: 
1.8       moko     8844:     haiku*)
                   8845:       # PIC is the default for Haiku.
                   8846:       # The "-static" flag exists, but is broken.
                   8847:       lt_prog_compiler_static=
                   8848:       ;;
1.1       misha    8849: 
1.8       moko     8850:     hpux*)
                   8851:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   8852:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   8853:       # sets the default TLS model and affects inlining.
                   8854:       case $host_cpu in
                   8855:       hppa*64*)
                   8856:        # +Z the default
                   8857:        ;;
                   8858:       *)
                   8859:        lt_prog_compiler_pic='-fPIC'
                   8860:        ;;
                   8861:       esac
                   8862:       ;;
1.1       misha    8863: 
1.8       moko     8864:     interix[3-9]*)
                   8865:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   8866:       # Instead, we relocate shared libraries at runtime.
                   8867:       ;;
1.1       misha    8868: 
1.8       moko     8869:     msdosdjgpp*)
                   8870:       # Just because we use GCC doesn't mean we suddenly get shared libraries
                   8871:       # on systems that don't support them.
                   8872:       lt_prog_compiler_can_build_shared=no
                   8873:       enable_shared=no
                   8874:       ;;
1.1       misha    8875: 
1.8       moko     8876:     *nto* | *qnx*)
                   8877:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   8878:       # it will coredump.
                   8879:       lt_prog_compiler_pic='-fPIC -shared'
                   8880:       ;;
1.1       misha    8881: 
1.8       moko     8882:     sysv4*MP*)
                   8883:       if test -d /usr/nec; then
                   8884:        lt_prog_compiler_pic=-Kconform_pic
                   8885:       fi
                   8886:       ;;
1.1       misha    8887: 
1.8       moko     8888:     *)
                   8889:       lt_prog_compiler_pic='-fPIC'
                   8890:       ;;
                   8891:     esac
1.1       misha    8892: 
1.8       moko     8893:     case $cc_basename in
                   8894:     nvcc*) # Cuda Compiler Driver 2.2
                   8895:       lt_prog_compiler_wl='-Xlinker '
                   8896:       if test -n "$lt_prog_compiler_pic"; then
                   8897:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
                   8898:       fi
                   8899:       ;;
                   8900:     esac
                   8901:   else
                   8902:     # PORTME Check for flag to pass linker flags through the system compiler.
                   8903:     case $host_os in
                   8904:     aix*)
                   8905:       lt_prog_compiler_wl='-Wl,'
                   8906:       if test "$host_cpu" = ia64; then
                   8907:        # AIX 5 now supports IA64 processor
                   8908:        lt_prog_compiler_static='-Bstatic'
                   8909:       else
                   8910:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
                   8911:       fi
                   8912:       ;;
1.1       misha    8913: 
1.8       moko     8914:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   8915:       # This hack is so that the source file can tell whether it is being
                   8916:       # built for inclusion in a dll (and should export symbols for example).
                   8917:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   8918:       ;;
1.1       misha    8919: 
1.8       moko     8920:     hpux9* | hpux10* | hpux11*)
                   8921:       lt_prog_compiler_wl='-Wl,'
                   8922:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
                   8923:       # not for PA HP-UX.
                   8924:       case $host_cpu in
                   8925:       hppa*64*|ia64*)
                   8926:        # +Z the default
                   8927:        ;;
                   8928:       *)
                   8929:        lt_prog_compiler_pic='+Z'
                   8930:        ;;
                   8931:       esac
                   8932:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
                   8933:       lt_prog_compiler_static='${wl}-a ${wl}archive'
                   8934:       ;;
1.1       misha    8935: 
1.8       moko     8936:     irix5* | irix6* | nonstopux*)
                   8937:       lt_prog_compiler_wl='-Wl,'
                   8938:       # PIC (with -KPIC) is the default.
                   8939:       lt_prog_compiler_static='-non_shared'
                   8940:       ;;
1.1       misha    8941: 
1.8       moko     8942:     linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   8943:       case $cc_basename in
                   8944:       # old Intel for x86_64 which still supported -KPIC.
                   8945:       ecc*)
                   8946:        lt_prog_compiler_wl='-Wl,'
                   8947:        lt_prog_compiler_pic='-KPIC'
                   8948:        lt_prog_compiler_static='-static'
                   8949:         ;;
                   8950:       # icc used to be incompatible with GCC.
                   8951:       # ICC 10 doesn't accept -KPIC any more.
                   8952:       icc* | ifort*)
                   8953:        lt_prog_compiler_wl='-Wl,'
                   8954:        lt_prog_compiler_pic='-fPIC'
                   8955:        lt_prog_compiler_static='-static'
                   8956:         ;;
                   8957:       # Lahey Fortran 8.1.
                   8958:       lf95*)
                   8959:        lt_prog_compiler_wl='-Wl,'
                   8960:        lt_prog_compiler_pic='--shared'
                   8961:        lt_prog_compiler_static='--static'
                   8962:        ;;
                   8963:       nagfor*)
                   8964:        # NAG Fortran compiler
                   8965:        lt_prog_compiler_wl='-Wl,-Wl,,'
                   8966:        lt_prog_compiler_pic='-PIC'
                   8967:        lt_prog_compiler_static='-Bstatic'
                   8968:        ;;
                   8969:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
                   8970:         # Portland Group compilers (*not* the Pentium gcc compiler,
                   8971:        # which looks to be a dead project)
                   8972:        lt_prog_compiler_wl='-Wl,'
                   8973:        lt_prog_compiler_pic='-fpic'
                   8974:        lt_prog_compiler_static='-Bstatic'
                   8975:         ;;
                   8976:       ccc*)
                   8977:         lt_prog_compiler_wl='-Wl,'
                   8978:         # All Alpha code is PIC.
                   8979:         lt_prog_compiler_static='-non_shared'
                   8980:         ;;
                   8981:       xl* | bgxl* | bgf* | mpixl*)
                   8982:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
                   8983:        lt_prog_compiler_wl='-Wl,'
                   8984:        lt_prog_compiler_pic='-qpic'
                   8985:        lt_prog_compiler_static='-qstaticlink'
                   8986:        ;;
                   8987:       *)
                   8988:        case `$CC -V 2>&1 | sed 5q` in
                   8989:        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
                   8990:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
                   8991:          lt_prog_compiler_pic='-KPIC'
                   8992:          lt_prog_compiler_static='-Bstatic'
                   8993:          lt_prog_compiler_wl=''
                   8994:          ;;
                   8995:        *Sun\ F* | *Sun*Fortran*)
                   8996:          lt_prog_compiler_pic='-KPIC'
                   8997:          lt_prog_compiler_static='-Bstatic'
                   8998:          lt_prog_compiler_wl='-Qoption ld '
                   8999:          ;;
                   9000:        *Sun\ C*)
                   9001:          # Sun C 5.9
                   9002:          lt_prog_compiler_pic='-KPIC'
                   9003:          lt_prog_compiler_static='-Bstatic'
                   9004:          lt_prog_compiler_wl='-Wl,'
                   9005:          ;;
                   9006:         *Intel*\ [CF]*Compiler*)
                   9007:          lt_prog_compiler_wl='-Wl,'
                   9008:          lt_prog_compiler_pic='-fPIC'
                   9009:          lt_prog_compiler_static='-static'
                   9010:          ;;
                   9011:        *Portland\ Group*)
                   9012:          lt_prog_compiler_wl='-Wl,'
                   9013:          lt_prog_compiler_pic='-fpic'
                   9014:          lt_prog_compiler_static='-Bstatic'
                   9015:          ;;
                   9016:        esac
                   9017:        ;;
                   9018:       esac
                   9019:       ;;
1.1       misha    9020: 
1.8       moko     9021:     newsos6)
                   9022:       lt_prog_compiler_pic='-KPIC'
                   9023:       lt_prog_compiler_static='-Bstatic'
                   9024:       ;;
1.1       misha    9025: 
1.8       moko     9026:     *nto* | *qnx*)
                   9027:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   9028:       # it will coredump.
                   9029:       lt_prog_compiler_pic='-fPIC -shared'
                   9030:       ;;
1.1       misha    9031: 
1.8       moko     9032:     osf3* | osf4* | osf5*)
                   9033:       lt_prog_compiler_wl='-Wl,'
                   9034:       # All OSF/1 code is PIC.
                   9035:       lt_prog_compiler_static='-non_shared'
                   9036:       ;;
1.1       misha    9037: 
1.8       moko     9038:     rdos*)
                   9039:       lt_prog_compiler_static='-non_shared'
                   9040:       ;;
1.1       misha    9041: 
1.8       moko     9042:     solaris*)
                   9043:       lt_prog_compiler_pic='-KPIC'
                   9044:       lt_prog_compiler_static='-Bstatic'
                   9045:       case $cc_basename in
                   9046:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
                   9047:        lt_prog_compiler_wl='-Qoption ld ';;
                   9048:       *)
                   9049:        lt_prog_compiler_wl='-Wl,';;
                   9050:       esac
                   9051:       ;;
1.1       misha    9052: 
1.8       moko     9053:     sunos4*)
                   9054:       lt_prog_compiler_wl='-Qoption ld '
                   9055:       lt_prog_compiler_pic='-PIC'
                   9056:       lt_prog_compiler_static='-Bstatic'
                   9057:       ;;
1.1       misha    9058: 
1.8       moko     9059:     sysv4 | sysv4.2uw2* | sysv4.3*)
                   9060:       lt_prog_compiler_wl='-Wl,'
                   9061:       lt_prog_compiler_pic='-KPIC'
                   9062:       lt_prog_compiler_static='-Bstatic'
                   9063:       ;;
1.1       misha    9064: 
1.8       moko     9065:     sysv4*MP*)
                   9066:       if test -d /usr/nec ;then
                   9067:        lt_prog_compiler_pic='-Kconform_pic'
                   9068:        lt_prog_compiler_static='-Bstatic'
                   9069:       fi
                   9070:       ;;
1.1       misha    9071: 
1.8       moko     9072:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   9073:       lt_prog_compiler_wl='-Wl,'
                   9074:       lt_prog_compiler_pic='-KPIC'
                   9075:       lt_prog_compiler_static='-Bstatic'
                   9076:       ;;
1.1       misha    9077: 
1.8       moko     9078:     unicos*)
                   9079:       lt_prog_compiler_wl='-Wl,'
                   9080:       lt_prog_compiler_can_build_shared=no
                   9081:       ;;
1.1       misha    9082: 
1.8       moko     9083:     uts4*)
                   9084:       lt_prog_compiler_pic='-pic'
                   9085:       lt_prog_compiler_static='-Bstatic'
                   9086:       ;;
1.1       misha    9087: 
1.8       moko     9088:     *)
                   9089:       lt_prog_compiler_can_build_shared=no
                   9090:       ;;
                   9091:     esac
                   9092:   fi
1.1       misha    9093: 
1.8       moko     9094: case $host_os in
                   9095:   # For platforms which do not support PIC, -DPIC is meaningless:
                   9096:   *djgpp*)
                   9097:     lt_prog_compiler_pic=
                   9098:     ;;
                   9099:   *)
                   9100:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
                   9101:     ;;
                   9102: esac
1.1       misha    9103: 
1.22      moko     9104: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   9105: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
                   9106: if ${lt_cv_prog_compiler_pic+:} false; then :
                   9107:   $as_echo_n "(cached) " >&6
1.8       moko     9108: else
                   9109:   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
                   9110: fi
1.22      moko     9111: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
                   9112: $as_echo "$lt_cv_prog_compiler_pic" >&6; }
1.8       moko     9113: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
1.1       misha    9114: 
1.8       moko     9115: #
                   9116: # Check to make sure the PIC flag actually works.
                   9117: #
                   9118: if test -n "$lt_prog_compiler_pic"; then
1.22      moko     9119:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
                   9120: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
                   9121: if ${lt_cv_prog_compiler_pic_works+:} false; then :
                   9122:   $as_echo_n "(cached) " >&6
1.8       moko     9123: else
                   9124:   lt_cv_prog_compiler_pic_works=no
                   9125:    ac_outfile=conftest.$ac_objext
                   9126:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9127:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
                   9128:    # Insert the option either (1) after the last *FLAGS variable, or
                   9129:    # (2) before a word containing "conftest.", or (3) at the end.
                   9130:    # Note that $ac_compile itself does not contain backslashes and begins
                   9131:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9132:    # The option is referenced via a variable to avoid confusing sed.
                   9133:    lt_compile=`echo "$ac_compile" | $SED \
                   9134:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9135:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9136:    -e 's:$: $lt_compiler_flag:'`
                   9137:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9138:    (eval "$lt_compile" 2>conftest.err)
                   9139:    ac_status=$?
                   9140:    cat conftest.err >&5
                   9141:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9142:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   9143:      # The compiler can only warn and ignore the option if not recognized
                   9144:      # So say no if there are warnings other than the usual output.
                   9145:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   9146:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9147:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   9148:        lt_cv_prog_compiler_pic_works=yes
                   9149:      fi
                   9150:    fi
                   9151:    $RM conftest*
1.1       misha    9152: 
1.8       moko     9153: fi
1.22      moko     9154: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
                   9155: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
1.1       misha    9156: 
1.8       moko     9157: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
                   9158:     case $lt_prog_compiler_pic in
                   9159:      "" | " "*) ;;
                   9160:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
                   9161:      esac
                   9162: else
                   9163:     lt_prog_compiler_pic=
                   9164:      lt_prog_compiler_can_build_shared=no
                   9165: fi
1.1       misha    9166: 
1.8       moko     9167: fi
1.1       misha    9168: 
                   9169: 
                   9170: 
                   9171: 
                   9172: 
                   9173: 
                   9174: 
                   9175: 
                   9176: 
                   9177: 
                   9178: 
1.8       moko     9179: #
                   9180: # Check to make sure the static flag actually works.
                   9181: #
                   9182: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
1.22      moko     9183: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   9184: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   9185: if ${lt_cv_prog_compiler_static_works+:} false; then :
                   9186:   $as_echo_n "(cached) " >&6
1.8       moko     9187: else
                   9188:   lt_cv_prog_compiler_static_works=no
                   9189:    save_LDFLAGS="$LDFLAGS"
                   9190:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   9191:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   9192:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   9193:      # The linker can only warn and ignore the option if not recognized
                   9194:      # So say no if there are warnings
                   9195:      if test -s conftest.err; then
                   9196:        # Append any errors to the config.log.
                   9197:        cat conftest.err 1>&5
                   9198:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   9199:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9200:        if diff conftest.exp conftest.er2 >/dev/null; then
                   9201:          lt_cv_prog_compiler_static_works=yes
                   9202:        fi
                   9203:      else
                   9204:        lt_cv_prog_compiler_static_works=yes
                   9205:      fi
                   9206:    fi
                   9207:    $RM -r conftest*
                   9208:    LDFLAGS="$save_LDFLAGS"
1.1       misha    9209: 
1.8       moko     9210: fi
1.22      moko     9211: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
                   9212: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
1.1       misha    9213: 
1.8       moko     9214: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
                   9215:     :
                   9216: else
                   9217:     lt_prog_compiler_static=
                   9218: fi
1.1       misha    9219: 
                   9220: 
                   9221: 
                   9222: 
                   9223: 
                   9224: 
                   9225: 
1.22      moko     9226:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   9227: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   9228: if ${lt_cv_prog_compiler_c_o+:} false; then :
                   9229:   $as_echo_n "(cached) " >&6
1.8       moko     9230: else
                   9231:   lt_cv_prog_compiler_c_o=no
                   9232:    $RM -r conftest 2>/dev/null
                   9233:    mkdir conftest
                   9234:    cd conftest
                   9235:    mkdir out
                   9236:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9237: 
                   9238:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   9239:    # Insert the option either (1) after the last *FLAGS variable, or
                   9240:    # (2) before a word containing "conftest.", or (3) at the end.
                   9241:    # Note that $ac_compile itself does not contain backslashes and begins
                   9242:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9243:    lt_compile=`echo "$ac_compile" | $SED \
                   9244:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9245:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9246:    -e 's:$: $lt_compiler_flag:'`
                   9247:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9248:    (eval "$lt_compile" 2>out/conftest.err)
                   9249:    ac_status=$?
                   9250:    cat out/conftest.err >&5
                   9251:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9252:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   9253:    then
                   9254:      # The compiler can only warn and ignore the option if not recognized
                   9255:      # So say no if there are warnings
                   9256:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   9257:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   9258:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   9259:        lt_cv_prog_compiler_c_o=yes
                   9260:      fi
                   9261:    fi
                   9262:    chmod u+w . 2>&5
                   9263:    $RM conftest*
                   9264:    # SGI C++ compiler will create directory out/ii_files/ for
                   9265:    # template instantiation
                   9266:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   9267:    $RM out/* && rmdir out
                   9268:    cd ..
                   9269:    $RM -r conftest
                   9270:    $RM conftest*
1.1       misha    9271: 
1.8       moko     9272: fi
1.22      moko     9273: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   9274: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
1.1       misha    9275: 
                   9276: 
                   9277: 
                   9278: 
                   9279: 
                   9280: 
1.22      moko     9281:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   9282: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   9283: if ${lt_cv_prog_compiler_c_o+:} false; then :
                   9284:   $as_echo_n "(cached) " >&6
1.8       moko     9285: else
                   9286:   lt_cv_prog_compiler_c_o=no
                   9287:    $RM -r conftest 2>/dev/null
                   9288:    mkdir conftest
                   9289:    cd conftest
                   9290:    mkdir out
                   9291:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9292: 
                   9293:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   9294:    # Insert the option either (1) after the last *FLAGS variable, or
                   9295:    # (2) before a word containing "conftest.", or (3) at the end.
                   9296:    # Note that $ac_compile itself does not contain backslashes and begins
                   9297:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9298:    lt_compile=`echo "$ac_compile" | $SED \
                   9299:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9300:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9301:    -e 's:$: $lt_compiler_flag:'`
                   9302:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9303:    (eval "$lt_compile" 2>out/conftest.err)
                   9304:    ac_status=$?
                   9305:    cat out/conftest.err >&5
                   9306:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9307:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   9308:    then
                   9309:      # The compiler can only warn and ignore the option if not recognized
                   9310:      # So say no if there are warnings
                   9311:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   9312:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   9313:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   9314:        lt_cv_prog_compiler_c_o=yes
                   9315:      fi
                   9316:    fi
                   9317:    chmod u+w . 2>&5
                   9318:    $RM conftest*
                   9319:    # SGI C++ compiler will create directory out/ii_files/ for
                   9320:    # template instantiation
                   9321:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   9322:    $RM out/* && rmdir out
                   9323:    cd ..
                   9324:    $RM -r conftest
                   9325:    $RM conftest*
1.1       misha    9326: 
1.8       moko     9327: fi
1.22      moko     9328: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   9329: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
1.1       misha    9330: 
                   9331: 
                   9332: 
                   9333: 
1.8       moko     9334: hard_links="nottested"
                   9335: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
                   9336:   # do not overwrite the value of need_locks provided by the user
1.22      moko     9337:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   9338: $as_echo_n "checking if we can lock with hard links... " >&6; }
1.8       moko     9339:   hard_links=yes
                   9340:   $RM conftest*
                   9341:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   9342:   touch conftest.a
                   9343:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   9344:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.22      moko     9345:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   9346: $as_echo "$hard_links" >&6; }
1.8       moko     9347:   if test "$hard_links" = no; then
1.22      moko     9348:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   9349: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.8       moko     9350:     need_locks=warn
                   9351:   fi
                   9352: else
                   9353:   need_locks=no
                   9354: fi
1.1       misha    9355: 
                   9356: 
                   9357: 
                   9358: 
                   9359: 
                   9360: 
1.22      moko     9361:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   9362: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.1       misha    9363: 
1.8       moko     9364:   runpath_var=
                   9365:   allow_undefined_flag=
                   9366:   always_export_symbols=no
                   9367:   archive_cmds=
                   9368:   archive_expsym_cmds=
                   9369:   compiler_needs_object=no
                   9370:   enable_shared_with_static_runtimes=no
                   9371:   export_dynamic_flag_spec=
                   9372:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   9373:   hardcode_automatic=no
                   9374:   hardcode_direct=no
                   9375:   hardcode_direct_absolute=no
                   9376:   hardcode_libdir_flag_spec=
                   9377:   hardcode_libdir_separator=
                   9378:   hardcode_minus_L=no
                   9379:   hardcode_shlibpath_var=unsupported
                   9380:   inherit_rpath=no
                   9381:   link_all_deplibs=unknown
                   9382:   module_cmds=
                   9383:   module_expsym_cmds=
                   9384:   old_archive_from_new_cmds=
                   9385:   old_archive_from_expsyms_cmds=
                   9386:   thread_safe_flag_spec=
                   9387:   whole_archive_flag_spec=
                   9388:   # include_expsyms should be a list of space-separated symbols to be *always*
                   9389:   # included in the symbol list
                   9390:   include_expsyms=
                   9391:   # exclude_expsyms can be an extended regexp of symbols to exclude
                   9392:   # it will be wrapped by ` (' and `)$', so one must not match beginning or
                   9393:   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
                   9394:   # as well as any symbol that contains `d'.
                   9395:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   9396:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   9397:   # platforms (ab)use it in PIC code, but their linkers get confused if
                   9398:   # the symbol is explicitly referenced.  Since portable code cannot
                   9399:   # rely on this symbol name, it's probably fine to never include it in
                   9400:   # preloaded symbol tables.
                   9401:   # Exclude shared library initialization/finalization symbols.
                   9402:   extract_expsyms_cmds=
1.1       misha    9403: 
1.8       moko     9404:   case $host_os in
                   9405:   cygwin* | mingw* | pw32* | cegcc*)
                   9406:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
                   9407:     # When not using gcc, we currently assume that we are using
                   9408:     # Microsoft Visual C++.
                   9409:     if test "$GCC" != yes; then
                   9410:       with_gnu_ld=no
                   9411:     fi
                   9412:     ;;
                   9413:   interix*)
                   9414:     # we just hope/assume this is gcc and not c89 (= MSVC++)
                   9415:     with_gnu_ld=yes
                   9416:     ;;
                   9417:   openbsd*)
                   9418:     with_gnu_ld=no
                   9419:     ;;
                   9420:   esac
1.1       misha    9421: 
1.8       moko     9422:   ld_shlibs=yes
1.1       misha    9423: 
1.8       moko     9424:   # On some targets, GNU ld is compatible enough with the native linker
                   9425:   # that we're better off using the native interface for both.
                   9426:   lt_use_gnu_ld_interface=no
                   9427:   if test "$with_gnu_ld" = yes; then
                   9428:     case $host_os in
                   9429:       aix*)
                   9430:        # The AIX port of GNU ld has always aspired to compatibility
                   9431:        # with the native linker.  However, as the warning in the GNU ld
                   9432:        # block says, versions before 2.19.5* couldn't really create working
                   9433:        # shared libraries, regardless of the interface used.
                   9434:        case `$LD -v 2>&1` in
                   9435:          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
                   9436:          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
                   9437:          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
                   9438:          *)
                   9439:            lt_use_gnu_ld_interface=yes
                   9440:            ;;
                   9441:        esac
                   9442:        ;;
                   9443:       *)
                   9444:        lt_use_gnu_ld_interface=yes
                   9445:        ;;
                   9446:     esac
                   9447:   fi
1.1       misha    9448: 
1.8       moko     9449:   if test "$lt_use_gnu_ld_interface" = yes; then
                   9450:     # If archive_cmds runs LD, not CC, wlarc should be empty
                   9451:     wlarc='${wl}'
                   9452: 
                   9453:     # Set some defaults for GNU ld with shared library support. These
                   9454:     # are reset later if shared libraries are not supported. Putting them
                   9455:     # here allows them to be overridden if necessary.
                   9456:     runpath_var=LD_RUN_PATH
                   9457:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9458:     export_dynamic_flag_spec='${wl}--export-dynamic'
                   9459:     # ancient GNU ld didn't support --whole-archive et. al.
                   9460:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
                   9461:       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   9462:     else
                   9463:       whole_archive_flag_spec=
                   9464:     fi
                   9465:     supports_anon_versioning=no
                   9466:     case `$LD -v 2>&1` in
                   9467:       *GNU\ gold*) supports_anon_versioning=yes ;;
                   9468:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
                   9469:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
                   9470:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
                   9471:       *\ 2.11.*) ;; # other 2.11 versions
                   9472:       *) supports_anon_versioning=yes ;;
                   9473:     esac
1.1       misha    9474: 
1.8       moko     9475:     # See if GNU ld supports shared libraries.
                   9476:     case $host_os in
                   9477:     aix[3-9]*)
                   9478:       # On AIX/PPC, the GNU linker is very broken
                   9479:       if test "$host_cpu" != ia64; then
                   9480:        ld_shlibs=no
                   9481:        cat <<_LT_EOF 1>&2
1.1       misha    9482: 
1.8       moko     9483: *** Warning: the GNU linker, at least up to release 2.19, is reported
                   9484: *** to be unable to reliably create shared libraries on AIX.
                   9485: *** Therefore, libtool is disabling shared libraries support.  If you
                   9486: *** really care for shared libraries, you may want to install binutils
                   9487: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
                   9488: *** You will then need to restart the configuration process.
1.1       misha    9489: 
1.8       moko     9490: _LT_EOF
                   9491:       fi
                   9492:       ;;
1.1       misha    9493: 
1.8       moko     9494:     amigaos*)
                   9495:       case $host_cpu in
                   9496:       powerpc)
                   9497:             # see comment about AmigaOS4 .so support
                   9498:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9499:             archive_expsym_cmds=''
                   9500:         ;;
                   9501:       m68k)
                   9502:             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)'
                   9503:             hardcode_libdir_flag_spec='-L$libdir'
                   9504:             hardcode_minus_L=yes
                   9505:         ;;
                   9506:       esac
                   9507:       ;;
1.1       misha    9508: 
1.8       moko     9509:     beos*)
                   9510:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   9511:        allow_undefined_flag=unsupported
                   9512:        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   9513:        # support --undefined.  This deserves some investigation.  FIXME
                   9514:        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9515:       else
                   9516:        ld_shlibs=no
                   9517:       fi
                   9518:       ;;
1.1       misha    9519: 
1.8       moko     9520:     cygwin* | mingw* | pw32* | cegcc*)
                   9521:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
                   9522:       # as there is no search path for DLLs.
                   9523:       hardcode_libdir_flag_spec='-L$libdir'
                   9524:       export_dynamic_flag_spec='${wl}--export-all-symbols'
                   9525:       allow_undefined_flag=unsupported
                   9526:       always_export_symbols=no
                   9527:       enable_shared_with_static_runtimes=yes
                   9528:       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'
                   9529:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   9530: 
                   9531:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   9532:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   9533:        # If the export-symbols file already is a .def file (1st line
                   9534:        # is EXPORTS), use it as is; otherwise, prepend...
                   9535:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   9536:          cp $export_symbols $output_objdir/$soname.def;
                   9537:        else
                   9538:          echo EXPORTS > $output_objdir/$soname.def;
                   9539:          cat $export_symbols >> $output_objdir/$soname.def;
                   9540:        fi~
                   9541:        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   9542:       else
                   9543:        ld_shlibs=no
                   9544:       fi
                   9545:       ;;
1.1       misha    9546: 
1.8       moko     9547:     haiku*)
                   9548:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9549:       link_all_deplibs=yes
                   9550:       ;;
1.1       misha    9551: 
1.8       moko     9552:     interix[3-9]*)
                   9553:       hardcode_direct=no
                   9554:       hardcode_shlibpath_var=no
                   9555:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   9556:       export_dynamic_flag_spec='${wl}-E'
                   9557:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   9558:       # Instead, shared libraries are loaded at an image base (0x10000000 by
                   9559:       # default) and relocated if they conflict, which is a slow very memory
                   9560:       # consuming and fragmenting process.  To avoid this, we pick a random,
                   9561:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   9562:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   9563:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   9564:       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'
                   9565:       ;;
1.1       misha    9566: 
1.8       moko     9567:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
                   9568:       tmp_diet=no
                   9569:       if test "$host_os" = linux-dietlibc; then
                   9570:        case $cc_basename in
                   9571:          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
                   9572:        esac
                   9573:       fi
                   9574:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
                   9575:         && test "$tmp_diet" = no
                   9576:       then
                   9577:        tmp_addflag=' $pic_flag'
                   9578:        tmp_sharedflag='-shared'
                   9579:        case $cc_basename,$host_cpu in
                   9580:         pgcc*)                         # Portland Group C compiler
                   9581:          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'
                   9582:          tmp_addflag=' $pic_flag'
                   9583:          ;;
                   9584:        pgf77* | pgf90* | pgf95* | pgfortran*)
                   9585:                                        # Portland Group f77 and f90 compilers
                   9586:          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'
                   9587:          tmp_addflag=' $pic_flag -Mnomain' ;;
                   9588:        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
                   9589:          tmp_addflag=' -i_dynamic' ;;
                   9590:        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
                   9591:          tmp_addflag=' -i_dynamic -nofor_main' ;;
                   9592:        ifc* | ifort*)                  # Intel Fortran compiler
                   9593:          tmp_addflag=' -nofor_main' ;;
                   9594:        lf95*)                          # Lahey Fortran 8.1
                   9595:          whole_archive_flag_spec=
                   9596:          tmp_sharedflag='--shared' ;;
                   9597:        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
                   9598:          tmp_sharedflag='-qmkshrobj'
                   9599:          tmp_addflag= ;;
                   9600:        nvcc*)  # Cuda Compiler Driver 2.2
                   9601:          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'
                   9602:          compiler_needs_object=yes
                   9603:          ;;
                   9604:        esac
                   9605:        case `$CC -V 2>&1 | sed 5q` in
                   9606:        *Sun\ C*)                       # Sun C 5.9
                   9607:          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'
                   9608:          compiler_needs_object=yes
                   9609:          tmp_sharedflag='-G' ;;
                   9610:        *Sun\ F*)                       # Sun Fortran 8.3
                   9611:          tmp_sharedflag='-G' ;;
                   9612:        esac
                   9613:        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.1       misha    9614: 
1.8       moko     9615:         if test "x$supports_anon_versioning" = xyes; then
                   9616:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   9617:            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   9618:            echo "local: *; };" >> $output_objdir/$libname.ver~
                   9619:            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   9620:         fi
                   9621: 
                   9622:        case $cc_basename in
                   9623:        xlf* | bgf* | bgxlf* | mpixlf*)
                   9624:          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
                   9625:          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
                   9626:          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9627:          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
                   9628:          if test "x$supports_anon_versioning" = xyes; then
                   9629:            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   9630:              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   9631:              echo "local: *; };" >> $output_objdir/$libname.ver~
                   9632:              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
                   9633:          fi
                   9634:          ;;
                   9635:        esac
                   9636:       else
                   9637:         ld_shlibs=no
                   9638:       fi
                   9639:       ;;
1.1       misha    9640: 
1.8       moko     9641:     netbsd*)
                   9642:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   9643:        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   9644:        wlarc=
                   9645:       else
                   9646:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9647:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   9648:       fi
                   9649:       ;;
1.1       misha    9650: 
1.8       moko     9651:     solaris*)
                   9652:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
                   9653:        ld_shlibs=no
                   9654:        cat <<_LT_EOF 1>&2
1.1       misha    9655: 
1.8       moko     9656: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   9657: *** create shared libraries on Solaris systems.  Therefore, libtool
                   9658: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   9659: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   9660: *** your PATH or compiler configuration so that the native linker is
                   9661: *** used, and then restart.
1.1       misha    9662: 
1.8       moko     9663: _LT_EOF
                   9664:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   9665:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9666:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   9667:       else
                   9668:        ld_shlibs=no
                   9669:       fi
                   9670:       ;;
1.1       misha    9671: 
1.8       moko     9672:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
                   9673:       case `$LD -v 2>&1` in
                   9674:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
                   9675:        ld_shlibs=no
                   9676:        cat <<_LT_EOF 1>&2
1.1       misha    9677: 
1.8       moko     9678: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
                   9679: *** reliably create shared libraries on SCO systems.  Therefore, libtool
                   9680: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   9681: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
                   9682: *** your PATH or compiler configuration so that the native linker is
                   9683: *** used, and then restart.
1.1       misha    9684: 
1.8       moko     9685: _LT_EOF
                   9686:        ;;
                   9687:        *)
                   9688:          # For security reasons, it is highly recommended that you always
                   9689:          # use absolute paths for naming shared libraries, and exclude the
                   9690:          # DT_RUNPATH tag from executables and libraries.  But doing so
                   9691:          # requires that you compile everything twice, which is a pain.
                   9692:          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   9693:            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9694:            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9695:            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   9696:          else
                   9697:            ld_shlibs=no
                   9698:          fi
                   9699:        ;;
                   9700:       esac
                   9701:       ;;
1.1       misha    9702: 
1.8       moko     9703:     sunos4*)
                   9704:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   9705:       wlarc=
                   9706:       hardcode_direct=yes
                   9707:       hardcode_shlibpath_var=no
                   9708:       ;;
1.1       misha    9709: 
1.8       moko     9710:     *)
                   9711:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   9712:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9713:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   9714:       else
                   9715:        ld_shlibs=no
                   9716:       fi
                   9717:       ;;
                   9718:     esac
1.1       misha    9719: 
1.8       moko     9720:     if test "$ld_shlibs" = no; then
                   9721:       runpath_var=
                   9722:       hardcode_libdir_flag_spec=
                   9723:       export_dynamic_flag_spec=
                   9724:       whole_archive_flag_spec=
                   9725:     fi
                   9726:   else
                   9727:     # PORTME fill in a description of your system's linker (not GNU ld)
                   9728:     case $host_os in
                   9729:     aix3*)
                   9730:       allow_undefined_flag=unsupported
                   9731:       always_export_symbols=yes
                   9732:       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'
                   9733:       # Note: this linker hardcodes the directories in LIBPATH if there
                   9734:       # are no directories specified by -L.
                   9735:       hardcode_minus_L=yes
                   9736:       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
                   9737:        # Neither direct hardcoding nor static linking is supported with a
                   9738:        # broken collect2.
                   9739:        hardcode_direct=unsupported
                   9740:       fi
                   9741:       ;;
1.1       misha    9742: 
1.8       moko     9743:     aix[4-9]*)
                   9744:       if test "$host_cpu" = ia64; then
                   9745:        # On IA64, the linker does run time linking by default, so we don't
                   9746:        # have to do anything special.
                   9747:        aix_use_runtimelinking=no
                   9748:        exp_sym_flag='-Bexport'
                   9749:        no_entry_flag=""
                   9750:       else
                   9751:        # If we're using GNU nm, then we don't want the "-C" option.
                   9752:        # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   9753:        # Also, AIX nm treats weak defined symbols like other global
                   9754:        # defined symbols, whereas GNU nm marks them as "W".
                   9755:        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   9756:          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
                   9757:        else
                   9758:          export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
                   9759:        fi
                   9760:        aix_use_runtimelinking=no
1.1       misha    9761: 
1.8       moko     9762:        # Test if we are trying to use run time linking or normal
                   9763:        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   9764:        # need to do runtime linking.
                   9765:        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   9766:          for ld_flag in $LDFLAGS; do
                   9767:          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
                   9768:            aix_use_runtimelinking=yes
                   9769:            break
                   9770:          fi
                   9771:          done
                   9772:          ;;
                   9773:        esac
1.1       misha    9774: 
1.8       moko     9775:        exp_sym_flag='-bexport'
                   9776:        no_entry_flag='-bnoentry'
                   9777:       fi
1.1       misha    9778: 
1.8       moko     9779:       # When large executables or shared objects are built, AIX ld can
                   9780:       # have problems creating the table of contents.  If linking a library
                   9781:       # or program results in "error TOC overflow" add -mminimal-toc to
                   9782:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   9783:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   9784: 
                   9785:       archive_cmds=''
                   9786:       hardcode_direct=yes
                   9787:       hardcode_direct_absolute=yes
                   9788:       hardcode_libdir_separator=':'
                   9789:       link_all_deplibs=yes
                   9790:       file_list_spec='${wl}-f,'
                   9791: 
                   9792:       if test "$GCC" = yes; then
                   9793:        case $host_os in aix4.[012]|aix4.[012].*)
                   9794:        # We only want to do this on AIX 4.2 and lower, the check
                   9795:        # below for broken collect2 doesn't work under 4.3+
                   9796:          collect2name=`${CC} -print-prog-name=collect2`
                   9797:          if test -f "$collect2name" &&
                   9798:           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   9799:          then
                   9800:          # We have reworked collect2
                   9801:          :
                   9802:          else
                   9803:          # We have old collect2
                   9804:          hardcode_direct=unsupported
                   9805:          # It fails to find uninstalled libraries when the uninstalled
                   9806:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   9807:          # to unsupported forces relinking
                   9808:          hardcode_minus_L=yes
                   9809:          hardcode_libdir_flag_spec='-L$libdir'
                   9810:          hardcode_libdir_separator=
                   9811:          fi
                   9812:          ;;
                   9813:        esac
                   9814:        shared_flag='-shared'
                   9815:        if test "$aix_use_runtimelinking" = yes; then
                   9816:          shared_flag="$shared_flag "'${wl}-G'
                   9817:        fi
                   9818:       else
                   9819:        # not using gcc
                   9820:        if test "$host_cpu" = ia64; then
                   9821:        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   9822:        # chokes on -Wl,-G. The following line is correct:
                   9823:          shared_flag='-G'
                   9824:        else
                   9825:          if test "$aix_use_runtimelinking" = yes; then
                   9826:            shared_flag='${wl}-G'
                   9827:          else
                   9828:            shared_flag='${wl}-bM:SRE'
                   9829:          fi
                   9830:        fi
                   9831:       fi
1.1       misha    9832: 
1.8       moko     9833:       export_dynamic_flag_spec='${wl}-bexpall'
                   9834:       # It seems that -bexpall does not export symbols beginning with
                   9835:       # underscore (_), so it is better to generate a list of symbols to export.
                   9836:       always_export_symbols=yes
                   9837:       if test "$aix_use_runtimelinking" = yes; then
                   9838:        # Warning - without using the other runtime loading flags (-brtl),
                   9839:        # -berok will link without error, but may produce a broken library.
                   9840:        allow_undefined_flag='-berok'
                   9841:         # Determine the default libpath from the value encoded in an
                   9842:         # empty executable.
                   9843:         if test "${lt_cv_aix_libpath+set}" = set; then
                   9844:   aix_libpath=$lt_cv_aix_libpath
                   9845: else
1.22      moko     9846:   if ${lt_cv_aix_libpath_+:} false; then :
                   9847:   $as_echo_n "(cached) " >&6
1.1       misha    9848: else
1.22      moko     9849:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misha    9850: /* end confdefs.h.  */
1.8       moko     9851: 
                   9852: int
                   9853: main ()
                   9854: {
                   9855: 
                   9856:   ;
                   9857:   return 0;
                   9858: }
1.1       misha    9859: _ACEOF
1.22      moko     9860: if ac_fn_c_try_link "$LINENO"; then :
1.8       moko     9861: 
                   9862:   lt_aix_libpath_sed='
                   9863:       /Import File Strings/,/^$/ {
                   9864:          /^0/ {
                   9865:              s/^0  *\([^ ]*\) *$/\1/
                   9866:              p
                   9867:          }
                   9868:       }'
                   9869:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9870:   # Check for a 64-bit object if we didn't find anything.
                   9871:   if test -z "$lt_cv_aix_libpath_"; then
                   9872:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9873:   fi
1.1       misha    9874: fi
1.22      moko     9875: rm -f core conftest.err conftest.$ac_objext \
                   9876:     conftest$ac_exeext conftest.$ac_ext
1.8       moko     9877:   if test -z "$lt_cv_aix_libpath_"; then
                   9878:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   9879:   fi
                   9880: 
                   9881: fi
                   9882: 
                   9883:   aix_libpath=$lt_cv_aix_libpath_
                   9884: fi
1.1       misha    9885: 
1.8       moko     9886:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   9887:         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
                   9888:       else
                   9889:        if test "$host_cpu" = ia64; then
                   9890:          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
                   9891:          allow_undefined_flag="-z nodefs"
                   9892:          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"
                   9893:        else
                   9894:         # Determine the default libpath from the value encoded in an
                   9895:         # empty executable.
                   9896:         if test "${lt_cv_aix_libpath+set}" = set; then
                   9897:   aix_libpath=$lt_cv_aix_libpath
                   9898: else
1.22      moko     9899:   if ${lt_cv_aix_libpath_+:} false; then :
                   9900:   $as_echo_n "(cached) " >&6
1.8       moko     9901: else
1.22      moko     9902:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misha    9903: /* end confdefs.h.  */
1.8       moko     9904: 
                   9905: int
                   9906: main ()
                   9907: {
                   9908: 
                   9909:   ;
                   9910:   return 0;
                   9911: }
1.1       misha    9912: _ACEOF
1.22      moko     9913: if ac_fn_c_try_link "$LINENO"; then :
1.8       moko     9914: 
                   9915:   lt_aix_libpath_sed='
                   9916:       /Import File Strings/,/^$/ {
                   9917:          /^0/ {
                   9918:              s/^0  *\([^ ]*\) *$/\1/
                   9919:              p
                   9920:          }
                   9921:       }'
                   9922:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9923:   # Check for a 64-bit object if we didn't find anything.
                   9924:   if test -z "$lt_cv_aix_libpath_"; then
                   9925:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
1.1       misha    9926:   fi
                   9927: fi
1.22      moko     9928: rm -f core conftest.err conftest.$ac_objext \
                   9929:     conftest$ac_exeext conftest.$ac_ext
1.8       moko     9930:   if test -z "$lt_cv_aix_libpath_"; then
                   9931:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   9932:   fi
                   9933: 
                   9934: fi
                   9935: 
                   9936:   aix_libpath=$lt_cv_aix_libpath_
                   9937: fi
                   9938: 
                   9939:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   9940:          # Warning - without using the other run time loading flags,
                   9941:          # -berok will link without error, but may produce a broken library.
                   9942:          no_undefined_flag=' ${wl}-bernotok'
                   9943:          allow_undefined_flag=' ${wl}-berok'
                   9944:          if test "$with_gnu_ld" = yes; then
                   9945:            # We only use this code for GNU lds that support --whole-archive.
                   9946:            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   9947:          else
                   9948:            # Exported symbols can be pulled into shared objects from archives
                   9949:            whole_archive_flag_spec='$convenience'
                   9950:          fi
                   9951:          archive_cmds_need_lc=yes
                   9952:          # This is similar to how AIX traditionally builds its shared libraries.
                   9953:          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
                   9954:        fi
                   9955:       fi
                   9956:       ;;
                   9957: 
                   9958:     amigaos*)
                   9959:       case $host_cpu in
                   9960:       powerpc)
                   9961:             # see comment about AmigaOS4 .so support
                   9962:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9963:             archive_expsym_cmds=''
                   9964:         ;;
                   9965:       m68k)
                   9966:             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)'
                   9967:             hardcode_libdir_flag_spec='-L$libdir'
                   9968:             hardcode_minus_L=yes
                   9969:         ;;
                   9970:       esac
                   9971:       ;;
                   9972: 
                   9973:     bsdi[45]*)
                   9974:       export_dynamic_flag_spec=-rdynamic
                   9975:       ;;
                   9976: 
                   9977:     cygwin* | mingw* | pw32* | cegcc*)
                   9978:       # When not using gcc, we currently assume that we are using
                   9979:       # Microsoft Visual C++.
                   9980:       # hardcode_libdir_flag_spec is actually meaningless, as there is
                   9981:       # no search path for DLLs.
                   9982:       case $cc_basename in
                   9983:       cl*)
                   9984:        # Native MSVC
                   9985:        hardcode_libdir_flag_spec=' '
                   9986:        allow_undefined_flag=unsupported
                   9987:        always_export_symbols=yes
                   9988:        file_list_spec='@'
                   9989:        # Tell ltmain to make .lib files, not .a files.
                   9990:        libext=lib
                   9991:        # Tell ltmain to make .dll files, not .so files.
                   9992:        shrext_cmds=".dll"
                   9993:        # FIXME: Setting linknames here is a bad hack.
                   9994:        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   9995:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   9996:            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   9997:          else
                   9998:            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   9999:          fi~
                   10000:          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   10001:          linknames='
                   10002:        # The linker will not automatically build a static lib if we build a DLL.
                   10003:        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
                   10004:        enable_shared_with_static_runtimes=yes
                   10005:        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   10006:        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
                   10007:        # Don't use ranlib
                   10008:        old_postinstall_cmds='chmod 644 $oldlib'
                   10009:        postlink_cmds='lt_outputfile="@OUTPUT@"~
                   10010:          lt_tool_outputfile="@TOOL_OUTPUT@"~
                   10011:          case $lt_outputfile in
                   10012:            *.exe|*.EXE) ;;
                   10013:            *)
                   10014:              lt_outputfile="$lt_outputfile.exe"
                   10015:              lt_tool_outputfile="$lt_tool_outputfile.exe"
                   10016:              ;;
                   10017:          esac~
                   10018:          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   10019:            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   10020:            $RM "$lt_outputfile.manifest";
                   10021:          fi'
                   10022:        ;;
                   10023:       *)
                   10024:        # Assume MSVC wrapper
                   10025:        hardcode_libdir_flag_spec=' '
                   10026:        allow_undefined_flag=unsupported
                   10027:        # Tell ltmain to make .lib files, not .a files.
                   10028:        libext=lib
                   10029:        # Tell ltmain to make .dll files, not .so files.
                   10030:        shrext_cmds=".dll"
                   10031:        # FIXME: Setting linknames here is a bad hack.
                   10032:        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
                   10033:        # The linker will automatically build a .lib file if we build a DLL.
                   10034:        old_archive_from_new_cmds='true'
                   10035:        # FIXME: Should let the user specify the lib program.
                   10036:        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
                   10037:        enable_shared_with_static_runtimes=yes
                   10038:        ;;
                   10039:       esac
                   10040:       ;;
                   10041: 
                   10042:     darwin* | rhapsody*)
                   10043: 
                   10044: 
                   10045:   archive_cmds_need_lc=no
                   10046:   hardcode_direct=no
                   10047:   hardcode_automatic=yes
                   10048:   hardcode_shlibpath_var=unsupported
                   10049:   if test "$lt_cv_ld_force_load" = "yes"; then
                   10050:     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\"`'
                   10051: 
                   10052:   else
                   10053:     whole_archive_flag_spec=''
                   10054:   fi
                   10055:   link_all_deplibs=yes
                   10056:   allow_undefined_flag="$_lt_dar_allow_undefined"
                   10057:   case $cc_basename in
                   10058:      ifort*) _lt_dar_can_shared=yes ;;
                   10059:      *) _lt_dar_can_shared=$GCC ;;
                   10060:   esac
                   10061:   if test "$_lt_dar_can_shared" = "yes"; then
                   10062:     output_verbose_link_cmd=func_echo_all
                   10063:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
                   10064:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   10065:     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}"
                   10066:     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}"
                   10067: 
                   10068:   else
                   10069:   ld_shlibs=no
                   10070:   fi
                   10071: 
                   10072:       ;;
                   10073: 
                   10074:     dgux*)
                   10075:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10076:       hardcode_libdir_flag_spec='-L$libdir'
                   10077:       hardcode_shlibpath_var=no
                   10078:       ;;
                   10079: 
                   10080:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   10081:     # support.  Future versions do this automatically, but an explicit c++rt0.o
                   10082:     # does not break anything, and helps significantly (at the cost of a little
                   10083:     # extra space).
                   10084:     freebsd2.2*)
                   10085:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   10086:       hardcode_libdir_flag_spec='-R$libdir'
                   10087:       hardcode_direct=yes
                   10088:       hardcode_shlibpath_var=no
                   10089:       ;;
                   10090: 
                   10091:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
                   10092:     freebsd2.*)
                   10093:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   10094:       hardcode_direct=yes
                   10095:       hardcode_minus_L=yes
                   10096:       hardcode_shlibpath_var=no
                   10097:       ;;
                   10098: 
                   10099:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
                   10100:     freebsd* | dragonfly*)
                   10101:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   10102:       hardcode_libdir_flag_spec='-R$libdir'
                   10103:       hardcode_direct=yes
                   10104:       hardcode_shlibpath_var=no
                   10105:       ;;
                   10106: 
                   10107:     hpux9*)
                   10108:       if test "$GCC" = yes; then
                   10109:        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
                   10110:       else
                   10111:        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
                   10112:       fi
                   10113:       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   10114:       hardcode_libdir_separator=:
                   10115:       hardcode_direct=yes
                   10116: 
                   10117:       # hardcode_minus_L: Not really in the search PATH,
                   10118:       # but as the default location of the library.
                   10119:       hardcode_minus_L=yes
                   10120:       export_dynamic_flag_spec='${wl}-E'
                   10121:       ;;
                   10122: 
                   10123:     hpux10*)
                   10124:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   10125:        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   10126:       else
                   10127:        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   10128:       fi
                   10129:       if test "$with_gnu_ld" = no; then
                   10130:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   10131:        hardcode_libdir_separator=:
                   10132:        hardcode_direct=yes
                   10133:        hardcode_direct_absolute=yes
                   10134:        export_dynamic_flag_spec='${wl}-E'
                   10135:        # hardcode_minus_L: Not really in the search PATH,
                   10136:        # but as the default location of the library.
                   10137:        hardcode_minus_L=yes
                   10138:       fi
                   10139:       ;;
                   10140: 
                   10141:     hpux11*)
                   10142:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   10143:        case $host_cpu in
                   10144:        hppa*64*)
                   10145:          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10146:          ;;
                   10147:        ia64*)
                   10148:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   10149:          ;;
                   10150:        *)
                   10151:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   10152:          ;;
                   10153:        esac
                   10154:       else
                   10155:        case $host_cpu in
                   10156:        hppa*64*)
                   10157:          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10158:          ;;
                   10159:        ia64*)
                   10160:          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   10161:          ;;
                   10162:        *)
1.1       misha    10163: 
1.8       moko     10164:          # Older versions of the 11.00 compiler do not understand -b yet
                   10165:          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
1.22      moko     10166:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
                   10167: $as_echo_n "checking if $CC understands -b... " >&6; }
                   10168: if ${lt_cv_prog_compiler__b+:} false; then :
                   10169:   $as_echo_n "(cached) " >&6
1.1       misha    10170: else
1.8       moko     10171:   lt_cv_prog_compiler__b=no
                   10172:    save_LDFLAGS="$LDFLAGS"
                   10173:    LDFLAGS="$LDFLAGS -b"
                   10174:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   10175:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   10176:      # The linker can only warn and ignore the option if not recognized
                   10177:      # So say no if there are warnings
                   10178:      if test -s conftest.err; then
                   10179:        # Append any errors to the config.log.
                   10180:        cat conftest.err 1>&5
                   10181:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   10182:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   10183:        if diff conftest.exp conftest.er2 >/dev/null; then
                   10184:          lt_cv_prog_compiler__b=yes
                   10185:        fi
                   10186:      else
                   10187:        lt_cv_prog_compiler__b=yes
                   10188:      fi
                   10189:    fi
                   10190:    $RM -r conftest*
                   10191:    LDFLAGS="$save_LDFLAGS"
1.1       misha    10192: 
                   10193: fi
1.22      moko     10194: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
                   10195: $as_echo "$lt_cv_prog_compiler__b" >&6; }
1.1       misha    10196: 
1.8       moko     10197: if test x"$lt_cv_prog_compiler__b" = xyes; then
                   10198:     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   10199: else
                   10200:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
1.1       misha    10201: fi
                   10202: 
1.8       moko     10203:          ;;
                   10204:        esac
                   10205:       fi
                   10206:       if test "$with_gnu_ld" = no; then
                   10207:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   10208:        hardcode_libdir_separator=:
                   10209: 
                   10210:        case $host_cpu in
                   10211:        hppa*64*|ia64*)
                   10212:          hardcode_direct=no
                   10213:          hardcode_shlibpath_var=no
                   10214:          ;;
                   10215:        *)
                   10216:          hardcode_direct=yes
                   10217:          hardcode_direct_absolute=yes
                   10218:          export_dynamic_flag_spec='${wl}-E'
1.1       misha    10219: 
1.8       moko     10220:          # hardcode_minus_L: Not really in the search PATH,
                   10221:          # but as the default location of the library.
                   10222:          hardcode_minus_L=yes
                   10223:          ;;
                   10224:        esac
                   10225:       fi
                   10226:       ;;
1.1       misha    10227: 
1.8       moko     10228:     irix5* | irix6* | nonstopux*)
                   10229:       if test "$GCC" = yes; then
                   10230:        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'
                   10231:        # Try to use the -exported_symbol ld option, if it does not
                   10232:        # work, assume that -exports_file does not work either and
                   10233:        # implicitly export all symbols.
                   10234:        # This should be the same for all languages, so no per-tag cache variable.
1.22      moko     10235:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
                   10236: $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
                   10237: if ${lt_cv_irix_exported_symbol+:} false; then :
                   10238:   $as_echo_n "(cached) " >&6
1.1       misha    10239: else
1.8       moko     10240:   save_LDFLAGS="$LDFLAGS"
                   10241:           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
1.22      moko     10242:           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misha    10243: /* end confdefs.h.  */
1.8       moko     10244: int foo (void) { return 0; }
1.1       misha    10245: _ACEOF
1.22      moko     10246: if ac_fn_c_try_link "$LINENO"; then :
1.8       moko     10247:   lt_cv_irix_exported_symbol=yes
1.1       misha    10248: else
1.22      moko     10249:   lt_cv_irix_exported_symbol=no
1.1       misha    10250: fi
1.22      moko     10251: rm -f core conftest.err conftest.$ac_objext \
                   10252:     conftest$ac_exeext conftest.$ac_ext
1.8       moko     10253:            LDFLAGS="$save_LDFLAGS"
1.1       misha    10254: fi
1.22      moko     10255: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
                   10256: $as_echo "$lt_cv_irix_exported_symbol" >&6; }
1.8       moko     10257:        if test "$lt_cv_irix_exported_symbol" = yes; then
                   10258:           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'
                   10259:        fi
                   10260:       else
                   10261:        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'
                   10262:        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'
                   10263:       fi
                   10264:       archive_cmds_need_lc='no'
                   10265:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10266:       hardcode_libdir_separator=:
                   10267:       inherit_rpath=yes
                   10268:       link_all_deplibs=yes
                   10269:       ;;
1.1       misha    10270: 
1.8       moko     10271:     netbsd*)
                   10272:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   10273:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   10274:       else
                   10275:        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   10276:       fi
                   10277:       hardcode_libdir_flag_spec='-R$libdir'
                   10278:       hardcode_direct=yes
                   10279:       hardcode_shlibpath_var=no
                   10280:       ;;
1.1       misha    10281: 
1.8       moko     10282:     newsos6)
                   10283:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10284:       hardcode_direct=yes
                   10285:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10286:       hardcode_libdir_separator=:
                   10287:       hardcode_shlibpath_var=no
                   10288:       ;;
1.1       misha    10289: 
1.8       moko     10290:     *nto* | *qnx*)
                   10291:       ;;
1.1       misha    10292: 
1.8       moko     10293:     openbsd*)
                   10294:       if test -f /usr/libexec/ld.so; then
                   10295:        hardcode_direct=yes
                   10296:        hardcode_shlibpath_var=no
                   10297:        hardcode_direct_absolute=yes
                   10298:        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   10299:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   10300:          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
                   10301:          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   10302:          export_dynamic_flag_spec='${wl}-E'
                   10303:        else
                   10304:          case $host_os in
                   10305:           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
                   10306:             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   10307:             hardcode_libdir_flag_spec='-R$libdir'
                   10308:             ;;
                   10309:           *)
                   10310:             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   10311:             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   10312:             ;;
                   10313:          esac
                   10314:        fi
                   10315:       else
                   10316:        ld_shlibs=no
                   10317:       fi
                   10318:       ;;
1.1       misha    10319: 
1.8       moko     10320:     os2*)
                   10321:       hardcode_libdir_flag_spec='-L$libdir'
                   10322:       hardcode_minus_L=yes
                   10323:       allow_undefined_flag=unsupported
                   10324:       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
                   10325:       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
                   10326:       ;;
1.1       misha    10327: 
1.8       moko     10328:     osf3*)
                   10329:       if test "$GCC" = yes; then
                   10330:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   10331:        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'
                   10332:       else
                   10333:        allow_undefined_flag=' -expect_unresolved \*'
                   10334:        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'
                   10335:       fi
                   10336:       archive_cmds_need_lc='no'
                   10337:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10338:       hardcode_libdir_separator=:
                   10339:       ;;
1.1       misha    10340: 
1.8       moko     10341:     osf4* | osf5*)     # as osf3* with the addition of -msym flag
                   10342:       if test "$GCC" = yes; then
                   10343:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   10344:        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'
                   10345:        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10346:       else
                   10347:        allow_undefined_flag=' -expect_unresolved \*'
                   10348:        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'
                   10349:        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~
                   10350:        $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'
                   10351: 
                   10352:        # Both c and cxx compiler support -rpath directly
                   10353:        hardcode_libdir_flag_spec='-rpath $libdir'
                   10354:       fi
                   10355:       archive_cmds_need_lc='no'
                   10356:       hardcode_libdir_separator=:
                   10357:       ;;
                   10358: 
                   10359:     solaris*)
                   10360:       no_undefined_flag=' -z defs'
                   10361:       if test "$GCC" = yes; then
                   10362:        wlarc='${wl}'
                   10363:        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10364:        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   10365:          $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'
                   10366:       else
                   10367:        case `$CC -V 2>&1` in
                   10368:        *"Compilers 5.0"*)
                   10369:          wlarc=''
                   10370:          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10371:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   10372:          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
                   10373:          ;;
                   10374:        *)
                   10375:          wlarc='${wl}'
                   10376:          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   10377:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   10378:          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
                   10379:          ;;
                   10380:        esac
                   10381:       fi
                   10382:       hardcode_libdir_flag_spec='-R$libdir'
                   10383:       hardcode_shlibpath_var=no
                   10384:       case $host_os in
                   10385:       solaris2.[0-5] | solaris2.[0-5].*) ;;
                   10386:       *)
                   10387:        # The compiler driver will combine and reorder linker options,
                   10388:        # but understands `-z linker_flag'.  GCC discards it without `$wl',
                   10389:        # but is careful enough not to reorder.
                   10390:        # Supported since Solaris 2.6 (maybe 2.5.1?)
                   10391:        if test "$GCC" = yes; then
                   10392:          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   10393:        else
                   10394:          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
                   10395:        fi
                   10396:        ;;
                   10397:       esac
                   10398:       link_all_deplibs=yes
                   10399:       ;;
                   10400: 
                   10401:     sunos4*)
                   10402:       if test "x$host_vendor" = xsequent; then
                   10403:        # Use $CC to link under sequent, because it throws in some extra .o
                   10404:        # files that make .init and .fini sections work.
                   10405:        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   10406:       else
                   10407:        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   10408:       fi
                   10409:       hardcode_libdir_flag_spec='-L$libdir'
                   10410:       hardcode_direct=yes
                   10411:       hardcode_minus_L=yes
                   10412:       hardcode_shlibpath_var=no
                   10413:       ;;
                   10414: 
                   10415:     sysv4)
                   10416:       case $host_vendor in
                   10417:        sni)
                   10418:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10419:          hardcode_direct=yes # is this really true???
                   10420:        ;;
                   10421:        siemens)
                   10422:          ## LD is ld it makes a PLAMLIB
                   10423:          ## CC just makes a GrossModule.
                   10424:          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   10425:          reload_cmds='$CC -r -o $output$reload_objs'
                   10426:          hardcode_direct=no
                   10427:         ;;
                   10428:        motorola)
                   10429:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10430:          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   10431:        ;;
                   10432:       esac
                   10433:       runpath_var='LD_RUN_PATH'
                   10434:       hardcode_shlibpath_var=no
                   10435:       ;;
                   10436: 
                   10437:     sysv4.3*)
                   10438:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10439:       hardcode_shlibpath_var=no
                   10440:       export_dynamic_flag_spec='-Bexport'
                   10441:       ;;
                   10442: 
                   10443:     sysv4*MP*)
                   10444:       if test -d /usr/nec; then
                   10445:        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10446:        hardcode_shlibpath_var=no
                   10447:        runpath_var=LD_RUN_PATH
                   10448:        hardcode_runpath_var=yes
                   10449:        ld_shlibs=yes
                   10450:       fi
                   10451:       ;;
                   10452: 
                   10453:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   10454:       no_undefined_flag='${wl}-z,text'
                   10455:       archive_cmds_need_lc=no
                   10456:       hardcode_shlibpath_var=no
                   10457:       runpath_var='LD_RUN_PATH'
                   10458: 
                   10459:       if test "$GCC" = yes; then
                   10460:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10461:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10462:       else
                   10463:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10464:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10465:       fi
                   10466:       ;;
                   10467: 
                   10468:     sysv5* | sco3.2v5* | sco5v6*)
                   10469:       # Note: We can NOT use -z defs as we might desire, because we do not
                   10470:       # link with -lc, and that would cause any symbols used from libc to
                   10471:       # always be unresolved, which means just about no library would
                   10472:       # ever link correctly.  If we're not using GNU ld we use -z text
                   10473:       # though, which does catch some bad symbols but isn't as heavy-handed
                   10474:       # as -z defs.
                   10475:       no_undefined_flag='${wl}-z,text'
                   10476:       allow_undefined_flag='${wl}-z,nodefs'
                   10477:       archive_cmds_need_lc=no
                   10478:       hardcode_shlibpath_var=no
                   10479:       hardcode_libdir_flag_spec='${wl}-R,$libdir'
                   10480:       hardcode_libdir_separator=':'
                   10481:       link_all_deplibs=yes
                   10482:       export_dynamic_flag_spec='${wl}-Bexport'
                   10483:       runpath_var='LD_RUN_PATH'
                   10484: 
                   10485:       if test "$GCC" = yes; then
                   10486:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10487:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10488:       else
                   10489:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10490:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10491:       fi
                   10492:       ;;
1.1       misha    10493: 
1.8       moko     10494:     uts4*)
                   10495:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10496:       hardcode_libdir_flag_spec='-L$libdir'
                   10497:       hardcode_shlibpath_var=no
1.1       misha    10498:       ;;
1.8       moko     10499: 
1.1       misha    10500:     *)
1.8       moko     10501:       ld_shlibs=no
1.1       misha    10502:       ;;
1.8       moko     10503:     esac
                   10504: 
                   10505:     if test x$host_vendor = xsni; then
                   10506:       case $host in
                   10507:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   10508:        export_dynamic_flag_spec='${wl}-Blargedynsym'
                   10509:        ;;
                   10510:       esac
                   10511:     fi
1.1       misha    10512:   fi
                   10513: 
1.22      moko     10514: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
                   10515: $as_echo "$ld_shlibs" >&6; }
1.8       moko     10516: test "$ld_shlibs" = no && can_build_shared=no
                   10517: 
                   10518: with_gnu_ld=$with_gnu_ld
1.1       misha    10519: 
                   10520: 
                   10521: 
                   10522: 
                   10523: 
                   10524: 
                   10525: 
                   10526: 
                   10527: 
                   10528: 
                   10529: 
                   10530: 
                   10531: 
                   10532: 
                   10533: 
1.8       moko     10534: #
                   10535: # Do we need to explicitly link libc?
                   10536: #
                   10537: case "x$archive_cmds_need_lc" in
                   10538: x|xyes)
                   10539:   # Assume -lc should be added
                   10540:   archive_cmds_need_lc=yes
                   10541: 
                   10542:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   10543:     case $archive_cmds in
                   10544:     *'~'*)
                   10545:       # FIXME: we may have to deal with multi-command sequences.
                   10546:       ;;
                   10547:     '$CC '*)
                   10548:       # Test whether the compiler implicitly links with -lc since on some
                   10549:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   10550:       # to ld, don't add -lc before -lgcc.
1.22      moko     10551:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   10552: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
                   10553: if ${lt_cv_archive_cmds_need_lc+:} false; then :
                   10554:   $as_echo_n "(cached) " >&6
1.1       misha    10555: else
1.8       moko     10556:   $RM conftest*
                   10557:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   10558: 
1.22      moko     10559:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.8       moko     10560:   (eval $ac_compile) 2>&5
                   10561:   ac_status=$?
1.22      moko     10562:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   10563:   test $ac_status = 0; } 2>conftest.err; then
1.8       moko     10564:          soname=conftest
                   10565:          lib=conftest
                   10566:          libobjs=conftest.$ac_objext
                   10567:          deplibs=
                   10568:          wl=$lt_prog_compiler_wl
                   10569:          pic_flag=$lt_prog_compiler_pic
                   10570:          compiler_flags=-v
                   10571:          linker_flags=-v
                   10572:          verstring=
                   10573:          output_objdir=.
                   10574:          libname=conftest
                   10575:          lt_save_allow_undefined_flag=$allow_undefined_flag
                   10576:          allow_undefined_flag=
1.22      moko     10577:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1.8       moko     10578:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   10579:   ac_status=$?
1.22      moko     10580:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   10581:   test $ac_status = 0; }
1.8       moko     10582:          then
                   10583:            lt_cv_archive_cmds_need_lc=no
                   10584:          else
                   10585:            lt_cv_archive_cmds_need_lc=yes
                   10586:          fi
                   10587:          allow_undefined_flag=$lt_save_allow_undefined_flag
                   10588:        else
                   10589:          cat conftest.err 1>&5
                   10590:        fi
                   10591:        $RM conftest*
                   10592: 
1.1       misha    10593: fi
1.22      moko     10594: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
                   10595: $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
1.8       moko     10596:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
                   10597:       ;;
                   10598:     esac
                   10599:   fi
                   10600:   ;;
                   10601: esac
                   10602: 
                   10603: 
                   10604: 
                   10605: 
                   10606: 
                   10607: 
                   10608: 
                   10609: 
                   10610: 
                   10611: 
                   10612: 
                   10613: 
                   10614: 
                   10615: 
                   10616: 
                   10617: 
                   10618: 
                   10619: 
                   10620: 
                   10621: 
                   10622: 
                   10623: 
                   10624: 
                   10625: 
                   10626: 
                   10627: 
                   10628: 
                   10629: 
                   10630: 
                   10631: 
                   10632: 
                   10633: 
                   10634: 
                   10635: 
                   10636: 
                   10637: 
                   10638: 
                   10639: 
                   10640: 
                   10641: 
                   10642: 
                   10643: 
                   10644: 
                   10645: 
                   10646: 
                   10647: 
                   10648: 
                   10649: 
                   10650: 
                   10651: 
                   10652: 
                   10653: 
                   10654: 
                   10655: 
                   10656: 
                   10657: 
                   10658: 
                   10659: 
                   10660: 
                   10661: 
                   10662: 
1.1       misha    10663: 
                   10664: 
                   10665: 
                   10666: 
                   10667: 
                   10668: 
                   10669: 
                   10670: 
                   10671: 
                   10672: 
                   10673: 
                   10674: 
                   10675: 
                   10676: 
                   10677: 
                   10678: 
                   10679: 
                   10680: 
                   10681: 
                   10682: 
                   10683: 
                   10684: 
                   10685: 
                   10686: 
                   10687: 
                   10688: 
                   10689: 
                   10690: 
                   10691: 
                   10692: 
                   10693: 
                   10694: 
                   10695: 
                   10696: 
                   10697: 
                   10698: 
                   10699: 
                   10700: 
                   10701: 
                   10702: 
                   10703: 
                   10704: 
                   10705: 
                   10706: 
                   10707: 
                   10708: 
                   10709: 
                   10710: 
                   10711: 
                   10712: 
                   10713: 
                   10714: 
                   10715: 
                   10716: 
                   10717: 
                   10718: 
                   10719: 
                   10720: 
                   10721: 
                   10722: 
                   10723: 
                   10724: 
                   10725: 
                   10726: 
                   10727: 
                   10728: 
                   10729: 
                   10730: 
                   10731: 
                   10732: 
                   10733: 
                   10734: 
                   10735: 
                   10736: 
                   10737: 
                   10738: 
                   10739: 
                   10740: 
                   10741: 
                   10742: 
                   10743: 
                   10744: 
                   10745: 
                   10746: 
                   10747: 
                   10748: 
                   10749: 
                   10750: 
                   10751: 
                   10752: 
                   10753: 
1.22      moko     10754:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   10755: $as_echo_n "checking dynamic linker characteristics... " >&6; }
1.1       misha    10756: 
1.8       moko     10757: if test "$GCC" = yes; then
                   10758:   case $host_os in
                   10759:     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
                   10760:     *) lt_awk_arg="/^libraries:/" ;;
                   10761:   esac
                   10762:   case $host_os in
                   10763:     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
                   10764:     *) lt_sed_strip_eq="s,=/,/,g" ;;
                   10765:   esac
                   10766:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
                   10767:   case $lt_search_path_spec in
                   10768:   *\;*)
                   10769:     # if the path contains ";" then we assume it to be the separator
                   10770:     # otherwise default to the standard path separator (i.e. ":") - it is
                   10771:     # assumed that no part of a normal pathname contains ";" but that should
                   10772:     # okay in the real world where ";" in dirpaths is itself problematic.
                   10773:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
                   10774:     ;;
                   10775:   *)
                   10776:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
                   10777:     ;;
                   10778:   esac
                   10779:   # Ok, now we have the path, separated by spaces, we can step through it
                   10780:   # and add multilib dir if necessary.
                   10781:   lt_tmp_lt_search_path_spec=
                   10782:   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
                   10783:   for lt_sys_path in $lt_search_path_spec; do
                   10784:     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
                   10785:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
                   10786:     else
                   10787:       test -d "$lt_sys_path" && \
                   10788:        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
                   10789:     fi
                   10790:   done
                   10791:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
                   10792: BEGIN {RS=" "; FS="/|\n";} {
                   10793:   lt_foo="";
                   10794:   lt_count=0;
                   10795:   for (lt_i = NF; lt_i > 0; lt_i--) {
                   10796:     if ($lt_i != "" && $lt_i != ".") {
                   10797:       if ($lt_i == "..") {
                   10798:         lt_count++;
                   10799:       } else {
                   10800:         if (lt_count == 0) {
                   10801:           lt_foo="/" $lt_i lt_foo;
                   10802:         } else {
                   10803:           lt_count--;
                   10804:         }
                   10805:       }
                   10806:     }
                   10807:   }
                   10808:   if (lt_foo != "") { lt_freq[lt_foo]++; }
                   10809:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
                   10810: }'`
                   10811:   # AWK program above erroneously prepends '/' to C:/dos/paths
                   10812:   # for these hosts.
                   10813:   case $host_os in
                   10814:     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
                   10815:       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
                   10816:   esac
                   10817:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
1.1       misha    10818: else
1.8       moko     10819:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
1.1       misha    10820: fi
1.8       moko     10821: library_names_spec=
                   10822: libname_spec='lib$name'
                   10823: soname_spec=
                   10824: shrext_cmds=".so"
                   10825: postinstall_cmds=
                   10826: postuninstall_cmds=
                   10827: finish_cmds=
                   10828: finish_eval=
                   10829: shlibpath_var=
                   10830: shlibpath_overrides_runpath=unknown
                   10831: version_type=none
                   10832: dynamic_linker="$host_os ld.so"
                   10833: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   10834: need_lib_prefix=unknown
                   10835: hardcode_into_libs=no
                   10836: 
                   10837: # when you set need_version to no, make sure it does not cause -set_version
                   10838: # flags to be left without arguments
                   10839: need_version=unknown
                   10840: 
                   10841: case $host_os in
                   10842: aix3*)
                   10843:   version_type=linux # correct to gnu/linux during the next big refactor
                   10844:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   10845:   shlibpath_var=LIBPATH
                   10846: 
                   10847:   # AIX 3 has no versioning support, so we append a major version to the name.
                   10848:   soname_spec='${libname}${release}${shared_ext}$major'
                   10849:   ;;
1.1       misha    10850: 
1.8       moko     10851: aix[4-9]*)
                   10852:   version_type=linux # correct to gnu/linux during the next big refactor
                   10853:   need_lib_prefix=no
                   10854:   need_version=no
                   10855:   hardcode_into_libs=yes
                   10856:   if test "$host_cpu" = ia64; then
                   10857:     # AIX 5 supports IA64
                   10858:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   10859:     shlibpath_var=LD_LIBRARY_PATH
                   10860:   else
                   10861:     # With GCC up to 2.95.x, collect2 would create an import file
                   10862:     # for dependence libraries.  The import file would start with
                   10863:     # the line `#! .'.  This would cause the generated library to
                   10864:     # depend on `.', always an invalid library.  This was fixed in
                   10865:     # development snapshots of GCC prior to 3.0.
                   10866:     case $host_os in
                   10867:       aix4 | aix4.[01] | aix4.[01].*)
                   10868:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   10869:           echo ' yes '
                   10870:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   10871:        :
                   10872:       else
                   10873:        can_build_shared=no
                   10874:       fi
                   10875:       ;;
                   10876:     esac
                   10877:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   10878:     # soname into executable. Probably we can add versioning support to
                   10879:     # collect2, so additional links can be useful in future.
                   10880:     if test "$aix_use_runtimelinking" = yes; then
                   10881:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   10882:       # instead of lib<name>.a to let people know that these are not
                   10883:       # typical AIX shared libraries.
                   10884:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.1       misha    10885:     else
1.8       moko     10886:       # We preserve .a as extension for shared libraries through AIX4.2
                   10887:       # and later when we are not doing run time linking.
                   10888:       library_names_spec='${libname}${release}.a $libname.a'
                   10889:       soname_spec='${libname}${release}${shared_ext}$major'
                   10890:     fi
                   10891:     shlibpath_var=LIBPATH
                   10892:   fi
                   10893:   ;;
                   10894: 
                   10895: amigaos*)
                   10896:   case $host_cpu in
                   10897:   powerpc)
                   10898:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   10899:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   10900:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10901:     ;;
                   10902:   m68k)
                   10903:     library_names_spec='$libname.ixlibrary $libname.a'
                   10904:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   10905:     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
                   10906:     ;;
                   10907:   esac
                   10908:   ;;
                   10909: 
                   10910: beos*)
                   10911:   library_names_spec='${libname}${shared_ext}'
                   10912:   dynamic_linker="$host_os ld.so"
                   10913:   shlibpath_var=LIBRARY_PATH
                   10914:   ;;
                   10915: 
                   10916: bsdi[45]*)
                   10917:   version_type=linux # correct to gnu/linux during the next big refactor
                   10918:   need_version=no
                   10919:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10920:   soname_spec='${libname}${release}${shared_ext}$major'
                   10921:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   10922:   shlibpath_var=LD_LIBRARY_PATH
                   10923:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   10924:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   10925:   # the default ld.so.conf also contains /usr/contrib/lib and
                   10926:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   10927:   # libtool to hard-code these into programs
                   10928:   ;;
                   10929: 
                   10930: cygwin* | mingw* | pw32* | cegcc*)
                   10931:   version_type=windows
                   10932:   shrext_cmds=".dll"
                   10933:   need_version=no
                   10934:   need_lib_prefix=no
                   10935: 
                   10936:   case $GCC,$cc_basename in
                   10937:   yes,*)
                   10938:     # gcc
                   10939:     library_names_spec='$libname.dll.a'
                   10940:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   10941:     postinstall_cmds='base_file=`basename \${file}`~
                   10942:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   10943:       dldir=$destdir/`dirname \$dlpath`~
                   10944:       test -d \$dldir || mkdir -p \$dldir~
                   10945:       $install_prog $dir/$dlname \$dldir/$dlname~
                   10946:       chmod a+x \$dldir/$dlname~
                   10947:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   10948:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   10949:       fi'
                   10950:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   10951:       dlpath=$dir/\$dldll~
                   10952:        $RM \$dlpath'
                   10953:     shlibpath_overrides_runpath=yes
                   10954: 
                   10955:     case $host_os in
                   10956:     cygwin*)
                   10957:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   10958:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10959: 
                   10960:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
                   10961:       ;;
                   10962:     mingw* | cegcc*)
                   10963:       # MinGW DLLs use traditional 'lib' prefix
                   10964:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10965:       ;;
                   10966:     pw32*)
                   10967:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   10968:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10969:       ;;
                   10970:     esac
                   10971:     dynamic_linker='Win32 ld.exe'
                   10972:     ;;
                   10973: 
                   10974:   *,cl*)
                   10975:     # Native MSVC
                   10976:     libname_spec='$name'
                   10977:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10978:     library_names_spec='${libname}.dll.lib'
                   10979: 
                   10980:     case $build_os in
                   10981:     mingw*)
                   10982:       sys_lib_search_path_spec=
                   10983:       lt_save_ifs=$IFS
                   10984:       IFS=';'
                   10985:       for lt_path in $LIB
                   10986:       do
                   10987:         IFS=$lt_save_ifs
                   10988:         # Let DOS variable expansion print the short 8.3 style file name.
                   10989:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   10990:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   10991:       done
                   10992:       IFS=$lt_save_ifs
                   10993:       # Convert to MSYS style.
                   10994:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   10995:       ;;
                   10996:     cygwin*)
                   10997:       # Convert to unix form, then to dos form, then back to unix form
                   10998:       # but this time dos style (no spaces!) so that the unix form looks
                   10999:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   11000:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   11001:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   11002:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   11003:       ;;
                   11004:     *)
                   11005:       sys_lib_search_path_spec="$LIB"
                   11006:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   11007:         # It is most probably a Windows format PATH.
                   11008:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   11009:       else
                   11010:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   11011:       fi
                   11012:       # FIXME: find the short name or the path components, as spaces are
                   11013:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   11014:       ;;
                   11015:     esac
                   11016: 
                   11017:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   11018:     postinstall_cmds='base_file=`basename \${file}`~
                   11019:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   11020:       dldir=$destdir/`dirname \$dlpath`~
                   11021:       test -d \$dldir || mkdir -p \$dldir~
                   11022:       $install_prog $dir/$dlname \$dldir/$dlname'
                   11023:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   11024:       dlpath=$dir/\$dldll~
                   11025:        $RM \$dlpath'
                   11026:     shlibpath_overrides_runpath=yes
                   11027:     dynamic_linker='Win32 link.exe'
                   11028:     ;;
                   11029: 
                   11030:   *)
                   11031:     # Assume MSVC wrapper
                   11032:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   11033:     dynamic_linker='Win32 ld.exe'
                   11034:     ;;
                   11035:   esac
                   11036:   # FIXME: first we should search . and the directory the executable is in
                   11037:   shlibpath_var=PATH
                   11038:   ;;
                   11039: 
                   11040: darwin* | rhapsody*)
                   11041:   dynamic_linker="$host_os dyld"
                   11042:   version_type=darwin
                   11043:   need_lib_prefix=no
                   11044:   need_version=no
                   11045:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   11046:   soname_spec='${libname}${release}${major}$shared_ext'
                   11047:   shlibpath_overrides_runpath=yes
                   11048:   shlibpath_var=DYLD_LIBRARY_PATH
                   11049:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
1.1       misha    11050: 
1.8       moko     11051:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
                   11052:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   11053:   ;;
1.1       misha    11054: 
1.8       moko     11055: dgux*)
                   11056:   version_type=linux # correct to gnu/linux during the next big refactor
                   11057:   need_lib_prefix=no
                   11058:   need_version=no
                   11059:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   11060:   soname_spec='${libname}${release}${shared_ext}$major'
                   11061:   shlibpath_var=LD_LIBRARY_PATH
                   11062:   ;;
1.1       misha    11063: 
1.8       moko     11064: freebsd* | dragonfly*)
                   11065:   # DragonFly does not have aout.  When/if they implement a new
                   11066:   # versioning mechanism, adjust this.
                   11067:   if test -x /usr/bin/objformat; then
                   11068:     objformat=`/usr/bin/objformat`
1.1       misha    11069:   else
1.8       moko     11070:     case $host_os in
                   11071:     freebsd[23].*) objformat=aout ;;
                   11072:     *) objformat=elf ;;
                   11073:     esac
1.1       misha    11074:   fi
1.8       moko     11075:   version_type=freebsd-$objformat
                   11076:   case $version_type in
                   11077:     freebsd-elf*)
                   11078:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   11079:       need_version=no
                   11080:       need_lib_prefix=no
                   11081:       ;;
                   11082:     freebsd-*)
                   11083:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   11084:       need_version=yes
                   11085:       ;;
                   11086:   esac
                   11087:   shlibpath_var=LD_LIBRARY_PATH
                   11088:   case $host_os in
                   11089:   freebsd2.*)
                   11090:     shlibpath_overrides_runpath=yes
                   11091:     ;;
                   11092:   freebsd3.[01]* | freebsdelf3.[01]*)
                   11093:     shlibpath_overrides_runpath=yes
                   11094:     hardcode_into_libs=yes
                   11095:     ;;
                   11096:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   11097:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   11098:     shlibpath_overrides_runpath=no
                   11099:     hardcode_into_libs=yes
                   11100:     ;;
                   11101:   *) # from 4.6 on, and DragonFly
                   11102:     shlibpath_overrides_runpath=yes
                   11103:     hardcode_into_libs=yes
                   11104:     ;;
                   11105:   esac
                   11106:   ;;
                   11107: 
                   11108: gnu*)
                   11109:   version_type=linux # correct to gnu/linux during the next big refactor
                   11110:   need_lib_prefix=no
                   11111:   need_version=no
                   11112:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   11113:   soname_spec='${libname}${release}${shared_ext}$major'
                   11114:   shlibpath_var=LD_LIBRARY_PATH
                   11115:   shlibpath_overrides_runpath=no
                   11116:   hardcode_into_libs=yes
                   11117:   ;;
                   11118: 
                   11119: haiku*)
                   11120:   version_type=linux # correct to gnu/linux during the next big refactor
                   11121:   need_lib_prefix=no
                   11122:   need_version=no
                   11123:   dynamic_linker="$host_os runtime_loader"
                   11124:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   11125:   soname_spec='${libname}${release}${shared_ext}$major'
                   11126:   shlibpath_var=LIBRARY_PATH
                   11127:   shlibpath_overrides_runpath=yes
                   11128:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   11129:   hardcode_into_libs=yes
                   11130:   ;;
                   11131: 
                   11132: hpux9* | hpux10* | hpux11*)
                   11133:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   11134:   # link against other versions.
                   11135:   version_type=sunos
                   11136:   need_lib_prefix=no
                   11137:   need_version=no
                   11138:   case $host_cpu in
                   11139:   ia64*)
                   11140:     shrext_cmds='.so'
                   11141:     hardcode_into_libs=yes
                   11142:     dynamic_linker="$host_os dld.so"
                   11143:     shlibpath_var=LD_LIBRARY_PATH
                   11144:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   11145:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11146:     soname_spec='${libname}${release}${shared_ext}$major'
                   11147:     if test "X$HPUX_IA64_MODE" = X32; then
                   11148:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   11149:     else
                   11150:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   11151:     fi
                   11152:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   11153:     ;;
                   11154:   hppa*64*)
                   11155:     shrext_cmds='.sl'
                   11156:     hardcode_into_libs=yes
                   11157:     dynamic_linker="$host_os dld.sl"
                   11158:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   11159:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   11160:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11161:     soname_spec='${libname}${release}${shared_ext}$major'
                   11162:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   11163:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   11164:     ;;
                   11165:   *)
                   11166:     shrext_cmds='.sl'
                   11167:     dynamic_linker="$host_os dld.sl"
                   11168:     shlibpath_var=SHLIB_PATH
                   11169:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   11170:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11171:     soname_spec='${libname}${release}${shared_ext}$major'
                   11172:     ;;
                   11173:   esac
                   11174:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   11175:   postinstall_cmds='chmod 555 $lib'
                   11176:   # or fails outright, so override atomically:
                   11177:   install_override_mode=555
                   11178:   ;;
                   11179: 
                   11180: interix[3-9]*)
                   11181:   version_type=linux # correct to gnu/linux during the next big refactor
                   11182:   need_lib_prefix=no
                   11183:   need_version=no
                   11184:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   11185:   soname_spec='${libname}${release}${shared_ext}$major'
                   11186:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   11187:   shlibpath_var=LD_LIBRARY_PATH
                   11188:   shlibpath_overrides_runpath=no
                   11189:   hardcode_into_libs=yes
                   11190:   ;;
                   11191: 
                   11192: irix5* | irix6* | nonstopux*)
                   11193:   case $host_os in
                   11194:     nonstopux*) version_type=nonstopux ;;
                   11195:     *)
                   11196:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   11197:                version_type=linux # correct to gnu/linux during the next big refactor
                   11198:        else
                   11199:                version_type=irix
                   11200:        fi ;;
                   11201:   esac
                   11202:   need_lib_prefix=no
                   11203:   need_version=no
                   11204:   soname_spec='${libname}${release}${shared_ext}$major'
                   11205:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   11206:   case $host_os in
                   11207:   irix5* | nonstopux*)
                   11208:     libsuff= shlibsuff=
                   11209:     ;;
                   11210:   *)
                   11211:     case $LD in # libtool.m4 will add one of these switches to LD
                   11212:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   11213:       libsuff= shlibsuff= libmagic=32-bit;;
                   11214:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   11215:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   11216:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   11217:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   11218:     *) libsuff= shlibsuff= libmagic=never-match;;
                   11219:     esac
                   11220:     ;;
                   11221:   esac
                   11222:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   11223:   shlibpath_overrides_runpath=no
                   11224:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   11225:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   11226:   hardcode_into_libs=yes
                   11227:   ;;
                   11228: 
                   11229: # No shared lib support for Linux oldld, aout, or coff.
                   11230: linux*oldld* | linux*aout* | linux*coff*)
                   11231:   dynamic_linker=no
                   11232:   ;;
                   11233: 
                   11234: # This must be glibc/ELF.
                   11235: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   11236:   version_type=linux # correct to gnu/linux during the next big refactor
                   11237:   need_lib_prefix=no
                   11238:   need_version=no
                   11239:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11240:   soname_spec='${libname}${release}${shared_ext}$major'
                   11241:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   11242:   shlibpath_var=LD_LIBRARY_PATH
                   11243:   shlibpath_overrides_runpath=no
                   11244: 
                   11245:   # Some binutils ld are patched to set DT_RUNPATH
1.22      moko     11246:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
                   11247:   $as_echo_n "(cached) " >&6
1.8       moko     11248: else
                   11249:   lt_cv_shlibpath_overrides_runpath=no
                   11250:     save_LDFLAGS=$LDFLAGS
                   11251:     save_libdir=$libdir
                   11252:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
                   11253:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
1.22      moko     11254:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.8       moko     11255: /* end confdefs.h.  */
                   11256: 
                   11257: int
                   11258: main ()
                   11259: {
                   11260: 
                   11261:   ;
                   11262:   return 0;
                   11263: }
                   11264: _ACEOF
1.22      moko     11265: if ac_fn_c_try_link "$LINENO"; then :
                   11266:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
1.8       moko     11267:   lt_cv_shlibpath_overrides_runpath=yes
                   11268: fi
                   11269: fi
1.22      moko     11270: rm -f core conftest.err conftest.$ac_objext \
                   11271:     conftest$ac_exeext conftest.$ac_ext
1.8       moko     11272:     LDFLAGS=$save_LDFLAGS
                   11273:     libdir=$save_libdir
                   11274: 
                   11275: fi
                   11276: 
                   11277:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   11278: 
                   11279:   # This implies no fast_install, which is unacceptable.
                   11280:   # Some rework will be needed to allow for fast_install
                   11281:   # before this can be enabled.
                   11282:   hardcode_into_libs=yes
                   11283: 
                   11284:   # Append ld.so.conf contents to the search path
                   11285:   if test -f /etc/ld.so.conf; then
                   11286:     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' ' '`
                   11287:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   11288:   fi
                   11289: 
                   11290:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   11291:   # powerpc, because MkLinux only supported shared libraries with the
                   11292:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   11293:   # most powerpc-linux boxes support dynamic linking these days and
                   11294:   # people can always --disable-shared, the test was removed, and we
                   11295:   # assume the GNU/Linux dynamic linker is in use.
                   11296:   dynamic_linker='GNU/Linux ld.so'
                   11297:   ;;
                   11298: 
                   11299: netbsd*)
                   11300:   version_type=sunos
                   11301:   need_lib_prefix=no
                   11302:   need_version=no
                   11303:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   11304:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   11305:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   11306:     dynamic_linker='NetBSD (a.out) ld.so'
                   11307:   else
                   11308:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   11309:     soname_spec='${libname}${release}${shared_ext}$major'
                   11310:     dynamic_linker='NetBSD ld.elf_so'
                   11311:   fi
                   11312:   shlibpath_var=LD_LIBRARY_PATH
                   11313:   shlibpath_overrides_runpath=yes
                   11314:   hardcode_into_libs=yes
                   11315:   ;;
                   11316: 
                   11317: newsos6)
                   11318:   version_type=linux # correct to gnu/linux during the next big refactor
                   11319:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11320:   shlibpath_var=LD_LIBRARY_PATH
                   11321:   shlibpath_overrides_runpath=yes
                   11322:   ;;
                   11323: 
                   11324: *nto* | *qnx*)
                   11325:   version_type=qnx
                   11326:   need_lib_prefix=no
                   11327:   need_version=no
                   11328:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11329:   soname_spec='${libname}${release}${shared_ext}$major'
                   11330:   shlibpath_var=LD_LIBRARY_PATH
                   11331:   shlibpath_overrides_runpath=no
                   11332:   hardcode_into_libs=yes
                   11333:   dynamic_linker='ldqnx.so'
                   11334:   ;;
                   11335: 
                   11336: openbsd*)
                   11337:   version_type=sunos
                   11338:   sys_lib_dlsearch_path_spec="/usr/lib"
                   11339:   need_lib_prefix=no
                   11340:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   11341:   case $host_os in
                   11342:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   11343:     *)                         need_version=no  ;;
                   11344:   esac
                   11345:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   11346:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   11347:   shlibpath_var=LD_LIBRARY_PATH
                   11348:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   11349:     case $host_os in
                   11350:       openbsd2.[89] | openbsd2.[89].*)
                   11351:        shlibpath_overrides_runpath=no
                   11352:        ;;
                   11353:       *)
                   11354:        shlibpath_overrides_runpath=yes
                   11355:        ;;
                   11356:       esac
1.1       misha    11357:   else
1.8       moko     11358:     shlibpath_overrides_runpath=yes
                   11359:   fi
                   11360:   ;;
                   11361: 
                   11362: os2*)
                   11363:   libname_spec='$name'
                   11364:   shrext_cmds=".dll"
                   11365:   need_lib_prefix=no
                   11366:   library_names_spec='$libname${shared_ext} $libname.a'
                   11367:   dynamic_linker='OS/2 ld.exe'
                   11368:   shlibpath_var=LIBPATH
                   11369:   ;;
                   11370: 
                   11371: osf3* | osf4* | osf5*)
                   11372:   version_type=osf
                   11373:   need_lib_prefix=no
                   11374:   need_version=no
                   11375:   soname_spec='${libname}${release}${shared_ext}$major'
                   11376:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11377:   shlibpath_var=LD_LIBRARY_PATH
                   11378:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   11379:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   11380:   ;;
                   11381: 
                   11382: rdos*)
                   11383:   dynamic_linker=no
                   11384:   ;;
                   11385: 
                   11386: solaris*)
                   11387:   version_type=linux # correct to gnu/linux during the next big refactor
                   11388:   need_lib_prefix=no
                   11389:   need_version=no
                   11390:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11391:   soname_spec='${libname}${release}${shared_ext}$major'
                   11392:   shlibpath_var=LD_LIBRARY_PATH
                   11393:   shlibpath_overrides_runpath=yes
                   11394:   hardcode_into_libs=yes
                   11395:   # ldd complains unless libraries are executable
                   11396:   postinstall_cmds='chmod +x $lib'
                   11397:   ;;
                   11398: 
                   11399: sunos4*)
                   11400:   version_type=sunos
                   11401:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   11402:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   11403:   shlibpath_var=LD_LIBRARY_PATH
                   11404:   shlibpath_overrides_runpath=yes
                   11405:   if test "$with_gnu_ld" = yes; then
                   11406:     need_lib_prefix=no
                   11407:   fi
                   11408:   need_version=yes
                   11409:   ;;
                   11410: 
                   11411: sysv4 | sysv4.3*)
                   11412:   version_type=linux # correct to gnu/linux during the next big refactor
                   11413:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11414:   soname_spec='${libname}${release}${shared_ext}$major'
                   11415:   shlibpath_var=LD_LIBRARY_PATH
                   11416:   case $host_vendor in
                   11417:     sni)
                   11418:       shlibpath_overrides_runpath=no
                   11419:       need_lib_prefix=no
                   11420:       runpath_var=LD_RUN_PATH
                   11421:       ;;
                   11422:     siemens)
                   11423:       need_lib_prefix=no
                   11424:       ;;
                   11425:     motorola)
                   11426:       need_lib_prefix=no
                   11427:       need_version=no
                   11428:       shlibpath_overrides_runpath=no
                   11429:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   11430:       ;;
                   11431:   esac
                   11432:   ;;
                   11433: 
                   11434: sysv4*MP*)
                   11435:   if test -d /usr/nec ;then
                   11436:     version_type=linux # correct to gnu/linux during the next big refactor
                   11437:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   11438:     soname_spec='$libname${shared_ext}.$major'
                   11439:     shlibpath_var=LD_LIBRARY_PATH
                   11440:   fi
                   11441:   ;;
                   11442: 
                   11443: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   11444:   version_type=freebsd-elf
                   11445:   need_lib_prefix=no
                   11446:   need_version=no
                   11447:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   11448:   soname_spec='${libname}${release}${shared_ext}$major'
                   11449:   shlibpath_var=LD_LIBRARY_PATH
                   11450:   shlibpath_overrides_runpath=yes
                   11451:   hardcode_into_libs=yes
                   11452:   if test "$with_gnu_ld" = yes; then
                   11453:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   11454:   else
                   11455:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   11456:     case $host_os in
                   11457:       sco3.2v5*)
                   11458:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   11459:        ;;
                   11460:     esac
                   11461:   fi
                   11462:   sys_lib_dlsearch_path_spec='/usr/lib'
                   11463:   ;;
                   11464: 
                   11465: tpf*)
                   11466:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   11467:   version_type=linux # correct to gnu/linux during the next big refactor
                   11468:   need_lib_prefix=no
                   11469:   need_version=no
                   11470:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11471:   shlibpath_var=LD_LIBRARY_PATH
                   11472:   shlibpath_overrides_runpath=no
                   11473:   hardcode_into_libs=yes
                   11474:   ;;
                   11475: 
                   11476: uts4*)
                   11477:   version_type=linux # correct to gnu/linux during the next big refactor
                   11478:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11479:   soname_spec='${libname}${release}${shared_ext}$major'
                   11480:   shlibpath_var=LD_LIBRARY_PATH
                   11481:   ;;
                   11482: 
                   11483: *)
                   11484:   dynamic_linker=no
                   11485:   ;;
                   11486: esac
1.22      moko     11487: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   11488: $as_echo "$dynamic_linker" >&6; }
1.8       moko     11489: test "$dynamic_linker" = no && can_build_shared=no
                   11490: 
                   11491: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   11492: if test "$GCC" = yes; then
                   11493:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   11494: fi
                   11495: 
                   11496: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   11497:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   11498: fi
                   11499: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   11500:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   11501: fi
                   11502: 
                   11503: 
                   11504: 
                   11505: 
                   11506: 
                   11507: 
                   11508: 
                   11509: 
                   11510: 
                   11511: 
                   11512: 
                   11513: 
                   11514: 
                   11515: 
                   11516: 
                   11517: 
                   11518: 
                   11519: 
                   11520: 
                   11521: 
                   11522: 
                   11523: 
                   11524: 
                   11525: 
                   11526: 
                   11527: 
                   11528: 
                   11529: 
                   11530: 
                   11531: 
                   11532: 
                   11533: 
                   11534: 
                   11535: 
                   11536: 
                   11537: 
                   11538: 
                   11539: 
                   11540: 
                   11541: 
                   11542: 
                   11543: 
                   11544: 
                   11545: 
                   11546: 
                   11547: 
                   11548: 
                   11549: 
                   11550: 
                   11551: 
                   11552: 
                   11553: 
                   11554: 
                   11555: 
                   11556: 
                   11557: 
                   11558: 
                   11559: 
                   11560: 
                   11561: 
                   11562: 
                   11563: 
                   11564: 
                   11565: 
                   11566: 
                   11567: 
                   11568: 
                   11569: 
                   11570: 
                   11571: 
                   11572: 
                   11573: 
                   11574: 
                   11575: 
                   11576: 
                   11577: 
                   11578: 
                   11579: 
                   11580: 
                   11581: 
                   11582: 
                   11583: 
                   11584: 
                   11585: 
                   11586: 
                   11587: 
                   11588: 
                   11589: 
                   11590: 
                   11591: 
                   11592: 
                   11593: 
1.22      moko     11594:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   11595: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1.8       moko     11596: hardcode_action=
                   11597: if test -n "$hardcode_libdir_flag_spec" ||
                   11598:    test -n "$runpath_var" ||
                   11599:    test "X$hardcode_automatic" = "Xyes" ; then
                   11600: 
                   11601:   # We can hardcode non-existent directories.
                   11602:   if test "$hardcode_direct" != no &&
                   11603:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   11604:      # have to relink, otherwise we might link with an installed library
                   11605:      # when we should be linking with a yet-to-be-installed one
                   11606:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
                   11607:      test "$hardcode_minus_L" != no; then
                   11608:     # Linking always hardcodes the temporary library directory.
                   11609:     hardcode_action=relink
                   11610:   else
                   11611:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   11612:     hardcode_action=immediate
                   11613:   fi
                   11614: else
                   11615:   # We cannot hardcode anything, or else we can only hardcode existing
                   11616:   # directories.
                   11617:   hardcode_action=unsupported
                   11618: fi
1.22      moko     11619: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
                   11620: $as_echo "$hardcode_action" >&6; }
1.8       moko     11621: 
                   11622: if test "$hardcode_action" = relink ||
                   11623:    test "$inherit_rpath" = yes; then
                   11624:   # Fast installation is not supported
                   11625:   enable_fast_install=no
                   11626: elif test "$shlibpath_overrides_runpath" = yes ||
                   11627:      test "$enable_shared" = no; then
                   11628:   # Fast installation is not necessary
                   11629:   enable_fast_install=needless
                   11630: fi
                   11631: 
                   11632: 
                   11633: 
                   11634: 
                   11635: 
                   11636: 
                   11637:   if test "x$enable_dlopen" != xyes; then
                   11638:   enable_dlopen=unknown
                   11639:   enable_dlopen_self=unknown
                   11640:   enable_dlopen_self_static=unknown
                   11641: else
                   11642:   lt_cv_dlopen=no
                   11643:   lt_cv_dlopen_libs=
                   11644: 
                   11645:   case $host_os in
                   11646:   beos*)
                   11647:     lt_cv_dlopen="load_add_on"
                   11648:     lt_cv_dlopen_libs=
                   11649:     lt_cv_dlopen_self=yes
                   11650:     ;;
                   11651: 
                   11652:   mingw* | pw32* | cegcc*)
                   11653:     lt_cv_dlopen="LoadLibrary"
                   11654:     lt_cv_dlopen_libs=
                   11655:     ;;
                   11656: 
                   11657:   cygwin*)
                   11658:     lt_cv_dlopen="dlopen"
                   11659:     lt_cv_dlopen_libs=
                   11660:     ;;
                   11661: 
                   11662:   darwin*)
                   11663:   # if libdl is installed we need to link against it
1.22      moko     11664:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   11665: $as_echo_n "checking for dlopen in -ldl... " >&6; }
                   11666: if ${ac_cv_lib_dl_dlopen+:} false; then :
                   11667:   $as_echo_n "(cached) " >&6
1.8       moko     11668: else
                   11669:   ac_check_lib_save_LIBS=$LIBS
                   11670: LIBS="-ldl  $LIBS"
1.22      moko     11671: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.8       moko     11672: /* end confdefs.h.  */
                   11673: 
1.22      moko     11674: /* Override any GCC internal prototype to avoid an error.
                   11675:    Use char because int might match the return type of a GCC
                   11676:    builtin and then its argument prototype would still apply.  */
1.8       moko     11677: #ifdef __cplusplus
                   11678: extern "C"
                   11679: #endif
                   11680: char dlopen ();
                   11681: int
                   11682: main ()
                   11683: {
1.22      moko     11684: return dlopen ();
1.8       moko     11685:   ;
                   11686:   return 0;
                   11687: }
                   11688: _ACEOF
1.22      moko     11689: if ac_fn_c_try_link "$LINENO"; then :
1.8       moko     11690:   ac_cv_lib_dl_dlopen=yes
                   11691: else
1.22      moko     11692:   ac_cv_lib_dl_dlopen=no
1.8       moko     11693: fi
1.22      moko     11694: rm -f core conftest.err conftest.$ac_objext \
                   11695:     conftest$ac_exeext conftest.$ac_ext
1.8       moko     11696: LIBS=$ac_check_lib_save_LIBS
                   11697: fi
1.22      moko     11698: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   11699: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
                   11700: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1.8       moko     11701:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   11702: else
                   11703: 
                   11704:     lt_cv_dlopen="dyld"
                   11705:     lt_cv_dlopen_libs=
                   11706:     lt_cv_dlopen_self=yes
                   11707: 
                   11708: fi
                   11709: 
                   11710:     ;;
                   11711: 
                   11712:   *)
1.22      moko     11713:     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
                   11714: if test "x$ac_cv_func_shl_load" = xyes; then :
1.8       moko     11715:   lt_cv_dlopen="shl_load"
                   11716: else
1.22      moko     11717:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   11718: $as_echo_n "checking for shl_load in -ldld... " >&6; }
                   11719: if ${ac_cv_lib_dld_shl_load+:} false; then :
                   11720:   $as_echo_n "(cached) " >&6
1.11      moko     11721: else
1.22      moko     11722:   ac_check_lib_save_LIBS=$LIBS
                   11723: LIBS="-ldld  $LIBS"
                   11724: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.11      moko     11725: /* end confdefs.h.  */
                   11726: 
1.22      moko     11727: /* Override any GCC internal prototype to avoid an error.
                   11728:    Use char because int might match the return type of a GCC
                   11729:    builtin and then its argument prototype would still apply.  */
1.11      moko     11730: #ifdef __cplusplus
                   11731: extern "C"
                   11732: #endif
1.22      moko     11733: char shl_load ();
1.11      moko     11734: int
                   11735: main ()
                   11736: {
1.22      moko     11737: return shl_load ();
1.11      moko     11738:   ;
                   11739:   return 0;
                   11740: }
                   11741: _ACEOF
1.22      moko     11742: if ac_fn_c_try_link "$LINENO"; then :
                   11743:   ac_cv_lib_dld_shl_load=yes
1.11      moko     11744: else
1.22      moko     11745:   ac_cv_lib_dld_shl_load=no
1.11      moko     11746: fi
1.22      moko     11747: rm -f core conftest.err conftest.$ac_objext \
                   11748:     conftest$ac_exeext conftest.$ac_ext
                   11749: LIBS=$ac_check_lib_save_LIBS
1.11      moko     11750: fi
1.22      moko     11751: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   11752: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
                   11753: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
                   11754:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
                   11755: else
                   11756:   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
                   11757: if test "x$ac_cv_func_dlopen" = xyes; then :
1.8       moko     11758:   lt_cv_dlopen="dlopen"
                   11759: else
1.22      moko     11760:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   11761: $as_echo_n "checking for dlopen in -ldl... " >&6; }
                   11762: if ${ac_cv_lib_dl_dlopen+:} false; then :
                   11763:   $as_echo_n "(cached) " >&6
1.8       moko     11764: else
                   11765:   ac_check_lib_save_LIBS=$LIBS
                   11766: LIBS="-ldl  $LIBS"
1.22      moko     11767: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.8       moko     11768: /* end confdefs.h.  */
                   11769: 
1.22      moko     11770: /* Override any GCC internal prototype to avoid an error.
                   11771:    Use char because int might match the return type of a GCC
                   11772:    builtin and then its argument prototype would still apply.  */
1.8       moko     11773: #ifdef __cplusplus
                   11774: extern "C"
                   11775: #endif
                   11776: char dlopen ();
                   11777: int
                   11778: main ()
                   11779: {
1.22      moko     11780: return dlopen ();
1.8       moko     11781:   ;
                   11782:   return 0;
                   11783: }
                   11784: _ACEOF
1.22      moko     11785: if ac_fn_c_try_link "$LINENO"; then :
1.8       moko     11786:   ac_cv_lib_dl_dlopen=yes
                   11787: else
1.22      moko     11788:   ac_cv_lib_dl_dlopen=no
1.8       moko     11789: fi
1.22      moko     11790: rm -f core conftest.err conftest.$ac_objext \
                   11791:     conftest$ac_exeext conftest.$ac_ext
1.8       moko     11792: LIBS=$ac_check_lib_save_LIBS
                   11793: fi
1.22      moko     11794: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   11795: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
                   11796: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1.8       moko     11797:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   11798: else
1.22      moko     11799:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   11800: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
                   11801: if ${ac_cv_lib_svld_dlopen+:} false; then :
                   11802:   $as_echo_n "(cached) " >&6
1.8       moko     11803: else
                   11804:   ac_check_lib_save_LIBS=$LIBS
                   11805: LIBS="-lsvld  $LIBS"
1.22      moko     11806: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.8       moko     11807: /* end confdefs.h.  */
                   11808: 
1.22      moko     11809: /* Override any GCC internal prototype to avoid an error.
                   11810:    Use char because int might match the return type of a GCC
                   11811:    builtin and then its argument prototype would still apply.  */
1.8       moko     11812: #ifdef __cplusplus
                   11813: extern "C"
                   11814: #endif
                   11815: char dlopen ();
                   11816: int
                   11817: main ()
                   11818: {
1.22      moko     11819: return dlopen ();
1.8       moko     11820:   ;
                   11821:   return 0;
                   11822: }
                   11823: _ACEOF
1.22      moko     11824: if ac_fn_c_try_link "$LINENO"; then :
1.8       moko     11825:   ac_cv_lib_svld_dlopen=yes
                   11826: else
1.22      moko     11827:   ac_cv_lib_svld_dlopen=no
1.8       moko     11828: fi
1.22      moko     11829: rm -f core conftest.err conftest.$ac_objext \
                   11830:     conftest$ac_exeext conftest.$ac_ext
1.8       moko     11831: LIBS=$ac_check_lib_save_LIBS
                   11832: fi
1.22      moko     11833: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   11834: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
                   11835: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
1.8       moko     11836:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
                   11837: else
1.22      moko     11838:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   11839: $as_echo_n "checking for dld_link in -ldld... " >&6; }
                   11840: if ${ac_cv_lib_dld_dld_link+:} false; then :
                   11841:   $as_echo_n "(cached) " >&6
1.8       moko     11842: else
                   11843:   ac_check_lib_save_LIBS=$LIBS
                   11844: LIBS="-ldld  $LIBS"
1.22      moko     11845: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.8       moko     11846: /* end confdefs.h.  */
                   11847: 
1.22      moko     11848: /* Override any GCC internal prototype to avoid an error.
                   11849:    Use char because int might match the return type of a GCC
                   11850:    builtin and then its argument prototype would still apply.  */
1.8       moko     11851: #ifdef __cplusplus
                   11852: extern "C"
                   11853: #endif
                   11854: char dld_link ();
                   11855: int
                   11856: main ()
                   11857: {
1.22      moko     11858: return dld_link ();
1.8       moko     11859:   ;
                   11860:   return 0;
                   11861: }
                   11862: _ACEOF
1.22      moko     11863: if ac_fn_c_try_link "$LINENO"; then :
1.8       moko     11864:   ac_cv_lib_dld_dld_link=yes
                   11865: else
1.22      moko     11866:   ac_cv_lib_dld_dld_link=no
1.8       moko     11867: fi
1.22      moko     11868: rm -f core conftest.err conftest.$ac_objext \
                   11869:     conftest$ac_exeext conftest.$ac_ext
1.8       moko     11870: LIBS=$ac_check_lib_save_LIBS
                   11871: fi
1.22      moko     11872: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   11873: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
                   11874: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
1.8       moko     11875:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
                   11876: fi
                   11877: 
                   11878: 
                   11879: fi
                   11880: 
                   11881: 
                   11882: fi
                   11883: 
                   11884: 
                   11885: fi
                   11886: 
                   11887: 
                   11888: fi
                   11889: 
                   11890: 
                   11891: fi
                   11892: 
                   11893:     ;;
                   11894:   esac
                   11895: 
                   11896:   if test "x$lt_cv_dlopen" != xno; then
                   11897:     enable_dlopen=yes
                   11898:   else
                   11899:     enable_dlopen=no
                   11900:   fi
                   11901: 
                   11902:   case $lt_cv_dlopen in
                   11903:   dlopen)
                   11904:     save_CPPFLAGS="$CPPFLAGS"
                   11905:     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
                   11906: 
                   11907:     save_LDFLAGS="$LDFLAGS"
                   11908:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
                   11909: 
                   11910:     save_LIBS="$LIBS"
                   11911:     LIBS="$lt_cv_dlopen_libs $LIBS"
                   11912: 
1.22      moko     11913:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
                   11914: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
                   11915: if ${lt_cv_dlopen_self+:} false; then :
                   11916:   $as_echo_n "(cached) " >&6
1.8       moko     11917: else
                   11918:          if test "$cross_compiling" = yes; then :
                   11919:   lt_cv_dlopen_self=cross
                   11920: else
                   11921:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   11922:   lt_status=$lt_dlunknown
                   11923:   cat > conftest.$ac_ext <<_LT_EOF
                   11924: #line $LINENO "configure"
                   11925: #include "confdefs.h"
                   11926: 
                   11927: #if HAVE_DLFCN_H
                   11928: #include <dlfcn.h>
                   11929: #endif
                   11930: 
                   11931: #include <stdio.h>
                   11932: 
                   11933: #ifdef RTLD_GLOBAL
                   11934: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   11935: #else
                   11936: #  ifdef DL_GLOBAL
                   11937: #    define LT_DLGLOBAL                DL_GLOBAL
                   11938: #  else
                   11939: #    define LT_DLGLOBAL                0
                   11940: #  endif
                   11941: #endif
                   11942: 
                   11943: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   11944:    find out it does not work in some platform. */
                   11945: #ifndef LT_DLLAZY_OR_NOW
                   11946: #  ifdef RTLD_LAZY
                   11947: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   11948: #  else
                   11949: #    ifdef DL_LAZY
                   11950: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   11951: #    else
                   11952: #      ifdef RTLD_NOW
                   11953: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   11954: #      else
                   11955: #        ifdef DL_NOW
                   11956: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   11957: #        else
                   11958: #          define LT_DLLAZY_OR_NOW     0
                   11959: #        endif
                   11960: #      endif
                   11961: #    endif
                   11962: #  endif
                   11963: #endif
                   11964: 
                   11965: /* When -fvisbility=hidden is used, assume the code has been annotated
                   11966:    correspondingly for the symbols needed.  */
                   11967: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   11968: int fnord () __attribute__((visibility("default")));
                   11969: #endif
                   11970: 
                   11971: int fnord () { return 42; }
                   11972: int main ()
                   11973: {
                   11974:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   11975:   int status = $lt_dlunknown;
                   11976: 
                   11977:   if (self)
                   11978:     {
                   11979:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   11980:       else
                   11981:         {
                   11982:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   11983:           else puts (dlerror ());
                   11984:        }
                   11985:       /* dlclose (self); */
                   11986:     }
                   11987:   else
                   11988:     puts (dlerror ());
                   11989: 
                   11990:   return status;
                   11991: }
                   11992: _LT_EOF
1.22      moko     11993:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.8       moko     11994:   (eval $ac_link) 2>&5
                   11995:   ac_status=$?
1.22      moko     11996:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   11997:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.8       moko     11998:     (./conftest; exit; ) >&5 2>/dev/null
                   11999:     lt_status=$?
                   12000:     case x$lt_status in
                   12001:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   12002:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
                   12003:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
                   12004:     esac
                   12005:   else :
                   12006:     # compilation failed
                   12007:     lt_cv_dlopen_self=no
                   12008:   fi
                   12009: fi
                   12010: rm -fr conftest*
                   12011: 
                   12012: 
                   12013: fi
1.22      moko     12014: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
                   12015: $as_echo "$lt_cv_dlopen_self" >&6; }
1.8       moko     12016: 
                   12017:     if test "x$lt_cv_dlopen_self" = xyes; then
                   12018:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
1.22      moko     12019:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
                   12020: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
                   12021: if ${lt_cv_dlopen_self_static+:} false; then :
                   12022:   $as_echo_n "(cached) " >&6
1.8       moko     12023: else
                   12024:          if test "$cross_compiling" = yes; then :
                   12025:   lt_cv_dlopen_self_static=cross
                   12026: else
                   12027:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   12028:   lt_status=$lt_dlunknown
                   12029:   cat > conftest.$ac_ext <<_LT_EOF
                   12030: #line $LINENO "configure"
                   12031: #include "confdefs.h"
                   12032: 
                   12033: #if HAVE_DLFCN_H
                   12034: #include <dlfcn.h>
                   12035: #endif
                   12036: 
                   12037: #include <stdio.h>
                   12038: 
                   12039: #ifdef RTLD_GLOBAL
                   12040: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   12041: #else
                   12042: #  ifdef DL_GLOBAL
                   12043: #    define LT_DLGLOBAL                DL_GLOBAL
                   12044: #  else
                   12045: #    define LT_DLGLOBAL                0
                   12046: #  endif
                   12047: #endif
                   12048: 
                   12049: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   12050:    find out it does not work in some platform. */
                   12051: #ifndef LT_DLLAZY_OR_NOW
                   12052: #  ifdef RTLD_LAZY
                   12053: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   12054: #  else
                   12055: #    ifdef DL_LAZY
                   12056: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   12057: #    else
                   12058: #      ifdef RTLD_NOW
                   12059: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   12060: #      else
                   12061: #        ifdef DL_NOW
                   12062: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   12063: #        else
                   12064: #          define LT_DLLAZY_OR_NOW     0
                   12065: #        endif
                   12066: #      endif
                   12067: #    endif
                   12068: #  endif
                   12069: #endif
                   12070: 
                   12071: /* When -fvisbility=hidden is used, assume the code has been annotated
                   12072:    correspondingly for the symbols needed.  */
                   12073: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   12074: int fnord () __attribute__((visibility("default")));
                   12075: #endif
                   12076: 
                   12077: int fnord () { return 42; }
                   12078: int main ()
                   12079: {
                   12080:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   12081:   int status = $lt_dlunknown;
                   12082: 
                   12083:   if (self)
                   12084:     {
                   12085:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   12086:       else
                   12087:         {
                   12088:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   12089:           else puts (dlerror ());
                   12090:        }
                   12091:       /* dlclose (self); */
                   12092:     }
                   12093:   else
                   12094:     puts (dlerror ());
                   12095: 
                   12096:   return status;
                   12097: }
                   12098: _LT_EOF
1.22      moko     12099:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.8       moko     12100:   (eval $ac_link) 2>&5
                   12101:   ac_status=$?
1.22      moko     12102:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   12103:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.8       moko     12104:     (./conftest; exit; ) >&5 2>/dev/null
                   12105:     lt_status=$?
                   12106:     case x$lt_status in
                   12107:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   12108:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
                   12109:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
                   12110:     esac
                   12111:   else :
                   12112:     # compilation failed
                   12113:     lt_cv_dlopen_self_static=no
                   12114:   fi
                   12115: fi
                   12116: rm -fr conftest*
                   12117: 
                   12118: 
                   12119: fi
1.22      moko     12120: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
                   12121: $as_echo "$lt_cv_dlopen_self_static" >&6; }
1.8       moko     12122:     fi
                   12123: 
                   12124:     CPPFLAGS="$save_CPPFLAGS"
                   12125:     LDFLAGS="$save_LDFLAGS"
                   12126:     LIBS="$save_LIBS"
                   12127:     ;;
                   12128:   esac
                   12129: 
                   12130:   case $lt_cv_dlopen_self in
                   12131:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   12132:   *) enable_dlopen_self=unknown ;;
                   12133:   esac
                   12134: 
                   12135:   case $lt_cv_dlopen_self_static in
                   12136:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   12137:   *) enable_dlopen_self_static=unknown ;;
                   12138:   esac
                   12139: fi
                   12140: 
                   12141: 
                   12142: 
                   12143: 
                   12144: 
                   12145: 
                   12146: 
                   12147: 
                   12148: 
                   12149: 
                   12150: 
                   12151: 
                   12152: 
                   12153: 
                   12154: 
                   12155: 
                   12156: 
                   12157: striplib=
                   12158: old_striplib=
1.22      moko     12159: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
                   12160: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
1.8       moko     12161: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
                   12162:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
                   12163:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
1.22      moko     12164:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   12165: $as_echo "yes" >&6; }
1.8       moko     12166: else
                   12167: # FIXME - insert some real tests, host_os isn't really good enough
                   12168:   case $host_os in
                   12169:   darwin*)
                   12170:     if test -n "$STRIP" ; then
                   12171:       striplib="$STRIP -x"
                   12172:       old_striplib="$STRIP -S"
1.22      moko     12173:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   12174: $as_echo "yes" >&6; }
1.8       moko     12175:     else
1.22      moko     12176:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12177: $as_echo "no" >&6; }
1.8       moko     12178:     fi
                   12179:     ;;
                   12180:   *)
1.22      moko     12181:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12182: $as_echo "no" >&6; }
1.8       moko     12183:     ;;
                   12184:   esac
                   12185: fi
                   12186: 
                   12187: 
                   12188: 
                   12189: 
                   12190: 
                   12191: 
                   12192: 
                   12193: 
                   12194: 
                   12195: 
                   12196: 
                   12197: 
                   12198:   # Report which library types will actually be built
1.22      moko     12199:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
                   12200: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
                   12201:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
                   12202: $as_echo "$can_build_shared" >&6; }
1.8       moko     12203: 
1.22      moko     12204:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
                   12205: $as_echo_n "checking whether to build shared libraries... " >&6; }
1.8       moko     12206:   test "$can_build_shared" = "no" && enable_shared=no
                   12207: 
                   12208:   # On AIX, shared libraries and static libraries use the same namespace, and
                   12209:   # are all built from PIC.
                   12210:   case $host_os in
                   12211:   aix3*)
                   12212:     test "$enable_shared" = yes && enable_static=no
                   12213:     if test -n "$RANLIB"; then
                   12214:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   12215:       postinstall_cmds='$RANLIB $lib'
                   12216:     fi
                   12217:     ;;
                   12218: 
                   12219:   aix[4-9]*)
                   12220:     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
                   12221:       test "$enable_shared" = yes && enable_static=no
                   12222:     fi
                   12223:     ;;
                   12224:   esac
1.22      moko     12225:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
                   12226: $as_echo "$enable_shared" >&6; }
1.8       moko     12227: 
1.22      moko     12228:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
                   12229: $as_echo_n "checking whether to build static libraries... " >&6; }
1.8       moko     12230:   # Make sure either enable_shared or enable_static is yes.
                   12231:   test "$enable_shared" = yes || enable_static=yes
1.22      moko     12232:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
                   12233: $as_echo "$enable_static" >&6; }
1.8       moko     12234: 
                   12235: 
                   12236: 
                   12237: 
                   12238: fi
                   12239: ac_ext=c
                   12240: ac_cpp='$CPP $CPPFLAGS'
                   12241: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12242: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12243: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   12244: 
                   12245: CC="$lt_save_CC"
                   12246: 
                   12247:       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
                   12248:     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
                   12249:     (test "X$CXX" != "Xg++"))) ; then
1.22      moko     12250:   ac_ext=cpp
1.8       moko     12251: ac_cpp='$CXXCPP $CPPFLAGS'
                   12252: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12253: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12254: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.22      moko     12255: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
                   12256: $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
1.8       moko     12257: if test -z "$CXXCPP"; then
1.22      moko     12258:   if ${ac_cv_prog_CXXCPP+:} false; then :
                   12259:   $as_echo_n "(cached) " >&6
1.8       moko     12260: else
                   12261:       # Double quotes because CXXCPP needs to be expanded
                   12262:     for CXXCPP in "$CXX -E" "/lib/cpp"
                   12263:     do
                   12264:       ac_preproc_ok=false
                   12265: for ac_cxx_preproc_warn_flag in '' yes
                   12266: do
                   12267:   # Use a header file that comes with gcc, so configuring glibc
                   12268:   # with a fresh cross-compiler works.
                   12269:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   12270:   # <limits.h> exists even on freestanding compilers.
                   12271:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   12272:   # not just through cpp. "Syntax error" is here to catch this case.
1.22      moko     12273:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.8       moko     12274: /* end confdefs.h.  */
                   12275: #ifdef __STDC__
                   12276: # include <limits.h>
                   12277: #else
                   12278: # include <assert.h>
                   12279: #endif
                   12280:                     Syntax error
                   12281: _ACEOF
1.22      moko     12282: if ac_fn_cxx_try_cpp "$LINENO"; then :
                   12283: 
1.11      moko     12284: else
1.8       moko     12285:   # Broken: fails on valid input.
                   12286: continue
                   12287: fi
1.22      moko     12288: rm -f conftest.err conftest.i conftest.$ac_ext
1.8       moko     12289: 
1.22      moko     12290:   # OK, works on sane cases.  Now check whether nonexistent headers
1.8       moko     12291:   # can be detected and how.
1.22      moko     12292:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.8       moko     12293: /* end confdefs.h.  */
                   12294: #include <ac_nonexistent.h>
                   12295: _ACEOF
1.22      moko     12296: if ac_fn_cxx_try_cpp "$LINENO"; then :
1.8       moko     12297:   # Broken: success on invalid input.
                   12298: continue
                   12299: else
                   12300:   # Passes both tests.
                   12301: ac_preproc_ok=:
                   12302: break
                   12303: fi
1.22      moko     12304: rm -f conftest.err conftest.i conftest.$ac_ext
1.8       moko     12305: 
                   12306: done
                   12307: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.22      moko     12308: rm -f conftest.i conftest.err conftest.$ac_ext
                   12309: if $ac_preproc_ok; then :
1.8       moko     12310:   break
                   12311: fi
                   12312: 
                   12313:     done
                   12314:     ac_cv_prog_CXXCPP=$CXXCPP
                   12315: 
                   12316: fi
                   12317:   CXXCPP=$ac_cv_prog_CXXCPP
                   12318: else
                   12319:   ac_cv_prog_CXXCPP=$CXXCPP
                   12320: fi
1.22      moko     12321: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
                   12322: $as_echo "$CXXCPP" >&6; }
1.8       moko     12323: ac_preproc_ok=false
                   12324: for ac_cxx_preproc_warn_flag in '' yes
                   12325: do
                   12326:   # Use a header file that comes with gcc, so configuring glibc
                   12327:   # with a fresh cross-compiler works.
                   12328:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   12329:   # <limits.h> exists even on freestanding compilers.
                   12330:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   12331:   # not just through cpp. "Syntax error" is here to catch this case.
1.22      moko     12332:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.8       moko     12333: /* end confdefs.h.  */
                   12334: #ifdef __STDC__
                   12335: # include <limits.h>
                   12336: #else
                   12337: # include <assert.h>
                   12338: #endif
                   12339:                     Syntax error
                   12340: _ACEOF
1.22      moko     12341: if ac_fn_cxx_try_cpp "$LINENO"; then :
                   12342: 
1.11      moko     12343: else
1.10      moko     12344:   # Broken: fails on valid input.
1.8       moko     12345: continue
                   12346: fi
1.22      moko     12347: rm -f conftest.err conftest.i conftest.$ac_ext
1.8       moko     12348: 
1.22      moko     12349:   # OK, works on sane cases.  Now check whether nonexistent headers
1.8       moko     12350:   # can be detected and how.
1.22      moko     12351:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.8       moko     12352: /* end confdefs.h.  */
                   12353: #include <ac_nonexistent.h>
                   12354: _ACEOF
1.22      moko     12355: if ac_fn_cxx_try_cpp "$LINENO"; then :
1.8       moko     12356:   # Broken: success on invalid input.
                   12357: continue
                   12358: else
                   12359:   # Passes both tests.
                   12360: ac_preproc_ok=:
                   12361: break
                   12362: fi
1.22      moko     12363: rm -f conftest.err conftest.i conftest.$ac_ext
1.8       moko     12364: 
                   12365: done
                   12366: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.22      moko     12367: rm -f conftest.i conftest.err conftest.$ac_ext
                   12368: if $ac_preproc_ok; then :
                   12369: 
1.8       moko     12370: else
1.22      moko     12371:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   12372: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   12373: as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
                   12374: See \`config.log' for more details" "$LINENO" 5; }
1.8       moko     12375: fi
                   12376: 
                   12377: ac_ext=c
                   12378: ac_cpp='$CPP $CPPFLAGS'
                   12379: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12380: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12381: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   12382: 
                   12383: else
                   12384:   _lt_caught_CXX_error=yes
                   12385: fi
                   12386: 
1.22      moko     12387: ac_ext=cpp
1.8       moko     12388: ac_cpp='$CXXCPP $CPPFLAGS'
                   12389: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12390: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12391: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   12392: 
                   12393: archive_cmds_need_lc_CXX=no
                   12394: allow_undefined_flag_CXX=
                   12395: always_export_symbols_CXX=no
                   12396: archive_expsym_cmds_CXX=
                   12397: compiler_needs_object_CXX=no
                   12398: export_dynamic_flag_spec_CXX=
                   12399: hardcode_direct_CXX=no
                   12400: hardcode_direct_absolute_CXX=no
                   12401: hardcode_libdir_flag_spec_CXX=
                   12402: hardcode_libdir_separator_CXX=
                   12403: hardcode_minus_L_CXX=no
                   12404: hardcode_shlibpath_var_CXX=unsupported
                   12405: hardcode_automatic_CXX=no
                   12406: inherit_rpath_CXX=no
                   12407: module_cmds_CXX=
                   12408: module_expsym_cmds_CXX=
                   12409: link_all_deplibs_CXX=unknown
                   12410: old_archive_cmds_CXX=$old_archive_cmds
                   12411: reload_flag_CXX=$reload_flag
                   12412: reload_cmds_CXX=$reload_cmds
                   12413: no_undefined_flag_CXX=
                   12414: whole_archive_flag_spec_CXX=
                   12415: enable_shared_with_static_runtimes_CXX=no
                   12416: 
                   12417: # Source file extension for C++ test sources.
                   12418: ac_ext=cpp
                   12419: 
                   12420: # Object file extension for compiled C++ test sources.
                   12421: objext=o
                   12422: objext_CXX=$objext
                   12423: 
                   12424: # No sense in running all these tests if we already determined that
                   12425: # the CXX compiler isn't working.  Some variables (like enable_shared)
                   12426: # are currently assumed to apply to all compilers on this platform,
                   12427: # and will be corrupted by setting them based on a non-working compiler.
                   12428: if test "$_lt_caught_CXX_error" != yes; then
                   12429:   # Code to be used in simple compile tests
                   12430:   lt_simple_compile_test_code="int some_variable = 0;"
                   12431: 
                   12432:   # Code to be used in simple link tests
                   12433:   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
                   12434: 
                   12435:   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
                   12436: 
                   12437: 
                   12438: 
                   12439: 
                   12440: 
                   12441: 
                   12442: # If no C compiler was specified, use CC.
                   12443: LTCC=${LTCC-"$CC"}
                   12444: 
                   12445: # If no C compiler flags were specified, use CFLAGS.
                   12446: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   12447: 
                   12448: # Allow CC to be a program name with arguments.
                   12449: compiler=$CC
                   12450: 
                   12451: 
                   12452:   # save warnings/boilerplate of simple test code
                   12453:   ac_outfile=conftest.$ac_objext
                   12454: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   12455: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   12456: _lt_compiler_boilerplate=`cat conftest.err`
                   12457: $RM conftest*
                   12458: 
                   12459:   ac_outfile=conftest.$ac_objext
                   12460: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   12461: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   12462: _lt_linker_boilerplate=`cat conftest.err`
                   12463: $RM -r conftest*
                   12464: 
                   12465: 
                   12466:   # Allow CC to be a program name with arguments.
                   12467:   lt_save_CC=$CC
                   12468:   lt_save_CFLAGS=$CFLAGS
                   12469:   lt_save_LD=$LD
                   12470:   lt_save_GCC=$GCC
                   12471:   GCC=$GXX
                   12472:   lt_save_with_gnu_ld=$with_gnu_ld
                   12473:   lt_save_path_LD=$lt_cv_path_LD
                   12474:   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
                   12475:     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
                   12476:   else
                   12477:     $as_unset lt_cv_prog_gnu_ld
                   12478:   fi
                   12479:   if test -n "${lt_cv_path_LDCXX+set}"; then
                   12480:     lt_cv_path_LD=$lt_cv_path_LDCXX
                   12481:   else
                   12482:     $as_unset lt_cv_path_LD
                   12483:   fi
                   12484:   test -z "${LDCXX+set}" || LD=$LDCXX
                   12485:   CC=${CXX-"c++"}
                   12486:   CFLAGS=$CXXFLAGS
                   12487:   compiler=$CC
                   12488:   compiler_CXX=$CC
                   12489:   for cc_temp in $compiler""; do
                   12490:   case $cc_temp in
                   12491:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   12492:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   12493:     \-*) ;;
                   12494:     *) break;;
                   12495:   esac
                   12496: done
                   12497: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   12498: 
                   12499: 
                   12500:   if test -n "$compiler"; then
                   12501:     # We don't want -fno-exception when compiling C++ code, so set the
                   12502:     # no_builtin_flag separately
                   12503:     if test "$GXX" = yes; then
                   12504:       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
                   12505:     else
                   12506:       lt_prog_compiler_no_builtin_flag_CXX=
                   12507:     fi
                   12508: 
                   12509:     if test "$GXX" = yes; then
                   12510:       # Set up default GNU C++ configuration
                   12511: 
                   12512: 
                   12513: 
1.22      moko     12514: # Check whether --with-gnu-ld was given.
                   12515: if test "${with_gnu_ld+set}" = set; then :
                   12516:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
1.8       moko     12517: else
                   12518:   with_gnu_ld=no
1.22      moko     12519: fi
                   12520: 
1.8       moko     12521: ac_prog=ld
                   12522: if test "$GCC" = yes; then
                   12523:   # Check if gcc -print-prog-name=ld gives a path.
1.22      moko     12524:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   12525: $as_echo_n "checking for ld used by $CC... " >&6; }
1.8       moko     12526:   case $host in
                   12527:   *-*-mingw*)
                   12528:     # gcc leaves a trailing carriage return which upsets mingw
                   12529:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   12530:   *)
                   12531:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   12532:   esac
                   12533:   case $ac_prog in
                   12534:     # Accept absolute paths.
                   12535:     [\\/]* | ?:[\\/]*)
                   12536:       re_direlt='/[^/][^/]*/\.\./'
                   12537:       # Canonicalize the pathname of ld
                   12538:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   12539:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   12540:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   12541:       done
                   12542:       test -z "$LD" && LD="$ac_prog"
                   12543:       ;;
                   12544:   "")
                   12545:     # If it fails, then pretend we aren't using GCC.
                   12546:     ac_prog=ld
                   12547:     ;;
                   12548:   *)
                   12549:     # If it is relative, then search for the first ld in PATH.
                   12550:     with_gnu_ld=unknown
                   12551:     ;;
                   12552:   esac
                   12553: elif test "$with_gnu_ld" = yes; then
1.22      moko     12554:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   12555: $as_echo_n "checking for GNU ld... " >&6; }
1.8       moko     12556: else
1.22      moko     12557:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   12558: $as_echo_n "checking for non-GNU ld... " >&6; }
1.8       moko     12559: fi
1.22      moko     12560: if ${lt_cv_path_LD+:} false; then :
                   12561:   $as_echo_n "(cached) " >&6
1.8       moko     12562: else
                   12563:   if test -z "$LD"; then
                   12564:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   12565:   for ac_dir in $PATH; do
                   12566:     IFS="$lt_save_ifs"
                   12567:     test -z "$ac_dir" && ac_dir=.
                   12568:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   12569:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   12570:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   12571:       # but apparently some variants of GNU ld only accept -v.
                   12572:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   12573:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   12574:       *GNU* | *'with BFD'*)
                   12575:        test "$with_gnu_ld" != no && break
                   12576:        ;;
                   12577:       *)
                   12578:        test "$with_gnu_ld" != yes && break
                   12579:        ;;
                   12580:       esac
                   12581:     fi
                   12582:   done
                   12583:   IFS="$lt_save_ifs"
                   12584: else
                   12585:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   12586: fi
                   12587: fi
                   12588: 
                   12589: LD="$lt_cv_path_LD"
                   12590: if test -n "$LD"; then
1.22      moko     12591:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   12592: $as_echo "$LD" >&6; }
1.8       moko     12593: else
1.22      moko     12594:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12595: $as_echo "no" >&6; }
1.8       moko     12596: fi
1.22      moko     12597: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
                   12598: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   12599: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
                   12600: if ${lt_cv_prog_gnu_ld+:} false; then :
                   12601:   $as_echo_n "(cached) " >&6
1.8       moko     12602: else
                   12603:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   12604: case `$LD -v 2>&1 </dev/null` in
                   12605: *GNU* | *'with BFD'*)
                   12606:   lt_cv_prog_gnu_ld=yes
                   12607:   ;;
                   12608: *)
                   12609:   lt_cv_prog_gnu_ld=no
                   12610:   ;;
                   12611: esac
                   12612: fi
1.22      moko     12613: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   12614: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
1.8       moko     12615: with_gnu_ld=$lt_cv_prog_gnu_ld
                   12616: 
                   12617: 
                   12618: 
                   12619: 
                   12620: 
                   12621: 
                   12622: 
                   12623:       # Check if GNU C++ uses GNU ld as the underlying linker, since the
                   12624:       # archiving commands below assume that GNU ld is being used.
                   12625:       if test "$with_gnu_ld" = yes; then
                   12626:         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12627:         archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   12628: 
                   12629:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   12630:         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   12631: 
                   12632:         # If archive_cmds runs LD, not CC, wlarc should be empty
                   12633:         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
                   12634:         #     investigate it a little bit more. (MM)
                   12635:         wlarc='${wl}'
                   12636: 
                   12637:         # ancient GNU ld didn't support --whole-archive et. al.
                   12638:         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
                   12639:          $GREP 'no-whole-archive' > /dev/null; then
                   12640:           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   12641:         else
                   12642:           whole_archive_flag_spec_CXX=
                   12643:         fi
                   12644:       else
                   12645:         with_gnu_ld=no
                   12646:         wlarc=
                   12647: 
                   12648:         # A generic and very simple default shared library creation
                   12649:         # command for GNU C++ for the case where it uses the native
                   12650:         # linker, instead of GNU ld.  If possible, this setting should
                   12651:         # overridden to take advantage of the native linker features on
                   12652:         # the platform it is being used on.
                   12653:         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   12654:       fi
                   12655: 
                   12656:       # Commands to make compiler produce verbose output that lists
                   12657:       # what "hidden" libraries, object files and flags are used when
                   12658:       # linking a shared library.
                   12659:       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   12660: 
                   12661:     else
                   12662:       GXX=no
                   12663:       with_gnu_ld=no
                   12664:       wlarc=
                   12665:     fi
                   12666: 
                   12667:     # PORTME: fill in a description of your system's C++ link characteristics
1.22      moko     12668:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   12669: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.8       moko     12670:     ld_shlibs_CXX=yes
                   12671:     case $host_os in
                   12672:       aix3*)
                   12673:         # FIXME: insert proper C++ library support
                   12674:         ld_shlibs_CXX=no
                   12675:         ;;
                   12676:       aix[4-9]*)
                   12677:         if test "$host_cpu" = ia64; then
                   12678:           # On IA64, the linker does run time linking by default, so we don't
                   12679:           # have to do anything special.
                   12680:           aix_use_runtimelinking=no
                   12681:           exp_sym_flag='-Bexport'
                   12682:           no_entry_flag=""
                   12683:         else
                   12684:           aix_use_runtimelinking=no
                   12685: 
                   12686:           # Test if we are trying to use run time linking or normal
                   12687:           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   12688:           # need to do runtime linking.
                   12689:           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   12690:            for ld_flag in $LDFLAGS; do
                   12691:              case $ld_flag in
                   12692:              *-brtl*)
                   12693:                aix_use_runtimelinking=yes
                   12694:                break
                   12695:                ;;
                   12696:              esac
                   12697:            done
                   12698:            ;;
                   12699:           esac
                   12700: 
                   12701:           exp_sym_flag='-bexport'
                   12702:           no_entry_flag='-bnoentry'
                   12703:         fi
                   12704: 
                   12705:         # When large executables or shared objects are built, AIX ld can
                   12706:         # have problems creating the table of contents.  If linking a library
                   12707:         # or program results in "error TOC overflow" add -mminimal-toc to
                   12708:         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   12709:         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   12710: 
                   12711:         archive_cmds_CXX=''
                   12712:         hardcode_direct_CXX=yes
                   12713:         hardcode_direct_absolute_CXX=yes
                   12714:         hardcode_libdir_separator_CXX=':'
                   12715:         link_all_deplibs_CXX=yes
                   12716:         file_list_spec_CXX='${wl}-f,'
                   12717: 
                   12718:         if test "$GXX" = yes; then
                   12719:           case $host_os in aix4.[012]|aix4.[012].*)
                   12720:           # We only want to do this on AIX 4.2 and lower, the check
                   12721:           # below for broken collect2 doesn't work under 4.3+
                   12722:          collect2name=`${CC} -print-prog-name=collect2`
                   12723:          if test -f "$collect2name" &&
                   12724:             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   12725:          then
                   12726:            # We have reworked collect2
                   12727:            :
                   12728:          else
                   12729:            # We have old collect2
                   12730:            hardcode_direct_CXX=unsupported
                   12731:            # It fails to find uninstalled libraries when the uninstalled
                   12732:            # path is not listed in the libpath.  Setting hardcode_minus_L
                   12733:            # to unsupported forces relinking
                   12734:            hardcode_minus_L_CXX=yes
                   12735:            hardcode_libdir_flag_spec_CXX='-L$libdir'
                   12736:            hardcode_libdir_separator_CXX=
                   12737:          fi
                   12738:           esac
                   12739:           shared_flag='-shared'
                   12740:          if test "$aix_use_runtimelinking" = yes; then
                   12741:            shared_flag="$shared_flag "'${wl}-G'
                   12742:          fi
                   12743:         else
                   12744:           # not using gcc
                   12745:           if test "$host_cpu" = ia64; then
                   12746:          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   12747:          # chokes on -Wl,-G. The following line is correct:
                   12748:          shared_flag='-G'
                   12749:           else
                   12750:            if test "$aix_use_runtimelinking" = yes; then
                   12751:              shared_flag='${wl}-G'
                   12752:            else
                   12753:              shared_flag='${wl}-bM:SRE'
                   12754:            fi
                   12755:           fi
                   12756:         fi
                   12757: 
                   12758:         export_dynamic_flag_spec_CXX='${wl}-bexpall'
                   12759:         # It seems that -bexpall does not export symbols beginning with
                   12760:         # underscore (_), so it is better to generate a list of symbols to
                   12761:        # export.
                   12762:         always_export_symbols_CXX=yes
                   12763:         if test "$aix_use_runtimelinking" = yes; then
                   12764:           # Warning - without using the other runtime loading flags (-brtl),
                   12765:           # -berok will link without error, but may produce a broken library.
                   12766:           allow_undefined_flag_CXX='-berok'
                   12767:           # Determine the default libpath from the value encoded in an empty
                   12768:           # executable.
                   12769:           if test "${lt_cv_aix_libpath+set}" = set; then
                   12770:   aix_libpath=$lt_cv_aix_libpath
                   12771: else
1.22      moko     12772:   if ${lt_cv_aix_libpath__CXX+:} false; then :
                   12773:   $as_echo_n "(cached) " >&6
1.8       moko     12774: else
1.22      moko     12775:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.8       moko     12776: /* end confdefs.h.  */
                   12777: 
                   12778: int
                   12779: main ()
                   12780: {
                   12781: 
                   12782:   ;
                   12783:   return 0;
                   12784: }
                   12785: _ACEOF
1.22      moko     12786: if ac_fn_cxx_try_link "$LINENO"; then :
1.8       moko     12787: 
                   12788:   lt_aix_libpath_sed='
                   12789:       /Import File Strings/,/^$/ {
                   12790:          /^0/ {
                   12791:              s/^0  *\([^ ]*\) *$/\1/
                   12792:              p
                   12793:          }
                   12794:       }'
                   12795:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   12796:   # Check for a 64-bit object if we didn't find anything.
                   12797:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   12798:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   12799:   fi
                   12800: fi
1.22      moko     12801: rm -f core conftest.err conftest.$ac_objext \
                   12802:     conftest$ac_exeext conftest.$ac_ext
1.8       moko     12803:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   12804:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   12805:   fi
                   12806: 
                   12807: fi
                   12808: 
                   12809:   aix_libpath=$lt_cv_aix_libpath__CXX
                   12810: fi
                   12811: 
                   12812:           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   12813: 
                   12814:           archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
                   12815:         else
                   12816:           if test "$host_cpu" = ia64; then
                   12817:            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
                   12818:            allow_undefined_flag_CXX="-z nodefs"
                   12819:            archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
                   12820:           else
                   12821:            # Determine the default libpath from the value encoded in an
                   12822:            # empty executable.
                   12823:            if test "${lt_cv_aix_libpath+set}" = set; then
                   12824:   aix_libpath=$lt_cv_aix_libpath
                   12825: else
1.22      moko     12826:   if ${lt_cv_aix_libpath__CXX+:} false; then :
                   12827:   $as_echo_n "(cached) " >&6
1.8       moko     12828: else
1.22      moko     12829:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.8       moko     12830: /* end confdefs.h.  */
                   12831: 
                   12832: int
                   12833: main ()
                   12834: {
                   12835: 
                   12836:   ;
                   12837:   return 0;
                   12838: }
                   12839: _ACEOF
1.22      moko     12840: if ac_fn_cxx_try_link "$LINENO"; then :
1.8       moko     12841: 
                   12842:   lt_aix_libpath_sed='
                   12843:       /Import File Strings/,/^$/ {
                   12844:          /^0/ {
                   12845:              s/^0  *\([^ ]*\) *$/\1/
                   12846:              p
                   12847:          }
                   12848:       }'
                   12849:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   12850:   # Check for a 64-bit object if we didn't find anything.
                   12851:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   12852:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   12853:   fi
                   12854: fi
1.22      moko     12855: rm -f core conftest.err conftest.$ac_objext \
                   12856:     conftest$ac_exeext conftest.$ac_ext
1.8       moko     12857:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   12858:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   12859:   fi
                   12860: 
                   12861: fi
                   12862: 
                   12863:   aix_libpath=$lt_cv_aix_libpath__CXX
                   12864: fi
                   12865: 
                   12866:            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   12867:            # Warning - without using the other run time loading flags,
                   12868:            # -berok will link without error, but may produce a broken library.
                   12869:            no_undefined_flag_CXX=' ${wl}-bernotok'
                   12870:            allow_undefined_flag_CXX=' ${wl}-berok'
                   12871:            if test "$with_gnu_ld" = yes; then
                   12872:              # We only use this code for GNU lds that support --whole-archive.
                   12873:              whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   12874:            else
                   12875:              # Exported symbols can be pulled into shared objects from archives
                   12876:              whole_archive_flag_spec_CXX='$convenience'
                   12877:            fi
                   12878:            archive_cmds_need_lc_CXX=yes
                   12879:            # This is similar to how AIX traditionally builds its shared
                   12880:            # libraries.
                   12881:            archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
                   12882:           fi
                   12883:         fi
                   12884:         ;;
                   12885: 
                   12886:       beos*)
                   12887:        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   12888:          allow_undefined_flag_CXX=unsupported
                   12889:          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   12890:          # support --undefined.  This deserves some investigation.  FIXME
                   12891:          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12892:        else
                   12893:          ld_shlibs_CXX=no
                   12894:        fi
                   12895:        ;;
                   12896: 
                   12897:       chorus*)
                   12898:         case $cc_basename in
                   12899:           *)
                   12900:          # FIXME: insert proper C++ library support
                   12901:          ld_shlibs_CXX=no
                   12902:          ;;
                   12903:         esac
                   12904:         ;;
                   12905: 
                   12906:       cygwin* | mingw* | pw32* | cegcc*)
                   12907:        case $GXX,$cc_basename in
                   12908:        ,cl* | no,cl*)
                   12909:          # Native MSVC
                   12910:          # hardcode_libdir_flag_spec is actually meaningless, as there is
                   12911:          # no search path for DLLs.
                   12912:          hardcode_libdir_flag_spec_CXX=' '
                   12913:          allow_undefined_flag_CXX=unsupported
                   12914:          always_export_symbols_CXX=yes
                   12915:          file_list_spec_CXX='@'
                   12916:          # Tell ltmain to make .lib files, not .a files.
                   12917:          libext=lib
                   12918:          # Tell ltmain to make .dll files, not .so files.
                   12919:          shrext_cmds=".dll"
                   12920:          # FIXME: Setting linknames here is a bad hack.
                   12921:          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   12922:          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   12923:              $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   12924:            else
                   12925:              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   12926:            fi~
                   12927:            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   12928:            linknames='
                   12929:          # The linker will not automatically build a static lib if we build a DLL.
                   12930:          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
                   12931:          enable_shared_with_static_runtimes_CXX=yes
                   12932:          # Don't use ranlib
                   12933:          old_postinstall_cmds_CXX='chmod 644 $oldlib'
                   12934:          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
                   12935:            lt_tool_outputfile="@TOOL_OUTPUT@"~
                   12936:            case $lt_outputfile in
                   12937:              *.exe|*.EXE) ;;
                   12938:              *)
                   12939:                lt_outputfile="$lt_outputfile.exe"
                   12940:                lt_tool_outputfile="$lt_tool_outputfile.exe"
                   12941:                ;;
                   12942:            esac~
                   12943:            func_to_tool_file "$lt_outputfile"~
                   12944:            if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   12945:              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   12946:              $RM "$lt_outputfile.manifest";
                   12947:            fi'
                   12948:          ;;
                   12949:        *)
                   12950:          # g++
                   12951:          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
                   12952:          # as there is no search path for DLLs.
                   12953:          hardcode_libdir_flag_spec_CXX='-L$libdir'
                   12954:          export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
                   12955:          allow_undefined_flag_CXX=unsupported
                   12956:          always_export_symbols_CXX=no
                   12957:          enable_shared_with_static_runtimes_CXX=yes
                   12958: 
                   12959:          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   12960:            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   12961:            # If the export-symbols file already is a .def file (1st line
                   12962:            # is EXPORTS), use it as is; otherwise, prepend...
                   12963:            archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   12964:              cp $export_symbols $output_objdir/$soname.def;
                   12965:            else
                   12966:              echo EXPORTS > $output_objdir/$soname.def;
                   12967:              cat $export_symbols >> $output_objdir/$soname.def;
                   12968:            fi~
                   12969:            $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   12970:          else
                   12971:            ld_shlibs_CXX=no
                   12972:          fi
                   12973:          ;;
                   12974:        esac
                   12975:        ;;
                   12976:       darwin* | rhapsody*)
                   12977: 
                   12978: 
                   12979:   archive_cmds_need_lc_CXX=no
                   12980:   hardcode_direct_CXX=no
                   12981:   hardcode_automatic_CXX=yes
                   12982:   hardcode_shlibpath_var_CXX=unsupported
                   12983:   if test "$lt_cv_ld_force_load" = "yes"; then
                   12984:     whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
                   12985: 
                   12986:   else
                   12987:     whole_archive_flag_spec_CXX=''
                   12988:   fi
                   12989:   link_all_deplibs_CXX=yes
                   12990:   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
                   12991:   case $cc_basename in
                   12992:      ifort*) _lt_dar_can_shared=yes ;;
                   12993:      *) _lt_dar_can_shared=$GCC ;;
                   12994:   esac
                   12995:   if test "$_lt_dar_can_shared" = "yes"; then
                   12996:     output_verbose_link_cmd=func_echo_all
                   12997:     archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
                   12998:     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   12999:     archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
                   13000:     module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
                   13001:        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
                   13002:       archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
                   13003:       archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
                   13004:     fi
                   13005: 
                   13006:   else
                   13007:   ld_shlibs_CXX=no
                   13008:   fi
                   13009: 
                   13010:        ;;
                   13011: 
                   13012:       dgux*)
                   13013:         case $cc_basename in
                   13014:           ec++*)
                   13015:            # FIXME: insert proper C++ library support
                   13016:            ld_shlibs_CXX=no
                   13017:            ;;
                   13018:           ghcx*)
                   13019:            # Green Hills C++ Compiler
                   13020:            # FIXME: insert proper C++ library support
                   13021:            ld_shlibs_CXX=no
                   13022:            ;;
                   13023:           *)
                   13024:            # FIXME: insert proper C++ library support
                   13025:            ld_shlibs_CXX=no
                   13026:            ;;
                   13027:         esac
                   13028:         ;;
                   13029: 
                   13030:       freebsd2.*)
                   13031:         # C++ shared libraries reported to be fairly broken before
                   13032:        # switch to ELF
                   13033:         ld_shlibs_CXX=no
                   13034:         ;;
                   13035: 
                   13036:       freebsd-elf*)
                   13037:         archive_cmds_need_lc_CXX=no
                   13038:         ;;
                   13039: 
                   13040:       freebsd* | dragonfly*)
                   13041:         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
                   13042:         # conventions
                   13043:         ld_shlibs_CXX=yes
                   13044:         ;;
                   13045: 
                   13046:       gnu*)
                   13047:         ;;
                   13048: 
                   13049:       haiku*)
                   13050:         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13051:         link_all_deplibs_CXX=yes
                   13052:         ;;
                   13053: 
                   13054:       hpux9*)
                   13055:         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   13056:         hardcode_libdir_separator_CXX=:
                   13057:         export_dynamic_flag_spec_CXX='${wl}-E'
                   13058:         hardcode_direct_CXX=yes
                   13059:         hardcode_minus_L_CXX=yes # Not in the search PATH,
                   13060:                                             # but as the default
                   13061:                                             # location of the library.
                   13062: 
                   13063:         case $cc_basename in
                   13064:           CC*)
                   13065:             # FIXME: insert proper C++ library support
                   13066:             ld_shlibs_CXX=no
                   13067:             ;;
                   13068:           aCC*)
                   13069:             archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
                   13070:             # Commands to make compiler produce verbose output that lists
                   13071:             # what "hidden" libraries, object files and flags are used when
                   13072:             # linking a shared library.
                   13073:             #
                   13074:             # There doesn't appear to be a way to prevent this compiler from
                   13075:             # explicitly linking system object files so we need to strip them
                   13076:             # from the output so that they don't get included in the library
                   13077:             # dependencies.
                   13078:             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
                   13079:             ;;
                   13080:           *)
                   13081:             if test "$GXX" = yes; then
                   13082:               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
                   13083:             else
                   13084:               # FIXME: insert proper C++ library support
                   13085:               ld_shlibs_CXX=no
                   13086:             fi
                   13087:             ;;
                   13088:         esac
                   13089:         ;;
                   13090: 
                   13091:       hpux10*|hpux11*)
                   13092:         if test $with_gnu_ld = no; then
                   13093:          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   13094:          hardcode_libdir_separator_CXX=:
                   13095: 
                   13096:           case $host_cpu in
                   13097:             hppa*64*|ia64*)
                   13098:               ;;
                   13099:             *)
                   13100:              export_dynamic_flag_spec_CXX='${wl}-E'
                   13101:               ;;
                   13102:           esac
                   13103:         fi
                   13104:         case $host_cpu in
                   13105:           hppa*64*|ia64*)
                   13106:             hardcode_direct_CXX=no
                   13107:             hardcode_shlibpath_var_CXX=no
                   13108:             ;;
                   13109:           *)
                   13110:             hardcode_direct_CXX=yes
                   13111:             hardcode_direct_absolute_CXX=yes
                   13112:             hardcode_minus_L_CXX=yes # Not in the search PATH,
                   13113:                                                 # but as the default
                   13114:                                                 # location of the library.
                   13115:             ;;
                   13116:         esac
                   13117: 
                   13118:         case $cc_basename in
                   13119:           CC*)
                   13120:            # FIXME: insert proper C++ library support
                   13121:            ld_shlibs_CXX=no
                   13122:            ;;
                   13123:           aCC*)
                   13124:            case $host_cpu in
                   13125:              hppa*64*)
                   13126:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13127:                ;;
                   13128:              ia64*)
                   13129:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13130:                ;;
                   13131:              *)
                   13132:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13133:                ;;
                   13134:            esac
                   13135:            # Commands to make compiler produce verbose output that lists
                   13136:            # what "hidden" libraries, object files and flags are used when
                   13137:            # linking a shared library.
                   13138:            #
                   13139:            # There doesn't appear to be a way to prevent this compiler from
                   13140:            # explicitly linking system object files so we need to strip them
                   13141:            # from the output so that they don't get included in the library
                   13142:            # dependencies.
                   13143:            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
                   13144:            ;;
                   13145:           *)
                   13146:            if test "$GXX" = yes; then
                   13147:              if test $with_gnu_ld = no; then
                   13148:                case $host_cpu in
                   13149:                  hppa*64*)
                   13150:                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13151:                    ;;
                   13152:                  ia64*)
                   13153:                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13154:                    ;;
                   13155:                  *)
                   13156:                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13157:                    ;;
                   13158:                esac
                   13159:              fi
                   13160:            else
                   13161:              # FIXME: insert proper C++ library support
                   13162:              ld_shlibs_CXX=no
                   13163:            fi
                   13164:            ;;
                   13165:         esac
                   13166:         ;;
                   13167: 
                   13168:       interix[3-9]*)
                   13169:        hardcode_direct_CXX=no
                   13170:        hardcode_shlibpath_var_CXX=no
                   13171:        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13172:        export_dynamic_flag_spec_CXX='${wl}-E'
                   13173:        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   13174:        # Instead, shared libraries are loaded at an image base (0x10000000 by
                   13175:        # default) and relocated if they conflict, which is a slow very memory
                   13176:        # consuming and fragmenting process.  To avoid this, we pick a random,
                   13177:        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   13178:        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   13179:        archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   13180:        archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   13181:        ;;
                   13182:       irix5* | irix6*)
                   13183:         case $cc_basename in
                   13184:           CC*)
                   13185:            # SGI C++
                   13186:            archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
                   13187: 
                   13188:            # Archives containing C++ object files must be created using
                   13189:            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
                   13190:            # necessary to make sure instantiated templates are included
                   13191:            # in the archive.
                   13192:            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
                   13193:            ;;
                   13194:           *)
                   13195:            if test "$GXX" = yes; then
                   13196:              if test "$with_gnu_ld" = no; then
                   13197:                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
                   13198:              else
                   13199:                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
                   13200:              fi
                   13201:            fi
                   13202:            link_all_deplibs_CXX=yes
                   13203:            ;;
                   13204:         esac
                   13205:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13206:         hardcode_libdir_separator_CXX=:
                   13207:         inherit_rpath_CXX=yes
                   13208:         ;;
                   13209: 
                   13210:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   13211:         case $cc_basename in
                   13212:           KCC*)
                   13213:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   13214: 
                   13215:            # KCC will only create a shared library if the output file
                   13216:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   13217:            # to its proper name (with version) after linking.
                   13218:            archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
                   13219:            archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
                   13220:            # Commands to make compiler produce verbose output that lists
                   13221:            # what "hidden" libraries, object files and flags are used when
                   13222:            # linking a shared library.
                   13223:            #
                   13224:            # There doesn't appear to be a way to prevent this compiler from
                   13225:            # explicitly linking system object files so we need to strip them
                   13226:            # from the output so that they don't get included in the library
                   13227:            # dependencies.
                   13228:            output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
                   13229: 
                   13230:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13231:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13232: 
                   13233:            # Archives containing C++ object files must be created using
                   13234:            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
                   13235:            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
                   13236:            ;;
                   13237:          icpc* | ecpc* )
                   13238:            # Intel C++
                   13239:            with_gnu_ld=yes
                   13240:            # version 8.0 and above of icpc choke on multiply defined symbols
                   13241:            # if we add $predep_objects and $postdep_objects, however 7.1 and
                   13242:            # earlier do not add the objects themselves.
                   13243:            case `$CC -V 2>&1` in
                   13244:              *"Version 7."*)
                   13245:                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13246:                archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   13247:                ;;
                   13248:              *)  # Version 8.0 or newer
                   13249:                tmp_idyn=
                   13250:                case $host_cpu in
                   13251:                  ia64*) tmp_idyn=' -i_dynamic';;
                   13252:                esac
                   13253:                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13254:                archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   13255:                ;;
                   13256:            esac
                   13257:            archive_cmds_need_lc_CXX=no
                   13258:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13259:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13260:            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   13261:            ;;
                   13262:           pgCC* | pgcpp*)
                   13263:             # Portland Group C++ compiler
                   13264:            case `$CC -V` in
                   13265:            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
                   13266:              prelink_cmds_CXX='tpldir=Template.dir~
                   13267:                rm -rf $tpldir~
                   13268:                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
                   13269:                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
                   13270:              old_archive_cmds_CXX='tpldir=Template.dir~
                   13271:                rm -rf $tpldir~
                   13272:                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
                   13273:                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
                   13274:                $RANLIB $oldlib'
                   13275:              archive_cmds_CXX='tpldir=Template.dir~
                   13276:                rm -rf $tpldir~
                   13277:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   13278:                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   13279:              archive_expsym_cmds_CXX='tpldir=Template.dir~
                   13280:                rm -rf $tpldir~
                   13281:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   13282:                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
                   13283:              ;;
                   13284:            *) # Version 6 and above use weak symbols
                   13285:              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   13286:              archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
                   13287:              ;;
                   13288:            esac
                   13289: 
                   13290:            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
                   13291:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13292:            whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
                   13293:             ;;
                   13294:          cxx*)
                   13295:            # Compaq C++
                   13296:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13297:            archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
                   13298: 
                   13299:            runpath_var=LD_RUN_PATH
                   13300:            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   13301:            hardcode_libdir_separator_CXX=:
                   13302: 
                   13303:            # Commands to make compiler produce verbose output that lists
                   13304:            # what "hidden" libraries, object files and flags are used when
                   13305:            # linking a shared library.
                   13306:            #
                   13307:            # There doesn't appear to be a way to prevent this compiler from
                   13308:            # explicitly linking system object files so we need to strip them
                   13309:            # from the output so that they don't get included in the library
                   13310:            # dependencies.
                   13311:            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
                   13312:            ;;
                   13313:          xl* | mpixl* | bgxl*)
                   13314:            # IBM XL 8.0 on PPC, with GNU ld
                   13315:            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13316:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13317:            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13318:            if test "x$supports_anon_versioning" = xyes; then
                   13319:              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
                   13320:                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   13321:                echo "local: *; };" >> $output_objdir/$libname.ver~
                   13322:                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   13323:            fi
                   13324:            ;;
                   13325:          *)
                   13326:            case `$CC -V 2>&1 | sed 5q` in
                   13327:            *Sun\ C*)
                   13328:              # Sun C++ 5.9
                   13329:              no_undefined_flag_CXX=' -zdefs'
                   13330:              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13331:              archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
                   13332:              hardcode_libdir_flag_spec_CXX='-R$libdir'
                   13333:              whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
                   13334:              compiler_needs_object_CXX=yes
                   13335: 
                   13336:              # Not sure whether something based on
                   13337:              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
                   13338:              # would be better.
                   13339:              output_verbose_link_cmd='func_echo_all'
                   13340: 
                   13341:              # Archives containing C++ object files must be created using
                   13342:              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   13343:              # necessary to make sure instantiated templates are included
                   13344:              # in the archive.
                   13345:              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   13346:              ;;
                   13347:            esac
                   13348:            ;;
                   13349:        esac
                   13350:        ;;
                   13351: 
                   13352:       lynxos*)
                   13353:         # FIXME: insert proper C++ library support
                   13354:        ld_shlibs_CXX=no
                   13355:        ;;
                   13356: 
                   13357:       m88k*)
                   13358:         # FIXME: insert proper C++ library support
                   13359:         ld_shlibs_CXX=no
                   13360:        ;;
                   13361: 
                   13362:       mvs*)
                   13363:         case $cc_basename in
                   13364:           cxx*)
                   13365:            # FIXME: insert proper C++ library support
                   13366:            ld_shlibs_CXX=no
                   13367:            ;;
                   13368:          *)
                   13369:            # FIXME: insert proper C++ library support
                   13370:            ld_shlibs_CXX=no
                   13371:            ;;
                   13372:        esac
                   13373:        ;;
                   13374: 
                   13375:       netbsd*)
                   13376:         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   13377:          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
                   13378:          wlarc=
                   13379:          hardcode_libdir_flag_spec_CXX='-R$libdir'
                   13380:          hardcode_direct_CXX=yes
                   13381:          hardcode_shlibpath_var_CXX=no
                   13382:        fi
                   13383:        # Workaround some broken pre-1.5 toolchains
                   13384:        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
                   13385:        ;;
                   13386: 
                   13387:       *nto* | *qnx*)
                   13388:         ld_shlibs_CXX=yes
                   13389:        ;;
                   13390: 
                   13391:       openbsd2*)
                   13392:         # C++ shared libraries are fairly broken
                   13393:        ld_shlibs_CXX=no
                   13394:        ;;
                   13395: 
                   13396:       openbsd*)
                   13397:        if test -f /usr/libexec/ld.so; then
                   13398:          hardcode_direct_CXX=yes
                   13399:          hardcode_shlibpath_var_CXX=no
                   13400:          hardcode_direct_absolute_CXX=yes
                   13401:          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   13402:          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13403:          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   13404:            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
                   13405:            export_dynamic_flag_spec_CXX='${wl}-E'
                   13406:            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   13407:          fi
                   13408:          output_verbose_link_cmd=func_echo_all
                   13409:        else
                   13410:          ld_shlibs_CXX=no
                   13411:        fi
                   13412:        ;;
                   13413: 
                   13414:       osf3* | osf4* | osf5*)
                   13415:         case $cc_basename in
                   13416:           KCC*)
                   13417:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   13418: 
                   13419:            # KCC will only create a shared library if the output file
                   13420:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   13421:            # to its proper name (with version) after linking.
                   13422:            archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
                   13423: 
                   13424:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13425:            hardcode_libdir_separator_CXX=:
                   13426: 
                   13427:            # Archives containing C++ object files must be created using
                   13428:            # the KAI C++ compiler.
                   13429:            case $host in
                   13430:              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
                   13431:              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
                   13432:            esac
                   13433:            ;;
                   13434:           RCC*)
                   13435:            # Rational C++ 2.4.1
                   13436:            # FIXME: insert proper C++ library support
                   13437:            ld_shlibs_CXX=no
                   13438:            ;;
                   13439:           cxx*)
                   13440:            case $host in
                   13441:              osf3*)
                   13442:                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   13443:                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
                   13444:                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13445:                ;;
                   13446:              *)
                   13447:                allow_undefined_flag_CXX=' -expect_unresolved \*'
                   13448:                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
                   13449:                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
                   13450:                  echo "-hidden">> $lib.exp~
                   13451:                  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
                   13452:                  $RM $lib.exp'
                   13453:                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   13454:                ;;
                   13455:            esac
                   13456: 
                   13457:            hardcode_libdir_separator_CXX=:
                   13458: 
                   13459:            # Commands to make compiler produce verbose output that lists
                   13460:            # what "hidden" libraries, object files and flags are used when
                   13461:            # linking a shared library.
                   13462:            #
                   13463:            # There doesn't appear to be a way to prevent this compiler from
                   13464:            # explicitly linking system object files so we need to strip them
                   13465:            # from the output so that they don't get included in the library
                   13466:            # dependencies.
                   13467:            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
                   13468:            ;;
                   13469:          *)
                   13470:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   13471:              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   13472:              case $host in
                   13473:                osf3*)
                   13474:                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
                   13475:                  ;;
                   13476:                *)
                   13477:                  archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
                   13478:                  ;;
                   13479:              esac
                   13480: 
                   13481:              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13482:              hardcode_libdir_separator_CXX=:
                   13483: 
                   13484:              # Commands to make compiler produce verbose output that lists
                   13485:              # what "hidden" libraries, object files and flags are used when
                   13486:              # linking a shared library.
                   13487:              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13488: 
                   13489:            else
                   13490:              # FIXME: insert proper C++ library support
                   13491:              ld_shlibs_CXX=no
                   13492:            fi
                   13493:            ;;
                   13494:         esac
                   13495:         ;;
                   13496: 
                   13497:       psos*)
                   13498:         # FIXME: insert proper C++ library support
                   13499:         ld_shlibs_CXX=no
                   13500:         ;;
                   13501: 
                   13502:       sunos4*)
                   13503:         case $cc_basename in
                   13504:           CC*)
                   13505:            # Sun C++ 4.x
                   13506:            # FIXME: insert proper C++ library support
                   13507:            ld_shlibs_CXX=no
                   13508:            ;;
                   13509:           lcc*)
                   13510:            # Lucid
                   13511:            # FIXME: insert proper C++ library support
                   13512:            ld_shlibs_CXX=no
                   13513:            ;;
                   13514:           *)
                   13515:            # FIXME: insert proper C++ library support
                   13516:            ld_shlibs_CXX=no
                   13517:            ;;
                   13518:         esac
                   13519:         ;;
                   13520: 
                   13521:       solaris*)
                   13522:         case $cc_basename in
                   13523:           CC* | sunCC*)
                   13524:            # Sun C++ 4.2, 5.x and Centerline C++
                   13525:             archive_cmds_need_lc_CXX=yes
                   13526:            no_undefined_flag_CXX=' -zdefs'
                   13527:            archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13528:            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   13529:              $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   13530: 
                   13531:            hardcode_libdir_flag_spec_CXX='-R$libdir'
                   13532:            hardcode_shlibpath_var_CXX=no
                   13533:            case $host_os in
                   13534:              solaris2.[0-5] | solaris2.[0-5].*) ;;
                   13535:              *)
                   13536:                # The compiler driver will combine and reorder linker options,
                   13537:                # but understands `-z linker_flag'.
                   13538:                # Supported since Solaris 2.6 (maybe 2.5.1?)
                   13539:                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
                   13540:                ;;
                   13541:            esac
                   13542:            link_all_deplibs_CXX=yes
                   13543: 
                   13544:            output_verbose_link_cmd='func_echo_all'
                   13545: 
                   13546:            # Archives containing C++ object files must be created using
                   13547:            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   13548:            # necessary to make sure instantiated templates are included
                   13549:            # in the archive.
                   13550:            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   13551:            ;;
                   13552:           gcx*)
                   13553:            # Green Hills C++ Compiler
                   13554:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   13555: 
                   13556:            # The C++ compiler must be used to create the archive.
                   13557:            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
                   13558:            ;;
                   13559:           *)
                   13560:            # GNU C++ compiler with Solaris linker
                   13561:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   13562:              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
                   13563:              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
                   13564:                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   13565:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   13566:                  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   13567: 
                   13568:                # Commands to make compiler produce verbose output that lists
                   13569:                # what "hidden" libraries, object files and flags are used when
                   13570:                # linking a shared library.
                   13571:                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13572:              else
                   13573:                # g++ 2.7 appears to require `-G' NOT `-shared' on this
                   13574:                # platform.
                   13575:                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   13576:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   13577:                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   13578: 
                   13579:                # Commands to make compiler produce verbose output that lists
                   13580:                # what "hidden" libraries, object files and flags are used when
                   13581:                # linking a shared library.
                   13582:                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13583:              fi
                   13584: 
                   13585:              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
                   13586:              case $host_os in
                   13587:                solaris2.[0-5] | solaris2.[0-5].*) ;;
                   13588:                *)
                   13589:                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   13590:                  ;;
                   13591:              esac
                   13592:            fi
                   13593:            ;;
                   13594:         esac
                   13595:         ;;
                   13596: 
                   13597:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   13598:       no_undefined_flag_CXX='${wl}-z,text'
                   13599:       archive_cmds_need_lc_CXX=no
                   13600:       hardcode_shlibpath_var_CXX=no
                   13601:       runpath_var='LD_RUN_PATH'
                   13602: 
                   13603:       case $cc_basename in
                   13604:         CC*)
                   13605:          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13606:          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13607:          ;;
                   13608:        *)
                   13609:          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13610:          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13611:          ;;
                   13612:       esac
                   13613:       ;;
                   13614: 
                   13615:       sysv5* | sco3.2v5* | sco5v6*)
                   13616:        # Note: We can NOT use -z defs as we might desire, because we do not
                   13617:        # link with -lc, and that would cause any symbols used from libc to
                   13618:        # always be unresolved, which means just about no library would
                   13619:        # ever link correctly.  If we're not using GNU ld we use -z text
                   13620:        # though, which does catch some bad symbols but isn't as heavy-handed
                   13621:        # as -z defs.
                   13622:        no_undefined_flag_CXX='${wl}-z,text'
                   13623:        allow_undefined_flag_CXX='${wl}-z,nodefs'
                   13624:        archive_cmds_need_lc_CXX=no
                   13625:        hardcode_shlibpath_var_CXX=no
                   13626:        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
                   13627:        hardcode_libdir_separator_CXX=':'
                   13628:        link_all_deplibs_CXX=yes
                   13629:        export_dynamic_flag_spec_CXX='${wl}-Bexport'
                   13630:        runpath_var='LD_RUN_PATH'
                   13631: 
                   13632:        case $cc_basename in
                   13633:           CC*)
                   13634:            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13635:            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13636:            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
                   13637:              '"$old_archive_cmds_CXX"
                   13638:            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
                   13639:              '"$reload_cmds_CXX"
                   13640:            ;;
                   13641:          *)
                   13642:            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13643:            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13644:            ;;
                   13645:        esac
                   13646:       ;;
                   13647: 
                   13648:       tandem*)
                   13649:         case $cc_basename in
                   13650:           NCC*)
                   13651:            # NonStop-UX NCC 3.20
                   13652:            # FIXME: insert proper C++ library support
                   13653:            ld_shlibs_CXX=no
                   13654:            ;;
                   13655:           *)
                   13656:            # FIXME: insert proper C++ library support
                   13657:            ld_shlibs_CXX=no
                   13658:            ;;
                   13659:         esac
                   13660:         ;;
                   13661: 
                   13662:       vxworks*)
                   13663:         # FIXME: insert proper C++ library support
                   13664:         ld_shlibs_CXX=no
                   13665:         ;;
                   13666: 
                   13667:       *)
                   13668:         # FIXME: insert proper C++ library support
                   13669:         ld_shlibs_CXX=no
                   13670:         ;;
                   13671:     esac
                   13672: 
1.22      moko     13673:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
                   13674: $as_echo "$ld_shlibs_CXX" >&6; }
1.8       moko     13675:     test "$ld_shlibs_CXX" = no && can_build_shared=no
                   13676: 
                   13677:     GCC_CXX="$GXX"
                   13678:     LD_CXX="$LD"
                   13679: 
                   13680:     ## CAVEAT EMPTOR:
                   13681:     ## There is no encapsulation within the following macros, do not change
                   13682:     ## the running order or otherwise move them around unless you know exactly
                   13683:     ## what you are doing...
                   13684:     # Dependencies to place before and after the object being linked:
                   13685: predep_objects_CXX=
                   13686: postdep_objects_CXX=
                   13687: predeps_CXX=
                   13688: postdeps_CXX=
                   13689: compiler_lib_search_path_CXX=
                   13690: 
                   13691: cat > conftest.$ac_ext <<_LT_EOF
                   13692: class Foo
                   13693: {
                   13694: public:
                   13695:   Foo (void) { a = 0; }
                   13696: private:
                   13697:   int a;
                   13698: };
                   13699: _LT_EOF
                   13700: 
                   13701: 
                   13702: _lt_libdeps_save_CFLAGS=$CFLAGS
                   13703: case "$CC $CFLAGS " in #(
                   13704: *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
                   13705: *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
                   13706: *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
                   13707: esac
                   13708: 
1.22      moko     13709: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.8       moko     13710:   (eval $ac_compile) 2>&5
                   13711:   ac_status=$?
1.22      moko     13712:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   13713:   test $ac_status = 0; }; then
1.8       moko     13714:   # Parse the compiler output and extract the necessary
                   13715:   # objects, libraries and library flags.
                   13716: 
                   13717:   # Sentinel used to keep track of whether or not we are before
                   13718:   # the conftest object file.
                   13719:   pre_test_object_deps_done=no
                   13720: 
                   13721:   for p in `eval "$output_verbose_link_cmd"`; do
                   13722:     case ${prev}${p} in
                   13723: 
                   13724:     -L* | -R* | -l*)
                   13725:        # Some compilers place space between "-{L,R}" and the path.
                   13726:        # Remove the space.
                   13727:        if test $p = "-L" ||
                   13728:           test $p = "-R"; then
                   13729:         prev=$p
                   13730:         continue
                   13731:        fi
                   13732: 
                   13733:        # Expand the sysroot to ease extracting the directories later.
                   13734:        if test -z "$prev"; then
                   13735:          case $p in
                   13736:          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
                   13737:          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
                   13738:          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
                   13739:          esac
                   13740:        fi
                   13741:        case $p in
                   13742:        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
                   13743:        esac
                   13744:        if test "$pre_test_object_deps_done" = no; then
                   13745:         case ${prev} in
                   13746:         -L | -R)
                   13747:           # Internal compiler library paths should come after those
                   13748:           # provided the user.  The postdeps already come after the
                   13749:           # user supplied libs so there is no need to process them.
                   13750:           if test -z "$compiler_lib_search_path_CXX"; then
                   13751:             compiler_lib_search_path_CXX="${prev}${p}"
                   13752:           else
                   13753:             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
                   13754:           fi
                   13755:           ;;
                   13756:         # The "-l" case would never come before the object being
                   13757:         # linked, so don't bother handling this case.
                   13758:         esac
                   13759:        else
                   13760:         if test -z "$postdeps_CXX"; then
                   13761:           postdeps_CXX="${prev}${p}"
                   13762:         else
                   13763:           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
                   13764:         fi
                   13765:        fi
                   13766:        prev=
                   13767:        ;;
                   13768: 
                   13769:     *.lto.$objext) ;; # Ignore GCC LTO objects
                   13770:     *.$objext)
                   13771:        # This assumes that the test object file only shows up
                   13772:        # once in the compiler output.
                   13773:        if test "$p" = "conftest.$objext"; then
                   13774:         pre_test_object_deps_done=yes
                   13775:         continue
                   13776:        fi
                   13777: 
                   13778:        if test "$pre_test_object_deps_done" = no; then
                   13779:         if test -z "$predep_objects_CXX"; then
                   13780:           predep_objects_CXX="$p"
                   13781:         else
                   13782:           predep_objects_CXX="$predep_objects_CXX $p"
                   13783:         fi
                   13784:        else
                   13785:         if test -z "$postdep_objects_CXX"; then
                   13786:           postdep_objects_CXX="$p"
                   13787:         else
                   13788:           postdep_objects_CXX="$postdep_objects_CXX $p"
                   13789:         fi
                   13790:        fi
                   13791:        ;;
                   13792: 
                   13793:     *) ;; # Ignore the rest.
                   13794: 
                   13795:     esac
                   13796:   done
                   13797: 
                   13798:   # Clean up.
                   13799:   rm -f a.out a.exe
                   13800: else
                   13801:   echo "libtool.m4: error: problem compiling CXX test program"
                   13802: fi
                   13803: 
                   13804: $RM -f confest.$objext
                   13805: CFLAGS=$_lt_libdeps_save_CFLAGS
                   13806: 
                   13807: # PORTME: override above test on systems where it is broken
                   13808: case $host_os in
                   13809: interix[3-9]*)
                   13810:   # Interix 3.5 installs completely hosed .la files for C++, so rather than
                   13811:   # hack all around it, let's just trust "g++" to DTRT.
                   13812:   predep_objects_CXX=
                   13813:   postdep_objects_CXX=
                   13814:   postdeps_CXX=
                   13815:   ;;
                   13816: 
                   13817: linux*)
                   13818:   case `$CC -V 2>&1 | sed 5q` in
                   13819:   *Sun\ C*)
                   13820:     # Sun C++ 5.9
                   13821: 
                   13822:     # The more standards-conforming stlport4 library is
                   13823:     # incompatible with the Cstd library. Avoid specifying
                   13824:     # it if it's in CXXFLAGS. Ignore libCrun as
                   13825:     # -library=stlport4 depends on it.
                   13826:     case " $CXX $CXXFLAGS " in
                   13827:     *" -library=stlport4 "*)
                   13828:       solaris_use_stlport4=yes
                   13829:       ;;
                   13830:     esac
                   13831: 
                   13832:     if test "$solaris_use_stlport4" != yes; then
                   13833:       postdeps_CXX='-library=Cstd -library=Crun'
                   13834:     fi
                   13835:     ;;
                   13836:   esac
                   13837:   ;;
                   13838: 
                   13839: solaris*)
                   13840:   case $cc_basename in
                   13841:   CC* | sunCC*)
                   13842:     # The more standards-conforming stlport4 library is
                   13843:     # incompatible with the Cstd library. Avoid specifying
                   13844:     # it if it's in CXXFLAGS. Ignore libCrun as
                   13845:     # -library=stlport4 depends on it.
                   13846:     case " $CXX $CXXFLAGS " in
                   13847:     *" -library=stlport4 "*)
                   13848:       solaris_use_stlport4=yes
                   13849:       ;;
                   13850:     esac
                   13851: 
                   13852:     # Adding this requires a known-good setup of shared libraries for
                   13853:     # Sun compiler versions before 5.6, else PIC objects from an old
                   13854:     # archive will be linked into the output, leading to subtle bugs.
                   13855:     if test "$solaris_use_stlport4" != yes; then
                   13856:       postdeps_CXX='-library=Cstd -library=Crun'
                   13857:     fi
                   13858:     ;;
                   13859:   esac
                   13860:   ;;
                   13861: esac
                   13862: 
                   13863: 
                   13864: case " $postdeps_CXX " in
                   13865: *" -lc "*) archive_cmds_need_lc_CXX=no ;;
                   13866: esac
                   13867:  compiler_lib_search_dirs_CXX=
                   13868: if test -n "${compiler_lib_search_path_CXX}"; then
                   13869:  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
                   13870: fi
                   13871: 
                   13872: 
                   13873: 
                   13874: 
                   13875: 
                   13876: 
                   13877: 
                   13878: 
                   13879: 
                   13880: 
                   13881: 
                   13882: 
                   13883: 
                   13884: 
                   13885: 
                   13886: 
                   13887: 
                   13888: 
                   13889: 
                   13890: 
                   13891: 
                   13892: 
                   13893: 
                   13894: 
                   13895: 
                   13896: 
                   13897: 
                   13898: 
                   13899: 
                   13900: 
                   13901: 
                   13902:     lt_prog_compiler_wl_CXX=
                   13903: lt_prog_compiler_pic_CXX=
                   13904: lt_prog_compiler_static_CXX=
                   13905: 
                   13906: 
                   13907:   # C++ specific cases for pic, static, wl, etc.
                   13908:   if test "$GXX" = yes; then
                   13909:     lt_prog_compiler_wl_CXX='-Wl,'
                   13910:     lt_prog_compiler_static_CXX='-static'
                   13911: 
                   13912:     case $host_os in
                   13913:     aix*)
                   13914:       # All AIX code is PIC.
                   13915:       if test "$host_cpu" = ia64; then
                   13916:        # AIX 5 now supports IA64 processor
                   13917:        lt_prog_compiler_static_CXX='-Bstatic'
                   13918:       fi
                   13919:       ;;
                   13920: 
                   13921:     amigaos*)
                   13922:       case $host_cpu in
                   13923:       powerpc)
                   13924:             # see comment about AmigaOS4 .so support
                   13925:             lt_prog_compiler_pic_CXX='-fPIC'
                   13926:         ;;
                   13927:       m68k)
                   13928:             # FIXME: we need at least 68020 code to build shared libraries, but
                   13929:             # adding the `-m68020' flag to GCC prevents building anything better,
                   13930:             # like `-m68040'.
                   13931:             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
                   13932:         ;;
                   13933:       esac
                   13934:       ;;
                   13935: 
                   13936:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   13937:       # PIC is the default for these OSes.
                   13938:       ;;
                   13939:     mingw* | cygwin* | os2* | pw32* | cegcc*)
                   13940:       # This hack is so that the source file can tell whether it is being
                   13941:       # built for inclusion in a dll (and should export symbols for example).
                   13942:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   13943:       # (--disable-auto-import) libraries
                   13944:       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   13945:       ;;
                   13946:     darwin* | rhapsody*)
                   13947:       # PIC is the default on this platform
                   13948:       # Common symbols not allowed in MH_DYLIB files
                   13949:       lt_prog_compiler_pic_CXX='-fno-common'
                   13950:       ;;
                   13951:     *djgpp*)
                   13952:       # DJGPP does not support shared libraries at all
                   13953:       lt_prog_compiler_pic_CXX=
                   13954:       ;;
                   13955:     haiku*)
                   13956:       # PIC is the default for Haiku.
                   13957:       # The "-static" flag exists, but is broken.
                   13958:       lt_prog_compiler_static_CXX=
                   13959:       ;;
                   13960:     interix[3-9]*)
                   13961:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   13962:       # Instead, we relocate shared libraries at runtime.
                   13963:       ;;
                   13964:     sysv4*MP*)
                   13965:       if test -d /usr/nec; then
                   13966:        lt_prog_compiler_pic_CXX=-Kconform_pic
                   13967:       fi
                   13968:       ;;
                   13969:     hpux*)
                   13970:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   13971:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   13972:       # sets the default TLS model and affects inlining.
                   13973:       case $host_cpu in
                   13974:       hppa*64*)
                   13975:        ;;
                   13976:       *)
                   13977:        lt_prog_compiler_pic_CXX='-fPIC'
                   13978:        ;;
                   13979:       esac
                   13980:       ;;
                   13981:     *qnx* | *nto*)
                   13982:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   13983:       # it will coredump.
                   13984:       lt_prog_compiler_pic_CXX='-fPIC -shared'
                   13985:       ;;
                   13986:     *)
                   13987:       lt_prog_compiler_pic_CXX='-fPIC'
                   13988:       ;;
                   13989:     esac
                   13990:   else
                   13991:     case $host_os in
                   13992:       aix[4-9]*)
                   13993:        # All AIX code is PIC.
                   13994:        if test "$host_cpu" = ia64; then
                   13995:          # AIX 5 now supports IA64 processor
                   13996:          lt_prog_compiler_static_CXX='-Bstatic'
                   13997:        else
                   13998:          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
                   13999:        fi
                   14000:        ;;
                   14001:       chorus*)
                   14002:        case $cc_basename in
                   14003:        cxch68*)
                   14004:          # Green Hills C++ Compiler
                   14005:          # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
                   14006:          ;;
                   14007:        esac
                   14008:        ;;
                   14009:       mingw* | cygwin* | os2* | pw32* | cegcc*)
                   14010:        # This hack is so that the source file can tell whether it is being
                   14011:        # built for inclusion in a dll (and should export symbols for example).
                   14012:        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   14013:        ;;
                   14014:       dgux*)
                   14015:        case $cc_basename in
                   14016:          ec++*)
                   14017:            lt_prog_compiler_pic_CXX='-KPIC'
                   14018:            ;;
                   14019:          ghcx*)
                   14020:            # Green Hills C++ Compiler
                   14021:            lt_prog_compiler_pic_CXX='-pic'
                   14022:            ;;
                   14023:          *)
                   14024:            ;;
                   14025:        esac
                   14026:        ;;
                   14027:       freebsd* | dragonfly*)
                   14028:        # FreeBSD uses GNU C++
                   14029:        ;;
                   14030:       hpux9* | hpux10* | hpux11*)
                   14031:        case $cc_basename in
                   14032:          CC*)
                   14033:            lt_prog_compiler_wl_CXX='-Wl,'
                   14034:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   14035:            if test "$host_cpu" != ia64; then
                   14036:              lt_prog_compiler_pic_CXX='+Z'
                   14037:            fi
                   14038:            ;;
                   14039:          aCC*)
                   14040:            lt_prog_compiler_wl_CXX='-Wl,'
                   14041:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   14042:            case $host_cpu in
                   14043:            hppa*64*|ia64*)
                   14044:              # +Z the default
                   14045:              ;;
                   14046:            *)
                   14047:              lt_prog_compiler_pic_CXX='+Z'
                   14048:              ;;
                   14049:            esac
                   14050:            ;;
                   14051:          *)
                   14052:            ;;
                   14053:        esac
                   14054:        ;;
                   14055:       interix*)
                   14056:        # This is c89, which is MS Visual C++ (no shared libs)
                   14057:        # Anyone wants to do a port?
                   14058:        ;;
                   14059:       irix5* | irix6* | nonstopux*)
                   14060:        case $cc_basename in
                   14061:          CC*)
                   14062:            lt_prog_compiler_wl_CXX='-Wl,'
                   14063:            lt_prog_compiler_static_CXX='-non_shared'
                   14064:            # CC pic flag -KPIC is the default.
                   14065:            ;;
                   14066:          *)
                   14067:            ;;
                   14068:        esac
                   14069:        ;;
                   14070:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   14071:        case $cc_basename in
                   14072:          KCC*)
                   14073:            # KAI C++ Compiler
                   14074:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   14075:            lt_prog_compiler_pic_CXX='-fPIC'
                   14076:            ;;
                   14077:          ecpc* )
                   14078:            # old Intel C++ for x86_64 which still supported -KPIC.
                   14079:            lt_prog_compiler_wl_CXX='-Wl,'
                   14080:            lt_prog_compiler_pic_CXX='-KPIC'
                   14081:            lt_prog_compiler_static_CXX='-static'
                   14082:            ;;
                   14083:          icpc* )
                   14084:            # Intel C++, used to be incompatible with GCC.
                   14085:            # ICC 10 doesn't accept -KPIC any more.
                   14086:            lt_prog_compiler_wl_CXX='-Wl,'
                   14087:            lt_prog_compiler_pic_CXX='-fPIC'
                   14088:            lt_prog_compiler_static_CXX='-static'
                   14089:            ;;
                   14090:          pgCC* | pgcpp*)
                   14091:            # Portland Group C++ compiler
                   14092:            lt_prog_compiler_wl_CXX='-Wl,'
                   14093:            lt_prog_compiler_pic_CXX='-fpic'
                   14094:            lt_prog_compiler_static_CXX='-Bstatic'
                   14095:            ;;
                   14096:          cxx*)
                   14097:            # Compaq C++
                   14098:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   14099:            # Linux and Compaq Tru64 Unix objects are PIC.
                   14100:            lt_prog_compiler_pic_CXX=
                   14101:            lt_prog_compiler_static_CXX='-non_shared'
                   14102:            ;;
                   14103:          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
                   14104:            # IBM XL 8.0, 9.0 on PPC and BlueGene
                   14105:            lt_prog_compiler_wl_CXX='-Wl,'
                   14106:            lt_prog_compiler_pic_CXX='-qpic'
                   14107:            lt_prog_compiler_static_CXX='-qstaticlink'
                   14108:            ;;
                   14109:          *)
                   14110:            case `$CC -V 2>&1 | sed 5q` in
                   14111:            *Sun\ C*)
                   14112:              # Sun C++ 5.9
                   14113:              lt_prog_compiler_pic_CXX='-KPIC'
                   14114:              lt_prog_compiler_static_CXX='-Bstatic'
                   14115:              lt_prog_compiler_wl_CXX='-Qoption ld '
                   14116:              ;;
                   14117:            esac
                   14118:            ;;
                   14119:        esac
                   14120:        ;;
                   14121:       lynxos*)
                   14122:        ;;
                   14123:       m88k*)
                   14124:        ;;
                   14125:       mvs*)
                   14126:        case $cc_basename in
                   14127:          cxx*)
                   14128:            lt_prog_compiler_pic_CXX='-W c,exportall'
                   14129:            ;;
                   14130:          *)
                   14131:            ;;
                   14132:        esac
                   14133:        ;;
                   14134:       netbsd*)
                   14135:        ;;
                   14136:       *qnx* | *nto*)
                   14137:         # QNX uses GNU C++, but need to define -shared option too, otherwise
                   14138:         # it will coredump.
                   14139:         lt_prog_compiler_pic_CXX='-fPIC -shared'
                   14140:         ;;
                   14141:       osf3* | osf4* | osf5*)
                   14142:        case $cc_basename in
                   14143:          KCC*)
                   14144:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   14145:            ;;
                   14146:          RCC*)
                   14147:            # Rational C++ 2.4.1
                   14148:            lt_prog_compiler_pic_CXX='-pic'
                   14149:            ;;
                   14150:          cxx*)
                   14151:            # Digital/Compaq C++
                   14152:            lt_prog_compiler_wl_CXX='-Wl,'
                   14153:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   14154:            # Linux and Compaq Tru64 Unix objects are PIC.
                   14155:            lt_prog_compiler_pic_CXX=
                   14156:            lt_prog_compiler_static_CXX='-non_shared'
                   14157:            ;;
                   14158:          *)
                   14159:            ;;
                   14160:        esac
                   14161:        ;;
                   14162:       psos*)
                   14163:        ;;
                   14164:       solaris*)
                   14165:        case $cc_basename in
                   14166:          CC* | sunCC*)
                   14167:            # Sun C++ 4.2, 5.x and Centerline C++
                   14168:            lt_prog_compiler_pic_CXX='-KPIC'
                   14169:            lt_prog_compiler_static_CXX='-Bstatic'
                   14170:            lt_prog_compiler_wl_CXX='-Qoption ld '
                   14171:            ;;
                   14172:          gcx*)
                   14173:            # Green Hills C++ Compiler
                   14174:            lt_prog_compiler_pic_CXX='-PIC'
                   14175:            ;;
                   14176:          *)
                   14177:            ;;
                   14178:        esac
                   14179:        ;;
                   14180:       sunos4*)
                   14181:        case $cc_basename in
                   14182:          CC*)
                   14183:            # Sun C++ 4.x
                   14184:            lt_prog_compiler_pic_CXX='-pic'
                   14185:            lt_prog_compiler_static_CXX='-Bstatic'
                   14186:            ;;
                   14187:          lcc*)
                   14188:            # Lucid
                   14189:            lt_prog_compiler_pic_CXX='-pic'
                   14190:            ;;
                   14191:          *)
                   14192:            ;;
                   14193:        esac
                   14194:        ;;
                   14195:       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   14196:        case $cc_basename in
                   14197:          CC*)
                   14198:            lt_prog_compiler_wl_CXX='-Wl,'
                   14199:            lt_prog_compiler_pic_CXX='-KPIC'
                   14200:            lt_prog_compiler_static_CXX='-Bstatic'
                   14201:            ;;
                   14202:        esac
                   14203:        ;;
                   14204:       tandem*)
                   14205:        case $cc_basename in
                   14206:          NCC*)
                   14207:            # NonStop-UX NCC 3.20
                   14208:            lt_prog_compiler_pic_CXX='-KPIC'
                   14209:            ;;
                   14210:          *)
                   14211:            ;;
                   14212:        esac
                   14213:        ;;
                   14214:       vxworks*)
                   14215:        ;;
                   14216:       *)
                   14217:        lt_prog_compiler_can_build_shared_CXX=no
                   14218:        ;;
                   14219:     esac
                   14220:   fi
                   14221: 
                   14222: case $host_os in
                   14223:   # For platforms which do not support PIC, -DPIC is meaningless:
                   14224:   *djgpp*)
                   14225:     lt_prog_compiler_pic_CXX=
                   14226:     ;;
                   14227:   *)
                   14228:     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
                   14229:     ;;
                   14230: esac
                   14231: 
1.22      moko     14232: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   14233: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
                   14234: if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
                   14235:   $as_echo_n "(cached) " >&6
1.8       moko     14236: else
                   14237:   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
                   14238: fi
1.22      moko     14239: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
                   14240: $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
1.8       moko     14241: lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
                   14242: 
                   14243: #
                   14244: # Check to make sure the PIC flag actually works.
                   14245: #
                   14246: if test -n "$lt_prog_compiler_pic_CXX"; then
1.22      moko     14247:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
                   14248: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
                   14249: if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
                   14250:   $as_echo_n "(cached) " >&6
1.8       moko     14251: else
                   14252:   lt_cv_prog_compiler_pic_works_CXX=no
                   14253:    ac_outfile=conftest.$ac_objext
                   14254:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14255:    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
                   14256:    # Insert the option either (1) after the last *FLAGS variable, or
                   14257:    # (2) before a word containing "conftest.", or (3) at the end.
                   14258:    # Note that $ac_compile itself does not contain backslashes and begins
                   14259:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14260:    # The option is referenced via a variable to avoid confusing sed.
                   14261:    lt_compile=`echo "$ac_compile" | $SED \
                   14262:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14263:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14264:    -e 's:$: $lt_compiler_flag:'`
                   14265:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14266:    (eval "$lt_compile" 2>conftest.err)
                   14267:    ac_status=$?
                   14268:    cat conftest.err >&5
                   14269:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14270:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   14271:      # The compiler can only warn and ignore the option if not recognized
                   14272:      # So say no if there are warnings other than the usual output.
                   14273:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   14274:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   14275:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   14276:        lt_cv_prog_compiler_pic_works_CXX=yes
                   14277:      fi
                   14278:    fi
                   14279:    $RM conftest*
                   14280: 
                   14281: fi
1.22      moko     14282: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
                   14283: $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
1.8       moko     14284: 
                   14285: if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
                   14286:     case $lt_prog_compiler_pic_CXX in
                   14287:      "" | " "*) ;;
                   14288:      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
                   14289:      esac
                   14290: else
                   14291:     lt_prog_compiler_pic_CXX=
                   14292:      lt_prog_compiler_can_build_shared_CXX=no
                   14293: fi
                   14294: 
                   14295: fi
                   14296: 
                   14297: 
                   14298: 
                   14299: 
                   14300: 
                   14301: #
                   14302: # Check to make sure the static flag actually works.
                   14303: #
                   14304: wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
1.22      moko     14305: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   14306: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   14307: if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
                   14308:   $as_echo_n "(cached) " >&6
1.8       moko     14309: else
                   14310:   lt_cv_prog_compiler_static_works_CXX=no
                   14311:    save_LDFLAGS="$LDFLAGS"
                   14312:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   14313:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   14314:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   14315:      # The linker can only warn and ignore the option if not recognized
                   14316:      # So say no if there are warnings
                   14317:      if test -s conftest.err; then
                   14318:        # Append any errors to the config.log.
                   14319:        cat conftest.err 1>&5
                   14320:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   14321:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   14322:        if diff conftest.exp conftest.er2 >/dev/null; then
                   14323:          lt_cv_prog_compiler_static_works_CXX=yes
                   14324:        fi
                   14325:      else
                   14326:        lt_cv_prog_compiler_static_works_CXX=yes
                   14327:      fi
                   14328:    fi
                   14329:    $RM -r conftest*
                   14330:    LDFLAGS="$save_LDFLAGS"
                   14331: 
                   14332: fi
1.22      moko     14333: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
                   14334: $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
1.8       moko     14335: 
                   14336: if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
                   14337:     :
                   14338: else
                   14339:     lt_prog_compiler_static_CXX=
                   14340: fi
                   14341: 
                   14342: 
                   14343: 
                   14344: 
1.22      moko     14345:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   14346: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   14347: if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
                   14348:   $as_echo_n "(cached) " >&6
1.8       moko     14349: else
                   14350:   lt_cv_prog_compiler_c_o_CXX=no
                   14351:    $RM -r conftest 2>/dev/null
                   14352:    mkdir conftest
                   14353:    cd conftest
                   14354:    mkdir out
                   14355:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14356: 
                   14357:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   14358:    # Insert the option either (1) after the last *FLAGS variable, or
                   14359:    # (2) before a word containing "conftest.", or (3) at the end.
                   14360:    # Note that $ac_compile itself does not contain backslashes and begins
                   14361:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14362:    lt_compile=`echo "$ac_compile" | $SED \
                   14363:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14364:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14365:    -e 's:$: $lt_compiler_flag:'`
                   14366:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14367:    (eval "$lt_compile" 2>out/conftest.err)
                   14368:    ac_status=$?
                   14369:    cat out/conftest.err >&5
                   14370:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14371:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   14372:    then
                   14373:      # The compiler can only warn and ignore the option if not recognized
                   14374:      # So say no if there are warnings
                   14375:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   14376:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   14377:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   14378:        lt_cv_prog_compiler_c_o_CXX=yes
                   14379:      fi
                   14380:    fi
                   14381:    chmod u+w . 2>&5
                   14382:    $RM conftest*
                   14383:    # SGI C++ compiler will create directory out/ii_files/ for
                   14384:    # template instantiation
                   14385:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   14386:    $RM out/* && rmdir out
                   14387:    cd ..
                   14388:    $RM -r conftest
                   14389:    $RM conftest*
                   14390: 
                   14391: fi
1.22      moko     14392: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   14393: $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
1.8       moko     14394: 
                   14395: 
                   14396: 
1.22      moko     14397:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   14398: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   14399: if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
                   14400:   $as_echo_n "(cached) " >&6
1.8       moko     14401: else
                   14402:   lt_cv_prog_compiler_c_o_CXX=no
                   14403:    $RM -r conftest 2>/dev/null
                   14404:    mkdir conftest
                   14405:    cd conftest
                   14406:    mkdir out
                   14407:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14408: 
                   14409:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   14410:    # Insert the option either (1) after the last *FLAGS variable, or
                   14411:    # (2) before a word containing "conftest.", or (3) at the end.
                   14412:    # Note that $ac_compile itself does not contain backslashes and begins
                   14413:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14414:    lt_compile=`echo "$ac_compile" | $SED \
                   14415:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14416:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14417:    -e 's:$: $lt_compiler_flag:'`
                   14418:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14419:    (eval "$lt_compile" 2>out/conftest.err)
                   14420:    ac_status=$?
                   14421:    cat out/conftest.err >&5
                   14422:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14423:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   14424:    then
                   14425:      # The compiler can only warn and ignore the option if not recognized
                   14426:      # So say no if there are warnings
                   14427:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   14428:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   14429:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   14430:        lt_cv_prog_compiler_c_o_CXX=yes
                   14431:      fi
                   14432:    fi
                   14433:    chmod u+w . 2>&5
                   14434:    $RM conftest*
                   14435:    # SGI C++ compiler will create directory out/ii_files/ for
                   14436:    # template instantiation
                   14437:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   14438:    $RM out/* && rmdir out
                   14439:    cd ..
                   14440:    $RM -r conftest
                   14441:    $RM conftest*
                   14442: 
                   14443: fi
1.22      moko     14444: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   14445: $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
1.8       moko     14446: 
                   14447: 
                   14448: 
                   14449: 
                   14450: hard_links="nottested"
                   14451: if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
                   14452:   # do not overwrite the value of need_locks provided by the user
1.22      moko     14453:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   14454: $as_echo_n "checking if we can lock with hard links... " >&6; }
1.8       moko     14455:   hard_links=yes
                   14456:   $RM conftest*
                   14457:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   14458:   touch conftest.a
                   14459:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   14460:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.22      moko     14461:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   14462: $as_echo "$hard_links" >&6; }
1.8       moko     14463:   if test "$hard_links" = no; then
1.22      moko     14464:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   14465: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.8       moko     14466:     need_locks=warn
                   14467:   fi
                   14468: else
                   14469:   need_locks=no
                   14470: fi
                   14471: 
                   14472: 
                   14473: 
1.22      moko     14474:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   14475: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.8       moko     14476: 
                   14477:   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   14478:   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   14479:   case $host_os in
                   14480:   aix[4-9]*)
                   14481:     # If we're using GNU nm, then we don't want the "-C" option.
                   14482:     # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   14483:     # Also, AIX nm treats weak defined symbols like other global defined
                   14484:     # symbols, whereas GNU nm marks them as "W".
                   14485:     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   14486:       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
                   14487:     else
                   14488:       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
                   14489:     fi
                   14490:     ;;
                   14491:   pw32*)
                   14492:     export_symbols_cmds_CXX="$ltdll_cmds"
                   14493:     ;;
                   14494:   cygwin* | mingw* | cegcc*)
                   14495:     case $cc_basename in
                   14496:     cl*)
                   14497:       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   14498:       ;;
                   14499:     *)
                   14500:       export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
                   14501:       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   14502:       ;;
                   14503:     esac
                   14504:     ;;
                   14505:   *)
                   14506:     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   14507:     ;;
                   14508:   esac
                   14509: 
1.22      moko     14510: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
                   14511: $as_echo "$ld_shlibs_CXX" >&6; }
1.8       moko     14512: test "$ld_shlibs_CXX" = no && can_build_shared=no
                   14513: 
                   14514: with_gnu_ld_CXX=$with_gnu_ld
                   14515: 
                   14516: 
                   14517: 
                   14518: 
                   14519: 
                   14520: 
                   14521: #
                   14522: # Do we need to explicitly link libc?
                   14523: #
                   14524: case "x$archive_cmds_need_lc_CXX" in
                   14525: x|xyes)
                   14526:   # Assume -lc should be added
                   14527:   archive_cmds_need_lc_CXX=yes
                   14528: 
                   14529:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   14530:     case $archive_cmds_CXX in
                   14531:     *'~'*)
                   14532:       # FIXME: we may have to deal with multi-command sequences.
                   14533:       ;;
                   14534:     '$CC '*)
                   14535:       # Test whether the compiler implicitly links with -lc since on some
                   14536:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   14537:       # to ld, don't add -lc before -lgcc.
1.22      moko     14538:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   14539: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
                   14540: if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
                   14541:   $as_echo_n "(cached) " >&6
1.8       moko     14542: else
                   14543:   $RM conftest*
                   14544:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14545: 
1.22      moko     14546:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.8       moko     14547:   (eval $ac_compile) 2>&5
                   14548:   ac_status=$?
1.22      moko     14549:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   14550:   test $ac_status = 0; } 2>conftest.err; then
1.8       moko     14551:          soname=conftest
                   14552:          lib=conftest
                   14553:          libobjs=conftest.$ac_objext
                   14554:          deplibs=
                   14555:          wl=$lt_prog_compiler_wl_CXX
                   14556:          pic_flag=$lt_prog_compiler_pic_CXX
                   14557:          compiler_flags=-v
                   14558:          linker_flags=-v
                   14559:          verstring=
                   14560:          output_objdir=.
                   14561:          libname=conftest
                   14562:          lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
                   14563:          allow_undefined_flag_CXX=
1.22      moko     14564:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1.8       moko     14565:   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   14566:   ac_status=$?
1.22      moko     14567:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   14568:   test $ac_status = 0; }
1.8       moko     14569:          then
                   14570:            lt_cv_archive_cmds_need_lc_CXX=no
                   14571:          else
                   14572:            lt_cv_archive_cmds_need_lc_CXX=yes
                   14573:          fi
                   14574:          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
                   14575:        else
                   14576:          cat conftest.err 1>&5
                   14577:        fi
                   14578:        $RM conftest*
                   14579: 
                   14580: fi
1.22      moko     14581: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
                   14582: $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
1.8       moko     14583:       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
                   14584:       ;;
                   14585:     esac
                   14586:   fi
                   14587:   ;;
                   14588: esac
                   14589: 
                   14590: 
                   14591: 
                   14592: 
                   14593: 
                   14594: 
                   14595: 
                   14596: 
                   14597: 
                   14598: 
                   14599: 
                   14600: 
                   14601: 
                   14602: 
                   14603: 
                   14604: 
                   14605: 
                   14606: 
                   14607: 
                   14608: 
                   14609: 
                   14610: 
                   14611: 
                   14612: 
                   14613: 
                   14614: 
                   14615: 
                   14616: 
                   14617: 
                   14618: 
                   14619: 
                   14620: 
                   14621: 
                   14622: 
                   14623: 
                   14624: 
                   14625: 
                   14626: 
                   14627: 
                   14628: 
                   14629: 
                   14630: 
                   14631: 
                   14632: 
                   14633: 
                   14634: 
                   14635: 
                   14636: 
                   14637: 
                   14638: 
                   14639: 
                   14640: 
                   14641: 
                   14642: 
                   14643: 
                   14644: 
                   14645: 
                   14646: 
                   14647: 
                   14648: 
                   14649: 
                   14650: 
1.22      moko     14651:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   14652: $as_echo_n "checking dynamic linker characteristics... " >&6; }
1.8       moko     14653: 
                   14654: library_names_spec=
                   14655: libname_spec='lib$name'
                   14656: soname_spec=
                   14657: shrext_cmds=".so"
                   14658: postinstall_cmds=
                   14659: postuninstall_cmds=
                   14660: finish_cmds=
                   14661: finish_eval=
                   14662: shlibpath_var=
                   14663: shlibpath_overrides_runpath=unknown
                   14664: version_type=none
                   14665: dynamic_linker="$host_os ld.so"
                   14666: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   14667: need_lib_prefix=unknown
                   14668: hardcode_into_libs=no
                   14669: 
                   14670: # when you set need_version to no, make sure it does not cause -set_version
                   14671: # flags to be left without arguments
                   14672: need_version=unknown
                   14673: 
                   14674: case $host_os in
                   14675: aix3*)
                   14676:   version_type=linux # correct to gnu/linux during the next big refactor
                   14677:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   14678:   shlibpath_var=LIBPATH
                   14679: 
                   14680:   # AIX 3 has no versioning support, so we append a major version to the name.
                   14681:   soname_spec='${libname}${release}${shared_ext}$major'
                   14682:   ;;
                   14683: 
                   14684: aix[4-9]*)
                   14685:   version_type=linux # correct to gnu/linux during the next big refactor
                   14686:   need_lib_prefix=no
                   14687:   need_version=no
                   14688:   hardcode_into_libs=yes
                   14689:   if test "$host_cpu" = ia64; then
                   14690:     # AIX 5 supports IA64
                   14691:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   14692:     shlibpath_var=LD_LIBRARY_PATH
                   14693:   else
                   14694:     # With GCC up to 2.95.x, collect2 would create an import file
                   14695:     # for dependence libraries.  The import file would start with
                   14696:     # the line `#! .'.  This would cause the generated library to
                   14697:     # depend on `.', always an invalid library.  This was fixed in
                   14698:     # development snapshots of GCC prior to 3.0.
                   14699:     case $host_os in
                   14700:       aix4 | aix4.[01] | aix4.[01].*)
                   14701:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   14702:           echo ' yes '
                   14703:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   14704:        :
                   14705:       else
                   14706:        can_build_shared=no
                   14707:       fi
                   14708:       ;;
                   14709:     esac
                   14710:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   14711:     # soname into executable. Probably we can add versioning support to
                   14712:     # collect2, so additional links can be useful in future.
                   14713:     if test "$aix_use_runtimelinking" = yes; then
                   14714:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   14715:       # instead of lib<name>.a to let people know that these are not
                   14716:       # typical AIX shared libraries.
                   14717:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14718:     else
                   14719:       # We preserve .a as extension for shared libraries through AIX4.2
                   14720:       # and later when we are not doing run time linking.
                   14721:       library_names_spec='${libname}${release}.a $libname.a'
                   14722:       soname_spec='${libname}${release}${shared_ext}$major'
                   14723:     fi
                   14724:     shlibpath_var=LIBPATH
                   14725:   fi
                   14726:   ;;
                   14727: 
                   14728: amigaos*)
                   14729:   case $host_cpu in
                   14730:   powerpc)
                   14731:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   14732:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   14733:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14734:     ;;
                   14735:   m68k)
                   14736:     library_names_spec='$libname.ixlibrary $libname.a'
                   14737:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   14738:     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
                   14739:     ;;
                   14740:   esac
                   14741:   ;;
                   14742: 
                   14743: beos*)
                   14744:   library_names_spec='${libname}${shared_ext}'
                   14745:   dynamic_linker="$host_os ld.so"
                   14746:   shlibpath_var=LIBRARY_PATH
                   14747:   ;;
                   14748: 
                   14749: bsdi[45]*)
                   14750:   version_type=linux # correct to gnu/linux during the next big refactor
                   14751:   need_version=no
                   14752:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14753:   soname_spec='${libname}${release}${shared_ext}$major'
                   14754:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   14755:   shlibpath_var=LD_LIBRARY_PATH
                   14756:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   14757:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   14758:   # the default ld.so.conf also contains /usr/contrib/lib and
                   14759:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   14760:   # libtool to hard-code these into programs
                   14761:   ;;
                   14762: 
                   14763: cygwin* | mingw* | pw32* | cegcc*)
                   14764:   version_type=windows
                   14765:   shrext_cmds=".dll"
                   14766:   need_version=no
                   14767:   need_lib_prefix=no
                   14768: 
                   14769:   case $GCC,$cc_basename in
                   14770:   yes,*)
                   14771:     # gcc
                   14772:     library_names_spec='$libname.dll.a'
                   14773:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   14774:     postinstall_cmds='base_file=`basename \${file}`~
                   14775:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   14776:       dldir=$destdir/`dirname \$dlpath`~
                   14777:       test -d \$dldir || mkdir -p \$dldir~
                   14778:       $install_prog $dir/$dlname \$dldir/$dlname~
                   14779:       chmod a+x \$dldir/$dlname~
                   14780:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   14781:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   14782:       fi'
                   14783:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   14784:       dlpath=$dir/\$dldll~
                   14785:        $RM \$dlpath'
                   14786:     shlibpath_overrides_runpath=yes
                   14787: 
                   14788:     case $host_os in
                   14789:     cygwin*)
                   14790:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   14791:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   14792: 
                   14793:       ;;
                   14794:     mingw* | cegcc*)
                   14795:       # MinGW DLLs use traditional 'lib' prefix
                   14796:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   14797:       ;;
                   14798:     pw32*)
                   14799:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   14800:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   14801:       ;;
                   14802:     esac
                   14803:     dynamic_linker='Win32 ld.exe'
                   14804:     ;;
                   14805: 
                   14806:   *,cl*)
                   14807:     # Native MSVC
                   14808:     libname_spec='$name'
                   14809:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   14810:     library_names_spec='${libname}.dll.lib'
                   14811: 
                   14812:     case $build_os in
                   14813:     mingw*)
                   14814:       sys_lib_search_path_spec=
                   14815:       lt_save_ifs=$IFS
                   14816:       IFS=';'
                   14817:       for lt_path in $LIB
                   14818:       do
                   14819:         IFS=$lt_save_ifs
                   14820:         # Let DOS variable expansion print the short 8.3 style file name.
                   14821:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   14822:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   14823:       done
                   14824:       IFS=$lt_save_ifs
                   14825:       # Convert to MSYS style.
                   14826:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   14827:       ;;
                   14828:     cygwin*)
                   14829:       # Convert to unix form, then to dos form, then back to unix form
                   14830:       # but this time dos style (no spaces!) so that the unix form looks
                   14831:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   14832:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   14833:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   14834:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   14835:       ;;
                   14836:     *)
                   14837:       sys_lib_search_path_spec="$LIB"
                   14838:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   14839:         # It is most probably a Windows format PATH.
                   14840:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   14841:       else
                   14842:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   14843:       fi
                   14844:       # FIXME: find the short name or the path components, as spaces are
                   14845:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   14846:       ;;
                   14847:     esac
                   14848: 
                   14849:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   14850:     postinstall_cmds='base_file=`basename \${file}`~
                   14851:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   14852:       dldir=$destdir/`dirname \$dlpath`~
                   14853:       test -d \$dldir || mkdir -p \$dldir~
                   14854:       $install_prog $dir/$dlname \$dldir/$dlname'
                   14855:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   14856:       dlpath=$dir/\$dldll~
                   14857:        $RM \$dlpath'
                   14858:     shlibpath_overrides_runpath=yes
                   14859:     dynamic_linker='Win32 link.exe'
                   14860:     ;;
                   14861: 
                   14862:   *)
                   14863:     # Assume MSVC wrapper
                   14864:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   14865:     dynamic_linker='Win32 ld.exe'
                   14866:     ;;
                   14867:   esac
                   14868:   # FIXME: first we should search . and the directory the executable is in
                   14869:   shlibpath_var=PATH
                   14870:   ;;
                   14871: 
                   14872: darwin* | rhapsody*)
                   14873:   dynamic_linker="$host_os dyld"
                   14874:   version_type=darwin
                   14875:   need_lib_prefix=no
                   14876:   need_version=no
                   14877:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   14878:   soname_spec='${libname}${release}${major}$shared_ext'
                   14879:   shlibpath_overrides_runpath=yes
                   14880:   shlibpath_var=DYLD_LIBRARY_PATH
                   14881:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   14882: 
                   14883:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   14884:   ;;
                   14885: 
                   14886: dgux*)
                   14887:   version_type=linux # correct to gnu/linux during the next big refactor
                   14888:   need_lib_prefix=no
                   14889:   need_version=no
                   14890:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   14891:   soname_spec='${libname}${release}${shared_ext}$major'
                   14892:   shlibpath_var=LD_LIBRARY_PATH
                   14893:   ;;
                   14894: 
                   14895: freebsd* | dragonfly*)
                   14896:   # DragonFly does not have aout.  When/if they implement a new
                   14897:   # versioning mechanism, adjust this.
                   14898:   if test -x /usr/bin/objformat; then
                   14899:     objformat=`/usr/bin/objformat`
                   14900:   else
                   14901:     case $host_os in
                   14902:     freebsd[23].*) objformat=aout ;;
                   14903:     *) objformat=elf ;;
                   14904:     esac
                   14905:   fi
                   14906:   version_type=freebsd-$objformat
                   14907:   case $version_type in
                   14908:     freebsd-elf*)
                   14909:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   14910:       need_version=no
                   14911:       need_lib_prefix=no
                   14912:       ;;
                   14913:     freebsd-*)
                   14914:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   14915:       need_version=yes
                   14916:       ;;
                   14917:   esac
                   14918:   shlibpath_var=LD_LIBRARY_PATH
                   14919:   case $host_os in
                   14920:   freebsd2.*)
                   14921:     shlibpath_overrides_runpath=yes
                   14922:     ;;
                   14923:   freebsd3.[01]* | freebsdelf3.[01]*)
                   14924:     shlibpath_overrides_runpath=yes
                   14925:     hardcode_into_libs=yes
                   14926:     ;;
                   14927:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   14928:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   14929:     shlibpath_overrides_runpath=no
                   14930:     hardcode_into_libs=yes
                   14931:     ;;
                   14932:   *) # from 4.6 on, and DragonFly
                   14933:     shlibpath_overrides_runpath=yes
                   14934:     hardcode_into_libs=yes
                   14935:     ;;
                   14936:   esac
                   14937:   ;;
                   14938: 
                   14939: gnu*)
                   14940:   version_type=linux # correct to gnu/linux during the next big refactor
                   14941:   need_lib_prefix=no
                   14942:   need_version=no
                   14943:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   14944:   soname_spec='${libname}${release}${shared_ext}$major'
                   14945:   shlibpath_var=LD_LIBRARY_PATH
                   14946:   shlibpath_overrides_runpath=no
                   14947:   hardcode_into_libs=yes
                   14948:   ;;
                   14949: 
                   14950: haiku*)
                   14951:   version_type=linux # correct to gnu/linux during the next big refactor
                   14952:   need_lib_prefix=no
                   14953:   need_version=no
                   14954:   dynamic_linker="$host_os runtime_loader"
                   14955:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   14956:   soname_spec='${libname}${release}${shared_ext}$major'
                   14957:   shlibpath_var=LIBRARY_PATH
                   14958:   shlibpath_overrides_runpath=yes
                   14959:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   14960:   hardcode_into_libs=yes
                   14961:   ;;
                   14962: 
                   14963: hpux9* | hpux10* | hpux11*)
                   14964:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   14965:   # link against other versions.
                   14966:   version_type=sunos
                   14967:   need_lib_prefix=no
                   14968:   need_version=no
                   14969:   case $host_cpu in
                   14970:   ia64*)
                   14971:     shrext_cmds='.so'
                   14972:     hardcode_into_libs=yes
                   14973:     dynamic_linker="$host_os dld.so"
                   14974:     shlibpath_var=LD_LIBRARY_PATH
                   14975:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   14976:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14977:     soname_spec='${libname}${release}${shared_ext}$major'
                   14978:     if test "X$HPUX_IA64_MODE" = X32; then
                   14979:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   14980:     else
                   14981:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   14982:     fi
                   14983:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   14984:     ;;
                   14985:   hppa*64*)
                   14986:     shrext_cmds='.sl'
                   14987:     hardcode_into_libs=yes
                   14988:     dynamic_linker="$host_os dld.sl"
                   14989:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   14990:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   14991:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14992:     soname_spec='${libname}${release}${shared_ext}$major'
                   14993:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   14994:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   14995:     ;;
                   14996:   *)
                   14997:     shrext_cmds='.sl'
                   14998:     dynamic_linker="$host_os dld.sl"
                   14999:     shlibpath_var=SHLIB_PATH
                   15000:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   15001:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15002:     soname_spec='${libname}${release}${shared_ext}$major'
                   15003:     ;;
                   15004:   esac
                   15005:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   15006:   postinstall_cmds='chmod 555 $lib'
                   15007:   # or fails outright, so override atomically:
                   15008:   install_override_mode=555
                   15009:   ;;
                   15010: 
                   15011: interix[3-9]*)
                   15012:   version_type=linux # correct to gnu/linux during the next big refactor
                   15013:   need_lib_prefix=no
                   15014:   need_version=no
                   15015:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   15016:   soname_spec='${libname}${release}${shared_ext}$major'
                   15017:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   15018:   shlibpath_var=LD_LIBRARY_PATH
                   15019:   shlibpath_overrides_runpath=no
                   15020:   hardcode_into_libs=yes
                   15021:   ;;
                   15022: 
                   15023: irix5* | irix6* | nonstopux*)
                   15024:   case $host_os in
                   15025:     nonstopux*) version_type=nonstopux ;;
                   15026:     *)
                   15027:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   15028:                version_type=linux # correct to gnu/linux during the next big refactor
                   15029:        else
                   15030:                version_type=irix
                   15031:        fi ;;
                   15032:   esac
                   15033:   need_lib_prefix=no
                   15034:   need_version=no
                   15035:   soname_spec='${libname}${release}${shared_ext}$major'
                   15036:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15037:   case $host_os in
                   15038:   irix5* | nonstopux*)
                   15039:     libsuff= shlibsuff=
                   15040:     ;;
                   15041:   *)
                   15042:     case $LD in # libtool.m4 will add one of these switches to LD
                   15043:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   15044:       libsuff= shlibsuff= libmagic=32-bit;;
                   15045:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   15046:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   15047:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   15048:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   15049:     *) libsuff= shlibsuff= libmagic=never-match;;
                   15050:     esac
                   15051:     ;;
                   15052:   esac
                   15053:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   15054:   shlibpath_overrides_runpath=no
                   15055:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   15056:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   15057:   hardcode_into_libs=yes
                   15058:   ;;
                   15059: 
                   15060: # No shared lib support for Linux oldld, aout, or coff.
                   15061: linux*oldld* | linux*aout* | linux*coff*)
                   15062:   dynamic_linker=no
                   15063:   ;;
                   15064: 
                   15065: # This must be glibc/ELF.
                   15066: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   15067:   version_type=linux # correct to gnu/linux during the next big refactor
                   15068:   need_lib_prefix=no
                   15069:   need_version=no
                   15070:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15071:   soname_spec='${libname}${release}${shared_ext}$major'
                   15072:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   15073:   shlibpath_var=LD_LIBRARY_PATH
                   15074:   shlibpath_overrides_runpath=no
                   15075: 
                   15076:   # Some binutils ld are patched to set DT_RUNPATH
1.22      moko     15077:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
                   15078:   $as_echo_n "(cached) " >&6
1.8       moko     15079: else
                   15080:   lt_cv_shlibpath_overrides_runpath=no
                   15081:     save_LDFLAGS=$LDFLAGS
                   15082:     save_libdir=$libdir
                   15083:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
                   15084:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
1.22      moko     15085:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.8       moko     15086: /* end confdefs.h.  */
                   15087: 
                   15088: int
                   15089: main ()
                   15090: {
                   15091: 
                   15092:   ;
                   15093:   return 0;
                   15094: }
                   15095: _ACEOF
1.22      moko     15096: if ac_fn_cxx_try_link "$LINENO"; then :
                   15097:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
1.8       moko     15098:   lt_cv_shlibpath_overrides_runpath=yes
                   15099: fi
                   15100: fi
1.22      moko     15101: rm -f core conftest.err conftest.$ac_objext \
                   15102:     conftest$ac_exeext conftest.$ac_ext
1.8       moko     15103:     LDFLAGS=$save_LDFLAGS
                   15104:     libdir=$save_libdir
                   15105: 
                   15106: fi
                   15107: 
                   15108:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   15109: 
                   15110:   # This implies no fast_install, which is unacceptable.
                   15111:   # Some rework will be needed to allow for fast_install
                   15112:   # before this can be enabled.
                   15113:   hardcode_into_libs=yes
                   15114: 
                   15115:   # Append ld.so.conf contents to the search path
                   15116:   if test -f /etc/ld.so.conf; then
                   15117:     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' ' '`
                   15118:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   15119:   fi
                   15120: 
                   15121:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   15122:   # powerpc, because MkLinux only supported shared libraries with the
                   15123:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   15124:   # most powerpc-linux boxes support dynamic linking these days and
                   15125:   # people can always --disable-shared, the test was removed, and we
                   15126:   # assume the GNU/Linux dynamic linker is in use.
                   15127:   dynamic_linker='GNU/Linux ld.so'
                   15128:   ;;
                   15129: 
                   15130: netbsd*)
                   15131:   version_type=sunos
                   15132:   need_lib_prefix=no
                   15133:   need_version=no
                   15134:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   15135:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15136:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   15137:     dynamic_linker='NetBSD (a.out) ld.so'
                   15138:   else
                   15139:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   15140:     soname_spec='${libname}${release}${shared_ext}$major'
                   15141:     dynamic_linker='NetBSD ld.elf_so'
                   15142:   fi
                   15143:   shlibpath_var=LD_LIBRARY_PATH
                   15144:   shlibpath_overrides_runpath=yes
                   15145:   hardcode_into_libs=yes
                   15146:   ;;
                   15147: 
                   15148: newsos6)
                   15149:   version_type=linux # correct to gnu/linux during the next big refactor
                   15150:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15151:   shlibpath_var=LD_LIBRARY_PATH
                   15152:   shlibpath_overrides_runpath=yes
                   15153:   ;;
                   15154: 
                   15155: *nto* | *qnx*)
                   15156:   version_type=qnx
                   15157:   need_lib_prefix=no
                   15158:   need_version=no
                   15159:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15160:   soname_spec='${libname}${release}${shared_ext}$major'
                   15161:   shlibpath_var=LD_LIBRARY_PATH
                   15162:   shlibpath_overrides_runpath=no
                   15163:   hardcode_into_libs=yes
                   15164:   dynamic_linker='ldqnx.so'
                   15165:   ;;
                   15166: 
                   15167: openbsd*)
                   15168:   version_type=sunos
                   15169:   sys_lib_dlsearch_path_spec="/usr/lib"
                   15170:   need_lib_prefix=no
                   15171:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   15172:   case $host_os in
                   15173:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   15174:     *)                         need_version=no  ;;
                   15175:   esac
                   15176:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15177:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   15178:   shlibpath_var=LD_LIBRARY_PATH
                   15179:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   15180:     case $host_os in
                   15181:       openbsd2.[89] | openbsd2.[89].*)
                   15182:        shlibpath_overrides_runpath=no
                   15183:        ;;
                   15184:       *)
                   15185:        shlibpath_overrides_runpath=yes
                   15186:        ;;
                   15187:       esac
                   15188:   else
                   15189:     shlibpath_overrides_runpath=yes
                   15190:   fi
                   15191:   ;;
                   15192: 
                   15193: os2*)
                   15194:   libname_spec='$name'
                   15195:   shrext_cmds=".dll"
                   15196:   need_lib_prefix=no
                   15197:   library_names_spec='$libname${shared_ext} $libname.a'
                   15198:   dynamic_linker='OS/2 ld.exe'
                   15199:   shlibpath_var=LIBPATH
                   15200:   ;;
                   15201: 
                   15202: osf3* | osf4* | osf5*)
                   15203:   version_type=osf
                   15204:   need_lib_prefix=no
                   15205:   need_version=no
                   15206:   soname_spec='${libname}${release}${shared_ext}$major'
                   15207:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15208:   shlibpath_var=LD_LIBRARY_PATH
                   15209:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   15210:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   15211:   ;;
                   15212: 
                   15213: rdos*)
                   15214:   dynamic_linker=no
                   15215:   ;;
                   15216: 
                   15217: solaris*)
                   15218:   version_type=linux # correct to gnu/linux during the next big refactor
                   15219:   need_lib_prefix=no
                   15220:   need_version=no
                   15221:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15222:   soname_spec='${libname}${release}${shared_ext}$major'
                   15223:   shlibpath_var=LD_LIBRARY_PATH
                   15224:   shlibpath_overrides_runpath=yes
                   15225:   hardcode_into_libs=yes
                   15226:   # ldd complains unless libraries are executable
                   15227:   postinstall_cmds='chmod +x $lib'
                   15228:   ;;
                   15229: 
                   15230: sunos4*)
                   15231:   version_type=sunos
                   15232:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15233:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   15234:   shlibpath_var=LD_LIBRARY_PATH
                   15235:   shlibpath_overrides_runpath=yes
                   15236:   if test "$with_gnu_ld" = yes; then
                   15237:     need_lib_prefix=no
                   15238:   fi
                   15239:   need_version=yes
                   15240:   ;;
                   15241: 
                   15242: sysv4 | sysv4.3*)
                   15243:   version_type=linux # correct to gnu/linux during the next big refactor
                   15244:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15245:   soname_spec='${libname}${release}${shared_ext}$major'
                   15246:   shlibpath_var=LD_LIBRARY_PATH
                   15247:   case $host_vendor in
                   15248:     sni)
                   15249:       shlibpath_overrides_runpath=no
                   15250:       need_lib_prefix=no
                   15251:       runpath_var=LD_RUN_PATH
                   15252:       ;;
                   15253:     siemens)
                   15254:       need_lib_prefix=no
                   15255:       ;;
                   15256:     motorola)
                   15257:       need_lib_prefix=no
                   15258:       need_version=no
                   15259:       shlibpath_overrides_runpath=no
                   15260:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   15261:       ;;
                   15262:   esac
                   15263:   ;;
                   15264: 
                   15265: sysv4*MP*)
                   15266:   if test -d /usr/nec ;then
                   15267:     version_type=linux # correct to gnu/linux during the next big refactor
                   15268:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   15269:     soname_spec='$libname${shared_ext}.$major'
                   15270:     shlibpath_var=LD_LIBRARY_PATH
                   15271:   fi
                   15272:   ;;
                   15273: 
                   15274: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   15275:   version_type=freebsd-elf
                   15276:   need_lib_prefix=no
                   15277:   need_version=no
                   15278:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15279:   soname_spec='${libname}${release}${shared_ext}$major'
                   15280:   shlibpath_var=LD_LIBRARY_PATH
                   15281:   shlibpath_overrides_runpath=yes
                   15282:   hardcode_into_libs=yes
                   15283:   if test "$with_gnu_ld" = yes; then
                   15284:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   15285:   else
                   15286:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   15287:     case $host_os in
                   15288:       sco3.2v5*)
                   15289:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   15290:        ;;
                   15291:     esac
                   15292:   fi
                   15293:   sys_lib_dlsearch_path_spec='/usr/lib'
                   15294:   ;;
                   15295: 
                   15296: tpf*)
                   15297:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   15298:   version_type=linux # correct to gnu/linux during the next big refactor
                   15299:   need_lib_prefix=no
                   15300:   need_version=no
                   15301:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15302:   shlibpath_var=LD_LIBRARY_PATH
                   15303:   shlibpath_overrides_runpath=no
                   15304:   hardcode_into_libs=yes
                   15305:   ;;
                   15306: 
                   15307: uts4*)
                   15308:   version_type=linux # correct to gnu/linux during the next big refactor
                   15309:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15310:   soname_spec='${libname}${release}${shared_ext}$major'
                   15311:   shlibpath_var=LD_LIBRARY_PATH
                   15312:   ;;
                   15313: 
                   15314: *)
                   15315:   dynamic_linker=no
                   15316:   ;;
                   15317: esac
1.22      moko     15318: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   15319: $as_echo "$dynamic_linker" >&6; }
1.8       moko     15320: test "$dynamic_linker" = no && can_build_shared=no
                   15321: 
                   15322: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   15323: if test "$GCC" = yes; then
                   15324:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   15325: fi
                   15326: 
                   15327: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   15328:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   15329: fi
                   15330: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   15331:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   15332: fi
                   15333: 
                   15334: 
                   15335: 
                   15336: 
                   15337: 
                   15338: 
                   15339: 
                   15340: 
                   15341: 
                   15342: 
                   15343: 
                   15344: 
                   15345: 
                   15346: 
                   15347: 
                   15348: 
                   15349: 
                   15350: 
                   15351: 
                   15352: 
                   15353: 
                   15354: 
                   15355: 
                   15356: 
                   15357: 
                   15358: 
                   15359: 
                   15360: 
                   15361: 
                   15362: 
                   15363: 
                   15364: 
                   15365: 
                   15366: 
                   15367: 
                   15368: 
                   15369: 
                   15370: 
1.22      moko     15371:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   15372: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1.8       moko     15373: hardcode_action_CXX=
                   15374: if test -n "$hardcode_libdir_flag_spec_CXX" ||
                   15375:    test -n "$runpath_var_CXX" ||
                   15376:    test "X$hardcode_automatic_CXX" = "Xyes" ; then
                   15377: 
                   15378:   # We can hardcode non-existent directories.
                   15379:   if test "$hardcode_direct_CXX" != no &&
                   15380:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   15381:      # have to relink, otherwise we might link with an installed library
                   15382:      # when we should be linking with a yet-to-be-installed one
                   15383:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
                   15384:      test "$hardcode_minus_L_CXX" != no; then
                   15385:     # Linking always hardcodes the temporary library directory.
                   15386:     hardcode_action_CXX=relink
                   15387:   else
                   15388:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   15389:     hardcode_action_CXX=immediate
                   15390:   fi
                   15391: else
                   15392:   # We cannot hardcode anything, or else we can only hardcode existing
                   15393:   # directories.
                   15394:   hardcode_action_CXX=unsupported
                   15395: fi
1.22      moko     15396: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
                   15397: $as_echo "$hardcode_action_CXX" >&6; }
1.8       moko     15398: 
                   15399: if test "$hardcode_action_CXX" = relink ||
                   15400:    test "$inherit_rpath_CXX" = yes; then
                   15401:   # Fast installation is not supported
                   15402:   enable_fast_install=no
                   15403: elif test "$shlibpath_overrides_runpath" = yes ||
                   15404:      test "$enable_shared" = no; then
                   15405:   # Fast installation is not necessary
                   15406:   enable_fast_install=needless
                   15407: fi
                   15408: 
                   15409: 
                   15410: 
                   15411: 
                   15412: 
                   15413: 
                   15414: 
                   15415:   fi # test -n "$compiler"
                   15416: 
                   15417:   CC=$lt_save_CC
                   15418:   CFLAGS=$lt_save_CFLAGS
                   15419:   LDCXX=$LD
                   15420:   LD=$lt_save_LD
                   15421:   GCC=$lt_save_GCC
                   15422:   with_gnu_ld=$lt_save_with_gnu_ld
                   15423:   lt_cv_path_LDCXX=$lt_cv_path_LD
                   15424:   lt_cv_path_LD=$lt_save_path_LD
                   15425:   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
                   15426:   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
                   15427: fi # test "$_lt_caught_CXX_error" != yes
                   15428: 
                   15429: ac_ext=c
                   15430: ac_cpp='$CPP $CPPFLAGS'
                   15431: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   15432: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   15433: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   15434: 
                   15435: 
                   15436: 
                   15437: 
                   15438: 
                   15439: 
                   15440: 
                   15441: 
                   15442: 
                   15443: 
                   15444: 
                   15445: 
                   15446: 
                   15447: 
                   15448: 
1.22      moko     15449:         ac_config_commands="$ac_config_commands libtool"
1.8       moko     15450: 
                   15451: 
                   15452: 
                   15453: 
                   15454: # Only expand once:
                   15455: 
                   15456: 
1.22      moko     15457: { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
                   15458: $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
                   15459: if ${libltdl_cv_shlibext+:} false; then :
                   15460:   $as_echo_n "(cached) " >&6
1.8       moko     15461: else
                   15462: 
                   15463: module=yes
                   15464: eval libltdl_cv_shlibext=$shrext_cmds
                   15465: module=no
                   15466: eval libltdl_cv_shrext=$shrext_cmds
                   15467: 
                   15468: fi
1.22      moko     15469: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
                   15470: $as_echo "$libltdl_cv_shlibext" >&6; }
1.8       moko     15471: if test -n "$libltdl_cv_shlibext"; then
                   15472: 
                   15473: cat >>confdefs.h <<_ACEOF
                   15474: #define LT_MODULE_EXT "$libltdl_cv_shlibext"
                   15475: _ACEOF
                   15476: 
                   15477: fi
                   15478: if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
                   15479: 
                   15480: cat >>confdefs.h <<_ACEOF
                   15481: #define LT_SHARED_EXT "$libltdl_cv_shrext"
                   15482: _ACEOF
                   15483: 
                   15484: fi
                   15485: 
1.22      moko     15486: { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
                   15487: $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
                   15488: if ${lt_cv_module_path_var+:} false; then :
                   15489:   $as_echo_n "(cached) " >&6
1.8       moko     15490: else
                   15491:   lt_cv_module_path_var="$shlibpath_var"
                   15492: fi
1.22      moko     15493: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
                   15494: $as_echo "$lt_cv_module_path_var" >&6; }
1.8       moko     15495: if test -n "$lt_cv_module_path_var"; then
                   15496: 
                   15497: cat >>confdefs.h <<_ACEOF
                   15498: #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
                   15499: _ACEOF
                   15500: 
                   15501: fi
                   15502: 
1.22      moko     15503: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
                   15504: $as_echo_n "checking for the default library search path... " >&6; }
                   15505: if ${lt_cv_sys_dlsearch_path+:} false; then :
                   15506:   $as_echo_n "(cached) " >&6
1.8       moko     15507: else
                   15508:   lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
                   15509: fi
1.22      moko     15510: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
                   15511: $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
1.8       moko     15512: if test -n "$lt_cv_sys_dlsearch_path"; then
                   15513:   sys_dlsearch_path=
                   15514:   for dir in $lt_cv_sys_dlsearch_path; do
                   15515:     if test -z "$sys_dlsearch_path"; then
                   15516:       sys_dlsearch_path="$dir"
                   15517:     else
                   15518:       sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
                   15519:     fi
                   15520:   done
                   15521: 
                   15522: cat >>confdefs.h <<_ACEOF
                   15523: #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
                   15524: _ACEOF
                   15525: 
                   15526: fi
                   15527: 
                   15528: 
                   15529: LT_DLLOADERS=
                   15530: 
                   15531: 
                   15532: ac_ext=c
                   15533: ac_cpp='$CPP $CPPFLAGS'
                   15534: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   15535: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   15536: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   15537: 
                   15538: 
                   15539: LIBADD_DLOPEN=
1.22      moko     15540: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
                   15541: $as_echo_n "checking for library containing dlopen... " >&6; }
                   15542: if ${ac_cv_search_dlopen+:} false; then :
                   15543:   $as_echo_n "(cached) " >&6
1.8       moko     15544: else
                   15545:   ac_func_search_save_LIBS=$LIBS
1.22      moko     15546: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.8       moko     15547: /* end confdefs.h.  */
                   15548: 
1.22      moko     15549: /* Override any GCC internal prototype to avoid an error.
                   15550:    Use char because int might match the return type of a GCC
                   15551:    builtin and then its argument prototype would still apply.  */
1.8       moko     15552: #ifdef __cplusplus
                   15553: extern "C"
                   15554: #endif
                   15555: char dlopen ();
                   15556: int
                   15557: main ()
                   15558: {
1.22      moko     15559: return dlopen ();
1.8       moko     15560:   ;
                   15561:   return 0;
                   15562: }
                   15563: _ACEOF
1.22      moko     15564: for ac_lib in '' dl; do
                   15565:   if test -z "$ac_lib"; then
                   15566:     ac_res="none required"
                   15567:   else
                   15568:     ac_res=-l$ac_lib
                   15569:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   15570:   fi
                   15571:   if ac_fn_c_try_link "$LINENO"; then :
                   15572:   ac_cv_search_dlopen=$ac_res
                   15573: fi
                   15574: rm -f core conftest.err conftest.$ac_objext \
                   15575:     conftest$ac_exeext
                   15576:   if ${ac_cv_search_dlopen+:} false; then :
                   15577:   break
1.11      moko     15578: fi
1.22      moko     15579: done
                   15580: if ${ac_cv_search_dlopen+:} false; then :
1.8       moko     15581: 
                   15582: else
1.22      moko     15583:   ac_cv_search_dlopen=no
1.8       moko     15584: fi
1.22      moko     15585: rm conftest.$ac_ext
1.8       moko     15586: LIBS=$ac_func_search_save_LIBS
                   15587: fi
1.22      moko     15588: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
                   15589: $as_echo "$ac_cv_search_dlopen" >&6; }
                   15590: ac_res=$ac_cv_search_dlopen
                   15591: if test "$ac_res" != no; then :
                   15592:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
1.8       moko     15593: 
1.22      moko     15594: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
1.8       moko     15595: 
                   15596:        if test "$ac_cv_search_dlopen" != "none required" ; then
                   15597:          LIBADD_DLOPEN="-ldl"
                   15598:        fi
                   15599:        libltdl_cv_lib_dl_dlopen="yes"
                   15600:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   15601: else
1.22      moko     15602:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.8       moko     15603: /* end confdefs.h.  */
                   15604: #if HAVE_DLFCN_H
                   15605: #  include <dlfcn.h>
                   15606: #endif
                   15607: 
                   15608: int
                   15609: main ()
                   15610: {
                   15611: dlopen(0, 0);
                   15612:   ;
                   15613:   return 0;
                   15614: }
                   15615: _ACEOF
1.22      moko     15616: if ac_fn_c_try_link "$LINENO"; then :
1.8       moko     15617: 
1.22      moko     15618: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
1.8       moko     15619: 
                   15620:            libltdl_cv_func_dlopen="yes"
                   15621:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   15622: else
1.22      moko     15623:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   15624: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
                   15625: if ${ac_cv_lib_svld_dlopen+:} false; then :
                   15626:   $as_echo_n "(cached) " >&6
1.8       moko     15627: else
                   15628:   ac_check_lib_save_LIBS=$LIBS
                   15629: LIBS="-lsvld  $LIBS"
1.22      moko     15630: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.11      moko     15631: /* end confdefs.h.  */
                   15632: 
1.22      moko     15633: /* Override any GCC internal prototype to avoid an error.
                   15634:    Use char because int might match the return type of a GCC
1.11      moko     15635:    builtin and then its argument prototype would still apply.  */
                   15636: #ifdef __cplusplus
1.22      moko     15637: extern "C"
1.11      moko     15638: #endif
1.22      moko     15639: char dlopen ();
1.11      moko     15640: int
                   15641: main ()
                   15642: {
1.22      moko     15643: return dlopen ();
1.11      moko     15644:   ;
                   15645:   return 0;
                   15646: }
                   15647: _ACEOF
1.22      moko     15648: if ac_fn_c_try_link "$LINENO"; then :
                   15649:   ac_cv_lib_svld_dlopen=yes
1.11      moko     15650: else
1.22      moko     15651:   ac_cv_lib_svld_dlopen=no
                   15652: fi
                   15653: rm -f core conftest.err conftest.$ac_objext \
                   15654:     conftest$ac_exeext conftest.$ac_ext
                   15655: LIBS=$ac_check_lib_save_LIBS
                   15656: fi
                   15657: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   15658: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
                   15659: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
                   15660: 
                   15661: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
                   15662: 
                   15663:                LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
                   15664:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   15665: fi
1.11      moko     15666: 
                   15667: fi
1.22      moko     15668: rm -f core conftest.err conftest.$ac_objext \
                   15669:     conftest$ac_exeext conftest.$ac_ext
1.11      moko     15670: fi
1.22      moko     15671: 
                   15672: if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
                   15673: then
                   15674:   lt_save_LIBS="$LIBS"
                   15675:   LIBS="$LIBS $LIBADD_DLOPEN"
                   15676:   for ac_func in dlerror
                   15677: do :
                   15678:   ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
                   15679: if test "x$ac_cv_func_dlerror" = xyes; then :
1.8       moko     15680:   cat >>confdefs.h <<_ACEOF
1.22      moko     15681: #define HAVE_DLERROR 1
1.8       moko     15682: _ACEOF
                   15683: 
                   15684: fi
                   15685: done
                   15686: 
                   15687:   LIBS="$lt_save_LIBS"
                   15688: fi
                   15689: 
                   15690: 
                   15691: LIBADD_SHL_LOAD=
1.22      moko     15692: ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
                   15693: if test "x$ac_cv_func_shl_load" = xyes; then :
1.8       moko     15694: 
1.22      moko     15695: $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
1.8       moko     15696: 
                   15697:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
                   15698: else
1.22      moko     15699:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   15700: $as_echo_n "checking for shl_load in -ldld... " >&6; }
                   15701: if ${ac_cv_lib_dld_shl_load+:} false; then :
                   15702:   $as_echo_n "(cached) " >&6
1.8       moko     15703: else
                   15704:   ac_check_lib_save_LIBS=$LIBS
                   15705: LIBS="-ldld  $LIBS"
1.22      moko     15706: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.8       moko     15707: /* end confdefs.h.  */
                   15708: 
1.22      moko     15709: /* Override any GCC internal prototype to avoid an error.
                   15710:    Use char because int might match the return type of a GCC
                   15711:    builtin and then its argument prototype would still apply.  */
1.8       moko     15712: #ifdef __cplusplus
                   15713: extern "C"
                   15714: #endif
                   15715: char shl_load ();
                   15716: int
                   15717: main ()
                   15718: {
1.22      moko     15719: return shl_load ();
1.8       moko     15720:   ;
                   15721:   return 0;
                   15722: }
                   15723: _ACEOF
1.22      moko     15724: if ac_fn_c_try_link "$LINENO"; then :
1.8       moko     15725:   ac_cv_lib_dld_shl_load=yes
                   15726: else
1.22      moko     15727:   ac_cv_lib_dld_shl_load=no
1.8       moko     15728: fi
1.22      moko     15729: rm -f core conftest.err conftest.$ac_objext \
                   15730:     conftest$ac_exeext conftest.$ac_ext
1.8       moko     15731: LIBS=$ac_check_lib_save_LIBS
                   15732: fi
1.22      moko     15733: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   15734: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
                   15735: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
1.8       moko     15736: 
1.22      moko     15737: $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
1.8       moko     15738: 
                   15739:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
                   15740:            LIBADD_SHL_LOAD="-ldld"
                   15741: fi
                   15742: 
                   15743: fi
                   15744: 
                   15745: 
                   15746: 
                   15747: case $host_os in
                   15748: darwin[1567].*)
                   15749: # We only want this for pre-Mac OS X 10.4.
1.22      moko     15750:   ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
                   15751: if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
1.11      moko     15752: 
1.22      moko     15753: $as_echo "#define HAVE_DYLD 1" >>confdefs.h
1.8       moko     15754: 
                   15755:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
                   15756: fi
                   15757: 
                   15758:   ;;
                   15759: beos*)
                   15760:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
                   15761:   ;;
                   15762: cygwin* | mingw* | os2* | pw32*)
1.22      moko     15763:   ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
                   15764: "
                   15765: if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
                   15766:   ac_have_decl=1
1.8       moko     15767: else
1.22      moko     15768:   ac_have_decl=0
1.11      moko     15769: fi
1.8       moko     15770: 
                   15771: cat >>confdefs.h <<_ACEOF
1.22      moko     15772: #define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl
1.8       moko     15773: _ACEOF
                   15774: 
                   15775:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
                   15776:   ;;
                   15777: esac
                   15778: 
1.22      moko     15779: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   15780: $as_echo_n "checking for dld_link in -ldld... " >&6; }
                   15781: if ${ac_cv_lib_dld_dld_link+:} false; then :
                   15782:   $as_echo_n "(cached) " >&6
1.8       moko     15783: else
                   15784:   ac_check_lib_save_LIBS=$LIBS
                   15785: LIBS="-ldld  $LIBS"
1.22      moko     15786: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.8       moko     15787: /* end confdefs.h.  */
                   15788: 
1.22      moko     15789: /* Override any GCC internal prototype to avoid an error.
                   15790:    Use char because int might match the return type of a GCC
                   15791:    builtin and then its argument prototype would still apply.  */
1.8       moko     15792: #ifdef __cplusplus
                   15793: extern "C"
                   15794: #endif
                   15795: char dld_link ();
                   15796: int
                   15797: main ()
                   15798: {
1.22      moko     15799: return dld_link ();
1.8       moko     15800:   ;
                   15801:   return 0;
                   15802: }
                   15803: _ACEOF
1.22      moko     15804: if ac_fn_c_try_link "$LINENO"; then :
1.8       moko     15805:   ac_cv_lib_dld_dld_link=yes
                   15806: else
1.22      moko     15807:   ac_cv_lib_dld_dld_link=no
1.8       moko     15808: fi
1.22      moko     15809: rm -f core conftest.err conftest.$ac_objext \
                   15810:     conftest$ac_exeext conftest.$ac_ext
1.8       moko     15811: LIBS=$ac_check_lib_save_LIBS
                   15812: fi
1.22      moko     15813: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   15814: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
                   15815: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
1.8       moko     15816: 
1.22      moko     15817: $as_echo "#define HAVE_DLD 1" >>confdefs.h
1.8       moko     15818: 
                   15819:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
                   15820: fi
                   15821: 
                   15822: 
                   15823: 
                   15824: 
                   15825: LT_DLPREOPEN=
                   15826: if test -n "$LT_DLLOADERS"
                   15827: then
                   15828:   for lt_loader in $LT_DLLOADERS; do
                   15829:     LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
                   15830:   done
                   15831: 
1.22      moko     15832: $as_echo "#define HAVE_LIBDLLOADER 1" >>confdefs.h
1.8       moko     15833: 
                   15834: fi
                   15835: 
                   15836: 
                   15837: LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
                   15838: 
                   15839: 
                   15840: ac_ext=c
                   15841: ac_cpp='$CPP $CPPFLAGS'
                   15842: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   15843: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   15844: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   15845: 
                   15846: 
1.22      moko     15847: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
                   15848: $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
                   15849: if ${lt_cv_sys_symbol_underscore+:} false; then :
                   15850:   $as_echo_n "(cached) " >&6
1.8       moko     15851: else
                   15852:   lt_cv_sys_symbol_underscore=no
                   15853:   cat > conftest.$ac_ext <<_LT_EOF
                   15854: void nm_test_func(){}
                   15855: int main(){nm_test_func;return 0;}
                   15856: _LT_EOF
1.22      moko     15857:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.8       moko     15858:   (eval $ac_compile) 2>&5
                   15859:   ac_status=$?
1.22      moko     15860:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   15861:   test $ac_status = 0; }; then
1.8       moko     15862:     # Now try to grab the symbols.
                   15863:     ac_nlist=conftest.nm
1.22      moko     15864:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
1.8       moko     15865:   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
                   15866:   ac_status=$?
1.22      moko     15867:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   15868:   test $ac_status = 0; } && test -s "$ac_nlist"; then
1.8       moko     15869:       # See whether the symbols have a leading underscore.
                   15870:       if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
                   15871:         lt_cv_sys_symbol_underscore=yes
                   15872:       else
                   15873:         if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
                   15874:          :
                   15875:         else
                   15876:          echo "configure: cannot find nm_test_func in $ac_nlist" >&5
                   15877:         fi
                   15878:       fi
                   15879:     else
                   15880:       echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   15881:     fi
                   15882:   else
                   15883:     echo "configure: failed program was:" >&5
                   15884:     cat conftest.c >&5
                   15885:   fi
                   15886:   rm -rf conftest*
                   15887: 
                   15888: fi
1.22      moko     15889: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5
                   15890: $as_echo "$lt_cv_sys_symbol_underscore" >&6; }
1.8       moko     15891:   sys_symbol_underscore=$lt_cv_sys_symbol_underscore
                   15892: 
                   15893: 
                   15894: if test x"$lt_cv_sys_symbol_underscore" = xyes; then
                   15895:   if test x"$libltdl_cv_func_dlopen" = xyes ||
                   15896:      test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
1.22      moko     15897:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
                   15898: $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
                   15899: if ${libltdl_cv_need_uscore+:} false; then :
                   15900:   $as_echo_n "(cached) " >&6
1.8       moko     15901: else
                   15902:   libltdl_cv_need_uscore=unknown
                   15903:           save_LIBS="$LIBS"
                   15904:           LIBS="$LIBS $LIBADD_DLOPEN"
                   15905:          if test "$cross_compiling" = yes; then :
                   15906:   libltdl_cv_need_uscore=cross
                   15907: else
                   15908:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   15909:   lt_status=$lt_dlunknown
                   15910:   cat > conftest.$ac_ext <<_LT_EOF
                   15911: #line $LINENO "configure"
                   15912: #include "confdefs.h"
                   15913: 
                   15914: #if HAVE_DLFCN_H
                   15915: #include <dlfcn.h>
                   15916: #endif
                   15917: 
                   15918: #include <stdio.h>
                   15919: 
                   15920: #ifdef RTLD_GLOBAL
                   15921: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   15922: #else
                   15923: #  ifdef DL_GLOBAL
                   15924: #    define LT_DLGLOBAL                DL_GLOBAL
                   15925: #  else
                   15926: #    define LT_DLGLOBAL                0
                   15927: #  endif
                   15928: #endif
                   15929: 
                   15930: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   15931:    find out it does not work in some platform. */
                   15932: #ifndef LT_DLLAZY_OR_NOW
                   15933: #  ifdef RTLD_LAZY
                   15934: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   15935: #  else
                   15936: #    ifdef DL_LAZY
                   15937: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   15938: #    else
                   15939: #      ifdef RTLD_NOW
                   15940: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   15941: #      else
                   15942: #        ifdef DL_NOW
                   15943: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   15944: #        else
                   15945: #          define LT_DLLAZY_OR_NOW     0
                   15946: #        endif
                   15947: #      endif
                   15948: #    endif
                   15949: #  endif
                   15950: #endif
                   15951: 
                   15952: /* When -fvisbility=hidden is used, assume the code has been annotated
                   15953:    correspondingly for the symbols needed.  */
                   15954: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   15955: int fnord () __attribute__((visibility("default")));
                   15956: #endif
                   15957: 
                   15958: int fnord () { return 42; }
                   15959: int main ()
                   15960: {
                   15961:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   15962:   int status = $lt_dlunknown;
                   15963: 
                   15964:   if (self)
                   15965:     {
                   15966:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   15967:       else
                   15968:         {
                   15969:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   15970:           else puts (dlerror ());
                   15971:        }
                   15972:       /* dlclose (self); */
                   15973:     }
                   15974:   else
                   15975:     puts (dlerror ());
                   15976: 
                   15977:   return status;
                   15978: }
                   15979: _LT_EOF
1.22      moko     15980:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.8       moko     15981:   (eval $ac_link) 2>&5
                   15982:   ac_status=$?
1.22      moko     15983:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   15984:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.8       moko     15985:     (./conftest; exit; ) >&5 2>/dev/null
                   15986:     lt_status=$?
                   15987:     case x$lt_status in
                   15988:       x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
                   15989:       x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
                   15990:       x$lt_dlunknown|x*)  ;;
                   15991:     esac
                   15992:   else :
                   15993:     # compilation failed
                   15994: 
                   15995:   fi
                   15996: fi
                   15997: rm -fr conftest*
                   15998: 
                   15999:          LIBS="$save_LIBS"
                   16000: 
                   16001: fi
1.22      moko     16002: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
                   16003: $as_echo "$libltdl_cv_need_uscore" >&6; }
1.8       moko     16004:   fi
                   16005: fi
                   16006: 
                   16007: if test x"$libltdl_cv_need_uscore" = xyes; then
                   16008: 
1.22      moko     16009: $as_echo "#define NEED_USCORE 1" >>confdefs.h
1.8       moko     16010: 
                   16011: fi
                   16012: 
1.22      moko     16013: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
                   16014: $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
                   16015: if ${lt_cv_sys_dlopen_deplibs+:} false; then :
                   16016:   $as_echo_n "(cached) " >&6
1.8       moko     16017: else
                   16018:   # PORTME does your system automatically load deplibs for dlopen?
                   16019:   # or its logical equivalent (e.g. shl_load for HP-UX < 11)
                   16020:   # For now, we just catch OSes we know something about -- in the
                   16021:   # future, we'll try test this programmatically.
                   16022:   lt_cv_sys_dlopen_deplibs=unknown
                   16023:   case $host_os in
                   16024:   aix3*|aix4.1.*|aix4.2.*)
                   16025:     # Unknown whether this is true for these versions of AIX, but
                   16026:     # we want this `case' here to explicitly catch those versions.
                   16027:     lt_cv_sys_dlopen_deplibs=unknown
                   16028:     ;;
                   16029:   aix[4-9]*)
                   16030:     lt_cv_sys_dlopen_deplibs=yes
                   16031:     ;;
                   16032:   amigaos*)
                   16033:     case $host_cpu in
                   16034:     powerpc)
                   16035:       lt_cv_sys_dlopen_deplibs=no
                   16036:       ;;
                   16037:     esac
                   16038:     ;;
                   16039:   darwin*)
                   16040:     # Assuming the user has installed a libdl from somewhere, this is true
                   16041:     # If you are looking for one http://www.opendarwin.org/projects/dlcompat
                   16042:     lt_cv_sys_dlopen_deplibs=yes
                   16043:     ;;
                   16044:   freebsd* | dragonfly*)
                   16045:     lt_cv_sys_dlopen_deplibs=yes
                   16046:     ;;
                   16047:   gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   16048:     # GNU and its variants, using gnu ld.so (Glibc)
                   16049:     lt_cv_sys_dlopen_deplibs=yes
                   16050:     ;;
                   16051:   hpux10*|hpux11*)
                   16052:     lt_cv_sys_dlopen_deplibs=yes
                   16053:     ;;
                   16054:   interix*)
                   16055:     lt_cv_sys_dlopen_deplibs=yes
                   16056:     ;;
                   16057:   irix[12345]*|irix6.[01]*)
                   16058:     # Catch all versions of IRIX before 6.2, and indicate that we don't
                   16059:     # know how it worked for any of those versions.
                   16060:     lt_cv_sys_dlopen_deplibs=unknown
                   16061:     ;;
                   16062:   irix*)
                   16063:     # The case above catches anything before 6.2, and it's known that
                   16064:     # at 6.2 and later dlopen does load deplibs.
                   16065:     lt_cv_sys_dlopen_deplibs=yes
                   16066:     ;;
                   16067:   netbsd*)
                   16068:     lt_cv_sys_dlopen_deplibs=yes
                   16069:     ;;
                   16070:   openbsd*)
                   16071:     lt_cv_sys_dlopen_deplibs=yes
                   16072:     ;;
                   16073:   osf[1234]*)
                   16074:     # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
                   16075:     # it did *not* use an RPATH in a shared library to find objects the
                   16076:     # library depends on, so we explicitly say `no'.
                   16077:     lt_cv_sys_dlopen_deplibs=no
                   16078:     ;;
                   16079:   osf5.0|osf5.0a|osf5.1)
                   16080:     # dlopen *does* load deplibs and with the right loader patch applied
                   16081:     # it even uses RPATH in a shared library to search for shared objects
                   16082:     # that the library depends on, but there's no easy way to know if that
                   16083:     # patch is installed.  Since this is the case, all we can really
                   16084:     # say is unknown -- it depends on the patch being installed.  If
                   16085:     # it is, this changes to `yes'.  Without it, it would be `no'.
                   16086:     lt_cv_sys_dlopen_deplibs=unknown
                   16087:     ;;
                   16088:   osf*)
                   16089:     # the two cases above should catch all versions of osf <= 5.1.  Read
                   16090:     # the comments above for what we know about them.
                   16091:     # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
                   16092:     # is used to find them so we can finally say `yes'.
                   16093:     lt_cv_sys_dlopen_deplibs=yes
                   16094:     ;;
                   16095:   qnx*)
                   16096:     lt_cv_sys_dlopen_deplibs=yes
                   16097:     ;;
                   16098:   solaris*)
                   16099:     lt_cv_sys_dlopen_deplibs=yes
                   16100:     ;;
                   16101:   sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   16102:     libltdl_cv_sys_dlopen_deplibs=yes
                   16103:     ;;
                   16104:   esac
                   16105: 
                   16106: fi
1.22      moko     16107: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
                   16108: $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
1.8       moko     16109: if test "$lt_cv_sys_dlopen_deplibs" != yes; then
                   16110: 
1.22      moko     16111: $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
1.8       moko     16112: 
                   16113: fi
                   16114: 
                   16115: :
                   16116: 
                   16117: for ac_header in argz.h
1.22      moko     16118: do :
                   16119:   ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
                   16120: "
                   16121: if test "x$ac_cv_header_argz_h" = xyes; then :
1.8       moko     16122:   cat >>confdefs.h <<_ACEOF
1.22      moko     16123: #define HAVE_ARGZ_H 1
1.8       moko     16124: _ACEOF
                   16125: 
                   16126: fi
                   16127: 
                   16128: done
                   16129: 
                   16130: 
1.22      moko     16131: ac_fn_c_check_type "$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H)
                   16132: #  include <argz.h>
1.11      moko     16133: #endif
1.22      moko     16134: "
                   16135: if test "x$ac_cv_type_error_t" = xyes; then :
1.11      moko     16136: 
1.22      moko     16137: cat >>confdefs.h <<_ACEOF
                   16138: #define HAVE_ERROR_T 1
1.11      moko     16139: _ACEOF
1.22      moko     16140: 
                   16141: 
1.11      moko     16142: else
                   16143: 
1.22      moko     16144: $as_echo "#define error_t int" >>confdefs.h
                   16145: 
                   16146: 
                   16147: $as_echo "#define __error_t_defined 1" >>confdefs.h
                   16148: 
1.11      moko     16149: fi
1.22      moko     16150: 
                   16151: 
                   16152: ARGZ_H=
                   16153: for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
                   16154:        argz_next argz_stringify
                   16155: do :
                   16156:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   16157: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   16158: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.8       moko     16159:   cat >>confdefs.h <<_ACEOF
1.22      moko     16160: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.8       moko     16161: _ACEOF
                   16162: 
                   16163: else
                   16164:   ARGZ_H=argz.h;
                   16165: 
                   16166:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   16167: 
                   16168: fi
                   16169: done
                   16170: 
                   16171: 
1.22      moko     16172: if test -z "$ARGZ_H"; then :
                   16173:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
                   16174: $as_echo_n "checking if argz actually works... " >&6; }
                   16175: if ${lt_cv_sys_argz_works+:} false; then :
                   16176:   $as_echo_n "(cached) " >&6
1.8       moko     16177: else
                   16178:   case $host_os in #(
                   16179:         *cygwin*)
                   16180:           lt_cv_sys_argz_works=no
                   16181:           if test "$cross_compiling" != no; then
                   16182:             lt_cv_sys_argz_works="guessing no"
                   16183:           else
                   16184:             lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
                   16185:             save_IFS=$IFS
                   16186:             IFS=-.
                   16187:             set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
                   16188:             IFS=$save_IFS
                   16189:             lt_os_major=${2-0}
                   16190:             lt_os_minor=${3-0}
                   16191:             lt_os_micro=${4-0}
                   16192:             if test "$lt_os_major" -gt 1 \
                   16193:                || { test "$lt_os_major" -eq 1 \
                   16194:                  && { test "$lt_os_minor" -gt 5 \
                   16195:                    || { test "$lt_os_minor" -eq 5 \
                   16196:                      && test "$lt_os_micro" -gt 24; }; }; }; then
                   16197:               lt_cv_sys_argz_works=yes
                   16198:             fi
                   16199:           fi
                   16200:           ;; #(
                   16201:         *) lt_cv_sys_argz_works=yes ;;
                   16202:         esac
                   16203: fi
1.22      moko     16204: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
                   16205: $as_echo "$lt_cv_sys_argz_works" >&6; }
                   16206:      if test "$lt_cv_sys_argz_works" = yes; then :
1.8       moko     16207: 
1.22      moko     16208: $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
1.8       moko     16209: 
                   16210: else
                   16211:   ARGZ_H=argz.h
                   16212: 
                   16213: 
                   16214:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   16215: 
                   16216: fi
                   16217: fi
                   16218: 
                   16219: 
                   16220: 
1.22      moko     16221: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
                   16222: $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
                   16223: if ${libltdl_cv_preloaded_symbols+:} false; then :
                   16224:   $as_echo_n "(cached) " >&6
1.8       moko     16225: else
                   16226:   if test -n "$lt_cv_sys_global_symbol_pipe"; then
                   16227:     libltdl_cv_preloaded_symbols=yes
                   16228:   else
                   16229:     libltdl_cv_preloaded_symbols=no
                   16230:   fi
                   16231: 
                   16232: fi
1.22      moko     16233: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
                   16234: $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
1.8       moko     16235: if test x"$libltdl_cv_preloaded_symbols" = xyes; then
                   16236: 
1.22      moko     16237: $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
1.8       moko     16238: 
                   16239: fi
                   16240: 
1.22      moko     16241: 
                   16242: 
1.8       moko     16243: # Set options
                   16244: 
                   16245: 
                   16246: 
                   16247: 
                   16248: 
                   16249: 
                   16250: 
                   16251: 
                   16252: 
                   16253: 
                   16254: 
                   16255: 
1.22      moko     16256: # Check whether --with-included_ltdl was given.
                   16257: if test "${with_included_ltdl+set}" = set; then :
                   16258:   withval=$with_included_ltdl;
                   16259: fi
1.8       moko     16260: 
                   16261: 
                   16262: if test "x$with_included_ltdl" != xyes; then
                   16263:   # We are not being forced to use the included libltdl sources, so
                   16264:   # decide whether there is a useful installed version we can use.
1.22      moko     16265:   ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
1.8       moko     16266: 
1.22      moko     16267: "
                   16268: if test "x$ac_cv_header_ltdl_h" = xyes; then :
                   16269:   ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
1.8       moko     16270:            #include <ltdl.h>
1.22      moko     16271: "
                   16272: if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
                   16273:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
                   16274: $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
                   16275: if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
                   16276:   $as_echo_n "(cached) " >&6
1.8       moko     16277: else
                   16278:   ac_check_lib_save_LIBS=$LIBS
                   16279: LIBS="-lltdl  $LIBS"
1.22      moko     16280: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.8       moko     16281: /* end confdefs.h.  */
                   16282: 
1.22      moko     16283: /* Override any GCC internal prototype to avoid an error.
                   16284:    Use char because int might match the return type of a GCC
                   16285:    builtin and then its argument prototype would still apply.  */
1.8       moko     16286: #ifdef __cplusplus
                   16287: extern "C"
                   16288: #endif
                   16289: char lt_dladvise_preload ();
                   16290: int
                   16291: main ()
                   16292: {
1.22      moko     16293: return lt_dladvise_preload ();
1.8       moko     16294:   ;
                   16295:   return 0;
                   16296: }
                   16297: _ACEOF
1.22      moko     16298: if ac_fn_c_try_link "$LINENO"; then :
1.8       moko     16299:   ac_cv_lib_ltdl_lt_dladvise_preload=yes
                   16300: else
1.22      moko     16301:   ac_cv_lib_ltdl_lt_dladvise_preload=no
1.8       moko     16302: fi
1.22      moko     16303: rm -f core conftest.err conftest.$ac_objext \
                   16304:     conftest$ac_exeext conftest.$ac_ext
1.8       moko     16305: LIBS=$ac_check_lib_save_LIBS
                   16306: fi
1.22      moko     16307: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
                   16308: $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
                   16309: if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
1.8       moko     16310:   with_included_ltdl=no
                   16311: else
                   16312:   with_included_ltdl=yes
                   16313: fi
                   16314: 
                   16315: else
                   16316:   with_included_ltdl=yes
                   16317: fi
                   16318: 
                   16319: else
                   16320:   with_included_ltdl=yes
                   16321: fi
                   16322: 
                   16323: 
                   16324: fi
                   16325: 
                   16326: 
                   16327: 
                   16328: 
1.22      moko     16329: # Check whether --with-ltdl_include was given.
                   16330: if test "${with_ltdl_include+set}" = set; then :
                   16331:   withval=$with_ltdl_include;
                   16332: fi
1.8       moko     16333: 
                   16334: 
                   16335: if test -n "$with_ltdl_include"; then
                   16336:   if test -f "$with_ltdl_include/ltdl.h"; then :
                   16337:   else
1.22      moko     16338:     as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
1.8       moko     16339:   fi
                   16340: else
                   16341:   with_ltdl_include=no
                   16342: fi
                   16343: 
                   16344: 
1.22      moko     16345: # Check whether --with-ltdl_lib was given.
                   16346: if test "${with_ltdl_lib+set}" = set; then :
                   16347:   withval=$with_ltdl_lib;
                   16348: fi
1.8       moko     16349: 
                   16350: 
                   16351: if test -n "$with_ltdl_lib"; then
                   16352:   if test -f "$with_ltdl_lib/libltdl.la"; then :
                   16353:   else
1.22      moko     16354:     as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
1.8       moko     16355:   fi
                   16356: else
                   16357:   with_ltdl_lib=no
                   16358: fi
                   16359: 
                   16360: case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
                   16361:   ,yes,no,no,)
                   16362:        case $enable_ltdl_convenience in
1.22      moko     16363:   no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
1.8       moko     16364:   "") enable_ltdl_convenience=yes
                   16365:       ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
                   16366: esac
1.22      moko     16367: LIBLTDL='${top_build_prefix}'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
1.8       moko     16368: LTDLDEPS=$LIBLTDL
                   16369: LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
                   16370: 
                   16371: 
                   16372: 
                   16373: 
                   16374: 
                   16375: # For backwards non-gettext consistent compatibility...
                   16376: INCLTDL="$LTDLINCL"
                   16377: 
                   16378: 
                   16379:        ;;
                   16380:   ,no,no,no,)
                   16381:        # If the included ltdl is not to be used, then use the
                   16382:        # preinstalled libltdl we found.
                   16383: 
1.22      moko     16384: $as_echo "#define HAVE_LTDL 1" >>confdefs.h
1.8       moko     16385: 
                   16386:        LIBLTDL=-lltdl
                   16387:        LTDLDEPS=
                   16388:        LTDLINCL=
                   16389:        ;;
                   16390:   ,no*,no,*)
1.22      moko     16391:        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
1.8       moko     16392:        ;;
                   16393:   *)   with_included_ltdl=no
                   16394:        LIBLTDL="-L$with_ltdl_lib -lltdl"
                   16395:        LTDLDEPS=
                   16396:        LTDLINCL="-I$with_ltdl_include"
                   16397:        ;;
                   16398: esac
                   16399: INCLTDL="$LTDLINCL"
                   16400: 
                   16401: # Report our decision...
1.22      moko     16402: { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5
                   16403: $as_echo_n "checking where to find libltdl headers... " >&6; }
                   16404: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LTDLINCL" >&5
                   16405: $as_echo "$LTDLINCL" >&6; }
                   16406: { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl library" >&5
                   16407: $as_echo_n "checking where to find libltdl library... " >&6; }
                   16408: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBLTDL" >&5
                   16409: $as_echo "$LIBLTDL" >&6; }
1.8       moko     16410: 
                   16411: 
                   16412: 
1.22      moko     16413: # Check whether --enable-ltdl-install was given.
                   16414: if test "${enable_ltdl_install+set}" = set; then :
                   16415:   enableval=$enable_ltdl_install;
                   16416: fi
1.8       moko     16417: 
                   16418: 
                   16419: case ,${enable_ltdl_install},${enable_ltdl_convenience} in
                   16420:   *yes*) ;;
                   16421:   *) enable_ltdl_convenience=yes ;;
                   16422: esac
                   16423: 
1.22      moko     16424:  if test x"${enable_ltdl_install-no}" != xno; then
1.8       moko     16425:   INSTALL_LTDL_TRUE=
                   16426:   INSTALL_LTDL_FALSE='#'
                   16427: else
                   16428:   INSTALL_LTDL_TRUE='#'
                   16429:   INSTALL_LTDL_FALSE=
                   16430: fi
                   16431: 
1.22      moko     16432:   if test x"${enable_ltdl_convenience-no}" != xno; then
1.8       moko     16433:   CONVENIENCE_LTDL_TRUE=
                   16434:   CONVENIENCE_LTDL_FALSE='#'
                   16435: else
                   16436:   CONVENIENCE_LTDL_TRUE='#'
                   16437:   CONVENIENCE_LTDL_FALSE=
                   16438: fi
                   16439: 
                   16440: 
                   16441: 
1.22      moko     16442:     subdirs="$subdirs libltdl"
1.8       moko     16443: 
                   16444: 
                   16445: 
                   16446: 
                   16447: # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
                   16448: # the user used.  This is so that ltdl.h can pick up the parent projects
                   16449: # config.h file, The first file in AC_CONFIG_HEADERS must contain the
                   16450: # definitions required by ltdl.c.
                   16451: # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
                   16452: 
                   16453: 
                   16454: 
1.11      moko     16455: for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
1.22      moko     16456: do :
                   16457:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   16458: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   16459: "
                   16460: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1.11      moko     16461:   cat >>confdefs.h <<_ACEOF
1.22      moko     16462: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.11      moko     16463: _ACEOF
                   16464: 
                   16465: fi
                   16466: 
                   16467: done
                   16468: 
                   16469: 
                   16470: for ac_func in closedir opendir readdir
1.22      moko     16471: do :
                   16472:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   16473: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   16474: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.11      moko     16475:   cat >>confdefs.h <<_ACEOF
1.22      moko     16476: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.11      moko     16477: _ACEOF
1.8       moko     16478: 
1.10      moko     16479: else
1.8       moko     16480: 
                   16481: 
1.10      moko     16482:   _LT_LIBOBJS="$_LT_LIBOBJS lt__dirent.$ac_objext"
1.8       moko     16483: 
1.10      moko     16484: fi
1.8       moko     16485: done
                   16486: 
                   16487: for ac_func in strlcat strlcpy
1.22      moko     16488: do :
                   16489:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   16490: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   16491: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.8       moko     16492:   cat >>confdefs.h <<_ACEOF
1.22      moko     16493: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.8       moko     16494: _ACEOF
                   16495: 
                   16496: else
                   16497: 
                   16498: 
                   16499:   _LT_LIBOBJS="$_LT_LIBOBJS lt__strl.$ac_objext"
                   16500: 
                   16501: fi
                   16502: done
                   16503: 
                   16504: 
                   16505: 
                   16506: cat >>confdefs.h <<_ACEOF
                   16507: #define LT_LIBEXT "$libext"
                   16508: _ACEOF
                   16509: 
                   16510: 
                   16511: name=
                   16512: eval "lt_libprefix=\"$libname_spec\""
                   16513: 
                   16514: cat >>confdefs.h <<_ACEOF
                   16515: #define LT_LIBPREFIX "$lt_libprefix"
                   16516: _ACEOF
                   16517: 
                   16518: 
                   16519: name=ltdl
                   16520: eval "LTDLOPEN=\"$libname_spec\""
                   16521: 
                   16522: 
                   16523: 
                   16524: 
                   16525: 
                   16526: 
                   16527: 
                   16528: 
                   16529: # Only expand once:
                   16530: 
                   16531: 
                   16532: 
1.13      moko     16533: 
1.22      moko     16534: for ac_header in stdio.h \
                   16535: stdlib.h \
                   16536: string.h \
                   16537: setjmp.h \
                   16538: ctype.h
1.8       moko     16539: 
1.22      moko     16540: do :
                   16541:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   16542: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   16543: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1.8       moko     16544:   cat >>confdefs.h <<_ACEOF
1.22      moko     16545: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.8       moko     16546: _ACEOF
                   16547: 
                   16548: fi
                   16549: 
                   16550: done
                   16551: 
                   16552: 
1.22      moko     16553: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
                   16554: if test "x$ac_cv_type_size_t" = xyes; then :
1.8       moko     16555: 
                   16556: else
                   16557: 
                   16558: cat >>confdefs.h <<_ACEOF
1.22      moko     16559: #define size_t unsigned int
1.8       moko     16560: _ACEOF
                   16561: 
                   16562: fi
                   16563: 
                   16564: 
                   16565: 
1.22      moko     16566: ac_config_files="$ac_config_files Makefile"
                   16567: 
1.8       moko     16568: cat >confcache <<\_ACEOF
                   16569: # This file is a shell script that caches the results of configure
                   16570: # tests run on this system so they can be shared between configure
                   16571: # scripts and configure runs, see configure's option --config-cache.
                   16572: # It is not useful on other systems.  If it contains results you don't
                   16573: # want to keep, you may remove or edit it.
                   16574: #
                   16575: # config.status only pays attention to the cache file if you give it
                   16576: # the --recheck option to rerun configure.
                   16577: #
                   16578: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   16579: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   16580: # following values.
                   16581: 
                   16582: _ACEOF
                   16583: 
                   16584: # The following way of writing the cache mishandles newlines in values,
                   16585: # but we know of no workaround that is simple, portable, and efficient.
1.22      moko     16586: # So, we kill variables containing newlines.
1.8       moko     16587: # Ultrix sh set writes to stderr and can't be redirected directly,
                   16588: # and sets the high bit in the cache file unless we assign to the vars.
1.22      moko     16589: (
                   16590:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   16591:     eval ac_val=\$$ac_var
                   16592:     case $ac_val in #(
                   16593:     *${as_nl}*)
                   16594:       case $ac_var in #(
                   16595:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   16596: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   16597:       esac
                   16598:       case $ac_var in #(
                   16599:       _ | IFS | as_nl) ;; #(
                   16600:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   16601:       *) { eval $ac_var=; unset $ac_var;} ;;
                   16602:       esac ;;
                   16603:     esac
                   16604:   done
                   16605: 
1.8       moko     16606:   (set) 2>&1 |
1.22      moko     16607:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   16608:     *${as_nl}ac_space=\ *)
                   16609:       # `set' does not quote correctly, so add quotes: double-quote
                   16610:       # substitution turns \\\\ into \\, and sed turns \\ into \.
1.8       moko     16611:       sed -n \
                   16612:        "s/'/'\\\\''/g;
                   16613:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1.22      moko     16614:       ;; #(
1.8       moko     16615:     *)
                   16616:       # `set' quotes correctly as required by POSIX, so do not add quotes.
1.22      moko     16617:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.8       moko     16618:       ;;
1.22      moko     16619:     esac |
                   16620:     sort
                   16621: ) |
1.8       moko     16622:   sed '
1.22      moko     16623:      /^ac_cv_env_/b end
1.8       moko     16624:      t clear
1.22      moko     16625:      :clear
1.8       moko     16626:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   16627:      t end
1.22      moko     16628:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   16629:      :end' >>confcache
                   16630: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   16631:   if test -w "$cache_file"; then
                   16632:     if test "x$cache_file" != "x/dev/null"; then
                   16633:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
                   16634: $as_echo "$as_me: updating cache $cache_file" >&6;}
                   16635:       if test ! -f "$cache_file" || test -h "$cache_file"; then
                   16636:        cat confcache >"$cache_file"
                   16637:       else
                   16638:         case $cache_file in #(
                   16639:         */* | ?:*)
                   16640:          mv -f confcache "$cache_file"$$ &&
                   16641:          mv -f "$cache_file"$$ "$cache_file" ;; #(
                   16642:         *)
                   16643:          mv -f confcache "$cache_file" ;;
                   16644:        esac
                   16645:       fi
                   16646:     fi
1.8       moko     16647:   else
1.22      moko     16648:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
                   16649: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1.8       moko     16650:   fi
                   16651: fi
                   16652: rm -f confcache
                   16653: 
                   16654: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   16655: # Let make expand exec_prefix.
                   16656: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   16657: 
                   16658: DEFS=-DHAVE_CONFIG_H
                   16659: 
                   16660: ac_libobjs=
                   16661: ac_ltlibobjs=
1.22      moko     16662: U=
1.8       moko     16663: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   16664:   # 1. Remove the extension, and $U if already installed.
1.22      moko     16665:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
                   16666:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
                   16667:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   16668:   #    will be set to the directory where LIBOBJS objects are built.
                   16669:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   16670:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
1.8       moko     16671: done
                   16672: LIBOBJS=$ac_libobjs
                   16673: 
                   16674: LTLIBOBJS=$ac_ltlibobjs
                   16675: 
                   16676: 
1.22      moko     16677:  if test -n "$EXEEXT"; then
                   16678:   am__EXEEXT_TRUE=
                   16679:   am__EXEEXT_FALSE='#'
                   16680: else
                   16681:   am__EXEEXT_TRUE='#'
                   16682:   am__EXEEXT_FALSE=
                   16683: fi
                   16684: 
1.8       moko     16685: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
1.22      moko     16686:   as_fn_error $? "conditional \"AMDEP\" was never defined.
                   16687: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.8       moko     16688: fi
                   16689: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
1.22      moko     16690:   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
                   16691: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.8       moko     16692: fi
                   16693: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.22      moko     16694:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
                   16695: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.8       moko     16696: fi
                   16697: if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
1.22      moko     16698:   as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
                   16699: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.8       moko     16700: fi
                   16701: if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
1.22      moko     16702:   as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
                   16703: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.8       moko     16704: fi
1.22      moko     16705: LT_CONFIG_H=config_auto.h
1.8       moko     16706: 
                   16707:     _ltdl_libobjs=
                   16708:     _ltdl_ltlibobjs=
                   16709:     if test -n "$_LT_LIBOBJS"; then
                   16710:       # Remove the extension.
                   16711:       _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
                   16712:       for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
                   16713:         _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
                   16714:         _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
                   16715:       done
                   16716:     fi
                   16717:     ltdl_LIBOBJS=$_ltdl_libobjs
                   16718: 
                   16719:     ltdl_LTLIBOBJS=$_ltdl_ltlibobjs
                   16720: 
                   16721: 
                   16722: 
1.22      moko     16723: : "${CONFIG_STATUS=./config.status}"
                   16724: ac_write_fail=0
1.8       moko     16725: ac_clean_files_save=$ac_clean_files
                   16726: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.22      moko     16727: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
                   16728: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   16729: as_write_fail=0
                   16730: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1.8       moko     16731: #! $SHELL
                   16732: # Generated by $as_me.
                   16733: # Run this file to recreate the current configuration.
                   16734: # Compiler output produced by configure, useful for debugging
                   16735: # configure, is in config.log if it exists.
                   16736: 
                   16737: debug=false
                   16738: ac_cs_recheck=false
                   16739: ac_cs_silent=false
1.22      moko     16740: 
1.11      moko     16741: SHELL=\${CONFIG_SHELL-$SHELL}
1.22      moko     16742: export SHELL
                   16743: _ASEOF
                   16744: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
                   16745: ## -------------------- ##
                   16746: ## M4sh Initialization. ##
                   16747: ## -------------------- ##
1.10      moko     16748: 
1.22      moko     16749: # Be more Bourne compatible
                   16750: DUALCASE=1; export DUALCASE # for MKS sh
                   16751: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.8       moko     16752:   emulate sh
                   16753:   NULLCMD=:
1.22      moko     16754:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.8       moko     16755:   # is contrary to our usage.  Disable this feature.
                   16756:   alias -g '${1+"$@"}'='"$@"'
1.22      moko     16757:   setopt NO_GLOB_SUBST
                   16758: else
                   16759:   case `(set -o) 2>/dev/null` in #(
                   16760:   *posix*) :
                   16761:     set -o posix ;; #(
                   16762:   *) :
                   16763:      ;;
                   16764: esac
                   16765: fi
                   16766: 
                   16767: 
                   16768: as_nl='
                   16769: '
                   16770: export as_nl
                   16771: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                   16772: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   16773: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                   16774: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                   16775: # Prefer a ksh shell builtin over an external printf program on Solaris,
                   16776: # but without wasting forks for bash or zsh.
                   16777: if test -z "$BASH_VERSION$ZSH_VERSION" \
                   16778:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                   16779:   as_echo='print -r --'
                   16780:   as_echo_n='print -rn --'
                   16781: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                   16782:   as_echo='printf %s\n'
                   16783:   as_echo_n='printf %s'
                   16784: else
                   16785:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                   16786:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                   16787:     as_echo_n='/usr/ucb/echo -n'
                   16788:   else
                   16789:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                   16790:     as_echo_n_body='eval
                   16791:       arg=$1;
                   16792:       case $arg in #(
                   16793:       *"$as_nl"*)
                   16794:        expr "X$arg" : "X\\(.*\\)$as_nl";
                   16795:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                   16796:       esac;
                   16797:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                   16798:     '
                   16799:     export as_echo_n_body
                   16800:     as_echo_n='sh -c $as_echo_n_body as_echo'
                   16801:   fi
                   16802:   export as_echo_body
                   16803:   as_echo='sh -c $as_echo_body as_echo'
1.10      moko     16804: fi
                   16805: 
1.22      moko     16806: # The user is always right.
                   16807: if test "${PATH_SEPARATOR+set}" != set; then
                   16808:   PATH_SEPARATOR=:
                   16809:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   16810:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   16811:       PATH_SEPARATOR=';'
                   16812:   }
1.8       moko     16813: fi
                   16814: 
                   16815: 
1.22      moko     16816: # IFS
                   16817: # We need space, tab and new line, in precisely that order.  Quoting is
                   16818: # there to prevent editors from complaining about space-tab.
                   16819: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                   16820: # splitting by setting IFS to empty value.)
                   16821: IFS=" ""       $as_nl"
                   16822: 
                   16823: # Find who we are.  Look in the path if we contain no directory separator.
                   16824: as_myself=
                   16825: case $0 in #((
                   16826:   *[\\/]* ) as_myself=$0 ;;
                   16827:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   16828: for as_dir in $PATH
                   16829: do
                   16830:   IFS=$as_save_IFS
                   16831:   test -z "$as_dir" && as_dir=.
                   16832:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   16833:   done
                   16834: IFS=$as_save_IFS
                   16835: 
                   16836:      ;;
                   16837: esac
                   16838: # We did not find ourselves, most probably we were run as `sh COMMAND'
                   16839: # in which case we are not to be found in the path.
                   16840: if test "x$as_myself" = x; then
                   16841:   as_myself=$0
                   16842: fi
                   16843: if test ! -f "$as_myself"; then
                   16844:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                   16845:   exit 1
                   16846: fi
                   16847: 
                   16848: # Unset variables that we do not need and which cause bugs (e.g. in
                   16849: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                   16850: # suppresses any "Segmentation fault" message there.  '((' could
                   16851: # trigger a bug in pdksh 5.2.14.
                   16852: for as_var in BASH_ENV ENV MAIL MAILPATH
                   16853: do eval test x\${$as_var+set} = xset \
                   16854:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                   16855: done
1.8       moko     16856: PS1='$ '
                   16857: PS2='> '
                   16858: PS4='+ '
                   16859: 
                   16860: # NLS nuisances.
1.22      moko     16861: LC_ALL=C
                   16862: export LC_ALL
                   16863: LANGUAGE=C
                   16864: export LANGUAGE
                   16865: 
                   16866: # CDPATH.
                   16867: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   16868: 
                   16869: 
                   16870: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                   16871: # ----------------------------------------
                   16872: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                   16873: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                   16874: # script with STATUS, using 1 if that was 0.
                   16875: as_fn_error ()
                   16876: {
                   16877:   as_status=$1; test $as_status -eq 0 && as_status=1
                   16878:   if test "$4"; then
                   16879:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   16880:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                   16881:   fi
                   16882:   $as_echo "$as_me: error: $2" >&2
                   16883:   as_fn_exit $as_status
                   16884: } # as_fn_error
                   16885: 
                   16886: 
                   16887: # as_fn_set_status STATUS
                   16888: # -----------------------
                   16889: # Set $? to STATUS, without forking.
                   16890: as_fn_set_status ()
                   16891: {
                   16892:   return $1
                   16893: } # as_fn_set_status
                   16894: 
                   16895: # as_fn_exit STATUS
                   16896: # -----------------
                   16897: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                   16898: as_fn_exit ()
                   16899: {
                   16900:   set +e
                   16901:   as_fn_set_status $1
                   16902:   exit $1
                   16903: } # as_fn_exit
                   16904: 
                   16905: # as_fn_unset VAR
                   16906: # ---------------
                   16907: # Portably unset VAR.
                   16908: as_fn_unset ()
                   16909: {
                   16910:   { eval $1=; unset $1;}
                   16911: }
                   16912: as_unset=as_fn_unset
                   16913: # as_fn_append VAR VALUE
                   16914: # ----------------------
                   16915: # Append the text in VALUE to the end of the definition contained in VAR. Take
                   16916: # advantage of any shell optimizations that allow amortized linear growth over
                   16917: # repeated appends, instead of the typical quadratic growth present in naive
                   16918: # implementations.
                   16919: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                   16920:   eval 'as_fn_append ()
                   16921:   {
                   16922:     eval $1+=\$2
                   16923:   }'
                   16924: else
                   16925:   as_fn_append ()
                   16926:   {
                   16927:     eval $1=\$$1\$2
                   16928:   }
                   16929: fi # as_fn_append
                   16930: 
                   16931: # as_fn_arith ARG...
                   16932: # ------------------
                   16933: # Perform arithmetic evaluation on the ARGs, and store the result in the
                   16934: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                   16935: # must be portable across $(()) and expr.
                   16936: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                   16937:   eval 'as_fn_arith ()
                   16938:   {
                   16939:     as_val=$(( $* ))
                   16940:   }'
                   16941: else
                   16942:   as_fn_arith ()
                   16943:   {
                   16944:     as_val=`expr "$@" || test $? -eq 1`
                   16945:   }
                   16946: fi # as_fn_arith
                   16947: 
1.8       moko     16948: 
1.22      moko     16949: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   16950:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.8       moko     16951:   as_expr=expr
                   16952: else
                   16953:   as_expr=false
                   16954: fi
                   16955: 
1.22      moko     16956: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1.8       moko     16957:   as_basename=basename
                   16958: else
                   16959:   as_basename=false
                   16960: fi
                   16961: 
1.22      moko     16962: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   16963:   as_dirname=dirname
                   16964: else
                   16965:   as_dirname=false
                   16966: fi
1.8       moko     16967: 
1.22      moko     16968: as_me=`$as_basename -- "$0" ||
1.8       moko     16969: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   16970:         X"$0" : 'X\(//\)$' \| \
1.22      moko     16971:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                   16972: $as_echo X/"$0" |
                   16973:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   16974:            s//\1/
                   16975:            q
                   16976:          }
                   16977:          /^X\/\(\/\/\)$/{
                   16978:            s//\1/
                   16979:            q
                   16980:          }
                   16981:          /^X\/\(\/\).*/{
                   16982:            s//\1/
                   16983:            q
                   16984:          }
                   16985:          s/.*/./; q'`
1.11      moko     16986: 
1.8       moko     16987: # Avoid depending upon Character Ranges.
                   16988: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   16989: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   16990: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   16991: as_cr_digits='0123456789'
                   16992: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   16993: 
1.22      moko     16994: ECHO_C= ECHO_N= ECHO_T=
                   16995: case `echo -n x` in #(((((
                   16996: -n*)
                   16997:   case `echo 'xy\c'` in
                   16998:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                   16999:   xy)  ECHO_C='\c';;
                   17000:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                   17001:        ECHO_T='        ';;
                   17002:   esac;;
                   17003: *)
                   17004:   ECHO_N='-n';;
1.8       moko     17005: esac
                   17006: 
1.22      moko     17007: rm -f conf$$ conf$$.exe conf$$.file
                   17008: if test -d conf$$.dir; then
                   17009:   rm -f conf$$.dir/conf$$.file
1.8       moko     17010: else
1.22      moko     17011:   rm -f conf$$.dir
                   17012:   mkdir conf$$.dir 2>/dev/null
1.8       moko     17013: fi
1.22      moko     17014: if (echo >conf$$.file) 2>/dev/null; then
                   17015:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   17016:     as_ln_s='ln -s'
                   17017:     # ... but there are two gotchas:
                   17018:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                   17019:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1.25      moko     17020:     # In both cases, we have to default to `cp -pR'.
1.22      moko     17021:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.25      moko     17022:       as_ln_s='cp -pR'
1.22      moko     17023:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   17024:     as_ln_s=ln
                   17025:   else
1.25      moko     17026:     as_ln_s='cp -pR'
1.8       moko     17027:   fi
                   17028: else
1.25      moko     17029:   as_ln_s='cp -pR'
1.8       moko     17030: fi
1.22      moko     17031: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   17032: rmdir conf$$.dir 2>/dev/null
                   17033: 
                   17034: 
                   17035: # as_fn_mkdir_p
                   17036: # -------------
                   17037: # Create "$as_dir" as a directory, including parents if necessary.
                   17038: as_fn_mkdir_p ()
                   17039: {
                   17040: 
                   17041:   case $as_dir in #(
                   17042:   -*) as_dir=./$as_dir;;
                   17043:   esac
                   17044:   test -d "$as_dir" || eval $as_mkdir_p || {
                   17045:     as_dirs=
                   17046:     while :; do
                   17047:       case $as_dir in #(
                   17048:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                   17049:       *) as_qdir=$as_dir;;
                   17050:       esac
                   17051:       as_dirs="'$as_qdir' $as_dirs"
                   17052:       as_dir=`$as_dirname -- "$as_dir" ||
                   17053: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   17054:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   17055:         X"$as_dir" : 'X\(//\)$' \| \
                   17056:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                   17057: $as_echo X"$as_dir" |
                   17058:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   17059:            s//\1/
                   17060:            q
                   17061:          }
                   17062:          /^X\(\/\/\)[^/].*/{
                   17063:            s//\1/
                   17064:            q
                   17065:          }
                   17066:          /^X\(\/\/\)$/{
                   17067:            s//\1/
                   17068:            q
                   17069:          }
                   17070:          /^X\(\/\).*/{
                   17071:            s//\1/
                   17072:            q
                   17073:          }
                   17074:          s/.*/./; q'`
                   17075:       test -d "$as_dir" && break
                   17076:     done
                   17077:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                   17078:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                   17079: 
1.8       moko     17080: 
1.22      moko     17081: } # as_fn_mkdir_p
1.8       moko     17082: if mkdir -p . 2>/dev/null; then
1.22      moko     17083:   as_mkdir_p='mkdir -p "$as_dir"'
1.8       moko     17084: else
                   17085:   test -d ./-p && rmdir ./-p
                   17086:   as_mkdir_p=false
                   17087: fi
                   17088: 
1.25      moko     17089: 
                   17090: # as_fn_executable_p FILE
                   17091: # -----------------------
                   17092: # Test if FILE is an executable regular file.
                   17093: as_fn_executable_p ()
                   17094: {
                   17095:   test -f "$1" && test -x "$1"
                   17096: } # as_fn_executable_p
                   17097: as_test_x='test -x'
                   17098: as_executable_p=as_fn_executable_p
1.8       moko     17099: 
                   17100: # Sed expression to map a string onto a valid CPP name.
                   17101: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                   17102: 
                   17103: # Sed expression to map a string onto a valid variable name.
                   17104: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                   17105: 
                   17106: 
                   17107: exec 6>&1
1.22      moko     17108: ## ----------------------------------- ##
                   17109: ## Main body of $CONFIG_STATUS script. ##
                   17110: ## ----------------------------------- ##
                   17111: _ASEOF
                   17112: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
1.8       moko     17113: 
1.22      moko     17114: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   17115: # Save the log message, to keep $0 and so on meaningful, and to
1.8       moko     17116: # report actual input values of CONFIG_FILES etc. instead of their
1.22      moko     17117: # values after options handling.
                   17118: ac_log="
1.25      moko     17119: This file was extended by parser3sqlite $as_me 10.3, which was
                   17120: generated by GNU Autoconf 2.69.  Invocation command line was
1.8       moko     17121: 
                   17122:   CONFIG_FILES    = $CONFIG_FILES
                   17123:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   17124:   CONFIG_LINKS    = $CONFIG_LINKS
                   17125:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   17126:   $ $0 $@
                   17127: 
1.22      moko     17128: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   17129: "
                   17130: 
1.8       moko     17131: _ACEOF
                   17132: 
1.22      moko     17133: case $ac_config_files in *"
                   17134: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   17135: esac
1.8       moko     17136: 
1.22      moko     17137: case $ac_config_headers in *"
                   17138: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
                   17139: esac
1.8       moko     17140: 
                   17141: 
1.22      moko     17142: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   17143: # Files that config.status was made for.
                   17144: config_files="$ac_config_files"
                   17145: config_headers="$ac_config_headers"
                   17146: config_commands="$ac_config_commands"
1.8       moko     17147: 
1.22      moko     17148: _ACEOF
1.8       moko     17149: 
1.22      moko     17150: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.8       moko     17151: ac_cs_usage="\
1.22      moko     17152: \`$as_me' instantiates files and other configuration actions
                   17153: from templates according to the current configuration.  Unless the files
                   17154: and actions are specified as TAGs, all are instantiated by default.
1.8       moko     17155: 
1.22      moko     17156: Usage: $0 [OPTION]... [TAG]...
1.8       moko     17157: 
                   17158:   -h, --help       print this help, then exit
1.22      moko     17159:   -V, --version    print version number and configuration settings, then exit
                   17160:       --config     print configuration, then exit
                   17161:   -q, --quiet, --silent
                   17162:                    do not print progress messages
1.8       moko     17163:   -d, --debug      don't remove temporary files
                   17164:       --recheck    update $as_me by reconfiguring in the same conditions
1.22      moko     17165:       --file=FILE[:TEMPLATE]
                   17166:                    instantiate the configuration file FILE
                   17167:       --header=FILE[:TEMPLATE]
                   17168:                    instantiate the configuration header FILE
1.8       moko     17169: 
                   17170: Configuration files:
                   17171: $config_files
                   17172: 
                   17173: Configuration headers:
                   17174: $config_headers
                   17175: 
                   17176: Configuration commands:
                   17177: $config_commands
                   17178: 
1.22      moko     17179: Report bugs to the package provider."
                   17180: 
1.11      moko     17181: _ACEOF
1.22      moko     17182: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   17183: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1.8       moko     17184: ac_cs_version="\\
1.25      moko     17185: parser3sqlite config.status 10.3
                   17186: configured by $0, generated by GNU Autoconf 2.69,
1.22      moko     17187:   with options \\"\$ac_cs_config\\"
1.8       moko     17188: 
1.25      moko     17189: Copyright (C) 2012 Free Software Foundation, Inc.
1.8       moko     17190: This config.status script is free software; the Free Software Foundation
                   17191: gives unlimited permission to copy, distribute and modify it."
1.22      moko     17192: 
                   17193: ac_pwd='$ac_pwd'
                   17194: srcdir='$srcdir'
                   17195: INSTALL='$INSTALL'
                   17196: MKDIR_P='$MKDIR_P'
                   17197: AWK='$AWK'
                   17198: test -n "\$AWK" || AWK=awk
1.8       moko     17199: _ACEOF
                   17200: 
1.22      moko     17201: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   17202: # The default lists apply if the user does not specify any file.
1.8       moko     17203: ac_need_defaults=:
                   17204: while test $# != 0
                   17205: do
                   17206:   case $1 in
1.22      moko     17207:   --*=?*)
                   17208:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   17209:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
                   17210:     ac_shift=:
                   17211:     ;;
                   17212:   --*=)
                   17213:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   17214:     ac_optarg=
1.8       moko     17215:     ac_shift=:
                   17216:     ;;
1.22      moko     17217:   *)
1.8       moko     17218:     ac_option=$1
                   17219:     ac_optarg=$2
                   17220:     ac_shift=shift
                   17221:     ;;
                   17222:   esac
                   17223: 
                   17224:   case $ac_option in
                   17225:   # Handling of the options.
                   17226:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   17227:     ac_cs_recheck=: ;;
1.22      moko     17228:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
                   17229:     $as_echo "$ac_cs_version"; exit ;;
                   17230:   --config | --confi | --conf | --con | --co | --c )
                   17231:     $as_echo "$ac_cs_config"; exit ;;
                   17232:   --debug | --debu | --deb | --de | --d | -d )
1.8       moko     17233:     debug=: ;;
                   17234:   --file | --fil | --fi | --f )
                   17235:     $ac_shift
1.22      moko     17236:     case $ac_optarg in
                   17237:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   17238:     '') as_fn_error $? "missing file argument" ;;
                   17239:     esac
                   17240:     as_fn_append CONFIG_FILES " '$ac_optarg'"
1.8       moko     17241:     ac_need_defaults=false;;
                   17242:   --header | --heade | --head | --hea )
                   17243:     $ac_shift
1.22      moko     17244:     case $ac_optarg in
                   17245:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   17246:     esac
                   17247:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
1.8       moko     17248:     ac_need_defaults=false;;
1.22      moko     17249:   --he | --h)
                   17250:     # Conflict between --help and --header
                   17251:     as_fn_error $? "ambiguous option: \`$1'
                   17252: Try \`$0 --help' for more information.";;
                   17253:   --help | --hel | -h )
                   17254:     $as_echo "$ac_cs_usage"; exit ;;
1.8       moko     17255:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   17256:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   17257:     ac_cs_silent=: ;;
                   17258: 
                   17259:   # This is an error.
1.22      moko     17260:   -*) as_fn_error $? "unrecognized option: \`$1'
                   17261: Try \`$0 --help' for more information." ;;
1.8       moko     17262: 
1.22      moko     17263:   *) as_fn_append ac_config_targets " $1"
                   17264:      ac_need_defaults=false ;;
1.8       moko     17265: 
                   17266:   esac
                   17267:   shift
                   17268: done
                   17269: 
                   17270: ac_configure_extra_args=
                   17271: 
                   17272: if $ac_cs_silent; then
                   17273:   exec 6>/dev/null
                   17274:   ac_configure_extra_args="$ac_configure_extra_args --silent"
1.10      moko     17275: fi
                   17276: 
                   17277: _ACEOF
1.22      moko     17278: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.10      moko     17279: if \$ac_cs_recheck; then
1.25      moko     17280:   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1.22      moko     17281:   shift
                   17282:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
                   17283:   CONFIG_SHELL='$SHELL'
                   17284:   export CONFIG_SHELL
                   17285:   exec "\$@"
1.10      moko     17286: fi
                   17287: 
                   17288: _ACEOF
1.22      moko     17289: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   17290: exec 5>>config.log
                   17291: {
                   17292:   echo
                   17293:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   17294: ## Running $as_me. ##
                   17295: _ASBOX
                   17296:   $as_echo "$ac_log"
                   17297: } >&5
                   17298: 
                   17299: _ACEOF
                   17300: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.8       moko     17301: #
1.22      moko     17302: # INIT-COMMANDS
1.8       moko     17303: #
                   17304: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
                   17305: 
                   17306: 
                   17307: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   17308: # if CDPATH is set.
                   17309: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   17310: 
                   17311: sed_quote_subst='$sed_quote_subst'
                   17312: double_quote_subst='$double_quote_subst'
                   17313: delay_variable_subst='$delay_variable_subst'
                   17314: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
                   17315: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
1.20      moko     17316: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
1.13      moko     17317: AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
                   17318: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
                   17319: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
1.8       moko     17320: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
                   17321: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
                   17322: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
                   17323: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
                   17324: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
                   17325: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
                   17326: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
                   17327: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
                   17328: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
                   17329: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
                   17330: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
                   17331: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
                   17332: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
                   17333: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
                   17334: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
                   17335: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
                   17336: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
                   17337: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
                   17338: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
                   17339: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
                   17340: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
                   17341: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
                   17342: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
                   17343: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
                   17344: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
                   17345: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
                   17346: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
                   17347: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
                   17348: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
                   17349: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
                   17350: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
                   17351: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
                   17352: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
                   17353: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
                   17354: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
                   17355: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
                   17356: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
                   17357: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
                   17358: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
                   17359: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
                   17360: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   17361: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   17362: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
                   17363: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
                   17364: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
                   17365: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
                   17366: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
                   17367: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
                   17368: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
                   17369: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
                   17370: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
                   17371: 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"`'
                   17372: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
                   17373: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
                   17374: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
                   17375: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
                   17376: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
                   17377: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
                   17378: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
                   17379: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
                   17380: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
                   17381: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
                   17382: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
                   17383: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
                   17384: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
                   17385: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
                   17386: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
                   17387: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
                   17388: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
                   17389: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
                   17390: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   17391: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
                   17392: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
                   17393: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
                   17394: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
                   17395: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
                   17396: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
                   17397: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   17398: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
                   17399: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   17400: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
                   17401: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   17402: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
                   17403: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   17404: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   17405: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
                   17406: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
                   17407: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
                   17408: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
                   17409: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
                   17410: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   17411: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
                   17412: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
                   17413: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
                   17414: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
                   17415: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
                   17416: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
                   17417: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
                   17418: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
                   17419: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
                   17420: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
                   17421: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
                   17422: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
                   17423: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
                   17424: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
                   17425: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
                   17426: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   17427: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
                   17428: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
                   17429: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
                   17430: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
                   17431: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
                   17432: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   17433: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   17434: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
                   17435: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
                   17436: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
                   17437: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
                   17438: sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
                   17439: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
                   17440: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
                   17441: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
                   17442: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
                   17443: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
                   17444: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
                   17445: compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
                   17446: predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
                   17447: postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
                   17448: predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
                   17449: postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
                   17450: compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
                   17451: LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
                   17452: reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   17453: reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   17454: old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   17455: compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
                   17456: GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
                   17457: lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   17458: lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
                   17459: lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
                   17460: lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
                   17461: lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
                   17462: archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
                   17463: enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
                   17464: export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   17465: whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   17466: compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
                   17467: old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   17468: old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   17469: archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   17470: archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   17471: module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   17472: module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   17473: with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
                   17474: allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   17475: no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   17476: hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   17477: hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
                   17478: hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
                   17479: hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
                   17480: hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
                   17481: hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
                   17482: hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
                   17483: inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
                   17484: link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
                   17485: always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
                   17486: export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   17487: exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   17488: include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   17489: prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   17490: postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   17491: file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   17492: hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
                   17493: compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
                   17494: predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   17495: postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   17496: predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
                   17497: postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
                   17498: compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
                   17499: 
                   17500: LTCC='$LTCC'
                   17501: LTCFLAGS='$LTCFLAGS'
                   17502: compiler='$compiler_DEFAULT'
                   17503: 
                   17504: # A function that is used when there is no print builtin or printf.
                   17505: func_fallback_echo ()
                   17506: {
                   17507:   eval 'cat <<_LTECHO_EOF
                   17508: \$1
                   17509: _LTECHO_EOF'
                   17510: }
                   17511: 
                   17512: # Quote evaled strings.
1.13      moko     17513: for var in AS \
                   17514: DLLTOOL \
                   17515: OBJDUMP \
                   17516: SHELL \
1.8       moko     17517: ECHO \
                   17518: PATH_SEPARATOR \
                   17519: SED \
                   17520: GREP \
                   17521: EGREP \
                   17522: FGREP \
                   17523: LD \
                   17524: NM \
                   17525: LN_S \
                   17526: lt_SP2NL \
                   17527: lt_NL2SP \
                   17528: reload_flag \
                   17529: deplibs_check_method \
                   17530: file_magic_cmd \
                   17531: file_magic_glob \
                   17532: want_nocaseglob \
                   17533: sharedlib_from_linklib_cmd \
                   17534: AR \
                   17535: AR_FLAGS \
                   17536: archiver_list_spec \
                   17537: STRIP \
                   17538: RANLIB \
                   17539: CC \
                   17540: CFLAGS \
                   17541: compiler \
                   17542: lt_cv_sys_global_symbol_pipe \
                   17543: lt_cv_sys_global_symbol_to_cdecl \
                   17544: lt_cv_sys_global_symbol_to_c_name_address \
                   17545: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
                   17546: nm_file_list_spec \
                   17547: lt_prog_compiler_no_builtin_flag \
                   17548: lt_prog_compiler_pic \
                   17549: lt_prog_compiler_wl \
                   17550: lt_prog_compiler_static \
                   17551: lt_cv_prog_compiler_c_o \
                   17552: need_locks \
                   17553: MANIFEST_TOOL \
                   17554: DSYMUTIL \
                   17555: NMEDIT \
                   17556: LIPO \
                   17557: OTOOL \
                   17558: OTOOL64 \
                   17559: shrext_cmds \
                   17560: export_dynamic_flag_spec \
                   17561: whole_archive_flag_spec \
                   17562: compiler_needs_object \
                   17563: with_gnu_ld \
                   17564: allow_undefined_flag \
                   17565: no_undefined_flag \
                   17566: hardcode_libdir_flag_spec \
                   17567: hardcode_libdir_separator \
                   17568: exclude_expsyms \
                   17569: include_expsyms \
                   17570: file_list_spec \
                   17571: variables_saved_for_relink \
                   17572: libname_spec \
                   17573: library_names_spec \
                   17574: soname_spec \
                   17575: install_override_mode \
                   17576: finish_eval \
                   17577: old_striplib \
                   17578: striplib \
                   17579: compiler_lib_search_dirs \
                   17580: predep_objects \
                   17581: postdep_objects \
                   17582: predeps \
                   17583: postdeps \
                   17584: compiler_lib_search_path \
                   17585: LD_CXX \
                   17586: reload_flag_CXX \
                   17587: compiler_CXX \
                   17588: lt_prog_compiler_no_builtin_flag_CXX \
                   17589: lt_prog_compiler_pic_CXX \
                   17590: lt_prog_compiler_wl_CXX \
                   17591: lt_prog_compiler_static_CXX \
                   17592: lt_cv_prog_compiler_c_o_CXX \
                   17593: export_dynamic_flag_spec_CXX \
                   17594: whole_archive_flag_spec_CXX \
                   17595: compiler_needs_object_CXX \
                   17596: with_gnu_ld_CXX \
                   17597: allow_undefined_flag_CXX \
                   17598: no_undefined_flag_CXX \
                   17599: hardcode_libdir_flag_spec_CXX \
                   17600: hardcode_libdir_separator_CXX \
                   17601: exclude_expsyms_CXX \
                   17602: include_expsyms_CXX \
                   17603: file_list_spec_CXX \
                   17604: compiler_lib_search_dirs_CXX \
                   17605: predep_objects_CXX \
                   17606: postdep_objects_CXX \
                   17607: predeps_CXX \
                   17608: postdeps_CXX \
                   17609: compiler_lib_search_path_CXX; do
                   17610:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   17611:     *[\\\\\\\`\\"\\\$]*)
                   17612:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
                   17613:       ;;
                   17614:     *)
                   17615:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   17616:       ;;
                   17617:     esac
                   17618: done
                   17619: 
                   17620: # Double-quote double-evaled strings.
                   17621: for var in reload_cmds \
                   17622: old_postinstall_cmds \
                   17623: old_postuninstall_cmds \
                   17624: old_archive_cmds \
                   17625: extract_expsyms_cmds \
                   17626: old_archive_from_new_cmds \
                   17627: old_archive_from_expsyms_cmds \
                   17628: archive_cmds \
                   17629: archive_expsym_cmds \
                   17630: module_cmds \
                   17631: module_expsym_cmds \
                   17632: export_symbols_cmds \
                   17633: prelink_cmds \
                   17634: postlink_cmds \
                   17635: postinstall_cmds \
                   17636: postuninstall_cmds \
                   17637: finish_cmds \
                   17638: sys_lib_search_path_spec \
                   17639: sys_lib_dlsearch_path_spec \
                   17640: reload_cmds_CXX \
                   17641: old_archive_cmds_CXX \
                   17642: old_archive_from_new_cmds_CXX \
                   17643: old_archive_from_expsyms_cmds_CXX \
                   17644: archive_cmds_CXX \
                   17645: archive_expsym_cmds_CXX \
                   17646: module_cmds_CXX \
                   17647: module_expsym_cmds_CXX \
                   17648: export_symbols_cmds_CXX \
                   17649: prelink_cmds_CXX \
                   17650: postlink_cmds_CXX; do
                   17651:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   17652:     *[\\\\\\\`\\"\\\$]*)
                   17653:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
                   17654:       ;;
                   17655:     *)
                   17656:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   17657:       ;;
                   17658:     esac
                   17659: done
                   17660: 
                   17661: ac_aux_dir='$ac_aux_dir'
                   17662: xsi_shell='$xsi_shell'
                   17663: lt_shell_append='$lt_shell_append'
                   17664: 
                   17665: # See if we are running on zsh, and set the options which allow our
                   17666: # commands through without removal of \ escapes INIT.
                   17667: if test -n "\${ZSH_VERSION+set}" ; then
                   17668:    setopt NO_GLOB_SUBST
                   17669: fi
                   17670: 
                   17671: 
                   17672:     PACKAGE='$PACKAGE'
                   17673:     VERSION='$VERSION'
                   17674:     TIMESTAMP='$TIMESTAMP'
                   17675:     RM='$RM'
                   17676:     ofile='$ofile'
                   17677: 
                   17678: 
                   17679: 
                   17680: 
                   17681: 
                   17682: 
                   17683: _ACEOF
                   17684: 
1.22      moko     17685: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.8       moko     17686: 
1.22      moko     17687: # Handling of arguments.
1.8       moko     17688: for ac_config_target in $ac_config_targets
                   17689: do
1.22      moko     17690:   case $ac_config_target in
                   17691:     "config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS config_auto.h" ;;
                   17692:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   17693:     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
                   17694:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   17695: 
                   17696:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
1.8       moko     17697:   esac
                   17698: done
                   17699: 
1.22      moko     17700: 
1.8       moko     17701: # If the user did not use the arguments to specify the items to instantiate,
                   17702: # then the envvar interface is used.  Set only those that are not.
                   17703: # We use the long form for the default assignment because of an extremely
                   17704: # bizarre bug on SunOS 4.1.3.
                   17705: if $ac_need_defaults; then
                   17706:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   17707:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   17708:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   17709: fi
                   17710: 
                   17711: # Have a temporary directory for convenience.  Make it in the build tree
1.22      moko     17712: # simply because there is no reason against having it here, and in addition,
1.8       moko     17713: # creating and moving files from /tmp can sometimes cause problems.
1.22      moko     17714: # Hook for its removal unless debugging.
                   17715: # Note that there is a small window in which the directory will not be cleaned:
                   17716: # after its creation but before its name has been assigned to `$tmp'.
1.8       moko     17717: $debug ||
                   17718: {
1.22      moko     17719:   tmp= ac_tmp=
                   17720:   trap 'exit_status=$?
                   17721:   : "${ac_tmp:=$tmp}"
                   17722:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
                   17723: ' 0
                   17724:   trap 'as_fn_exit 1' 1 2 13 15
1.8       moko     17725: }
                   17726: # Create a (secure) tmp directory for tmp files.
                   17727: 
                   17728: {
1.22      moko     17729:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
                   17730:   test -d "$tmp"
1.8       moko     17731: }  ||
                   17732: {
1.22      moko     17733:   tmp=./conf$$-$RANDOM
                   17734:   (umask 077 && mkdir "$tmp")
                   17735: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
                   17736: ac_tmp=$tmp
                   17737: 
                   17738: # Set up the scripts for CONFIG_FILES section.
                   17739: # No need to generate them if there are no CONFIG_FILES.
                   17740: # This happens for instance with `./config.status config.h'.
                   17741: if test -n "$CONFIG_FILES"; then
                   17742: 
                   17743: 
                   17744: ac_cr=`echo X | tr X '\015'`
                   17745: # On cygwin, bash can eat \r inside `` if the user requested igncr.
                   17746: # But we know of no other shell where ac_cr would be empty at this
                   17747: # point, so we can use a bashism as a fallback.
                   17748: if test "x$ac_cr" = x; then
                   17749:   eval ac_cr=\$\'\\r\'
                   17750: fi
                   17751: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   17752: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
                   17753:   ac_cs_awk_cr='\\r'
                   17754: else
                   17755:   ac_cs_awk_cr=$ac_cr
                   17756: fi
                   17757: 
                   17758: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
                   17759: _ACEOF
                   17760: 
                   17761: 
                   17762: {
                   17763:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   17764:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   17765:   echo "_ACEOF"
                   17766: } >conf$$subs.sh ||
                   17767:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   17768: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
                   17769: ac_delim='%!_!# '
                   17770: for ac_last_try in false false false false false :; do
                   17771:   . ./conf$$subs.sh ||
                   17772:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   17773: 
                   17774:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   17775:   if test $ac_delim_n = $ac_delim_num; then
                   17776:     break
                   17777:   elif $ac_last_try; then
                   17778:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   17779:   else
                   17780:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   17781:   fi
                   17782: done
                   17783: rm -f conf$$subs.sh
                   17784: 
                   17785: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   17786: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
                   17787: _ACEOF
                   17788: sed -n '
                   17789: h
                   17790: s/^/S["/; s/!.*/"]=/
                   17791: p
                   17792: g
                   17793: s/^[^!]*!//
                   17794: :repl
                   17795: t repl
                   17796: s/'"$ac_delim"'$//
                   17797: t delim
                   17798: :nl
                   17799: h
                   17800: s/\(.\{148\}\)..*/\1/
                   17801: t more1
                   17802: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   17803: p
                   17804: n
                   17805: b repl
                   17806: :more1
                   17807: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   17808: p
                   17809: g
                   17810: s/.\{148\}//
                   17811: t nl
                   17812: :delim
                   17813: h
                   17814: s/\(.\{148\}\)..*/\1/
                   17815: t more2
                   17816: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   17817: p
                   17818: b
                   17819: :more2
                   17820: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   17821: p
                   17822: g
                   17823: s/.\{148\}//
                   17824: t delim
                   17825: ' <conf$$subs.awk | sed '
                   17826: /^[^""]/{
                   17827:   N
                   17828:   s/\n//
                   17829: }
                   17830: ' >>$CONFIG_STATUS || ac_write_fail=1
                   17831: rm -f conf$$subs.awk
                   17832: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   17833: _ACAWK
                   17834: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
                   17835:   for (key in S) S_is_set[key] = 1
                   17836:   FS = ""
                   17837: 
                   17838: }
1.8       moko     17839: {
1.22      moko     17840:   line = $ 0
                   17841:   nfields = split(line, field, "@")
                   17842:   substed = 0
                   17843:   len = length(field[1])
                   17844:   for (i = 2; i < nfields; i++) {
                   17845:     key = field[i]
                   17846:     keylen = length(key)
                   17847:     if (S_is_set[key]) {
                   17848:       value = S[key]
                   17849:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   17850:       len += length(value) + length(field[++i])
                   17851:       substed = 1
                   17852:     } else
                   17853:       len += 1 + keylen
                   17854:   }
                   17855: 
                   17856:   print line
1.8       moko     17857: }
                   17858: 
1.22      moko     17859: _ACAWK
                   17860: _ACEOF
                   17861: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   17862: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   17863:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
                   17864: else
                   17865:   cat
                   17866: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
                   17867:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
1.8       moko     17868: _ACEOF
                   17869: 
1.22      moko     17870: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
                   17871: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
                   17872: # trailing colons and then remove the whole line if VPATH becomes empty
                   17873: # (actually we leave an empty line to preserve line numbers).
                   17874: if test "x$srcdir" = x.; then
                   17875:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
                   17876: h
                   17877: s///
                   17878: s/^/:/
                   17879: s/[     ]*$/:/
                   17880: s/:\$(srcdir):/:/g
                   17881: s/:\${srcdir}:/:/g
                   17882: s/:@srcdir@:/:/g
                   17883: s/^:*//
                   17884: s/:*$//
                   17885: x
                   17886: s/\(=[  ]*\).*/\1/
                   17887: G
                   17888: s/\n//
                   17889: s/^[^=]*=[      ]*$//
                   17890: }'
                   17891: fi
1.8       moko     17892: 
1.22      moko     17893: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   17894: fi # test -n "$CONFIG_FILES"
1.8       moko     17895: 
1.22      moko     17896: # Set up the scripts for CONFIG_HEADERS section.
                   17897: # No need to generate them if there are no CONFIG_HEADERS.
                   17898: # This happens for instance with `./config.status Makefile'.
                   17899: if test -n "$CONFIG_HEADERS"; then
                   17900: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
                   17901: BEGIN {
                   17902: _ACEOF
                   17903: 
                   17904: # Transform confdefs.h into an awk script `defines.awk', embedded as
                   17905: # here-document in config.status, that substitutes the proper values into
                   17906: # config.h.in to produce config.h.
                   17907: 
                   17908: # Create a delimiter string that does not exist in confdefs.h, to ease
                   17909: # handling of long lines.
                   17910: ac_delim='%!_!# '
                   17911: for ac_last_try in false false :; do
                   17912:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
                   17913:   if test -z "$ac_tt"; then
                   17914:     break
                   17915:   elif $ac_last_try; then
                   17916:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
                   17917:   else
                   17918:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
1.8       moko     17919:   fi
1.22      moko     17920: done
1.8       moko     17921: 
1.22      moko     17922: # For the awk script, D is an array of macro values keyed by name,
                   17923: # likewise P contains macro parameters if any.  Preserve backslash
                   17924: # newline sequences.
                   17925: 
                   17926: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
                   17927: sed -n '
                   17928: s/.\{148\}/&'"$ac_delim"'/g
                   17929: t rset
                   17930: :rset
                   17931: s/^[    ]*#[    ]*define[       ][      ]*/ /
                   17932: t def
                   17933: d
                   17934: :def
                   17935: s/\\$//
                   17936: t bsnl
                   17937: s/["\\]/\\&/g
                   17938: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   17939: D["\1"]=" \3"/p
                   17940: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
                   17941: d
                   17942: :bsnl
                   17943: s/["\\]/\\&/g
                   17944: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   17945: D["\1"]=" \3\\\\\\n"\\/p
                   17946: t cont
                   17947: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
                   17948: t cont
                   17949: d
                   17950: :cont
                   17951: n
                   17952: s/.\{148\}/&'"$ac_delim"'/g
                   17953: t clear
                   17954: :clear
                   17955: s/\\$//
                   17956: t bsnlc
                   17957: s/["\\]/\\&/g; s/^/"/; s/$/"/p
                   17958: d
                   17959: :bsnlc
                   17960: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
                   17961: b cont
                   17962: ' <confdefs.h | sed '
                   17963: s/'"$ac_delim"'/"\\\
                   17964: "/g' >>$CONFIG_STATUS || ac_write_fail=1
                   17965: 
                   17966: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   17967:   for (key in D) D_is_set[key] = 1
                   17968:   FS = ""
                   17969: }
                   17970: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
                   17971:   line = \$ 0
                   17972:   split(line, arg, " ")
                   17973:   if (arg[1] == "#") {
                   17974:     defundef = arg[2]
                   17975:     mac1 = arg[3]
                   17976:   } else {
                   17977:     defundef = substr(arg[1], 2)
                   17978:     mac1 = arg[2]
                   17979:   }
                   17980:   split(mac1, mac2, "(") #)
                   17981:   macro = mac2[1]
                   17982:   prefix = substr(line, 1, index(line, defundef) - 1)
                   17983:   if (D_is_set[macro]) {
                   17984:     # Preserve the white space surrounding the "#".
                   17985:     print prefix "define", macro P[macro] D[macro]
                   17986:     next
                   17987:   } else {
                   17988:     # Replace #undef with comments.  This is necessary, for example,
                   17989:     # in the case of _POSIX_SOURCE, which is predefined and required
                   17990:     # on some systems where configure will not decide to define it.
                   17991:     if (defundef == "undef") {
                   17992:       print "/*", prefix defundef, macro, "*/"
                   17993:       next
                   17994:     }
                   17995:   }
                   17996: }
                   17997: { print }
                   17998: _ACAWK
1.8       moko     17999: _ACEOF
1.22      moko     18000: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   18001:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
                   18002: fi # test -n "$CONFIG_HEADERS"
                   18003: 
                   18004: 
                   18005: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
                   18006: shift
                   18007: for ac_tag
                   18008: do
                   18009:   case $ac_tag in
                   18010:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   18011:   esac
                   18012:   case $ac_mode$ac_tag in
                   18013:   :[FHL]*:*);;
                   18014:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
                   18015:   :[FH]-) ac_tag=-:-;;
                   18016:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   18017:   esac
                   18018:   ac_save_IFS=$IFS
                   18019:   IFS=:
                   18020:   set x $ac_tag
                   18021:   IFS=$ac_save_IFS
                   18022:   shift
                   18023:   ac_file=$1
                   18024:   shift
                   18025: 
                   18026:   case $ac_mode in
                   18027:   :L) ac_source=$1;;
                   18028:   :[FH])
                   18029:     ac_file_inputs=
                   18030:     for ac_f
                   18031:     do
                   18032:       case $ac_f in
                   18033:       -) ac_f="$ac_tmp/stdin";;
                   18034:       *) # Look for the file first in the build tree, then in the source tree
                   18035:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
                   18036:         # because $ac_f cannot contain `:'.
                   18037:         test -f "$ac_f" ||
                   18038:           case $ac_f in
                   18039:           [\\/$]*) false;;
                   18040:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   18041:           esac ||
                   18042:           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
                   18043:       esac
                   18044:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
                   18045:       as_fn_append ac_file_inputs " '$ac_f'"
                   18046:     done
                   18047: 
                   18048:     # Let's still pretend it is `configure' which instantiates (i.e., don't
                   18049:     # use $as_me), people would be surprised to read:
                   18050:     #    /* config.h.  Generated by config.status.  */
                   18051:     configure_input='Generated from '`
                   18052:          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
                   18053:        `' by configure.'
                   18054:     if test x"$ac_file" != x-; then
                   18055:       configure_input="$ac_file.  $configure_input"
                   18056:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
                   18057: $as_echo "$as_me: creating $ac_file" >&6;}
                   18058:     fi
                   18059:     # Neutralize special characters interpreted by sed in replacement strings.
                   18060:     case $configure_input in #(
                   18061:     *\&* | *\|* | *\\* )
                   18062:        ac_sed_conf_input=`$as_echo "$configure_input" |
                   18063:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   18064:     *) ac_sed_conf_input=$configure_input;;
                   18065:     esac
                   18066: 
                   18067:     case $ac_tag in
                   18068:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
                   18069:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
                   18070:     esac
                   18071:     ;;
1.8       moko     18072:   esac
                   18073: 
1.22      moko     18074:   ac_dir=`$as_dirname -- "$ac_file" ||
1.8       moko     18075: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   18076:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   18077:         X"$ac_file" : 'X\(//\)$' \| \
1.22      moko     18078:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
                   18079: $as_echo X"$ac_file" |
                   18080:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   18081:            s//\1/
                   18082:            q
                   18083:          }
                   18084:          /^X\(\/\/\)[^/].*/{
                   18085:            s//\1/
                   18086:            q
                   18087:          }
                   18088:          /^X\(\/\/\)$/{
                   18089:            s//\1/
                   18090:            q
                   18091:          }
                   18092:          /^X\(\/\).*/{
                   18093:            s//\1/
                   18094:            q
                   18095:          }
                   18096:          s/.*/./; q'`
                   18097:   as_dir="$ac_dir"; as_fn_mkdir_p
1.8       moko     18098:   ac_builddir=.
                   18099: 
1.22      moko     18100: case "$ac_dir" in
                   18101: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   18102: *)
                   18103:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   18104:   # A ".." for each directory in $ac_dir_suffix.
                   18105:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   18106:   case $ac_top_builddir_sub in
                   18107:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   18108:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   18109:   esac ;;
                   18110: esac
                   18111: ac_abs_top_builddir=$ac_pwd
                   18112: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   18113: # for backward compatibility:
                   18114: ac_top_builddir=$ac_top_build_prefix
1.8       moko     18115: 
                   18116: case $srcdir in
1.22      moko     18117:   .)  # We are building in place.
1.8       moko     18118:     ac_srcdir=.
1.22      moko     18119:     ac_top_srcdir=$ac_top_builddir_sub
                   18120:     ac_abs_top_srcdir=$ac_pwd ;;
                   18121:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.8       moko     18122:     ac_srcdir=$srcdir$ac_dir_suffix;
1.22      moko     18123:     ac_top_srcdir=$srcdir
                   18124:     ac_abs_top_srcdir=$srcdir ;;
                   18125:   *) # Relative name.
                   18126:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   18127:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   18128:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.8       moko     18129: esac
1.22      moko     18130: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.8       moko     18131: 
                   18132: 
1.22      moko     18133:   case $ac_mode in
                   18134:   :F)
                   18135:   #
                   18136:   # CONFIG_FILE
                   18137:   #
1.8       moko     18138: 
                   18139:   case $INSTALL in
                   18140:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1.22      moko     18141:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
                   18142:   esac
                   18143:   ac_MKDIR_P=$MKDIR_P
                   18144:   case $MKDIR_P in
                   18145:   [\\/$]* | ?:[\\/]* ) ;;
                   18146:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
1.8       moko     18147:   esac
1.22      moko     18148: _ACEOF
1.8       moko     18149: 
1.22      moko     18150: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   18151: # If the template does not know about datarootdir, expand it.
                   18152: # FIXME: This hack should be removed a few years after 2.60.
                   18153: ac_datarootdir_hack=; ac_datarootdir_seen=
                   18154: ac_sed_dataroot='
                   18155: /datarootdir/ {
                   18156:   p
                   18157:   q
                   18158: }
                   18159: /@datadir@/p
                   18160: /@docdir@/p
                   18161: /@infodir@/p
                   18162: /@localedir@/p
                   18163: /@mandir@/p'
                   18164: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
                   18165: *datarootdir*) ac_datarootdir_seen=yes;;
                   18166: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
                   18167:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
                   18168: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
                   18169: _ACEOF
                   18170: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   18171:   ac_datarootdir_hack='
                   18172:   s&@datadir@&$datadir&g
                   18173:   s&@docdir@&$docdir&g
                   18174:   s&@infodir@&$infodir&g
                   18175:   s&@localedir@&$localedir&g
                   18176:   s&@mandir@&$mandir&g
                   18177:   s&\\\${datarootdir}&$datarootdir&g' ;;
                   18178: esac
                   18179: _ACEOF
1.11      moko     18180: 
1.22      moko     18181: # Neutralize VPATH when `$srcdir' = `.'.
                   18182: # Shell code in configure.ac might set extrasub.
                   18183: # FIXME: do we really want to maintain this feature?
                   18184: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   18185: ac_sed_extra="$ac_vpsub
1.8       moko     18186: $extrasub
                   18187: _ACEOF
1.22      moko     18188: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.8       moko     18189: :t
                   18190: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1.22      moko     18191: s|@configure_input@|$ac_sed_conf_input|;t t
                   18192: s&@top_builddir@&$ac_top_builddir_sub&;t t
                   18193: s&@top_build_prefix@&$ac_top_build_prefix&;t t
                   18194: s&@srcdir@&$ac_srcdir&;t t
                   18195: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   18196: s&@top_srcdir@&$ac_top_srcdir&;t t
                   18197: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   18198: s&@builddir@&$ac_builddir&;t t
                   18199: s&@abs_builddir@&$ac_abs_builddir&;t t
                   18200: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
                   18201: s&@INSTALL@&$ac_INSTALL&;t t
                   18202: s&@MKDIR_P@&$ac_MKDIR_P&;t t
                   18203: $ac_datarootdir_hack
                   18204: "
                   18205: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
                   18206:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   18207: 
                   18208: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
                   18209:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
                   18210:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
                   18211:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
                   18212:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   18213: which seems to be undefined.  Please make sure it is defined" >&5
                   18214: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   18215: which seems to be undefined.  Please make sure it is defined" >&2;}
1.11      moko     18216: 
1.22      moko     18217:   rm -f "$ac_tmp/stdin"
1.8       moko     18218:   case $ac_file in
1.22      moko     18219:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
                   18220:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
                   18221:   esac \
                   18222:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   18223:  ;;
                   18224:   :H)
                   18225:   #
                   18226:   # CONFIG_HEADER
                   18227:   #
1.8       moko     18228:   if test x"$ac_file" != x-; then
1.22      moko     18229:     {
                   18230:       $as_echo "/* $configure_input  */" \
                   18231:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
                   18232:     } >"$ac_tmp/config.h" \
                   18233:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   18234:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
                   18235:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
                   18236: $as_echo "$as_me: $ac_file is unchanged" >&6;}
1.8       moko     18237:     else
1.22      moko     18238:       rm -f "$ac_file"
                   18239:       mv "$ac_tmp/config.h" "$ac_file" \
                   18240:        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.8       moko     18241:     fi
                   18242:   else
1.22      moko     18243:     $as_echo "/* $configure_input  */" \
                   18244:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
                   18245:       || as_fn_error $? "could not create -" "$LINENO" 5
1.8       moko     18246:   fi
1.22      moko     18247: # Compute "$ac_file"'s index in $config_headers.
                   18248: _am_arg="$ac_file"
1.8       moko     18249: _am_stamp_count=1
                   18250: for _am_header in $config_headers :; do
                   18251:   case $_am_header in
1.22      moko     18252:     $_am_arg | $_am_arg:* )
1.8       moko     18253:       break ;;
                   18254:     * )
                   18255:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   18256:   esac
                   18257: done
1.22      moko     18258: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
                   18259: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   18260:         X"$_am_arg" : 'X\(//\)[^/]' \| \
                   18261:         X"$_am_arg" : 'X\(//\)$' \| \
                   18262:         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
                   18263: $as_echo X"$_am_arg" |
                   18264:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   18265:            s//\1/
                   18266:            q
                   18267:          }
                   18268:          /^X\(\/\/\)[^/].*/{
                   18269:            s//\1/
                   18270:            q
                   18271:          }
                   18272:          /^X\(\/\/\)$/{
                   18273:            s//\1/
                   18274:            q
                   18275:          }
                   18276:          /^X\(\/\).*/{
                   18277:            s//\1/
                   18278:            q
                   18279:          }
                   18280:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   18281:  ;;
1.11      moko     18282: 
1.22      moko     18283:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
                   18284: $as_echo "$as_me: executing $ac_file commands" >&6;}
                   18285:  ;;
                   18286:   esac
1.11      moko     18287: 
                   18288: 
1.22      moko     18289:   case $ac_file$ac_mode in
                   18290:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
                   18291:   # Autoconf 2.62 quotes --file arguments for eval, but not when files
                   18292:   # are listed without --file.  Let's play safe and only enable the eval
                   18293:   # if we detect the quoting.
                   18294:   case $CONFIG_FILES in
                   18295:   *\'*) eval set x "$CONFIG_FILES" ;;
                   18296:   *)   set x $CONFIG_FILES ;;
                   18297:   esac
                   18298:   shift
                   18299:   for mf
                   18300:   do
                   18301:     # Strip MF so we end up with the name of the file.
                   18302:     mf=`echo "$mf" | sed -e 's/:.*$//'`
                   18303:     # Check whether this is an Automake generated Makefile or not.
                   18304:     # We used to match only the files named `Makefile.in', but
                   18305:     # some people rename them; so instead we look at the file content.
                   18306:     # Grep'ing the first line is not enough: some people post-process
                   18307:     # each Makefile.in and add a new line on top of each file to say so.
                   18308:     # Grep'ing the whole file is not good either: AIX grep has a line
                   18309:     # limit of 2048, but all sed's we know have understand at least 4000.
                   18310:     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
                   18311:       dirpart=`$as_dirname -- "$mf" ||
1.8       moko     18312: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   18313:         X"$mf" : 'X\(//\)[^/]' \| \
                   18314:         X"$mf" : 'X\(//\)$' \| \
1.22      moko     18315:         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
                   18316: $as_echo X"$mf" |
                   18317:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   18318:            s//\1/
                   18319:            q
                   18320:          }
                   18321:          /^X\(\/\/\)[^/].*/{
                   18322:            s//\1/
                   18323:            q
                   18324:          }
                   18325:          /^X\(\/\/\)$/{
                   18326:            s//\1/
                   18327:            q
                   18328:          }
                   18329:          /^X\(\/\).*/{
                   18330:            s//\1/
                   18331:            q
                   18332:          }
                   18333:          s/.*/./; q'`
                   18334:     else
                   18335:       continue
                   18336:     fi
                   18337:     # Extract the definition of DEPDIR, am__include, and am__quote
                   18338:     # from the Makefile without running `make'.
                   18339:     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
                   18340:     test -z "$DEPDIR" && continue
                   18341:     am__include=`sed -n 's/^am__include = //p' < "$mf"`
                   18342:     test -z "am__include" && continue
                   18343:     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
                   18344:     # When using ansi2knr, U may be empty or an underscore; expand it
                   18345:     U=`sed -n 's/^U = //p' < "$mf"`
                   18346:     # Find all dependency output files, they are included files with
                   18347:     # $(DEPDIR) in their names.  We invoke sed twice because it is the
                   18348:     # simplest approach to changing $(DEPDIR) to its actual value in the
                   18349:     # expansion.
                   18350:     for file in `sed -n "
                   18351:       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
                   18352:         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
                   18353:       # Make sure the directory exists.
                   18354:       test -f "$dirpart/$file" && continue
                   18355:       fdir=`$as_dirname -- "$file" ||
1.8       moko     18356: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   18357:         X"$file" : 'X\(//\)[^/]' \| \
                   18358:         X"$file" : 'X\(//\)$' \| \
1.22      moko     18359:         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
                   18360: $as_echo X"$file" |
                   18361:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   18362:            s//\1/
                   18363:            q
                   18364:          }
                   18365:          /^X\(\/\/\)[^/].*/{
                   18366:            s//\1/
                   18367:            q
                   18368:          }
                   18369:          /^X\(\/\/\)$/{
                   18370:            s//\1/
                   18371:            q
                   18372:          }
                   18373:          /^X\(\/\).*/{
                   18374:            s//\1/
                   18375:            q
                   18376:          }
                   18377:          s/.*/./; q'`
                   18378:       as_dir=$dirpart/$fdir; as_fn_mkdir_p
                   18379:       # echo "creating $dirpart/$file"
                   18380:       echo '# dummy' > "$dirpart/$file"
1.11      moko     18381:     done
1.8       moko     18382:   done
1.22      moko     18383: }
1.8       moko     18384:  ;;
1.22      moko     18385:     "libtool":C)
1.8       moko     18386: 
                   18387:     # See if we are running on zsh, and set the options which allow our
                   18388:     # commands through without removal of \ escapes.
                   18389:     if test -n "${ZSH_VERSION+set}" ; then
                   18390:       setopt NO_GLOB_SUBST
                   18391:     fi
                   18392: 
                   18393:     cfgfile="${ofile}T"
                   18394:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
                   18395:     $RM "$cfgfile"
                   18396: 
                   18397:     cat <<_LT_EOF >> "$cfgfile"
                   18398: #! $SHELL
                   18399: 
                   18400: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
                   18401: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
                   18402: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
                   18403: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
                   18404: #
                   18405: #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
                   18406: #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
                   18407: #                 Foundation, Inc.
                   18408: #   Written by Gordon Matzigkeit, 1996
                   18409: #
                   18410: #   This file is part of GNU Libtool.
                   18411: #
                   18412: # GNU Libtool is free software; you can redistribute it and/or
                   18413: # modify it under the terms of the GNU General Public License as
                   18414: # published by the Free Software Foundation; either version 2 of
                   18415: # the License, or (at your option) any later version.
                   18416: #
                   18417: # As a special exception to the GNU General Public License,
                   18418: # if you distribute this file as part of a program or library that
                   18419: # is built using GNU Libtool, you may include this file under the
                   18420: # same distribution terms that you use for the rest of that program.
                   18421: #
                   18422: # GNU Libtool is distributed in the hope that it will be useful,
                   18423: # but WITHOUT ANY WARRANTY; without even the implied warranty of
                   18424: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   18425: # GNU General Public License for more details.
                   18426: #
                   18427: # You should have received a copy of the GNU General Public License
                   18428: # along with GNU Libtool; see the file COPYING.  If not, a copy
                   18429: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
                   18430: # obtained by writing to the Free Software Foundation, Inc.,
                   18431: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
                   18432: 
                   18433: 
                   18434: # The names of the tagged configurations supported by this script.
                   18435: available_tags="CXX "
                   18436: 
                   18437: # ### BEGIN LIBTOOL CONFIG
                   18438: 
                   18439: # Which release of libtool.m4 was used?
                   18440: macro_version=$macro_version
                   18441: macro_revision=$macro_revision
                   18442: 
1.20      moko     18443: # Whether or not to build static libraries.
                   18444: build_old_libs=$enable_static
                   18445: 
1.13      moko     18446: # Assembler program.
                   18447: AS=$lt_AS
                   18448: 
                   18449: # DLL creation program.
                   18450: DLLTOOL=$lt_DLLTOOL
                   18451: 
                   18452: # Object dumper program.
                   18453: OBJDUMP=$lt_OBJDUMP
                   18454: 
1.8       moko     18455: # Whether or not to build shared libraries.
                   18456: build_libtool_libs=$enable_shared
                   18457: 
                   18458: # What type of objects to build.
                   18459: pic_mode=$pic_mode
                   18460: 
                   18461: # Whether or not to optimize for fast installation.
                   18462: fast_install=$enable_fast_install
                   18463: 
                   18464: # Shell to use when invoking shell scripts.
                   18465: SHELL=$lt_SHELL
                   18466: 
                   18467: # An echo program that protects backslashes.
                   18468: ECHO=$lt_ECHO
                   18469: 
                   18470: # The PATH separator for the build system.
                   18471: PATH_SEPARATOR=$lt_PATH_SEPARATOR
                   18472: 
                   18473: # The host system.
                   18474: host_alias=$host_alias
                   18475: host=$host
                   18476: host_os=$host_os
                   18477: 
                   18478: # The build system.
                   18479: build_alias=$build_alias
                   18480: build=$build
                   18481: build_os=$build_os
                   18482: 
                   18483: # A sed program that does not truncate output.
                   18484: SED=$lt_SED
                   18485: 
                   18486: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   18487: Xsed="\$SED -e 1s/^X//"
                   18488: 
                   18489: # A grep program that handles long lines.
                   18490: GREP=$lt_GREP
                   18491: 
                   18492: # An ERE matcher.
                   18493: EGREP=$lt_EGREP
                   18494: 
                   18495: # A literal string matcher.
                   18496: FGREP=$lt_FGREP
                   18497: 
                   18498: # A BSD- or MS-compatible name lister.
                   18499: NM=$lt_NM
                   18500: 
                   18501: # Whether we need soft or hard links.
                   18502: LN_S=$lt_LN_S
                   18503: 
                   18504: # What is the maximum length of a command?
                   18505: max_cmd_len=$max_cmd_len
                   18506: 
                   18507: # Object file suffix (normally "o").
                   18508: objext=$ac_objext
                   18509: 
                   18510: # Executable file suffix (normally "").
                   18511: exeext=$exeext
                   18512: 
                   18513: # whether the shell understands "unset".
                   18514: lt_unset=$lt_unset
                   18515: 
                   18516: # turn spaces into newlines.
                   18517: SP2NL=$lt_lt_SP2NL
                   18518: 
                   18519: # turn newlines into spaces.
                   18520: NL2SP=$lt_lt_NL2SP
                   18521: 
                   18522: # convert \$build file names to \$host format.
                   18523: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   18524: 
                   18525: # convert \$build files to toolchain format.
                   18526: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   18527: 
                   18528: # Method to check whether dependent libraries are shared objects.
                   18529: deplibs_check_method=$lt_deplibs_check_method
                   18530: 
                   18531: # Command to use when deplibs_check_method = "file_magic".
                   18532: file_magic_cmd=$lt_file_magic_cmd
                   18533: 
                   18534: # How to find potential files when deplibs_check_method = "file_magic".
                   18535: file_magic_glob=$lt_file_magic_glob
                   18536: 
                   18537: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
                   18538: want_nocaseglob=$lt_want_nocaseglob
                   18539: 
                   18540: # Command to associate shared and link libraries.
                   18541: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
                   18542: 
                   18543: # The archiver.
                   18544: AR=$lt_AR
                   18545: 
                   18546: # Flags to create an archive.
                   18547: AR_FLAGS=$lt_AR_FLAGS
                   18548: 
                   18549: # How to feed a file listing to the archiver.
                   18550: archiver_list_spec=$lt_archiver_list_spec
                   18551: 
                   18552: # A symbol stripping program.
                   18553: STRIP=$lt_STRIP
                   18554: 
                   18555: # Commands used to install an old-style archive.
                   18556: RANLIB=$lt_RANLIB
                   18557: old_postinstall_cmds=$lt_old_postinstall_cmds
                   18558: old_postuninstall_cmds=$lt_old_postuninstall_cmds
                   18559: 
                   18560: # Whether to use a lock for old archive extraction.
                   18561: lock_old_archive_extraction=$lock_old_archive_extraction
                   18562: 
                   18563: # A C compiler.
                   18564: LTCC=$lt_CC
                   18565: 
                   18566: # LTCC compiler flags.
                   18567: LTCFLAGS=$lt_CFLAGS
                   18568: 
                   18569: # Take the output of nm and produce a listing of raw symbols and C names.
                   18570: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
                   18571: 
                   18572: # Transform the output of nm in a proper C declaration.
                   18573: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
                   18574: 
                   18575: # Transform the output of nm in a C name address pair.
                   18576: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
                   18577: 
                   18578: # Transform the output of nm in a C name address pair when lib prefix is needed.
                   18579: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
                   18580: 
                   18581: # Specify filename containing input files for \$NM.
                   18582: nm_file_list_spec=$lt_nm_file_list_spec
                   18583: 
                   18584: # The root where to search for dependent libraries,and in which our libraries should be installed.
                   18585: lt_sysroot=$lt_sysroot
                   18586: 
                   18587: # The name of the directory that contains temporary libtool files.
                   18588: objdir=$objdir
                   18589: 
                   18590: # Used to examine libraries when file_magic_cmd begins with "file".
                   18591: MAGIC_CMD=$MAGIC_CMD
                   18592: 
                   18593: # Must we lock files when doing compilation?
                   18594: need_locks=$lt_need_locks
                   18595: 
                   18596: # Manifest tool.
                   18597: MANIFEST_TOOL=$lt_MANIFEST_TOOL
                   18598: 
                   18599: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
                   18600: DSYMUTIL=$lt_DSYMUTIL
                   18601: 
                   18602: # Tool to change global to local symbols on Mac OS X.
                   18603: NMEDIT=$lt_NMEDIT
                   18604: 
                   18605: # Tool to manipulate fat objects and archives on Mac OS X.
                   18606: LIPO=$lt_LIPO
                   18607: 
                   18608: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
                   18609: OTOOL=$lt_OTOOL
                   18610: 
                   18611: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
                   18612: OTOOL64=$lt_OTOOL64
                   18613: 
                   18614: # Old archive suffix (normally "a").
                   18615: libext=$libext
                   18616: 
                   18617: # Shared library suffix (normally ".so").
                   18618: shrext_cmds=$lt_shrext_cmds
                   18619: 
                   18620: # The commands to extract the exported symbol list from a shared archive.
                   18621: extract_expsyms_cmds=$lt_extract_expsyms_cmds
                   18622: 
                   18623: # Variables whose values should be saved in libtool wrapper scripts and
                   18624: # restored at link time.
                   18625: variables_saved_for_relink=$lt_variables_saved_for_relink
                   18626: 
                   18627: # Do we need the "lib" prefix for modules?
                   18628: need_lib_prefix=$need_lib_prefix
                   18629: 
                   18630: # Do we need a version for libraries?
                   18631: need_version=$need_version
                   18632: 
                   18633: # Library versioning type.
                   18634: version_type=$version_type
                   18635: 
                   18636: # Shared library runtime path variable.
                   18637: runpath_var=$runpath_var
                   18638: 
                   18639: # Shared library path variable.
                   18640: shlibpath_var=$shlibpath_var
                   18641: 
                   18642: # Is shlibpath searched before the hard-coded library search path?
                   18643: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
                   18644: 
                   18645: # Format of library name prefix.
                   18646: libname_spec=$lt_libname_spec
                   18647: 
                   18648: # List of archive names.  First name is the real one, the rest are links.
                   18649: # The last name is the one that the linker finds with -lNAME
                   18650: library_names_spec=$lt_library_names_spec
                   18651: 
                   18652: # The coded name of the library, if different from the real name.
                   18653: soname_spec=$lt_soname_spec
                   18654: 
                   18655: # Permission mode override for installation of shared libraries.
                   18656: install_override_mode=$lt_install_override_mode
                   18657: 
                   18658: # Command to use after installation of a shared archive.
                   18659: postinstall_cmds=$lt_postinstall_cmds
                   18660: 
                   18661: # Command to use after uninstallation of a shared archive.
                   18662: postuninstall_cmds=$lt_postuninstall_cmds
                   18663: 
                   18664: # Commands used to finish a libtool library installation in a directory.
                   18665: finish_cmds=$lt_finish_cmds
                   18666: 
                   18667: # As "finish_cmds", except a single script fragment to be evaled but
                   18668: # not shown.
                   18669: finish_eval=$lt_finish_eval
                   18670: 
                   18671: # Whether we should hardcode library paths into libraries.
                   18672: hardcode_into_libs=$hardcode_into_libs
                   18673: 
                   18674: # Compile-time system search path for libraries.
                   18675: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
                   18676: 
                   18677: # Run-time system search path for libraries.
                   18678: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
                   18679: 
                   18680: # Whether dlopen is supported.
                   18681: dlopen_support=$enable_dlopen
                   18682: 
                   18683: # Whether dlopen of programs is supported.
                   18684: dlopen_self=$enable_dlopen_self
                   18685: 
                   18686: # Whether dlopen of statically linked programs is supported.
                   18687: dlopen_self_static=$enable_dlopen_self_static
                   18688: 
                   18689: # Commands to strip libraries.
                   18690: old_striplib=$lt_old_striplib
                   18691: striplib=$lt_striplib
                   18692: 
                   18693: 
                   18694: # The linker used to build libraries.
                   18695: LD=$lt_LD
                   18696: 
                   18697: # How to create reloadable object files.
                   18698: reload_flag=$lt_reload_flag
                   18699: reload_cmds=$lt_reload_cmds
                   18700: 
                   18701: # Commands used to build an old-style archive.
                   18702: old_archive_cmds=$lt_old_archive_cmds
                   18703: 
                   18704: # A language specific compiler.
                   18705: CC=$lt_compiler
                   18706: 
                   18707: # Is the compiler the GNU compiler?
                   18708: with_gcc=$GCC
                   18709: 
                   18710: # Compiler flag to turn off builtin functions.
                   18711: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
                   18712: 
                   18713: # Additional compiler flags for building library objects.
                   18714: pic_flag=$lt_lt_prog_compiler_pic
                   18715: 
                   18716: # How to pass a linker flag through the compiler.
                   18717: wl=$lt_lt_prog_compiler_wl
                   18718: 
                   18719: # Compiler flag to prevent dynamic linking.
                   18720: link_static_flag=$lt_lt_prog_compiler_static
                   18721: 
                   18722: # Does compiler simultaneously support -c and -o options?
                   18723: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
                   18724: 
                   18725: # Whether or not to add -lc for building shared libraries.
                   18726: build_libtool_need_lc=$archive_cmds_need_lc
                   18727: 
                   18728: # Whether or not to disallow shared libs when runtime libs are static.
                   18729: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
                   18730: 
                   18731: # Compiler flag to allow reflexive dlopens.
                   18732: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
                   18733: 
                   18734: # Compiler flag to generate shared objects directly from archives.
                   18735: whole_archive_flag_spec=$lt_whole_archive_flag_spec
                   18736: 
                   18737: # Whether the compiler copes with passing no objects directly.
                   18738: compiler_needs_object=$lt_compiler_needs_object
                   18739: 
                   18740: # Create an old-style archive from a shared archive.
                   18741: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
                   18742: 
                   18743: # Create a temporary old-style archive to link instead of a shared archive.
                   18744: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
                   18745: 
                   18746: # Commands used to build a shared archive.
                   18747: archive_cmds=$lt_archive_cmds
                   18748: archive_expsym_cmds=$lt_archive_expsym_cmds
                   18749: 
                   18750: # Commands used to build a loadable module if different from building
                   18751: # a shared archive.
                   18752: module_cmds=$lt_module_cmds
                   18753: module_expsym_cmds=$lt_module_expsym_cmds
                   18754: 
                   18755: # Whether we are building with GNU ld or not.
                   18756: with_gnu_ld=$lt_with_gnu_ld
                   18757: 
                   18758: # Flag that allows shared libraries with undefined symbols to be built.
                   18759: allow_undefined_flag=$lt_allow_undefined_flag
                   18760: 
                   18761: # Flag that enforces no undefined symbols.
                   18762: no_undefined_flag=$lt_no_undefined_flag
                   18763: 
                   18764: # Flag to hardcode \$libdir into a binary during linking.
                   18765: # This must work even if \$libdir does not exist
                   18766: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
                   18767: 
                   18768: # Whether we need a single "-rpath" flag with a separated argument.
                   18769: hardcode_libdir_separator=$lt_hardcode_libdir_separator
                   18770: 
                   18771: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   18772: # DIR into the resulting binary.
                   18773: hardcode_direct=$hardcode_direct
                   18774: 
                   18775: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   18776: # DIR into the resulting binary and the resulting library dependency is
                   18777: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   18778: # library is relocated.
                   18779: hardcode_direct_absolute=$hardcode_direct_absolute
                   18780: 
                   18781: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   18782: # into the resulting binary.
                   18783: hardcode_minus_L=$hardcode_minus_L
                   18784: 
                   18785: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   18786: # into the resulting binary.
                   18787: hardcode_shlibpath_var=$hardcode_shlibpath_var
                   18788: 
                   18789: # Set to "yes" if building a shared library automatically hardcodes DIR
                   18790: # into the library and all subsequent libraries and executables linked
                   18791: # against it.
                   18792: hardcode_automatic=$hardcode_automatic
                   18793: 
                   18794: # Set to yes if linker adds runtime paths of dependent libraries
                   18795: # to runtime path list.
                   18796: inherit_rpath=$inherit_rpath
                   18797: 
                   18798: # Whether libtool must link a program against all its dependency libraries.
                   18799: link_all_deplibs=$link_all_deplibs
                   18800: 
                   18801: # Set to "yes" if exported symbols are required.
                   18802: always_export_symbols=$always_export_symbols
                   18803: 
                   18804: # The commands to list exported symbols.
                   18805: export_symbols_cmds=$lt_export_symbols_cmds
                   18806: 
                   18807: # Symbols that should not be listed in the preloaded symbols.
                   18808: exclude_expsyms=$lt_exclude_expsyms
                   18809: 
                   18810: # Symbols that must always be exported.
                   18811: include_expsyms=$lt_include_expsyms
                   18812: 
                   18813: # Commands necessary for linking programs (against libraries) with templates.
                   18814: prelink_cmds=$lt_prelink_cmds
                   18815: 
                   18816: # Commands necessary for finishing linking programs.
                   18817: postlink_cmds=$lt_postlink_cmds
                   18818: 
                   18819: # Specify filename containing input files.
                   18820: file_list_spec=$lt_file_list_spec
                   18821: 
                   18822: # How to hardcode a shared library path into an executable.
                   18823: hardcode_action=$hardcode_action
                   18824: 
                   18825: # The directories searched by this compiler when creating a shared library.
                   18826: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
                   18827: 
                   18828: # Dependencies to place before and after the objects being linked to
                   18829: # create a shared library.
                   18830: predep_objects=$lt_predep_objects
                   18831: postdep_objects=$lt_postdep_objects
                   18832: predeps=$lt_predeps
                   18833: postdeps=$lt_postdeps
                   18834: 
                   18835: # The library search path used internally by the compiler when linking
                   18836: # a shared library.
                   18837: compiler_lib_search_path=$lt_compiler_lib_search_path
                   18838: 
                   18839: # ### END LIBTOOL CONFIG
                   18840: 
                   18841: _LT_EOF
                   18842: 
                   18843:   case $host_os in
                   18844:   aix3*)
                   18845:     cat <<\_LT_EOF >> "$cfgfile"
                   18846: # AIX sometimes has problems with the GCC collect2 program.  For some
                   18847: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   18848: # vanish in a puff of smoke.
                   18849: if test "X${COLLECT_NAMES+set}" != Xset; then
                   18850:   COLLECT_NAMES=
                   18851:   export COLLECT_NAMES
                   18852: fi
                   18853: _LT_EOF
                   18854:     ;;
                   18855:   esac
                   18856: 
                   18857: 
                   18858: ltmain="$ac_aux_dir/ltmain.sh"
                   18859: 
                   18860: 
                   18861:   # We use sed instead of cat because bash on DJGPP gets confused if
                   18862:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   18863:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   18864:   # is reportedly fixed, but why not run on old versions too?
                   18865:   sed '$q' "$ltmain" >> "$cfgfile" \
                   18866:      || (rm -f "$cfgfile"; exit 1)
                   18867: 
                   18868:   if test x"$xsi_shell" = xyes; then
                   18869:   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
                   18870: func_dirname ()\
                   18871: {\
                   18872: \    case ${1} in\
                   18873: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   18874: \      *  ) func_dirname_result="${3}" ;;\
                   18875: \    esac\
                   18876: } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
                   18877:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   18878:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   18879: test 0 -eq $? || _lt_function_replace_fail=:
                   18880: 
                   18881: 
                   18882:   sed -e '/^func_basename ()$/,/^} # func_basename /c\
                   18883: func_basename ()\
                   18884: {\
                   18885: \    func_basename_result="${1##*/}"\
                   18886: } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   18887:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   18888:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   18889: test 0 -eq $? || _lt_function_replace_fail=:
                   18890: 
                   18891: 
                   18892:   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
                   18893: func_dirname_and_basename ()\
                   18894: {\
                   18895: \    case ${1} in\
                   18896: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   18897: \      *  ) func_dirname_result="${3}" ;;\
                   18898: \    esac\
                   18899: \    func_basename_result="${1##*/}"\
                   18900: } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   18901:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   18902:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   18903: test 0 -eq $? || _lt_function_replace_fail=:
                   18904: 
                   18905: 
                   18906:   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
                   18907: func_stripname ()\
                   18908: {\
                   18909: \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
                   18910: \    # positional parameters, so assign one to ordinary parameter first.\
                   18911: \    func_stripname_result=${3}\
                   18912: \    func_stripname_result=${func_stripname_result#"${1}"}\
                   18913: \    func_stripname_result=${func_stripname_result%"${2}"}\
                   18914: } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
                   18915:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   18916:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   18917: test 0 -eq $? || _lt_function_replace_fail=:
                   18918: 
                   18919: 
                   18920:   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
                   18921: func_split_long_opt ()\
                   18922: {\
                   18923: \    func_split_long_opt_name=${1%%=*}\
                   18924: \    func_split_long_opt_arg=${1#*=}\
                   18925: } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   18926:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   18927:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   18928: test 0 -eq $? || _lt_function_replace_fail=:
                   18929: 
                   18930: 
                   18931:   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
                   18932: func_split_short_opt ()\
                   18933: {\
                   18934: \    func_split_short_opt_arg=${1#??}\
                   18935: \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
                   18936: } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   18937:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   18938:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   18939: test 0 -eq $? || _lt_function_replace_fail=:
                   18940: 
                   18941: 
                   18942:   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
                   18943: func_lo2o ()\
                   18944: {\
                   18945: \    case ${1} in\
                   18946: \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
                   18947: \      *)    func_lo2o_result=${1} ;;\
                   18948: \    esac\
                   18949: } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
                   18950:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   18951:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   18952: test 0 -eq $? || _lt_function_replace_fail=:
                   18953: 
                   18954: 
                   18955:   sed -e '/^func_xform ()$/,/^} # func_xform /c\
                   18956: func_xform ()\
                   18957: {\
                   18958:     func_xform_result=${1%.*}.lo\
                   18959: } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
                   18960:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   18961:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   18962: test 0 -eq $? || _lt_function_replace_fail=:
                   18963: 
                   18964: 
                   18965:   sed -e '/^func_arith ()$/,/^} # func_arith /c\
                   18966: func_arith ()\
                   18967: {\
                   18968:     func_arith_result=$(( $* ))\
                   18969: } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
                   18970:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   18971:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   18972: test 0 -eq $? || _lt_function_replace_fail=:
                   18973: 
                   18974: 
                   18975:   sed -e '/^func_len ()$/,/^} # func_len /c\
                   18976: func_len ()\
                   18977: {\
                   18978:     func_len_result=${#1}\
                   18979: } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
                   18980:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   18981:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   18982: test 0 -eq $? || _lt_function_replace_fail=:
                   18983: 
                   18984: fi
                   18985: 
                   18986: if test x"$lt_shell_append" = xyes; then
                   18987:   sed -e '/^func_append ()$/,/^} # func_append /c\
                   18988: func_append ()\
                   18989: {\
                   18990:     eval "${1}+=\\${2}"\
                   18991: } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
                   18992:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   18993:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   18994: test 0 -eq $? || _lt_function_replace_fail=:
                   18995: 
                   18996: 
                   18997:   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
                   18998: func_append_quoted ()\
                   18999: {\
                   19000: \    func_quote_for_eval "${2}"\
                   19001: \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
                   19002: } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
                   19003:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   19004:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   19005: test 0 -eq $? || _lt_function_replace_fail=:
                   19006: 
                   19007: 
                   19008:   # Save a `func_append' function call where possible by direct use of '+='
                   19009:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
                   19010:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   19011:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   19012:   test 0 -eq $? || _lt_function_replace_fail=:
                   19013: else
                   19014:   # Save a `func_append' function call even when '+=' is not available
                   19015:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
                   19016:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   19017:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   19018:   test 0 -eq $? || _lt_function_replace_fail=:
                   19019: fi
                   19020: 
                   19021: if test x"$_lt_function_replace_fail" = x":"; then
1.22      moko     19022:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
                   19023: $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
1.8       moko     19024: fi
                   19025: 
                   19026: 
                   19027:    mv -f "$cfgfile" "$ofile" ||
                   19028:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
                   19029:   chmod +x "$ofile"
                   19030: 
                   19031: 
                   19032:     cat <<_LT_EOF >> "$ofile"
                   19033: 
                   19034: # ### BEGIN LIBTOOL TAG CONFIG: CXX
                   19035: 
                   19036: # The linker used to build libraries.
                   19037: LD=$lt_LD_CXX
                   19038: 
                   19039: # How to create reloadable object files.
                   19040: reload_flag=$lt_reload_flag_CXX
                   19041: reload_cmds=$lt_reload_cmds_CXX
                   19042: 
                   19043: # Commands used to build an old-style archive.
                   19044: old_archive_cmds=$lt_old_archive_cmds_CXX
                   19045: 
                   19046: # A language specific compiler.
                   19047: CC=$lt_compiler_CXX
                   19048: 
                   19049: # Is the compiler the GNU compiler?
                   19050: with_gcc=$GCC_CXX
                   19051: 
                   19052: # Compiler flag to turn off builtin functions.
                   19053: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
                   19054: 
                   19055: # Additional compiler flags for building library objects.
                   19056: pic_flag=$lt_lt_prog_compiler_pic_CXX
                   19057: 
                   19058: # How to pass a linker flag through the compiler.
                   19059: wl=$lt_lt_prog_compiler_wl_CXX
                   19060: 
                   19061: # Compiler flag to prevent dynamic linking.
                   19062: link_static_flag=$lt_lt_prog_compiler_static_CXX
                   19063: 
                   19064: # Does compiler simultaneously support -c and -o options?
                   19065: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
                   19066: 
                   19067: # Whether or not to add -lc for building shared libraries.
                   19068: build_libtool_need_lc=$archive_cmds_need_lc_CXX
                   19069: 
                   19070: # Whether or not to disallow shared libs when runtime libs are static.
                   19071: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
                   19072: 
                   19073: # Compiler flag to allow reflexive dlopens.
                   19074: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
                   19075: 
                   19076: # Compiler flag to generate shared objects directly from archives.
                   19077: whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
                   19078: 
                   19079: # Whether the compiler copes with passing no objects directly.
                   19080: compiler_needs_object=$lt_compiler_needs_object_CXX
                   19081: 
                   19082: # Create an old-style archive from a shared archive.
                   19083: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
                   19084: 
                   19085: # Create a temporary old-style archive to link instead of a shared archive.
                   19086: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
                   19087: 
                   19088: # Commands used to build a shared archive.
                   19089: archive_cmds=$lt_archive_cmds_CXX
                   19090: archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
                   19091: 
                   19092: # Commands used to build a loadable module if different from building
                   19093: # a shared archive.
                   19094: module_cmds=$lt_module_cmds_CXX
                   19095: module_expsym_cmds=$lt_module_expsym_cmds_CXX
                   19096: 
                   19097: # Whether we are building with GNU ld or not.
                   19098: with_gnu_ld=$lt_with_gnu_ld_CXX
                   19099: 
                   19100: # Flag that allows shared libraries with undefined symbols to be built.
                   19101: allow_undefined_flag=$lt_allow_undefined_flag_CXX
                   19102: 
                   19103: # Flag that enforces no undefined symbols.
                   19104: no_undefined_flag=$lt_no_undefined_flag_CXX
                   19105: 
                   19106: # Flag to hardcode \$libdir into a binary during linking.
                   19107: # This must work even if \$libdir does not exist
                   19108: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
                   19109: 
                   19110: # Whether we need a single "-rpath" flag with a separated argument.
                   19111: hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
                   19112: 
                   19113: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   19114: # DIR into the resulting binary.
                   19115: hardcode_direct=$hardcode_direct_CXX
                   19116: 
                   19117: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   19118: # DIR into the resulting binary and the resulting library dependency is
                   19119: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   19120: # library is relocated.
                   19121: hardcode_direct_absolute=$hardcode_direct_absolute_CXX
                   19122: 
                   19123: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   19124: # into the resulting binary.
                   19125: hardcode_minus_L=$hardcode_minus_L_CXX
                   19126: 
                   19127: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   19128: # into the resulting binary.
                   19129: hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
                   19130: 
                   19131: # Set to "yes" if building a shared library automatically hardcodes DIR
                   19132: # into the library and all subsequent libraries and executables linked
                   19133: # against it.
                   19134: hardcode_automatic=$hardcode_automatic_CXX
                   19135: 
                   19136: # Set to yes if linker adds runtime paths of dependent libraries
                   19137: # to runtime path list.
                   19138: inherit_rpath=$inherit_rpath_CXX
                   19139: 
                   19140: # Whether libtool must link a program against all its dependency libraries.
                   19141: link_all_deplibs=$link_all_deplibs_CXX
                   19142: 
                   19143: # Set to "yes" if exported symbols are required.
                   19144: always_export_symbols=$always_export_symbols_CXX
                   19145: 
                   19146: # The commands to list exported symbols.
                   19147: export_symbols_cmds=$lt_export_symbols_cmds_CXX
                   19148: 
                   19149: # Symbols that should not be listed in the preloaded symbols.
                   19150: exclude_expsyms=$lt_exclude_expsyms_CXX
                   19151: 
                   19152: # Symbols that must always be exported.
                   19153: include_expsyms=$lt_include_expsyms_CXX
                   19154: 
                   19155: # Commands necessary for linking programs (against libraries) with templates.
                   19156: prelink_cmds=$lt_prelink_cmds_CXX
                   19157: 
                   19158: # Commands necessary for finishing linking programs.
                   19159: postlink_cmds=$lt_postlink_cmds_CXX
                   19160: 
                   19161: # Specify filename containing input files.
                   19162: file_list_spec=$lt_file_list_spec_CXX
                   19163: 
                   19164: # How to hardcode a shared library path into an executable.
                   19165: hardcode_action=$hardcode_action_CXX
                   19166: 
                   19167: # The directories searched by this compiler when creating a shared library.
                   19168: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
                   19169: 
                   19170: # Dependencies to place before and after the objects being linked to
                   19171: # create a shared library.
                   19172: predep_objects=$lt_predep_objects_CXX
                   19173: postdep_objects=$lt_postdep_objects_CXX
                   19174: predeps=$lt_predeps_CXX
                   19175: postdeps=$lt_postdeps_CXX
                   19176: 
                   19177: # The library search path used internally by the compiler when linking
                   19178: # a shared library.
                   19179: compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
                   19180: 
                   19181: # ### END LIBTOOL TAG CONFIG: CXX
                   19182: _LT_EOF
1.1       misha    19183: 
                   19184:  ;;
1.22      moko     19185: 
1.1       misha    19186:   esac
1.22      moko     19187: done # for ac_tag
1.1       misha    19188: 
                   19189: 
1.22      moko     19190: as_fn_exit 0
1.1       misha    19191: _ACEOF
                   19192: ac_clean_files=$ac_clean_files_save
                   19193: 
1.22      moko     19194: test $ac_write_fail = 0 ||
                   19195:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
                   19196: 
1.1       misha    19197: 
                   19198: # configure is writing to config.log, and then calls config.status.
                   19199: # config.status does its own redirection, appending to config.log.
                   19200: # Unfortunately, on DOS this fails, as config.log is still kept open
                   19201: # by configure, so config.status won't be able to write to it; its
                   19202: # output is simply discarded.  So we exec the FD to /dev/null,
                   19203: # effectively closing config.log, so it can be properly (re)opened and
                   19204: # appended to by config.status.  When coming back to configure, we
                   19205: # need to make the FD available again.
                   19206: if test "$no_create" != yes; then
                   19207:   ac_cs_success=:
                   19208:   ac_config_status_args=
                   19209:   test "$silent" = yes &&
                   19210:     ac_config_status_args="$ac_config_status_args --quiet"
                   19211:   exec 5>/dev/null
                   19212:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   19213:   exec 5>>config.log
                   19214:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   19215:   # would make configure fail if this is the last instruction.
1.22      moko     19216:   $ac_cs_success || as_fn_exit 1
1.1       misha    19217: fi
                   19218: 
                   19219: #
                   19220: # CONFIG_SUBDIRS section.
                   19221: #
                   19222: if test "$no_recursion" != yes; then
                   19223: 
1.22      moko     19224:   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
                   19225:   # so they do not pile up.
1.1       misha    19226:   ac_sub_configure_args=
                   19227:   ac_prev=
1.22      moko     19228:   eval "set x $ac_configure_args"
                   19229:   shift
                   19230:   for ac_arg
                   19231:   do
1.1       misha    19232:     if test -n "$ac_prev"; then
                   19233:       ac_prev=
                   19234:       continue
                   19235:     fi
                   19236:     case $ac_arg in
                   19237:     -cache-file | --cache-file | --cache-fil | --cache-fi \
                   19238:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                   19239:       ac_prev=cache_file ;;
                   19240:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                   19241:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
                   19242:     | --c=*)
                   19243:       ;;
                   19244:     --config-cache | -C)
                   19245:       ;;
                   19246:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   19247:       ac_prev=srcdir ;;
                   19248:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   19249:       ;;
                   19250:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   19251:       ac_prev=prefix ;;
                   19252:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   19253:       ;;
1.22      moko     19254:     --disable-option-checking)
                   19255:       ;;
                   19256:     *)
                   19257:       case $ac_arg in
                   19258:       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   19259:       esac
                   19260:       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
1.1       misha    19261:     esac
                   19262:   done
                   19263: 
                   19264:   # Always prepend --prefix to ensure using the same prefix
                   19265:   # in subdir configurations.
1.22      moko     19266:   ac_arg="--prefix=$prefix"
                   19267:   case $ac_arg in
                   19268:   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   19269:   esac
                   19270:   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
                   19271: 
                   19272:   # Pass --silent
                   19273:   if test "$silent" = yes; then
                   19274:     ac_sub_configure_args="--silent $ac_sub_configure_args"
                   19275:   fi
                   19276: 
                   19277:   # Always prepend --disable-option-checking to silence warnings, since
                   19278:   # different subdirs can have different --enable and --with options.
                   19279:   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
1.1       misha    19280: 
                   19281:   ac_popdir=`pwd`
                   19282:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
                   19283: 
                   19284:     # Do not complain, so a configure script can configure whichever
                   19285:     # parts of a large source tree are present.
1.22      moko     19286:     test -d "$srcdir/$ac_dir" || continue
1.1       misha    19287: 
1.22      moko     19288:     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
                   19289:     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
                   19290:     $as_echo "$ac_msg" >&6
                   19291:     as_dir="$ac_dir"; as_fn_mkdir_p
1.1       misha    19292:     ac_builddir=.
                   19293: 
1.22      moko     19294: case "$ac_dir" in
                   19295: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   19296: *)
                   19297:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   19298:   # A ".." for each directory in $ac_dir_suffix.
                   19299:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   19300:   case $ac_top_builddir_sub in
                   19301:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   19302:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   19303:   esac ;;
                   19304: esac
                   19305: ac_abs_top_builddir=$ac_pwd
                   19306: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   19307: # for backward compatibility:
                   19308: ac_top_builddir=$ac_top_build_prefix
1.1       misha    19309: 
                   19310: case $srcdir in
1.22      moko     19311:   .)  # We are building in place.
1.1       misha    19312:     ac_srcdir=.
1.22      moko     19313:     ac_top_srcdir=$ac_top_builddir_sub
                   19314:     ac_abs_top_srcdir=$ac_pwd ;;
                   19315:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.1       misha    19316:     ac_srcdir=$srcdir$ac_dir_suffix;
1.22      moko     19317:     ac_top_srcdir=$srcdir
                   19318:     ac_abs_top_srcdir=$srcdir ;;
                   19319:   *) # Relative name.
                   19320:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   19321:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   19322:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.1       misha    19323: esac
1.22      moko     19324: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.1       misha    19325: 
                   19326: 
1.22      moko     19327:     cd "$ac_dir"
1.1       misha    19328: 
                   19329:     # Check for guested configure; otherwise get Cygnus style configure.
1.22      moko     19330:     if test -f "$ac_srcdir/configure.gnu"; then
                   19331:       ac_sub_configure=$ac_srcdir/configure.gnu
                   19332:     elif test -f "$ac_srcdir/configure"; then
                   19333:       ac_sub_configure=$ac_srcdir/configure
                   19334:     elif test -f "$ac_srcdir/configure.in"; then
                   19335:       # This should be Cygnus configure.
                   19336:       ac_sub_configure=$ac_aux_dir/configure
1.1       misha    19337:     else
1.22      moko     19338:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
                   19339: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
1.1       misha    19340:       ac_sub_configure=
                   19341:     fi
                   19342: 
                   19343:     # The recursion is here.
                   19344:     if test -n "$ac_sub_configure"; then
                   19345:       # Make the cache file name correct relative to the subdirectory.
                   19346:       case $cache_file in
                   19347:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
1.22      moko     19348:       *) # Relative name.
                   19349:        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
1.1       misha    19350:       esac
                   19351: 
1.22      moko     19352:       { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
                   19353: $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
1.1       misha    19354:       # The eval makes quoting arguments work.
1.22      moko     19355:       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
                   19356:           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
                   19357:        as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
1.1       misha    19358:     fi
                   19359: 
1.22      moko     19360:     cd "$ac_popdir"
1.1       misha    19361:   done
                   19362: fi
1.22      moko     19363: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
                   19364:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
                   19365: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
                   19366: fi
1.1       misha    19367: 

E-mail: