Annotation of sql/mysql/configure, revision 1.53

1.1       parser      1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.53    ! moko        3: # Generated by GNU Autoconf 2.69 for parser3mysql 10.8.
1.43      moko        4: #
                      5: #
1.49      moko        6: # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
1.43      moko        7: #
1.1       parser      8: #
                      9: # This configure script is free software; the Free Software Foundation
                     10: # gives unlimited permission to copy, distribute and modify it.
1.43      moko       11: ## -------------------- ##
                     12: ## M4sh Initialization. ##
                     13: ## -------------------- ##
1.15      paf        14: 
1.43      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.15      paf        18:   emulate sh
                     19:   NULLCMD=:
1.43      moko       20:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.15      paf        21:   # is contrary to our usage.  Disable this feature.
                     22:   alias -g '${1+"$@"}'='"$@"'
1.43      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.15      paf        70: fi
                     71: 
1.43      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.15      paf        79: fi
                     80: 
                     81: 
1.43      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.15      paf       122: PS1='$ '
                    123: PS2='> '
                    124: PS4='+ '
                    125: 
                    126: # NLS nuisances.
1.43      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.49      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.43      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.49      moko      193: test x\$exitcode = x0 || exit 1
                    194: test -x / || exit 1"
1.43      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.15      paf       219: do
1.43      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.49      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.43      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.15      paf       274:   else
1.43      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.15      paf       279:   fi
1.43      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.49      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.43      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.15      paf       426: 
1.43      moko      427: if expr a : '\(a\)' >/dev/null 2>&1 &&
                    428:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.15      paf       429:   as_expr=expr
                    430: else
                    431:   as_expr=false
                    432: fi
                    433: 
1.43      moko      434: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1.15      paf       435:   as_basename=basename
                    436: else
                    437:   as_basename=false
                    438: fi
                    439: 
1.43      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.15      paf       445: 
1.43      moko      446: as_me=`$as_basename -- "$0" ||
1.15      paf       447: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                    448:         X"$0" : 'X\(//\)$' \| \
1.43      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.15      paf       464: 
                    465: # Avoid depending upon Character Ranges.
                    466: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                    467: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                    468: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                    469: as_cr_digits='0123456789'
                    470: as_cr_alnum=$as_cr_Letters$as_cr_digits
                    471: 
                    472: 
1.43      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.15      paf       482:     sed '
1.43      moko      483:       s/[$]LINENO.*/&-/
                    484:       t lineno
                    485:       b
                    486:       :lineno
1.15      paf       487:       N
1.43      moko      488:       :loop
                    489:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1.15      paf       490:       t loop
1.43      moko      491:       s/-\n.*//
1.15      paf       492:     ' >$as_me.lineno &&
1.43      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.15      paf       495: 
1.49      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.15      paf       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.43      moko      502:   # original and so on.  Autoconf is especially sensitive to this).
                    503:   . "./$as_me.lineno"
1.15      paf       504:   # Exit status is that of the last command.
                    505:   exit
                    506: }
                    507: 
1.43      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.15      paf       519: esac
                    520: 
1.43      moko      521: rm -f conf$$ conf$$.exe conf$$.file
                    522: if test -d conf$$.dir; then
                    523:   rm -f conf$$.dir/conf$$.file
1.15      paf       524: else
1.43      moko      525:   rm -f conf$$.dir
                    526:   mkdir conf$$.dir 2>/dev/null
1.15      paf       527: fi
1.43      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.49      moko      534:     # In both cases, we have to default to `cp -pR'.
1.43      moko      535:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.49      moko      536:       as_ln_s='cp -pR'
1.43      moko      537:   elif ln conf$$.file conf$$ 2>/dev/null; then
                    538:     as_ln_s=ln
                    539:   else
1.49      moko      540:     as_ln_s='cp -pR'
1.15      paf       541:   fi
                    542: else
1.49      moko      543:   as_ln_s='cp -pR'
1.15      paf       544: fi
1.43      moko      545: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                    546: rmdir conf$$.dir 2>/dev/null
1.15      paf       547: 
                    548: if mkdir -p . 2>/dev/null; then
1.43      moko      549:   as_mkdir_p='mkdir -p "$as_dir"'
1.15      paf       550: else
1.25      paf       551:   test -d ./-p && rmdir ./-p
1.15      paf       552:   as_mkdir_p=false
                    553: fi
                    554: 
1.49      moko      555: as_test_x='test -x'
                    556: as_executable_p=as_fn_executable_p
1.15      paf       557: 
                    558: # Sed expression to map a string onto a valid CPP name.
1.25      paf       559: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.15      paf       560: 
                    561: # Sed expression to map a string onto a valid variable name.
1.25      paf       562: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.15      paf       563: 
1.36      moko      564: lt_ltdl_dir='libltdl'
                    565: 
1.15      paf       566: SHELL=${CONFIG_SHELL-/bin/sh}
                    567: 
1.35      moko      568: lt_dlopen_dir="$lt_ltdl_dir"
1.15      paf       569: 
1.1       parser    570: 
1.43      moko      571: test -n "$DJDIR" || exec 7<&0 </dev/null
                    572: exec 6>&1
                    573: 
1.15      paf       574: # Name of the host.
1.43      moko      575: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
1.15      paf       576: # so uname gets run too.
                    577: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
                    578: 
                    579: #
                    580: # Initializations.
                    581: #
1.1       parser    582: ac_default_prefix=/usr/local
1.43      moko      583: ac_clean_files=
1.15      paf       584: ac_config_libobj_dir=.
1.43      moko      585: LIBOBJS=
1.15      paf       586: cross_compiling=no
                    587: subdirs=
                    588: MFLAGS=
                    589: MAKEFLAGS=
                    590: 
                    591: # Identity of this package.
1.49      moko      592: PACKAGE_NAME='parser3mysql'
                    593: PACKAGE_TARNAME='parser3mysql'
1.53    ! moko      594: PACKAGE_VERSION='10.8'
        !           595: PACKAGE_STRING='parser3mysql 10.8'
1.36      moko      596: PACKAGE_BUGREPORT=''
1.43      moko      597: PACKAGE_URL=''
1.15      paf       598: 
                    599: ac_unique_file="parser3mysql.C"
                    600: # Factoring default headers for most tests.
                    601: ac_includes_default="\
                    602: #include <stdio.h>
1.43      moko      603: #ifdef HAVE_SYS_TYPES_H
1.15      paf       604: # include <sys/types.h>
                    605: #endif
1.43      moko      606: #ifdef HAVE_SYS_STAT_H
1.15      paf       607: # include <sys/stat.h>
                    608: #endif
1.43      moko      609: #ifdef STDC_HEADERS
1.15      paf       610: # include <stdlib.h>
                    611: # include <stddef.h>
                    612: #else
1.43      moko      613: # ifdef HAVE_STDLIB_H
1.15      paf       614: #  include <stdlib.h>
                    615: # endif
                    616: #endif
1.43      moko      617: #ifdef HAVE_STRING_H
                    618: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
1.15      paf       619: #  include <memory.h>
                    620: # endif
                    621: # include <string.h>
                    622: #endif
1.43      moko      623: #ifdef HAVE_STRINGS_H
1.15      paf       624: # include <strings.h>
                    625: #endif
1.43      moko      626: #ifdef HAVE_INTTYPES_H
1.15      paf       627: # include <inttypes.h>
                    628: #endif
1.43      moko      629: #ifdef HAVE_STDINT_H
                    630: # include <stdint.h>
                    631: #endif
                    632: #ifdef HAVE_UNISTD_H
1.15      paf       633: # include <unistd.h>
                    634: #endif"
                    635: 
1.43      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: MYSQL_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.15      paf       778: ac_subst_files=''
1.43      moko      779: ac_user_opts='
                    780: enable_option_checking
                    781: with_mysql_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       parser    809: 
                    810: # Initialize some variables set by options.
1.15      paf       811: ac_init_help=
                    812: ac_init_version=false
1.43      moko      813: ac_unrecognized_opts=
                    814: ac_unrecognized_sep=
1.1       parser    815: # The variables have the same names as the options, with
                    816: # dashes changed to underlines.
1.15      paf       817: cache_file=/dev/null
1.1       parser    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
1.15      paf       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.43      moko      837: # (The list follows the same order as the GNU Coding Standards.)
1.1       parser    838: bindir='${exec_prefix}/bin'
                    839: sbindir='${exec_prefix}/sbin'
                    840: libexecdir='${exec_prefix}/libexec'
1.43      moko      841: datarootdir='${prefix}/share'
                    842: datadir='${datarootdir}'
1.1       parser    843: sysconfdir='${prefix}/etc'
                    844: sharedstatedir='${prefix}/com'
                    845: localstatedir='${prefix}/var'
                    846: includedir='${prefix}/include'
                    847: oldincludedir='/usr/include'
1.43      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       parser    857: 
                    858: ac_prev=
1.43      moko      859: ac_dashdash=
1.1       parser    860: for ac_option
                    861: do
                    862:   # If the previous option needs an argument, assign it.
                    863:   if test -n "$ac_prev"; then
1.43      moko      864:     eval $ac_prev=\$ac_option
1.1       parser    865:     ac_prev=
                    866:     continue
                    867:   fi
                    868: 
1.43      moko      869:   case $ac_option in
                    870:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
                    871:   *=)   ac_optarg= ;;
                    872:   *)    ac_optarg=yes ;;
                    873:   esac
1.1       parser    874: 
                    875:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    876: 
1.43      moko      877:   case $ac_dashdash$ac_option in
                    878:   --)
                    879:     ac_dashdash=yes ;;
1.1       parser    880: 
                    881:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    882:     ac_prev=bindir ;;
                    883:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1.15      paf       884:     bindir=$ac_optarg ;;
1.1       parser    885: 
                    886:   -build | --build | --buil | --bui | --bu)
1.15      paf       887:     ac_prev=build_alias ;;
1.1       parser    888:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1.15      paf       889:     build_alias=$ac_optarg ;;
1.1       parser    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=*)
1.15      paf       896:     cache_file=$ac_optarg ;;
                    897: 
                    898:   --config-cache | -C)
                    899:     cache_file=config.cache ;;
1.1       parser    900: 
1.43      moko      901:   -datadir | --datadir | --datadi | --datad)
1.1       parser    902:     ac_prev=datadir ;;
1.43      moko      903:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1.15      paf       904:     datadir=$ac_optarg ;;
1.1       parser    905: 
1.43      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       parser    913:   -disable-* | --disable-*)
1.43      moko      914:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1       parser    915:     # Reject names that are not valid shell variable names.
1.43      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       parser    938: 
                    939:   -enable-* | --enable-*)
1.43      moko      940:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1       parser    941:     # Reject names that are not valid shell variable names.
1.43      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       parser    952:     esac
1.43      moko      953:     eval enable_$ac_useropt=\$ac_optarg ;;
1.1       parser    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=*)
1.15      paf       962:     exec_prefix=$ac_optarg ;;
1.1       parser    963: 
                    964:   -gas | --gas | --ga | --g)
                    965:     # Obsolete; use --with-gas.
                    966:     with_gas=yes ;;
                    967: 
1.15      paf       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 ;;
1.1       parser    974: 
                    975:   -host | --host | --hos | --ho)
1.15      paf       976:     ac_prev=host_alias ;;
1.1       parser    977:   -host=* | --host=* | --hos=* | --ho=*)
1.15      paf       978:     host_alias=$ac_optarg ;;
1.1       parser    979: 
1.43      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       parser    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=*)
1.15      paf       991:     includedir=$ac_optarg ;;
1.1       parser    992: 
                    993:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                    994:     ac_prev=infodir ;;
                    995:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1.15      paf       996:     infodir=$ac_optarg ;;
1.1       parser    997: 
                    998:   -libdir | --libdir | --libdi | --libd)
                    999:     ac_prev=libdir ;;
                   1000:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1.15      paf      1001:     libdir=$ac_optarg ;;
1.1       parser   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=*)
1.15      paf      1008:     libexecdir=$ac_optarg ;;
1.1       parser   1009: 
1.43      moko     1010:   -localedir | --localedir | --localedi | --localed | --locale)
                   1011:     ac_prev=localedir ;;
                   1012:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
                   1013:     localedir=$ac_optarg ;;
                   1014: 
1.1       parser   1015:   -localstatedir | --localstatedir | --localstatedi | --localstated \
1.43      moko     1016:   | --localstate | --localstat | --localsta | --localst | --locals)
1.1       parser   1017:     ac_prev=localstatedir ;;
                   1018:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1.43      moko     1019:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1.15      paf      1020:     localstatedir=$ac_optarg ;;
1.1       parser   1021: 
                   1022:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                   1023:     ac_prev=mandir ;;
                   1024:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1.15      paf      1025:     mandir=$ac_optarg ;;
1.1       parser   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 \
1.15      paf      1032:   | --no-cr | --no-c | -n)
1.1       parser   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=*)
1.15      paf      1046:     oldincludedir=$ac_optarg ;;
1.1       parser   1047: 
                   1048:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   1049:     ac_prev=prefix ;;
                   1050:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1.15      paf      1051:     prefix=$ac_optarg ;;
1.1       parser   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=*)
1.15      paf      1058:     program_prefix=$ac_optarg ;;
1.1       parser   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=*)
1.15      paf      1065:     program_suffix=$ac_optarg ;;
1.1       parser   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=*)
1.15      paf      1082:     program_transform_name=$ac_optarg ;;
1.1       parser   1083: 
1.43      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       parser   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=*)
1.15      paf      1102:     sbindir=$ac_optarg ;;
1.1       parser   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=*)
1.15      paf      1113:     sharedstatedir=$ac_optarg ;;
1.1       parser   1114: 
                   1115:   -site | --site | --sit)
                   1116:     ac_prev=site ;;
                   1117:   -site=* | --site=* | --sit=*)
1.15      paf      1118:     site=$ac_optarg ;;
1.1       parser   1119: 
                   1120:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   1121:     ac_prev=srcdir ;;
                   1122:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1.15      paf      1123:     srcdir=$ac_optarg ;;
1.1       parser   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=*)
1.15      paf      1130:     sysconfdir=$ac_optarg ;;
1.1       parser   1131: 
                   1132:   -target | --target | --targe | --targ | --tar | --ta | --t)
1.15      paf      1133:     ac_prev=target_alias ;;
1.1       parser   1134:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1.15      paf      1135:     target_alias=$ac_optarg ;;
1.1       parser   1136: 
                   1137:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                   1138:     verbose=yes ;;
                   1139: 
1.15      paf      1140:   -version | --version | --versio | --versi | --vers | -V)
                   1141:     ac_init_version=: ;;
1.1       parser   1142: 
                   1143:   -with-* | --with-*)
1.43      moko     1144:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1       parser   1145:     # Reject names that are not valid shell variable names.
1.43      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       parser   1156:     esac
1.43      moko     1157:     eval with_$ac_useropt=\$ac_optarg ;;
1.1       parser   1158: 
                   1159:   -without-* | --without-*)
1.43      moko     1160:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1       parser   1161:     # Reject names that are not valid shell variable names.
1.43      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       parser   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=*)
1.15      paf      1184:     x_includes=$ac_optarg ;;
1.1       parser   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=*)
1.15      paf      1191:     x_libraries=$ac_optarg ;;
1.1       parser   1192: 
1.43      moko     1193:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
                   1194: Try \`$0 --help' for more information"
1.1       parser   1195:     ;;
                   1196: 
1.15      paf      1197:   *=*)
                   1198:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                   1199:     # Reject names that are not valid shell variable names.
1.43      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.15      paf      1205:     export $ac_envvar ;;
                   1206: 
1.1       parser   1207:   *)
1.15      paf      1208:     # FIXME: should be removed in autoconf 3.0.
1.43      moko     1209:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1.15      paf      1210:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.43      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       parser   1213:     ;;
                   1214: 
                   1215:   esac
                   1216: done
                   1217: 
                   1218: if test -n "$ac_prev"; then
1.15      paf      1219:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1.43      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.1       parser   1229: fi
                   1230: 
1.43      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.15      paf      1236: do
1.43      moko     1237:   eval ac_val=\$$ac_var
                   1238:   # Remove trailing slashes.
1.15      paf      1239:   case $ac_val in
1.43      moko     1240:     */ )
                   1241:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
                   1242:       eval $ac_var=\$ac_val;;
1.15      paf      1243:   esac
1.43      moko     1244:   # Be sure to have absolute directory names.
1.15      paf      1245:   case $ac_val in
1.43      moko     1246:     [\\/$]* | ?:[\\/]* )  continue;;
                   1247:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1.1       parser   1248:   esac
1.43      moko     1249:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1.1       parser   1250: done
                   1251: 
1.15      paf      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-
1.1       parser   1270: 
1.15      paf      1271: test "$silent" = yes && exec 6>/dev/null
1.1       parser   1272: 
                   1273: 
1.43      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       parser   1282: # Find the source files, if location was not specified.
                   1283: if test -z "$srcdir"; then
                   1284:   ac_srcdir_defaulted=yes
1.43      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       parser   1309:   srcdir=$ac_confdir
1.43      moko     1310:   if test ! -r "$srcdir/$ac_unique_file"; then
1.1       parser   1311:     srcdir=..
                   1312:   fi
                   1313: else
                   1314:   ac_srcdir_defaulted=no
                   1315: fi
1.43      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.15      paf      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.53    ! moko     1348: \`configure' configures parser3mysql 10.8 to adapt to many kinds of systems.
1.15      paf      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.43      moko     1362:   -q, --quiet, --silent   do not print \`checking ...' messages
1.15      paf      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.43      moko     1370:                           [$ac_default_prefix]
1.15      paf      1371:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1.43      moko     1372:                           [PREFIX]
1.15      paf      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.43      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.49      moko     1396:   --docdir=DIR            documentation root [DATAROOTDIR/doc/parser3mysql]
1.43      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.15      paf      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.36      moko     1417:   case $ac_init_help in
1.53    ! moko     1418:      short | recursive ) echo "Configuration of parser3mysql 10.8:";;
1.36      moko     1419:    esac
1.15      paf      1420:   cat <<\_ACEOF
                   1421: 
                   1422: Optional Features:
1.43      moko     1423:   --disable-option-checking  ignore unrecognized --enable/--with options
1.15      paf      1424:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                   1425:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1.25      paf      1426:   --disable-dependency-tracking  speeds up one-time build
                   1427:   --enable-dependency-tracking   do not reject slow dependency extractors
1.43      moko     1428:   --enable-static[=PKGS]  build static libraries [default=no]
                   1429:   --enable-shared[=PKGS]  build shared libraries [default=yes]
1.35      moko     1430:   --enable-fast-install[=PKGS]
                   1431:                           optimize for fast installation [default=yes]
1.15      paf      1432:   --disable-libtool-lock  avoid locking (might break parallel builds)
1.35      moko     1433:   --enable-ltdl-install   install libltdl
1.15      paf      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-mysql-inc=DIR        DIR is the MySQL includes directory
1.43      moko     1439:   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1.35      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.15      paf      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.43      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.15      paf      1456:   CC          C compiler command
                   1457:   CFLAGS      C compiler flags
1.24      paf      1458:   CPP         C preprocessor
1.35      moko     1459:   CXXCPP      C++ preprocessor
1.15      paf      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.43      moko     1464: Report bugs to the package provider.
1.15      paf      1465: _ACEOF
1.43      moko     1466: ac_status=$?
1.15      paf      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.43      moko     1472:     test -d "$ac_dir" ||
                   1473:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
                   1474:       continue
1.15      paf      1475:     ac_builddir=.
                   1476: 
1.43      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.15      paf      1492: 
                   1493: case $srcdir in
1.43      moko     1494:   .)  # We are building in place.
1.15      paf      1495:     ac_srcdir=.
1.43      moko     1496:     ac_top_srcdir=$ac_top_builddir_sub
                   1497:     ac_abs_top_srcdir=$ac_pwd ;;
                   1498:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.15      paf      1499:     ac_srcdir=$srcdir$ac_dir_suffix;
1.43      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.15      paf      1506: esac
1.43      moko     1507: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.25      paf      1508: 
1.43      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.15      paf      1517:     else
1.43      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.15      paf      1521:   done
                   1522: fi
                   1523: 
1.43      moko     1524: test -n "$ac_init_help" && exit $ac_status
1.15      paf      1525: if $ac_init_version; then
                   1526:   cat <<\_ACEOF
1.53    ! moko     1527: parser3mysql configure 10.8
1.49      moko     1528: generated by GNU Autoconf 2.69
1.15      paf      1529: 
1.49      moko     1530: Copyright (C) 2012 Free Software Foundation, Inc.
1.15      paf      1531: This configure script is free software; the Free Software Foundation
                   1532: gives unlimited permission to copy, distribute and modify it.
                   1533: _ACEOF
1.43      moko     1534:   exit
1.15      paf      1535: fi
                   1536: 
1.43      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.15      paf      1576: 
1.43      moko     1577: } # ac_fn_cxx_try_compile
1.15      paf      1578: 
1.43      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.15      paf      1583: {
1.43      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.49      moko     1644:         test -x conftest$ac_exeext
1.43      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.49      moko     1904:         test -x conftest$ac_exeext
1.43      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.53    ! moko     2113: It was created by parser3mysql $as_me 10.8, which was
1.49      moko     2114: generated by GNU Autoconf 2.69.  Invocation command line was
1.43      moko     2115: 
                   2116:   $ $0 $@
                   2117: 
                   2118: _ACEOF
                   2119: exec 5>>config.log
                   2120: {
                   2121: cat <<_ASUNAME
                   2122: ## --------- ##
                   2123: ## Platform. ##
                   2124: ## --------- ##
1.15      paf      2125: 
                   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`
                   2131: 
                   2132: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   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.43      moko     2138: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1.15      paf      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.43      moko     2150:     $as_echo "PATH: $as_dir"
                   2151:   done
                   2152: IFS=$as_save_IFS
1.15      paf      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.43      moko     2184:     *\'*)
                   2185:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.15      paf      2186:     esac
                   2187:     case $ac_pass in
1.43      moko     2188:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1.15      paf      2189:     2)
1.43      moko     2190:       as_fn_append ac_configure_args1 " '$ac_arg'"
1.15      paf      2191:       if test $ac_must_keep_next = true; then
1.25      paf      2192:        ac_must_keep_next=false # Got value, back to normal.
1.15      paf      2193:       else
1.25      paf      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
1.15      paf      2205:       fi
1.43      moko     2206:       as_fn_append ac_configure_args " '$ac_arg'"
1.15      paf      2207:       ;;
                   2208:     esac
                   2209:   done
                   2210: done
1.43      moko     2211: { ac_configure_args0=; unset ac_configure_args0;}
                   2212: { ac_configure_args1=; unset ac_configure_args1;}
1.15      paf      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.43      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.15      paf      2219: trap 'exit_status=$?
                   2220:   # Save into config.log some information that might help in debugging.
                   2221:   {
                   2222:     echo
                   2223: 
1.43      moko     2224:     $as_echo "## ---------------- ##
1.15      paf      2225: ## Cache variables. ##
1.43      moko     2226: ## ---------------- ##"
1.15      paf      2227:     echo
                   2228:     # The following way of writing the cache mishandles newlines in values,
1.43      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.15      paf      2245:   (set) 2>&1 |
1.43      moko     2246:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
                   2247:     *${as_nl}ac_space=\ *)
1.15      paf      2248:       sed -n \
1.43      moko     2249:        "s/'\''/'\''\\\\'\'''\''/g;
                   2250:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
                   2251:       ;; #(
1.15      paf      2252:     *)
1.43      moko     2253:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.15      paf      2254:       ;;
1.43      moko     2255:     esac |
                   2256:     sort
                   2257: )
1.15      paf      2258:     echo
                   2259: 
1.43      moko     2260:     $as_echo "## ----------------- ##
1.15      paf      2261: ## Output variables. ##
1.43      moko     2262: ## ----------------- ##"
1.15      paf      2263:     echo
                   2264:     for ac_var in $ac_subst_vars
                   2265:     do
1.43      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.15      paf      2271:     done | sort
                   2272:     echo
                   2273: 
                   2274:     if test -n "$ac_subst_files"; then
1.43      moko     2275:       $as_echo "## ------------------- ##
                   2276: ## File substitutions. ##
                   2277: ## ------------------- ##"
1.15      paf      2278:       echo
                   2279:       for ac_var in $ac_subst_files
                   2280:       do
1.43      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.15      paf      2286:       done | sort
                   2287:       echo
                   2288:     fi
                   2289: 
                   2290:     if test -s confdefs.h; then
1.43      moko     2291:       $as_echo "## ----------- ##
1.15      paf      2292: ## confdefs.h. ##
1.43      moko     2293: ## ----------- ##"
1.15      paf      2294:       echo
1.43      moko     2295:       cat confdefs.h
1.15      paf      2296:       echo
                   2297:     fi
                   2298:     test "$ac_signal" != 0 &&
1.43      moko     2299:       $as_echo "$as_me: caught signal $ac_signal"
                   2300:     $as_echo "$as_me: exit $exit_status"
1.15      paf      2301:   } >&5
1.43      moko     2302:   rm -f core *.core core.conftest.* &&
                   2303:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1.15      paf      2304:     exit $exit_status
1.43      moko     2305: ' 0
1.15      paf      2306: for ac_signal in 1 2 13 15; do
1.43      moko     2307:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1.15      paf      2308: done
                   2309: ac_signal=0
                   2310: 
                   2311: # confdefs.h avoids OS command line length limits that DEFS can exceed.
1.43      moko     2312: rm -f -r conftest* confdefs.h
                   2313: 
                   2314: $as_echo "/* confdefs.h */" > confdefs.h
1.15      paf      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
1.1       parser   2329: 
1.15      paf      2330: cat >>confdefs.h <<_ACEOF
                   2331: #define PACKAGE_STRING "$PACKAGE_STRING"
                   2332: _ACEOF
                   2333: 
1.43      moko     2334: cat >>confdefs.h <<_ACEOF
                   2335: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   2336: _ACEOF
1.15      paf      2337: 
                   2338: cat >>confdefs.h <<_ACEOF
1.43      moko     2339: #define PACKAGE_URL "$PACKAGE_URL"
1.15      paf      2340: _ACEOF
                   2341: 
                   2342: 
                   2343: # Let the site file select an alternate cache file if it wants to.
1.43      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.15      paf      2367:     sed 's/^/| /' "$ac_site_file" >&5
1.43      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       parser   2373:   fi
                   2374: done
                   2375: 
                   2376: if test -r "$cache_file"; then
1.43      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.15      paf      2382:     case $cache_file in
1.43      moko     2383:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
                   2384:       *)                      . "./$cache_file";;
1.15      paf      2385:     esac
                   2386:   fi
1.1       parser   2387: else
1.43      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.15      paf      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.43      moko     2396: for ac_var in $ac_precious_vars; do
1.15      paf      2397:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   2398:   eval ac_new_set=\$ac_env_${ac_var}_set
1.43      moko     2399:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
                   2400:   eval ac_new_val=\$ac_env_${ac_var}_value
1.15      paf      2401:   case $ac_old_set,$ac_new_set in
                   2402:     set,)
1.43      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.15      paf      2405:       ac_cache_corrupted=: ;;
                   2406:     ,set)
1.43      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.15      paf      2409:       ac_cache_corrupted=: ;;
                   2410:     ,);;
                   2411:     *)
                   2412:       if test "x$ac_old_val" != "x$ac_new_val"; then
1.43      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.15      paf      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.43      moko     2434:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1.15      paf      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.43      moko     2439:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1.15      paf      2440:     esac
                   2441:   fi
                   2442: done
                   2443: if $ac_cache_corrupted; then
1.43      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       parser   2453: 
                   2454: ac_ext=c
                   2455: ac_cpp='$CPP $CPPFLAGS'
1.15      paf      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.43      moko     2462: ac_config_headers="$ac_config_headers config_auto.h"
1.15      paf      2463: 
                   2464: 
1.43      moko     2465: am__api_version='1.11'
1.15      paf      2466: 
1.1       parser   2467: ac_aux_dir=
1.43      moko     2468: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
                   2469:   if test -f "$ac_dir/install-sh"; then
1.1       parser   2470:     ac_aux_dir=$ac_dir
                   2471:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   2472:     break
1.43      moko     2473:   elif test -f "$ac_dir/install.sh"; then
1.1       parser   2474:     ac_aux_dir=$ac_dir
                   2475:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   2476:     break
1.43      moko     2477:   elif test -f "$ac_dir/shtool"; then
1.15      paf      2478:     ac_aux_dir=$ac_dir
                   2479:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   2480:     break
1.1       parser   2481:   fi
                   2482: done
                   2483: if test -z "$ac_aux_dir"; then
1.43      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       parser   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
1.15      paf      2503: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1       parser   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"
1.25      paf      2507: # OS/2's system install, which has a completely different semantic
1.1       parser   2508: # ./install, which can be erroneously created by make from ./install.sh.
1.43      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       parser   2512: if test -z "$INSTALL"; then
1.43      moko     2513: if ${ac_cv_path_install+:} false; then :
                   2514:   $as_echo_n "(cached) " >&6
1.1       parser   2515: else
1.15      paf      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.43      moko     2521:     # Account for people who put trailing slashes in PATH elements.
                   2522: case $as_dir/ in #((
                   2523:   ./ | .// | /[cC]/* | \
1.15      paf      2524:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.43      moko     2525:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1.15      paf      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.49      moko     2533:        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1.25      paf      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.43      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.25      paf      2555:          fi
                   2556:        fi
1.1       parser   2557:       done
1.15      paf      2558:     done
                   2559:     ;;
                   2560: esac
                   2561: 
1.43      moko     2562:   done
                   2563: IFS=$as_save_IFS
                   2564: 
                   2565: rm -rf conftest.one conftest.two conftest.dir
1.1       parser   2566: 
                   2567: fi
                   2568:   if test "${ac_cv_path_install+set}" = set; then
1.15      paf      2569:     INSTALL=$ac_cv_path_install
1.1       parser   2570:   else
1.43      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       parser   2573:     # break other packages using the cache if that directory is
1.43      moko     2574:     # removed, or if the value is a relative name.
1.15      paf      2575:     INSTALL=$ac_install_sh
1.1       parser   2576:   fi
                   2577: fi
1.43      moko     2578: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
                   2579: $as_echo "$INSTALL" >&6; }
1.1       parser   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: 
1.15      paf      2585: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1       parser   2586: 
                   2587: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   2588: 
1.43      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       parser   2591: # Just in case
                   2592: sleep 1
1.15      paf      2593: echo timestamp > conftest.file
1.43      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       parser   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.43      moko     2613:    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1.1       parser   2614:    if test "$*" = "X"; then
                   2615:       # -L didn't work.
1.43      moko     2616:       set X `ls -t "$srcdir/configure" conftest.file`
1.1       parser   2617:    fi
1.15      paf      2618:    rm -f conftest.file
                   2619:    if test "$*" != "X $srcdir/configure conftest.file" \
                   2620:       && test "$*" != "X conftest.file $srcdir/configure"; then
1.1       parser   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.43      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       parser   2628:    fi
                   2629: 
1.15      paf      2630:    test "$2" = conftest.file
1.1       parser   2631:    )
                   2632: then
                   2633:    # Ok.
                   2634:    :
                   2635: else
1.43      moko     2636:    as_fn_error $? "newly created file is older than distributed files!
                   2637: Check your system clock" "$LINENO" 5
1.1       parser   2638: fi
1.43      moko     2639: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2640: $as_echo "yes" >&6; }
1.1       parser   2641: test "$program_prefix" != NONE &&
1.43      moko     2642:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
1.1       parser   2643: # Use a double $ so make ignores it.
                   2644: test "$program_suffix" != NONE &&
1.43      moko     2645:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
                   2646: # Double any \ or $.
1.15      paf      2647: # By default was `s,x,x', remove it if useless.
1.43      moko     2648: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
                   2649: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1.15      paf      2650: 
                   2651: # expand $ac_aux_dir to an absolute path
                   2652: am_aux_dir=`cd $ac_aux_dir && pwd`
                   2653: 
1.43      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.15      paf      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.43      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.15      paf      2669: fi
                   2670: 
1.43      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.49      moko     2702:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.43      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.49      moko     2742:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.43      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.49      moko     2793:           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
1.43      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.25      paf      2803:   done
1.43      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.25      paf      2811:   else
1.43      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.25      paf      2817:   fi
                   2818: fi
1.43      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.25      paf      2827: 
1.15      paf      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.43      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.15      paf      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.43      moko     2845:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     2846:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.15      paf      2847:     ac_cv_prog_AWK="$ac_prog"
1.43      moko     2848:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.15      paf      2849:     break 2
                   2850:   fi
                   2851: done
1.43      moko     2852:   done
                   2853: IFS=$as_save_IFS
1.15      paf      2854: 
                   2855: fi
                   2856: fi
                   2857: AWK=$ac_cv_prog_AWK
                   2858: if test -n "$AWK"; then
1.43      moko     2859:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   2860: $as_echo "$AWK" >&6; }
1.15      paf      2861: else
1.43      moko     2862:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2863: $as_echo "no" >&6; }
1.15      paf      2864: fi
1.1       parser   2865: 
1.43      moko     2866: 
1.15      paf      2867:   test -n "$AWK" && break
                   2868: done
1.1       parser   2869: 
1.43      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       parser   2876: else
1.15      paf      2877:   cat >conftest.make <<\_ACEOF
1.43      moko     2878: SHELL = /bin/sh
1.1       parser   2879: all:
1.43      moko     2880:        @echo '@@@%%%=$(MAKE)=@@@%%%'
1.15      paf      2881: _ACEOF
1.43      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.15      paf      2889: rm -f conftest.make
1.1       parser   2890: fi
1.43      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       parser   2894:   SET_MAKE=
                   2895: else
1.43      moko     2896:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2897: $as_echo "no" >&6; }
1.1       parser   2898:   SET_MAKE="MAKE=${MAKE-make}"
                   2899: fi
                   2900: 
1.25      paf      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.43      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.15      paf      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.49      moko     2931:  PACKAGE='parser3mysql'
1.53    ! moko     2932:  VERSION='10.8'
1.15      paf      2933: 
                   2934: 
1.36      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.15      paf      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"}
1.1       parser   2950: 
                   2951: 
1.15      paf      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"}
1.1       parser   2959: 
1.15      paf      2960: # We need awk for the "check" target.  The system "awk" is bad on
                   2961: # some platforms.
1.25      paf      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: 
1.1       parser   2969: 
                   2970: 
                   2971: 
                   2972: 
                   2973: 
                   2974: 
                   2975: 
1.43      moko     2976: # Check whether --with-mysql-inc was given.
                   2977: if test "${with_mysql_inc+set}" = set; then :
                   2978:   withval=$with_mysql_inc;
1.8       paf      2979:        if test -r "$withval/mysql.h"; then
                   2980:                MYSQL_INC=$withval
                   2981:        fi
                   2982: 
                   2983: 
1.33      misha    2984:        if test -z "$MYSQL_INC"; then
1.43      moko     2985:                as_fn_error $? "$MYSQL_INC does not seem to be valid MySQL includes directory" "$LINENO" 5
1.33      misha    2986:        fi
1.8       paf      2987: 
1.1       parser   2988: else
1.43      moko     2989:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MYSQL_INC directory" >&5
                   2990: $as_echo_n "checking for MYSQL_INC directory... " >&6; }
1.8       paf      2991:        for d in \
                   2992:                /usr/local/include/mysql \
                   2993:                /usr/include/mysql ; do
1.15      paf      2994: 
1.8       paf      2995:        if test -r "$d/mysql.h"; then
                   2996:                MYSQL_INC=$d
                   2997:        fi
                   2998: 
                   2999:        done
                   3000: 
1.33      misha    3001:        if test -z "$MYSQL_INC"; then
1.43      moko     3002:                as_fn_error $? "use --with-mysql-inc=DIR to specify MySQL includes directory" "$LINENO" 5
1.33      misha    3003:        fi
1.8       paf      3004: 
1.43      moko     3005:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MYSQL_INC" >&5
                   3006: $as_echo "$MYSQL_INC" >&6; }
1.1       parser   3007: 
1.43      moko     3008: fi
1.3       parser   3009: 
1.1       parser   3010: 
                   3011: 
1.15      paf      3012: 
1.1       parser   3013: 
1.43      moko     3014: ac_ext=cpp
1.15      paf      3015: ac_cpp='$CXXCPP $CPPFLAGS'
                   3016: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3017: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3018: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.43      moko     3019: if test -z "$CXX"; then
                   3020:   if test -n "$CCC"; then
                   3021:     CXX=$CCC
                   3022:   else
                   3023:     if test -n "$ac_tool_prefix"; then
                   3024:   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1.15      paf      3025:   do
                   3026:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3027: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.43      moko     3028: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3029: $as_echo_n "checking for $ac_word... " >&6; }
                   3030: if ${ac_cv_prog_CXX+:} false; then :
                   3031:   $as_echo_n "(cached) " >&6
1.1       parser   3032: else
                   3033:   if test -n "$CXX"; then
                   3034:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
                   3035: else
1.15      paf      3036: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3037: for as_dir in $PATH
                   3038: do
                   3039:   IFS=$as_save_IFS
                   3040:   test -z "$as_dir" && as_dir=.
1.43      moko     3041:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     3042:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.15      paf      3043:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1.43      moko     3044:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.15      paf      3045:     break 2
                   3046:   fi
                   3047: done
1.43      moko     3048:   done
                   3049: IFS=$as_save_IFS
1.15      paf      3050: 
1.1       parser   3051: fi
                   3052: fi
1.15      paf      3053: CXX=$ac_cv_prog_CXX
1.1       parser   3054: if test -n "$CXX"; then
1.43      moko     3055:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
                   3056: $as_echo "$CXX" >&6; }
1.1       parser   3057: else
1.43      moko     3058:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3059: $as_echo "no" >&6; }
1.1       parser   3060: fi
                   3061: 
1.43      moko     3062: 
1.15      paf      3063:     test -n "$CXX" && break
                   3064:   done
                   3065: fi
                   3066: if test -z "$CXX"; then
                   3067:   ac_ct_CXX=$CXX
1.43      moko     3068:   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1.15      paf      3069: do
                   3070:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3071: set dummy $ac_prog; ac_word=$2
1.43      moko     3072: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3073: $as_echo_n "checking for $ac_word... " >&6; }
                   3074: if ${ac_cv_prog_ac_ct_CXX+:} false; then :
                   3075:   $as_echo_n "(cached) " >&6
1.15      paf      3076: else
                   3077:   if test -n "$ac_ct_CXX"; then
                   3078:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
                   3079: else
                   3080: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3081: for as_dir in $PATH
                   3082: do
                   3083:   IFS=$as_save_IFS
                   3084:   test -z "$as_dir" && as_dir=.
1.43      moko     3085:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     3086:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.15      paf      3087:     ac_cv_prog_ac_ct_CXX="$ac_prog"
1.43      moko     3088:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.15      paf      3089:     break 2
                   3090:   fi
                   3091: done
1.43      moko     3092:   done
                   3093: IFS=$as_save_IFS
1.1       parser   3094: 
1.15      paf      3095: fi
                   3096: fi
                   3097: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
                   3098: if test -n "$ac_ct_CXX"; then
1.43      moko     3099:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
                   3100: $as_echo "$ac_ct_CXX" >&6; }
1.15      paf      3101: else
1.43      moko     3102:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3103: $as_echo "no" >&6; }
1.15      paf      3104: fi
1.1       parser   3105: 
1.43      moko     3106: 
1.15      paf      3107:   test -n "$ac_ct_CXX" && break
                   3108: done
1.1       parser   3109: 
1.43      moko     3110:   if test "x$ac_ct_CXX" = x; then
                   3111:     CXX="g++"
                   3112:   else
                   3113:     case $cross_compiling:$ac_tool_warned in
                   3114: yes:)
                   3115: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3116: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3117: ac_tool_warned=yes ;;
                   3118: esac
                   3119:     CXX=$ac_ct_CXX
                   3120:   fi
1.15      paf      3121: fi
1.1       parser   3122: 
1.43      moko     3123:   fi
                   3124: fi
1.15      paf      3125: # Provide some information about the compiler.
1.43      moko     3126: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
                   3127: set X $ac_compile
                   3128: ac_compiler=$2
                   3129: for ac_option in --version -v -V -qversion; do
                   3130:   { { ac_try="$ac_compiler $ac_option >&5"
                   3131: case "(($ac_try" in
                   3132:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3133:   *) ac_try_echo=$ac_try;;
                   3134: esac
                   3135: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3136: $as_echo "$ac_try_echo"; } >&5
                   3137:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.15      paf      3138:   ac_status=$?
1.43      moko     3139:   if test -s conftest.err; then
                   3140:     sed '10a\
                   3141: ... rest of stderr output deleted ...
                   3142:          10q' conftest.err >conftest.er1
                   3143:     cat conftest.er1 >&5
                   3144:   fi
                   3145:   rm -f conftest.er1 conftest.err
                   3146:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3147:   test $ac_status = 0; }
                   3148: done
1.15      paf      3149: 
1.43      moko     3150: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.15      paf      3151: /* end confdefs.h.  */
                   3152: 
                   3153: int
                   3154: main ()
                   3155: {
                   3156: 
                   3157:   ;
                   3158:   return 0;
                   3159: }
                   3160: _ACEOF
                   3161: ac_clean_files_save=$ac_clean_files
1.43      moko     3162: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
1.15      paf      3163: # Try to create an executable without -o first, disregard a.out.
                   3164: # It will help us diagnose broken compilers, and finding out an intuition
                   3165: # of exeext.
1.43      moko     3166: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
                   3167: $as_echo_n "checking whether the C++ compiler works... " >&6; }
                   3168: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   3169: 
                   3170: # The possible output files:
                   3171: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
                   3172: 
                   3173: ac_rmfiles=
                   3174: for ac_file in $ac_files
                   3175: do
                   3176:   case $ac_file in
                   3177:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3178:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
                   3179:   esac
                   3180: done
                   3181: rm -f $ac_rmfiles
                   3182: 
                   3183: if { { ac_try="$ac_link_default"
                   3184: case "(($ac_try" in
                   3185:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3186:   *) ac_try_echo=$ac_try;;
                   3187: esac
                   3188: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3189: $as_echo "$ac_try_echo"; } >&5
                   3190:   (eval "$ac_link_default") 2>&5
                   3191:   ac_status=$?
                   3192:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3193:   test $ac_status = 0; }; then :
                   3194:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
                   3195: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
                   3196: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
                   3197: # so that the user can short-circuit this test for compilers unknown to
                   3198: # Autoconf.
                   3199: for ac_file in $ac_files ''
1.15      paf      3200: do
                   3201:   test -f "$ac_file" || continue
                   3202:   case $ac_file in
1.43      moko     3203:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
1.25      paf      3204:        ;;
1.15      paf      3205:     [ab].out )
1.25      paf      3206:        # We found the default executable, but exeext='' is most
                   3207:        # certainly right.
                   3208:        break;;
1.15      paf      3209:     *.* )
1.43      moko     3210:        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
                   3211:        then :; else
                   3212:           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3213:        fi
                   3214:        # We set ac_cv_exeext here because the later test for it is not
                   3215:        # safe: cross compilers may not add the suffix if given an `-o'
                   3216:        # argument, so we may need to know it at that point already.
                   3217:        # Even if this section looks crufty: it has the advantage of
                   3218:        # actually working.
1.25      paf      3219:        break;;
1.15      paf      3220:     * )
1.25      paf      3221:        break;;
1.15      paf      3222:   esac
                   3223: done
1.43      moko     3224: test "$ac_cv_exeext" = no && ac_cv_exeext=
                   3225: 
1.15      paf      3226: else
1.43      moko     3227:   ac_file=''
                   3228: fi
                   3229: if test -z "$ac_file"; then :
                   3230:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3231: $as_echo "no" >&6; }
                   3232: $as_echo "$as_me: failed program was:" >&5
1.15      paf      3233: sed 's/^/| /' conftest.$ac_ext >&5
1.1       parser   3234: 
1.43      moko     3235: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3236: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3237: as_fn_error 77 "C++ compiler cannot create executables
                   3238: See \`config.log' for more details" "$LINENO" 5; }
                   3239: else
                   3240:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3241: $as_echo "yes" >&6; }
                   3242: fi
                   3243: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
                   3244: $as_echo_n "checking for C++ compiler default output file name... " >&6; }
                   3245: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
                   3246: $as_echo "$ac_file" >&6; }
1.15      paf      3247: ac_exeext=$ac_cv_exeext
                   3248: 
1.43      moko     3249: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
1.15      paf      3250: ac_clean_files=$ac_clean_files_save
1.43      moko     3251: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
                   3252: $as_echo_n "checking for suffix of executables... " >&6; }
                   3253: if { { ac_try="$ac_link"
                   3254: case "(($ac_try" in
                   3255:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3256:   *) ac_try_echo=$ac_try;;
                   3257: esac
                   3258: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3259: $as_echo "$ac_try_echo"; } >&5
                   3260:   (eval "$ac_link") 2>&5
1.15      paf      3261:   ac_status=$?
1.43      moko     3262:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3263:   test $ac_status = 0; }; then :
1.15      paf      3264:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   3265: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   3266: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   3267: # `rm'.
                   3268: for ac_file in conftest.exe conftest conftest.*; do
                   3269:   test -f "$ac_file" || continue
                   3270:   case $ac_file in
1.43      moko     3271:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
1.15      paf      3272:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.25      paf      3273:          break;;
1.15      paf      3274:     * ) break;;
                   3275:   esac
                   3276: done
1.1       parser   3277: else
1.43      moko     3278:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3279: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3280: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
                   3281: See \`config.log' for more details" "$LINENO" 5; }
                   3282: fi
                   3283: rm -f conftest conftest$ac_cv_exeext
                   3284: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
                   3285: $as_echo "$ac_cv_exeext" >&6; }
1.15      paf      3286: 
                   3287: rm -f conftest.$ac_ext
                   3288: EXEEXT=$ac_cv_exeext
                   3289: ac_exeext=$EXEEXT
1.43      moko     3290: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3291: /* end confdefs.h.  */
                   3292: #include <stdio.h>
                   3293: int
                   3294: main ()
                   3295: {
                   3296: FILE *f = fopen ("conftest.out", "w");
                   3297:  return ferror (f) || fclose (f) != 0;
                   3298: 
                   3299:   ;
                   3300:   return 0;
                   3301: }
                   3302: _ACEOF
                   3303: ac_clean_files="$ac_clean_files conftest.out"
                   3304: # Check that the compiler produces executables we can run.  If not, either
                   3305: # the compiler is broken, or we cross compile.
                   3306: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
                   3307: $as_echo_n "checking whether we are cross compiling... " >&6; }
                   3308: if test "$cross_compiling" != yes; then
                   3309:   { { ac_try="$ac_link"
                   3310: case "(($ac_try" in
                   3311:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3312:   *) ac_try_echo=$ac_try;;
                   3313: esac
                   3314: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3315: $as_echo "$ac_try_echo"; } >&5
                   3316:   (eval "$ac_link") 2>&5
                   3317:   ac_status=$?
                   3318:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3319:   test $ac_status = 0; }
                   3320:   if { ac_try='./conftest$ac_cv_exeext'
                   3321:   { { case "(($ac_try" in
                   3322:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3323:   *) ac_try_echo=$ac_try;;
                   3324: esac
                   3325: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3326: $as_echo "$ac_try_echo"; } >&5
                   3327:   (eval "$ac_try") 2>&5
                   3328:   ac_status=$?
                   3329:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3330:   test $ac_status = 0; }; }; then
                   3331:     cross_compiling=no
                   3332:   else
                   3333:     if test "$cross_compiling" = maybe; then
                   3334:        cross_compiling=yes
                   3335:     else
                   3336:        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3337: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3338: as_fn_error $? "cannot run C++ compiled programs.
                   3339: If you meant to cross compile, use \`--host'.
                   3340: See \`config.log' for more details" "$LINENO" 5; }
                   3341:     fi
                   3342:   fi
                   3343: fi
                   3344: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
                   3345: $as_echo "$cross_compiling" >&6; }
                   3346: 
                   3347: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
                   3348: ac_clean_files=$ac_clean_files_save
                   3349: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
                   3350: $as_echo_n "checking for suffix of object files... " >&6; }
                   3351: if ${ac_cv_objext+:} false; then :
                   3352:   $as_echo_n "(cached) " >&6
1.15      paf      3353: else
1.43      moko     3354:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.15      paf      3355: /* end confdefs.h.  */
                   3356: 
                   3357: int
                   3358: main ()
                   3359: {
                   3360: 
                   3361:   ;
                   3362:   return 0;
                   3363: }
                   3364: _ACEOF
                   3365: rm -f conftest.o conftest.obj
1.43      moko     3366: if { { ac_try="$ac_compile"
                   3367: case "(($ac_try" in
                   3368:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3369:   *) ac_try_echo=$ac_try;;
                   3370: esac
                   3371: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3372: $as_echo "$ac_try_echo"; } >&5
                   3373:   (eval "$ac_compile") 2>&5
                   3374:   ac_status=$?
                   3375:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3376:   test $ac_status = 0; }; then :
                   3377:   for ac_file in conftest.o conftest.obj conftest.*; do
                   3378:   test -f "$ac_file" || continue;
1.15      paf      3379:   case $ac_file in
1.43      moko     3380:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
1.15      paf      3381:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   3382:        break;;
                   3383:   esac
                   3384: done
1.1       parser   3385: else
1.43      moko     3386:   $as_echo "$as_me: failed program was:" >&5
1.15      paf      3387: sed 's/^/| /' conftest.$ac_ext >&5
1.1       parser   3388: 
1.43      moko     3389: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3390: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3391: as_fn_error $? "cannot compute suffix of object files: cannot compile
                   3392: See \`config.log' for more details" "$LINENO" 5; }
1.15      paf      3393: fi
                   3394: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   3395: fi
1.43      moko     3396: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
                   3397: $as_echo "$ac_cv_objext" >&6; }
1.15      paf      3398: OBJEXT=$ac_cv_objext
                   3399: ac_objext=$OBJEXT
1.43      moko     3400: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
                   3401: $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
                   3402: if ${ac_cv_cxx_compiler_gnu+:} false; then :
                   3403:   $as_echo_n "(cached) " >&6
1.15      paf      3404: else
1.43      moko     3405:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.15      paf      3406: /* end confdefs.h.  */
                   3407: 
                   3408: int
                   3409: main ()
                   3410: {
                   3411: #ifndef __GNUC__
                   3412:        choke me
                   3413: #endif
1.1       parser   3414: 
1.15      paf      3415:   ;
                   3416:   return 0;
                   3417: }
                   3418: _ACEOF
1.43      moko     3419: if ac_fn_cxx_try_compile "$LINENO"; then :
1.15      paf      3420:   ac_compiler_gnu=yes
                   3421: else
1.43      moko     3422:   ac_compiler_gnu=no
1.15      paf      3423: fi
1.43      moko     3424: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.15      paf      3425: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
                   3426: 
                   3427: fi
1.43      moko     3428: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
                   3429: $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
                   3430: if test $ac_compiler_gnu = yes; then
                   3431:   GXX=yes
                   3432: else
                   3433:   GXX=
                   3434: fi
1.15      paf      3435: ac_test_CXXFLAGS=${CXXFLAGS+set}
                   3436: ac_save_CXXFLAGS=$CXXFLAGS
1.43      moko     3437: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
                   3438: $as_echo_n "checking whether $CXX accepts -g... " >&6; }
                   3439: if ${ac_cv_prog_cxx_g+:} false; then :
                   3440:   $as_echo_n "(cached) " >&6
                   3441: else
                   3442:   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
                   3443:    ac_cxx_werror_flag=yes
                   3444:    ac_cv_prog_cxx_g=no
                   3445:    CXXFLAGS="-g"
                   3446:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.15      paf      3447: /* end confdefs.h.  */
                   3448: 
                   3449: int
                   3450: main ()
                   3451: {
                   3452: 
                   3453:   ;
                   3454:   return 0;
                   3455: }
                   3456: _ACEOF
1.43      moko     3457: if ac_fn_cxx_try_compile "$LINENO"; then :
1.15      paf      3458:   ac_cv_prog_cxx_g=yes
1.1       parser   3459: else
1.43      moko     3460:   CXXFLAGS=""
                   3461:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3462: /* end confdefs.h.  */
1.1       parser   3463: 
1.15      paf      3464: int
                   3465: main ()
                   3466: {
1.43      moko     3467: 
1.15      paf      3468:   ;
                   3469:   return 0;
                   3470: }
                   3471: _ACEOF
1.43      moko     3472: if ac_fn_cxx_try_compile "$LINENO"; then :
                   3473: 
1.15      paf      3474: else
1.43      moko     3475:   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
                   3476:         CXXFLAGS="-g"
                   3477:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.15      paf      3478: /* end confdefs.h.  */
1.43      moko     3479: 
1.15      paf      3480: int
                   3481: main ()
                   3482: {
1.43      moko     3483: 
1.15      paf      3484:   ;
                   3485:   return 0;
                   3486: }
                   3487: _ACEOF
1.43      moko     3488: if ac_fn_cxx_try_compile "$LINENO"; then :
                   3489:   ac_cv_prog_cxx_g=yes
                   3490: fi
                   3491: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   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:    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
                   3497: fi
                   3498: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
                   3499: $as_echo "$ac_cv_prog_cxx_g" >&6; }
                   3500: if test "$ac_test_CXXFLAGS" = set; then
                   3501:   CXXFLAGS=$ac_save_CXXFLAGS
                   3502: elif test $ac_cv_prog_cxx_g = yes; then
                   3503:   if test "$GXX" = yes; then
                   3504:     CXXFLAGS="-g -O2"
                   3505:   else
                   3506:     CXXFLAGS="-g"
                   3507:   fi
1.15      paf      3508: else
1.43      moko     3509:   if test "$GXX" = yes; then
                   3510:     CXXFLAGS="-O2"
                   3511:   else
                   3512:     CXXFLAGS=
                   3513:   fi
1.15      paf      3514: fi
1.24      paf      3515: ac_ext=c
                   3516: ac_cpp='$CPP $CPPFLAGS'
                   3517: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3518: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3519: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.25      paf      3520: DEPDIR="${am__leading_dot}deps"
1.15      paf      3521: 
1.43      moko     3522: ac_config_commands="$ac_config_commands depfiles"
1.15      paf      3523: 
                   3524: 
                   3525: am_make=${MAKE-make}
                   3526: cat > confinc << 'END'
1.25      paf      3527: am__doit:
1.43      moko     3528:        @echo this is the am__doit target
1.25      paf      3529: .PHONY: am__doit
1.15      paf      3530: END
                   3531: # If we don't find an include directive, just comment out the code.
1.43      moko     3532: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
                   3533: $as_echo_n "checking for style of include used by $am_make... " >&6; }
1.15      paf      3534: am__include="#"
                   3535: am__quote=
                   3536: _am_result=none
                   3537: # First try GNU make style include.
                   3538: echo "include confinc" > confmf
1.43      moko     3539: # Ignore all kinds of additional output from `make'.
                   3540: case `$am_make -s -f confmf 2> /dev/null` in #(
                   3541: *the\ am__doit\ target*)
                   3542:   am__include=include
                   3543:   am__quote=
                   3544:   _am_result=GNU
                   3545:   ;;
                   3546: esac
1.15      paf      3547: # Now try BSD make style include.
                   3548: if test "$am__include" = "#"; then
                   3549:    echo '.include "confinc"' > confmf
1.43      moko     3550:    case `$am_make -s -f confmf 2> /dev/null` in #(
                   3551:    *the\ am__doit\ target*)
                   3552:      am__include=.include
                   3553:      am__quote="\""
                   3554:      _am_result=BSD
                   3555:      ;;
                   3556:    esac
1.15      paf      3557: fi
                   3558: 
                   3559: 
1.43      moko     3560: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
                   3561: $as_echo "$_am_result" >&6; }
1.15      paf      3562: rm -f confinc confmf
                   3563: 
1.43      moko     3564: # Check whether --enable-dependency-tracking was given.
                   3565: if test "${enable_dependency_tracking+set}" = set; then :
                   3566:   enableval=$enable_dependency_tracking;
                   3567: fi
1.15      paf      3568: 
                   3569: if test "x$enable_dependency_tracking" != xno; then
                   3570:   am_depcomp="$ac_aux_dir/depcomp"
                   3571:   AMDEPBACKSLASH='\'
                   3572: fi
1.43      moko     3573:  if test "x$enable_dependency_tracking" != xno; then
1.15      paf      3574:   AMDEP_TRUE=
                   3575:   AMDEP_FALSE='#'
                   3576: else
                   3577:   AMDEP_TRUE='#'
                   3578:   AMDEP_FALSE=
                   3579: fi
                   3580: 
                   3581: 
                   3582: 
                   3583: depcc="$CXX"  am_compiler_list=
                   3584: 
1.43      moko     3585: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   3586: $as_echo_n "checking dependency style of $depcc... " >&6; }
                   3587: if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
                   3588:   $as_echo_n "(cached) " >&6
1.15      paf      3589: else
                   3590:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   3591:   # We make a subdir and do the tests there.  Otherwise we can end up
                   3592:   # making bogus files that we don't know about and never remove.  For
                   3593:   # instance it was reported that on HP-UX the gcc test will end up
                   3594:   # making a dummy file named `D' -- because `-MD' means `put the output
                   3595:   # in D'.
                   3596:   mkdir conftest.dir
                   3597:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   3598:   # using a relative directory.
                   3599:   cp "$am_depcomp" conftest.dir
                   3600:   cd conftest.dir
1.25      paf      3601:   # We will build objects and dependencies in a subdirectory because
                   3602:   # it helps to detect inapplicable dependency modes.  For instance
                   3603:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   3604:   # side effect of compilation, but ICC will put the dependencies in
                   3605:   # the current directory while Tru64 will put them in the object
                   3606:   # directory.
                   3607:   mkdir sub
1.15      paf      3608: 
                   3609:   am_cv_CXX_dependencies_compiler_type=none
                   3610:   if test "$am_compiler_list" = ""; then
                   3611:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   3612:   fi
1.43      moko     3613:   am__universal=false
                   3614:   case " $depcc " in #(
                   3615:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   3616:      esac
                   3617: 
1.15      paf      3618:   for depmode in $am_compiler_list; do
1.25      paf      3619:     # Setup a source with many dependencies, because some compilers
                   3620:     # like to wrap large dependency lists on column 80 (with \), and
                   3621:     # we should not choose a depcomp mode which is confused by this.
                   3622:     #
1.15      paf      3623:     # We need to recreate these files for each test, as the compiler may
                   3624:     # overwrite some of them when testing with obscure command lines.
                   3625:     # This happens at least with the AIX C compiler.
1.25      paf      3626:     : > sub/conftest.c
                   3627:     for i in 1 2 3 4 5 6; do
                   3628:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   3629:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   3630:       # Solaris 8's {/usr,}/bin/sh.
                   3631:       touch sub/conftst$i.h
                   3632:     done
                   3633:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.15      paf      3634: 
1.43      moko     3635:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   3636:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   3637:     # handle `-M -o', and we need to detect this.  Also, some Intel
                   3638:     # versions had trouble with output in subdirs
                   3639:     am__obj=sub/conftest.${OBJEXT-o}
                   3640:     am__minus_obj="-o $am__obj"
1.15      paf      3641:     case $depmode in
1.43      moko     3642:     gcc)
                   3643:       # This depmode causes a compiler race in universal mode.
                   3644:       test "$am__universal" = false || continue
                   3645:       ;;
1.15      paf      3646:     nosideeffect)
                   3647:       # after this tag, mechanisms are not by side-effect, so they'll
                   3648:       # only be used when explicitly requested
                   3649:       if test "x$enable_dependency_tracking" = xyes; then
                   3650:        continue
                   3651:       else
                   3652:        break
                   3653:       fi
                   3654:       ;;
1.43      moko     3655:     msvisualcpp | msvcmsys)
                   3656:       # This compiler won't grok `-c -o', but also, the minuso test has
                   3657:       # not run yet.  These depmodes are late enough in the game, and
                   3658:       # so weak that their functioning should not be impacted.
                   3659:       am__obj=conftest.${OBJEXT-o}
                   3660:       am__minus_obj=
                   3661:       ;;
1.15      paf      3662:     none) break ;;
                   3663:     esac
                   3664:     if depmode=$depmode \
1.43      moko     3665:        source=sub/conftest.c object=$am__obj \
1.25      paf      3666:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.43      moko     3667:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1.25      paf      3668:          >/dev/null 2>conftest.err &&
1.43      moko     3669:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1.25      paf      3670:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.43      moko     3671:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1.15      paf      3672:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.25      paf      3673:       # icc doesn't choke on unknown options, it will just issue warnings
                   3674:       # or remarks (even with -Werror).  So we grep stderr for any message
                   3675:       # that says an option was ignored or not supported.
                   3676:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   3677:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   3678:       # The diagnosis changed in icc 8.0:
                   3679:       #   icc: Command line remark: option '-MP' not supported
                   3680:       if (grep 'ignoring option' conftest.err ||
                   3681:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   3682:         am_cv_CXX_dependencies_compiler_type=$depmode
                   3683:         break
                   3684:       fi
1.15      paf      3685:     fi
                   3686:   done
                   3687: 
                   3688:   cd ..
                   3689:   rm -rf conftest.dir
                   3690: else
                   3691:   am_cv_CXX_dependencies_compiler_type=none
                   3692: fi
                   3693: 
                   3694: fi
1.43      moko     3695: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
                   3696: $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
1.15      paf      3697: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
                   3698: 
1.43      moko     3699:  if
1.15      paf      3700:   test "x$enable_dependency_tracking" != xno \
                   3701:   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
                   3702:   am__fastdepCXX_TRUE=
                   3703:   am__fastdepCXX_FALSE='#'
                   3704: else
                   3705:   am__fastdepCXX_TRUE='#'
                   3706:   am__fastdepCXX_FALSE=
                   3707: fi
                   3708: 
1.1       parser   3709: 
1.15      paf      3710: ac_ext=c
                   3711: ac_cpp='$CPP $CPPFLAGS'
                   3712: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3713: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3714: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3715: if test -n "$ac_tool_prefix"; then
                   3716:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   3717: set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.43      moko     3718: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3719: $as_echo_n "checking for $ac_word... " >&6; }
                   3720: if ${ac_cv_prog_CC+:} false; then :
                   3721:   $as_echo_n "(cached) " >&6
1.15      paf      3722: else
                   3723:   if test -n "$CC"; then
                   3724:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3725: else
                   3726: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3727: for as_dir in $PATH
                   3728: do
                   3729:   IFS=$as_save_IFS
                   3730:   test -z "$as_dir" && as_dir=.
1.43      moko     3731:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     3732:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.15      paf      3733:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.43      moko     3734:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.15      paf      3735:     break 2
                   3736:   fi
                   3737: done
1.43      moko     3738:   done
                   3739: IFS=$as_save_IFS
1.1       parser   3740: 
1.15      paf      3741: fi
                   3742: fi
                   3743: CC=$ac_cv_prog_CC
                   3744: if test -n "$CC"; then
1.43      moko     3745:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3746: $as_echo "$CC" >&6; }
1.15      paf      3747: else
1.43      moko     3748:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3749: $as_echo "no" >&6; }
1.15      paf      3750: fi
1.1       parser   3751: 
1.43      moko     3752: 
1.15      paf      3753: fi
                   3754: if test -z "$ac_cv_prog_CC"; then
                   3755:   ac_ct_CC=$CC
                   3756:   # Extract the first word of "gcc", so it can be a program name with args.
                   3757: set dummy gcc; ac_word=$2
1.43      moko     3758: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3759: $as_echo_n "checking for $ac_word... " >&6; }
                   3760: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   3761:   $as_echo_n "(cached) " >&6
1.1       parser   3762: else
1.15      paf      3763:   if test -n "$ac_ct_CC"; then
                   3764:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.1       parser   3765: else
1.15      paf      3766: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3767: for as_dir in $PATH
                   3768: do
                   3769:   IFS=$as_save_IFS
                   3770:   test -z "$as_dir" && as_dir=.
1.43      moko     3771:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     3772:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.15      paf      3773:     ac_cv_prog_ac_ct_CC="gcc"
1.43      moko     3774:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.15      paf      3775:     break 2
                   3776:   fi
                   3777: done
1.43      moko     3778:   done
                   3779: IFS=$as_save_IFS
1.15      paf      3780: 
                   3781: fi
1.1       parser   3782: fi
1.15      paf      3783: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3784: if test -n "$ac_ct_CC"; then
1.43      moko     3785:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   3786: $as_echo "$ac_ct_CC" >&6; }
1.15      paf      3787: else
1.43      moko     3788:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3789: $as_echo "no" >&6; }
1.1       parser   3790: fi
1.15      paf      3791: 
1.43      moko     3792:   if test "x$ac_ct_CC" = x; then
                   3793:     CC=""
                   3794:   else
                   3795:     case $cross_compiling:$ac_tool_warned in
                   3796: yes:)
                   3797: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3798: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3799: ac_tool_warned=yes ;;
                   3800: esac
                   3801:     CC=$ac_ct_CC
                   3802:   fi
1.1       parser   3803: else
1.15      paf      3804:   CC="$ac_cv_prog_CC"
1.1       parser   3805: fi
                   3806: 
1.15      paf      3807: if test -z "$CC"; then
1.43      moko     3808:           if test -n "$ac_tool_prefix"; then
                   3809:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1.15      paf      3810: set dummy ${ac_tool_prefix}cc; ac_word=$2
1.43      moko     3811: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3812: $as_echo_n "checking for $ac_word... " >&6; }
                   3813: if ${ac_cv_prog_CC+:} false; then :
                   3814:   $as_echo_n "(cached) " >&6
1.1       parser   3815: else
                   3816:   if test -n "$CC"; then
                   3817:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3818: else
1.15      paf      3819: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3820: for as_dir in $PATH
                   3821: do
                   3822:   IFS=$as_save_IFS
                   3823:   test -z "$as_dir" && as_dir=.
1.43      moko     3824:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     3825:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.15      paf      3826:     ac_cv_prog_CC="${ac_tool_prefix}cc"
1.43      moko     3827:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.15      paf      3828:     break 2
                   3829:   fi
                   3830: done
1.43      moko     3831:   done
                   3832: IFS=$as_save_IFS
1.15      paf      3833: 
1.1       parser   3834: fi
                   3835: fi
1.15      paf      3836: CC=$ac_cv_prog_CC
1.1       parser   3837: if test -n "$CC"; then
1.43      moko     3838:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3839: $as_echo "$CC" >&6; }
1.15      paf      3840: else
1.43      moko     3841:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3842: $as_echo "no" >&6; }
1.15      paf      3843: fi
                   3844: 
1.43      moko     3845: 
1.15      paf      3846:   fi
                   3847: fi
1.1       parser   3848: if test -z "$CC"; then
                   3849:   # Extract the first word of "cc", so it can be a program name with args.
                   3850: set dummy cc; ac_word=$2
1.43      moko     3851: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3852: $as_echo_n "checking for $ac_word... " >&6; }
                   3853: if ${ac_cv_prog_CC+:} false; then :
                   3854:   $as_echo_n "(cached) " >&6
1.1       parser   3855: else
                   3856:   if test -n "$CC"; then
                   3857:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3858: else
                   3859:   ac_prog_rejected=no
1.15      paf      3860: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3861: for as_dir in $PATH
                   3862: do
                   3863:   IFS=$as_save_IFS
                   3864:   test -z "$as_dir" && as_dir=.
1.43      moko     3865:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     3866:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.15      paf      3867:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   3868:        ac_prog_rejected=yes
                   3869:        continue
                   3870:      fi
                   3871:     ac_cv_prog_CC="cc"
1.43      moko     3872:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.15      paf      3873:     break 2
                   3874:   fi
                   3875: done
1.43      moko     3876:   done
                   3877: IFS=$as_save_IFS
1.15      paf      3878: 
1.1       parser   3879: if test $ac_prog_rejected = yes; then
                   3880:   # We found a bogon in the path, so make sure we never use it.
                   3881:   set dummy $ac_cv_prog_CC
                   3882:   shift
1.15      paf      3883:   if test $# != 0; then
1.1       parser   3884:     # We chose a different compiler from the bogus one.
                   3885:     # However, it has the same basename, so the bogon will be chosen
                   3886:     # first if we set CC to just the basename; use the full file name.
                   3887:     shift
1.15      paf      3888:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1.1       parser   3889:   fi
                   3890: fi
                   3891: fi
                   3892: fi
1.15      paf      3893: CC=$ac_cv_prog_CC
1.1       parser   3894: if test -n "$CC"; then
1.43      moko     3895:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3896: $as_echo "$CC" >&6; }
1.1       parser   3897: else
1.43      moko     3898:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3899: $as_echo "no" >&6; }
1.1       parser   3900: fi
                   3901: 
1.43      moko     3902: 
1.15      paf      3903: fi
                   3904: if test -z "$CC"; then
                   3905:   if test -n "$ac_tool_prefix"; then
1.43      moko     3906:   for ac_prog in cl.exe
1.15      paf      3907:   do
                   3908:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3909: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.43      moko     3910: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3911: $as_echo_n "checking for $ac_word... " >&6; }
                   3912: if ${ac_cv_prog_CC+:} false; then :
                   3913:   $as_echo_n "(cached) " >&6
1.1       parser   3914: else
                   3915:   if test -n "$CC"; then
                   3916:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3917: else
1.15      paf      3918: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3919: for as_dir in $PATH
                   3920: do
                   3921:   IFS=$as_save_IFS
                   3922:   test -z "$as_dir" && as_dir=.
1.43      moko     3923:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     3924:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.15      paf      3925:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.43      moko     3926:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.15      paf      3927:     break 2
                   3928:   fi
                   3929: done
1.43      moko     3930:   done
                   3931: IFS=$as_save_IFS
1.15      paf      3932: 
1.1       parser   3933: fi
                   3934: fi
1.15      paf      3935: CC=$ac_cv_prog_CC
1.1       parser   3936: if test -n "$CC"; then
1.43      moko     3937:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3938: $as_echo "$CC" >&6; }
1.1       parser   3939: else
1.43      moko     3940:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3941: $as_echo "no" >&6; }
1.15      paf      3942: fi
                   3943: 
1.43      moko     3944: 
1.15      paf      3945:     test -n "$CC" && break
                   3946:   done
1.1       parser   3947: fi
1.15      paf      3948: if test -z "$CC"; then
                   3949:   ac_ct_CC=$CC
1.43      moko     3950:   for ac_prog in cl.exe
1.15      paf      3951: do
                   3952:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3953: set dummy $ac_prog; ac_word=$2
1.43      moko     3954: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3955: $as_echo_n "checking for $ac_word... " >&6; }
                   3956: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   3957:   $as_echo_n "(cached) " >&6
1.15      paf      3958: else
                   3959:   if test -n "$ac_ct_CC"; then
                   3960:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3961: else
                   3962: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3963: for as_dir in $PATH
                   3964: do
                   3965:   IFS=$as_save_IFS
                   3966:   test -z "$as_dir" && as_dir=.
1.43      moko     3967:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     3968:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.15      paf      3969:     ac_cv_prog_ac_ct_CC="$ac_prog"
1.43      moko     3970:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.15      paf      3971:     break 2
1.1       parser   3972:   fi
1.15      paf      3973: done
1.43      moko     3974:   done
                   3975: IFS=$as_save_IFS
1.15      paf      3976: 
                   3977: fi
                   3978: fi
                   3979: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3980: if test -n "$ac_ct_CC"; then
1.43      moko     3981:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   3982: $as_echo "$ac_ct_CC" >&6; }
1.15      paf      3983: else
1.43      moko     3984:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3985: $as_echo "no" >&6; }
1.1       parser   3986: fi
                   3987: 
1.43      moko     3988: 
1.15      paf      3989:   test -n "$ac_ct_CC" && break
                   3990: done
1.1       parser   3991: 
1.43      moko     3992:   if test "x$ac_ct_CC" = x; then
                   3993:     CC=""
                   3994:   else
                   3995:     case $cross_compiling:$ac_tool_warned in
                   3996: yes:)
                   3997: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3998: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3999: ac_tool_warned=yes ;;
                   4000: esac
                   4001:     CC=$ac_ct_CC
                   4002:   fi
1.15      paf      4003: fi
1.1       parser   4004: 
1.15      paf      4005: fi
1.1       parser   4006: 
                   4007: 
1.43      moko     4008: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   4009: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   4010: as_fn_error $? "no acceptable C compiler found in \$PATH
                   4011: See \`config.log' for more details" "$LINENO" 5; }
1.15      paf      4012: 
                   4013: # Provide some information about the compiler.
1.43      moko     4014: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
                   4015: set X $ac_compile
                   4016: ac_compiler=$2
                   4017: for ac_option in --version -v -V -qversion; do
                   4018:   { { ac_try="$ac_compiler $ac_option >&5"
                   4019: case "(($ac_try" in
                   4020:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4021:   *) ac_try_echo=$ac_try;;
                   4022: esac
                   4023: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4024: $as_echo "$ac_try_echo"; } >&5
                   4025:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.15      paf      4026:   ac_status=$?
1.43      moko     4027:   if test -s conftest.err; then
                   4028:     sed '10a\
                   4029: ... rest of stderr output deleted ...
                   4030:          10q' conftest.err >conftest.er1
                   4031:     cat conftest.er1 >&5
                   4032:   fi
                   4033:   rm -f conftest.er1 conftest.err
                   4034:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4035:   test $ac_status = 0; }
                   4036: done
                   4037: 
                   4038: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
                   4039: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
                   4040: if ${ac_cv_c_compiler_gnu+:} false; then :
                   4041:   $as_echo_n "(cached) " >&6
1.15      paf      4042: else
1.43      moko     4043:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.15      paf      4044: /* end confdefs.h.  */
                   4045: 
                   4046: int
                   4047: main ()
                   4048: {
                   4049: #ifndef __GNUC__
                   4050:        choke me
1.1       parser   4051: #endif
                   4052: 
1.15      paf      4053:   ;
                   4054:   return 0;
                   4055: }
                   4056: _ACEOF
1.43      moko     4057: if ac_fn_c_try_compile "$LINENO"; then :
1.15      paf      4058:   ac_compiler_gnu=yes
                   4059: else
1.43      moko     4060:   ac_compiler_gnu=no
1.15      paf      4061: fi
1.43      moko     4062: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.15      paf      4063: ac_cv_c_compiler_gnu=$ac_compiler_gnu
                   4064: 
                   4065: fi
1.43      moko     4066: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
                   4067: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
                   4068: if test $ac_compiler_gnu = yes; then
                   4069:   GCC=yes
                   4070: else
                   4071:   GCC=
                   4072: fi
1.15      paf      4073: ac_test_CFLAGS=${CFLAGS+set}
                   4074: ac_save_CFLAGS=$CFLAGS
1.43      moko     4075: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
                   4076: $as_echo_n "checking whether $CC accepts -g... " >&6; }
                   4077: if ${ac_cv_prog_cc_g+:} false; then :
                   4078:   $as_echo_n "(cached) " >&6
                   4079: else
                   4080:   ac_save_c_werror_flag=$ac_c_werror_flag
                   4081:    ac_c_werror_flag=yes
                   4082:    ac_cv_prog_cc_g=no
                   4083:    CFLAGS="-g"
                   4084:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4085: /* end confdefs.h.  */
                   4086: 
                   4087: int
                   4088: main ()
                   4089: {
                   4090: 
                   4091:   ;
                   4092:   return 0;
                   4093: }
                   4094: _ACEOF
                   4095: if ac_fn_c_try_compile "$LINENO"; then :
                   4096:   ac_cv_prog_cc_g=yes
1.15      paf      4097: else
1.43      moko     4098:   CFLAGS=""
                   4099:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4100: /* end confdefs.h.  */
                   4101: 
                   4102: int
                   4103: main ()
                   4104: {
                   4105: 
                   4106:   ;
                   4107:   return 0;
                   4108: }
1.15      paf      4109: _ACEOF
1.43      moko     4110: if ac_fn_c_try_compile "$LINENO"; then :
                   4111: 
                   4112: else
                   4113:   ac_c_werror_flag=$ac_save_c_werror_flag
                   4114:         CFLAGS="-g"
                   4115:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.15      paf      4116: /* end confdefs.h.  */
                   4117: 
                   4118: int
                   4119: main ()
                   4120: {
                   4121: 
                   4122:   ;
                   4123:   return 0;
                   4124: }
                   4125: _ACEOF
1.43      moko     4126: if ac_fn_c_try_compile "$LINENO"; then :
1.15      paf      4127:   ac_cv_prog_cc_g=yes
1.1       parser   4128: fi
1.43      moko     4129: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4130: fi
                   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:    ac_c_werror_flag=$ac_save_c_werror_flag
1.1       parser   4135: fi
1.43      moko     4136: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
                   4137: $as_echo "$ac_cv_prog_cc_g" >&6; }
1.1       parser   4138: if test "$ac_test_CFLAGS" = set; then
1.15      paf      4139:   CFLAGS=$ac_save_CFLAGS
1.1       parser   4140: elif test $ac_cv_prog_cc_g = yes; then
                   4141:   if test "$GCC" = yes; then
                   4142:     CFLAGS="-g -O2"
                   4143:   else
                   4144:     CFLAGS="-g"
                   4145:   fi
                   4146: else
                   4147:   if test "$GCC" = yes; then
                   4148:     CFLAGS="-O2"
                   4149:   else
                   4150:     CFLAGS=
                   4151:   fi
                   4152: fi
1.43      moko     4153: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
                   4154: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
                   4155: if ${ac_cv_prog_cc_c89+:} false; then :
                   4156:   $as_echo_n "(cached) " >&6
1.15      paf      4157: else
1.43      moko     4158:   ac_cv_prog_cc_c89=no
1.15      paf      4159: ac_save_CC=$CC
1.43      moko     4160: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.15      paf      4161: /* end confdefs.h.  */
                   4162: #include <stdarg.h>
                   4163: #include <stdio.h>
1.49      moko     4164: struct stat;
1.15      paf      4165: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   4166: struct buf { int x; };
                   4167: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   4168: static char *e (p, i)
                   4169:      char **p;
                   4170:      int i;
                   4171: {
                   4172:   return p[i];
                   4173: }
                   4174: static char *f (char * (*g) (char **, int), char **p, ...)
                   4175: {
                   4176:   char *s;
                   4177:   va_list v;
                   4178:   va_start (v,p);
                   4179:   s = g (p, va_arg (v,int));
                   4180:   va_end (v);
                   4181:   return s;
                   4182: }
1.25      paf      4183: 
                   4184: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   4185:    function prototypes and stuff, but not '\xHH' hex character constants.
                   4186:    These don't provoke an error unfortunately, instead are silently treated
1.43      moko     4187:    as 'x'.  The following induces an error, until -std is added to get
1.25      paf      4188:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   4189:    array size at least.  It's necessary to write '\x00'==0 to get something
1.43      moko     4190:    that's true only with -std.  */
1.25      paf      4191: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   4192: 
1.43      moko     4193: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
                   4194:    inside strings and character constants.  */
                   4195: #define FOO(x) 'x'
                   4196: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
                   4197: 
1.15      paf      4198: int test (int i, double x);
                   4199: struct s1 {int (*f) (int a);};
                   4200: struct s2 {int (*f) (double a);};
                   4201: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   4202: int argc;
                   4203: char **argv;
                   4204: int
                   4205: main ()
                   4206: {
                   4207: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   4208:   ;
                   4209:   return 0;
                   4210: }
                   4211: _ACEOF
1.43      moko     4212: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
                   4213:        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.15      paf      4214: do
                   4215:   CC="$ac_save_CC $ac_arg"
1.43      moko     4216:   if ac_fn_c_try_compile "$LINENO"; then :
                   4217:   ac_cv_prog_cc_c89=$ac_arg
1.15      paf      4218: fi
1.43      moko     4219: rm -f core conftest.err conftest.$ac_objext
                   4220:   test "x$ac_cv_prog_cc_c89" != "xno" && break
1.15      paf      4221: done
1.43      moko     4222: rm -f conftest.$ac_ext
1.15      paf      4223: CC=$ac_save_CC
                   4224: 
                   4225: fi
1.43      moko     4226: # AC_CACHE_VAL
                   4227: case "x$ac_cv_prog_cc_c89" in
                   4228:   x)
                   4229:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   4230: $as_echo "none needed" >&6; } ;;
                   4231:   xno)
                   4232:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   4233: $as_echo "unsupported" >&6; } ;;
1.15      paf      4234:   *)
1.43      moko     4235:     CC="$CC $ac_cv_prog_cc_c89"
                   4236:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
                   4237: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
1.15      paf      4238: esac
1.43      moko     4239: if test "x$ac_cv_prog_cc_c89" != xno; then :
1.15      paf      4240: 
                   4241: fi
                   4242: 
1.24      paf      4243: ac_ext=c
                   4244: ac_cpp='$CPP $CPPFLAGS'
                   4245: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4246: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4247: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.15      paf      4248: 
                   4249: depcc="$CC"   am_compiler_list=
                   4250: 
1.43      moko     4251: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   4252: $as_echo_n "checking dependency style of $depcc... " >&6; }
                   4253: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
                   4254:   $as_echo_n "(cached) " >&6
1.15      paf      4255: else
                   4256:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   4257:   # We make a subdir and do the tests there.  Otherwise we can end up
                   4258:   # making bogus files that we don't know about and never remove.  For
                   4259:   # instance it was reported that on HP-UX the gcc test will end up
                   4260:   # making a dummy file named `D' -- because `-MD' means `put the output
                   4261:   # in D'.
                   4262:   mkdir conftest.dir
                   4263:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   4264:   # using a relative directory.
                   4265:   cp "$am_depcomp" conftest.dir
                   4266:   cd conftest.dir
1.25      paf      4267:   # We will build objects and dependencies in a subdirectory because
                   4268:   # it helps to detect inapplicable dependency modes.  For instance
                   4269:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   4270:   # side effect of compilation, but ICC will put the dependencies in
                   4271:   # the current directory while Tru64 will put them in the object
                   4272:   # directory.
                   4273:   mkdir sub
1.15      paf      4274: 
                   4275:   am_cv_CC_dependencies_compiler_type=none
                   4276:   if test "$am_compiler_list" = ""; then
                   4277:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   4278:   fi
1.43      moko     4279:   am__universal=false
                   4280:   case " $depcc " in #(
                   4281:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   4282:      esac
                   4283: 
1.15      paf      4284:   for depmode in $am_compiler_list; do
1.25      paf      4285:     # Setup a source with many dependencies, because some compilers
                   4286:     # like to wrap large dependency lists on column 80 (with \), and
                   4287:     # we should not choose a depcomp mode which is confused by this.
                   4288:     #
1.15      paf      4289:     # We need to recreate these files for each test, as the compiler may
                   4290:     # overwrite some of them when testing with obscure command lines.
                   4291:     # This happens at least with the AIX C compiler.
1.25      paf      4292:     : > sub/conftest.c
                   4293:     for i in 1 2 3 4 5 6; do
                   4294:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   4295:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   4296:       # Solaris 8's {/usr,}/bin/sh.
                   4297:       touch sub/conftst$i.h
                   4298:     done
                   4299:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.15      paf      4300: 
1.43      moko     4301:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   4302:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   4303:     # handle `-M -o', and we need to detect this.  Also, some Intel
                   4304:     # versions had trouble with output in subdirs
                   4305:     am__obj=sub/conftest.${OBJEXT-o}
                   4306:     am__minus_obj="-o $am__obj"
1.15      paf      4307:     case $depmode in
1.43      moko     4308:     gcc)
                   4309:       # This depmode causes a compiler race in universal mode.
                   4310:       test "$am__universal" = false || continue
                   4311:       ;;
1.15      paf      4312:     nosideeffect)
                   4313:       # after this tag, mechanisms are not by side-effect, so they'll
                   4314:       # only be used when explicitly requested
                   4315:       if test "x$enable_dependency_tracking" = xyes; then
                   4316:        continue
                   4317:       else
                   4318:        break
                   4319:       fi
                   4320:       ;;
1.43      moko     4321:     msvisualcpp | msvcmsys)
                   4322:       # This compiler won't grok `-c -o', but also, the minuso test has
                   4323:       # not run yet.  These depmodes are late enough in the game, and
                   4324:       # so weak that their functioning should not be impacted.
                   4325:       am__obj=conftest.${OBJEXT-o}
                   4326:       am__minus_obj=
                   4327:       ;;
1.15      paf      4328:     none) break ;;
                   4329:     esac
                   4330:     if depmode=$depmode \
1.43      moko     4331:        source=sub/conftest.c object=$am__obj \
1.25      paf      4332:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.43      moko     4333:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1.25      paf      4334:          >/dev/null 2>conftest.err &&
1.43      moko     4335:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1.25      paf      4336:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.43      moko     4337:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1.15      paf      4338:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.25      paf      4339:       # icc doesn't choke on unknown options, it will just issue warnings
                   4340:       # or remarks (even with -Werror).  So we grep stderr for any message
                   4341:       # that says an option was ignored or not supported.
                   4342:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   4343:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   4344:       # The diagnosis changed in icc 8.0:
                   4345:       #   icc: Command line remark: option '-MP' not supported
                   4346:       if (grep 'ignoring option' conftest.err ||
                   4347:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   4348:         am_cv_CC_dependencies_compiler_type=$depmode
                   4349:         break
                   4350:       fi
1.15      paf      4351:     fi
                   4352:   done
                   4353: 
                   4354:   cd ..
                   4355:   rm -rf conftest.dir
                   4356: else
                   4357:   am_cv_CC_dependencies_compiler_type=none
                   4358: fi
                   4359: 
                   4360: fi
1.43      moko     4361: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
                   4362: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
1.15      paf      4363: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   4364: 
1.43      moko     4365:  if
1.15      paf      4366:   test "x$enable_dependency_tracking" != xno \
                   4367:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   4368:   am__fastdepCC_TRUE=
                   4369:   am__fastdepCC_FALSE='#'
                   4370: else
                   4371:   am__fastdepCC_TRUE='#'
                   4372:   am__fastdepCC_FALSE=
                   4373: fi
                   4374: 
                   4375: 
1.24      paf      4376: 
1.35      moko     4377: 
1.36      moko     4378: 
                   4379: 
                   4380: 
                   4381: 
                   4382: 
                   4383: 
1.35      moko     4384: case `pwd` in
                   4385:   *\ * | *\    *)
1.43      moko     4386:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
                   4387: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
1.35      moko     4388: esac
                   4389: 
                   4390: 
                   4391: 
                   4392: macro_version='2.4.2'
                   4393: macro_revision='1.3337'
                   4394: 
                   4395: 
                   4396: 
                   4397: 
                   4398: 
                   4399: 
                   4400: 
1.24      paf      4401: 
                   4402: 
                   4403: 
                   4404: 
                   4405: 
                   4406: 
1.35      moko     4407: ltmain="$ac_aux_dir/ltmain.sh"
1.24      paf      4408: 
                   4409: # Make sure we can run config.sub.
1.43      moko     4410: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
                   4411:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1.24      paf      4412: 
1.43      moko     4413: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
                   4414: $as_echo_n "checking build system type... " >&6; }
                   4415: if ${ac_cv_build+:} false; then :
                   4416:   $as_echo_n "(cached) " >&6
                   4417: else
                   4418:   ac_build_alias=$build_alias
                   4419: test "x$ac_build_alias" = x &&
                   4420:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
                   4421: test "x$ac_build_alias" = x &&
                   4422:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
                   4423: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
                   4424:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
                   4425: 
                   4426: fi
                   4427: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
                   4428: $as_echo "$ac_cv_build" >&6; }
                   4429: case $ac_cv_build in
                   4430: *-*-*) ;;
                   4431: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
                   4432: esac
                   4433: build=$ac_cv_build
                   4434: ac_save_IFS=$IFS; IFS='-'
                   4435: set x $ac_cv_build
                   4436: shift
                   4437: build_cpu=$1
                   4438: build_vendor=$2
                   4439: shift; shift
                   4440: # Remember, the first character of IFS is used to create $*,
                   4441: # except with old shells:
                   4442: build_os=$*
                   4443: IFS=$ac_save_IFS
                   4444: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
                   4445: 
                   4446: 
                   4447: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
                   4448: $as_echo_n "checking host system type... " >&6; }
                   4449: if ${ac_cv_host+:} false; then :
                   4450:   $as_echo_n "(cached) " >&6
                   4451: else
                   4452:   if test "x$host_alias" = x; then
                   4453:   ac_cv_host=$ac_cv_build
                   4454: else
                   4455:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
                   4456:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1.24      paf      4457: fi
                   4458: 
                   4459: fi
1.43      moko     4460: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
                   4461: $as_echo "$ac_cv_host" >&6; }
                   4462: case $ac_cv_host in
                   4463: *-*-*) ;;
                   4464: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
                   4465: esac
1.24      paf      4466: host=$ac_cv_host
1.43      moko     4467: ac_save_IFS=$IFS; IFS='-'
                   4468: set x $ac_cv_host
                   4469: shift
                   4470: host_cpu=$1
                   4471: host_vendor=$2
                   4472: shift; shift
                   4473: # Remember, the first character of IFS is used to create $*,
                   4474: # except with old shells:
                   4475: host_os=$*
                   4476: IFS=$ac_save_IFS
                   4477: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1.24      paf      4478: 
                   4479: 
1.35      moko     4480: # Backslashify metacharacters that are still active within
                   4481: # double-quoted strings.
                   4482: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
                   4483: 
                   4484: # Same as above, but do not quote variable references.
                   4485: double_quote_subst='s/\(["`\\]\)/\\\1/g'
                   4486: 
                   4487: # Sed substitution to delay expansion of an escaped shell variable in a
                   4488: # double_quote_subst'ed string.
                   4489: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
                   4490: 
                   4491: # Sed substitution to delay expansion of an escaped single quote.
                   4492: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
1.15      paf      4493: 
1.35      moko     4494: # Sed substitution to avoid accidental globbing in evaled expressions
                   4495: no_glob_subst='s/\*/\\\*/g'
1.1       parser   4496: 
1.35      moko     4497: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   4498: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
                   4499: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
                   4500: 
1.43      moko     4501: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
                   4502: $as_echo_n "checking how to print strings... " >&6; }
1.35      moko     4503: # Test print first, because it will be a builtin if present.
                   4504: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
                   4505:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
                   4506:   ECHO='print -r --'
                   4507: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
                   4508:   ECHO='printf %s\n'
1.1       parser   4509: else
1.35      moko     4510:   # Use this function as a fallback that always works.
                   4511:   func_fallback_echo ()
                   4512:   {
                   4513:     eval 'cat <<_LTECHO_EOF
                   4514: $1
                   4515: _LTECHO_EOF'
                   4516:   }
                   4517:   ECHO='func_fallback_echo'
1.1       parser   4518: fi
1.35      moko     4519: 
                   4520: # func_echo_all arg...
                   4521: # Invoke $ECHO with all args, space-separated.
                   4522: func_echo_all ()
                   4523: {
                   4524:     $ECHO ""
                   4525: }
                   4526: 
                   4527: case "$ECHO" in
1.43      moko     4528:   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
                   4529: $as_echo "printf" >&6; } ;;
                   4530:   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
                   4531: $as_echo "print -r" >&6; } ;;
                   4532:   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
                   4533: $as_echo "cat" >&6; } ;;
1.35      moko     4534: esac
                   4535: 
                   4536: 
                   4537: 
                   4538: 
                   4539: 
                   4540: 
                   4541: 
                   4542: 
                   4543: 
                   4544: 
                   4545: 
                   4546: 
                   4547: 
                   4548: 
1.43      moko     4549: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
                   4550: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
                   4551: if ${ac_cv_path_SED+:} false; then :
                   4552:   $as_echo_n "(cached) " >&6
                   4553: else
                   4554:             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
                   4555:      for ac_i in 1 2 3 4 5 6 7; do
                   4556:        ac_script="$ac_script$as_nl$ac_script"
                   4557:      done
                   4558:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
                   4559:      { ac_script=; unset ac_script;}
                   4560:      if test -z "$SED"; then
                   4561:   ac_path_SED_found=false
                   4562:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4563:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.35      moko     4564: for as_dir in $PATH
                   4565: do
                   4566:   IFS=$as_save_IFS
                   4567:   test -z "$as_dir" && as_dir=.
1.43      moko     4568:     for ac_prog in sed gsed; do
1.35      moko     4569:     for ac_exec_ext in '' $ac_executable_extensions; do
1.43      moko     4570:       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
1.49      moko     4571:       as_fn_executable_p "$ac_path_SED" || continue
1.43      moko     4572: # Check for GNU ac_path_SED and select it if it is found.
                   4573:   # Check for GNU $ac_path_SED
                   4574: case `"$ac_path_SED" --version 2>&1` in
                   4575: *GNU*)
                   4576:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
                   4577: *)
                   4578:   ac_count=0
                   4579:   $as_echo_n 0123456789 >"conftest.in"
                   4580:   while :
                   4581:   do
                   4582:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4583:     mv "conftest.tmp" "conftest.in"
                   4584:     cp "conftest.in" "conftest.nl"
                   4585:     $as_echo '' >> "conftest.nl"
                   4586:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4587:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4588:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4589:     if test $ac_count -gt ${ac_path_SED_max-0}; then
                   4590:       # Best one so far, save it but keep looking for a better one
                   4591:       ac_cv_path_SED="$ac_path_SED"
                   4592:       ac_path_SED_max=$ac_count
                   4593:     fi
                   4594:     # 10*(2^10) chars as input seems more than enough
                   4595:     test $ac_count -gt 10 && break
                   4596:   done
                   4597:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4598: esac
                   4599: 
                   4600:       $ac_path_SED_found && break 3
1.35      moko     4601:     done
                   4602:   done
1.43      moko     4603:   done
1.35      moko     4604: IFS=$as_save_IFS
1.43      moko     4605:   if test -z "$ac_cv_path_SED"; then
                   4606:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
1.35      moko     4607:   fi
1.43      moko     4608: else
                   4609:   ac_cv_path_SED=$SED
                   4610: fi
1.35      moko     4611: 
                   4612: fi
1.43      moko     4613: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
                   4614: $as_echo "$ac_cv_path_SED" >&6; }
                   4615:  SED="$ac_cv_path_SED"
                   4616:   rm -f conftest.sed
1.35      moko     4617: 
                   4618: test -z "$SED" && SED=sed
                   4619: Xsed="$SED -e 1s/^X//"
                   4620: 
                   4621: 
                   4622: 
                   4623: 
                   4624: 
                   4625: 
                   4626: 
                   4627: 
                   4628: 
                   4629: 
                   4630: 
1.43      moko     4631: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
                   4632: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
                   4633: if ${ac_cv_path_GREP+:} false; then :
                   4634:   $as_echo_n "(cached) " >&6
                   4635: else
                   4636:   if test -z "$GREP"; then
                   4637:   ac_path_GREP_found=false
                   4638:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4639:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4640: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   4641: do
                   4642:   IFS=$as_save_IFS
                   4643:   test -z "$as_dir" && as_dir=.
                   4644:     for ac_prog in grep ggrep; do
                   4645:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4646:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
1.49      moko     4647:       as_fn_executable_p "$ac_path_GREP" || continue
1.43      moko     4648: # Check for GNU ac_path_GREP and select it if it is found.
                   4649:   # Check for GNU $ac_path_GREP
                   4650: case `"$ac_path_GREP" --version 2>&1` in
                   4651: *GNU*)
                   4652:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
                   4653: *)
                   4654:   ac_count=0
                   4655:   $as_echo_n 0123456789 >"conftest.in"
                   4656:   while :
                   4657:   do
                   4658:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4659:     mv "conftest.tmp" "conftest.in"
                   4660:     cp "conftest.in" "conftest.nl"
                   4661:     $as_echo 'GREP' >> "conftest.nl"
                   4662:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4663:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4664:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4665:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
                   4666:       # Best one so far, save it but keep looking for a better one
                   4667:       ac_cv_path_GREP="$ac_path_GREP"
                   4668:       ac_path_GREP_max=$ac_count
1.35      moko     4669:     fi
1.43      moko     4670:     # 10*(2^10) chars as input seems more than enough
                   4671:     test $ac_count -gt 10 && break
                   4672:   done
                   4673:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4674: esac
                   4675: 
                   4676:       $ac_path_GREP_found && break 3
                   4677:     done
                   4678:   done
                   4679:   done
                   4680: IFS=$as_save_IFS
                   4681:   if test -z "$ac_cv_path_GREP"; then
                   4682:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   4683:   fi
                   4684: else
                   4685:   ac_cv_path_GREP=$GREP
                   4686: fi
                   4687: 
1.35      moko     4688: fi
1.43      moko     4689: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
                   4690: $as_echo "$ac_cv_path_GREP" >&6; }
                   4691:  GREP="$ac_cv_path_GREP"
                   4692: 
                   4693: 
                   4694: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
                   4695: $as_echo_n "checking for egrep... " >&6; }
                   4696: if ${ac_cv_path_EGREP+:} false; then :
                   4697:   $as_echo_n "(cached) " >&6
                   4698: else
                   4699:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
                   4700:    then ac_cv_path_EGREP="$GREP -E"
                   4701:    else
                   4702:      if test -z "$EGREP"; then
                   4703:   ac_path_EGREP_found=false
                   4704:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4705:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4706: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   4707: do
                   4708:   IFS=$as_save_IFS
                   4709:   test -z "$as_dir" && as_dir=.
                   4710:     for ac_prog in egrep; do
                   4711:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4712:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
1.49      moko     4713:       as_fn_executable_p "$ac_path_EGREP" || continue
1.43      moko     4714: # Check for GNU ac_path_EGREP and select it if it is found.
                   4715:   # Check for GNU $ac_path_EGREP
                   4716: case `"$ac_path_EGREP" --version 2>&1` in
                   4717: *GNU*)
                   4718:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
                   4719: *)
                   4720:   ac_count=0
                   4721:   $as_echo_n 0123456789 >"conftest.in"
                   4722:   while :
                   4723:   do
                   4724:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4725:     mv "conftest.tmp" "conftest.in"
                   4726:     cp "conftest.in" "conftest.nl"
                   4727:     $as_echo 'EGREP' >> "conftest.nl"
                   4728:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4729:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4730:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4731:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
                   4732:       # Best one so far, save it but keep looking for a better one
                   4733:       ac_cv_path_EGREP="$ac_path_EGREP"
                   4734:       ac_path_EGREP_max=$ac_count
                   4735:     fi
                   4736:     # 10*(2^10) chars as input seems more than enough
                   4737:     test $ac_count -gt 10 && break
                   4738:   done
                   4739:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4740: esac
1.35      moko     4741: 
1.43      moko     4742:       $ac_path_EGREP_found && break 3
                   4743:     done
                   4744:   done
                   4745:   done
                   4746: IFS=$as_save_IFS
                   4747:   if test -z "$ac_cv_path_EGREP"; then
                   4748:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   4749:   fi
                   4750: else
                   4751:   ac_cv_path_EGREP=$EGREP
                   4752: fi
1.35      moko     4753: 
1.43      moko     4754:    fi
                   4755: fi
                   4756: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
                   4757: $as_echo "$ac_cv_path_EGREP" >&6; }
                   4758:  EGREP="$ac_cv_path_EGREP"
                   4759: 
                   4760: 
                   4761: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
                   4762: $as_echo_n "checking for fgrep... " >&6; }
                   4763: if ${ac_cv_path_FGREP+:} false; then :
                   4764:   $as_echo_n "(cached) " >&6
                   4765: else
                   4766:   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
                   4767:    then ac_cv_path_FGREP="$GREP -F"
                   4768:    else
                   4769:      if test -z "$FGREP"; then
                   4770:   ac_path_FGREP_found=false
                   4771:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4772:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4773: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   4774: do
                   4775:   IFS=$as_save_IFS
                   4776:   test -z "$as_dir" && as_dir=.
                   4777:     for ac_prog in fgrep; do
                   4778:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4779:       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
1.49      moko     4780:       as_fn_executable_p "$ac_path_FGREP" || continue
1.43      moko     4781: # Check for GNU ac_path_FGREP and select it if it is found.
                   4782:   # Check for GNU $ac_path_FGREP
                   4783: case `"$ac_path_FGREP" --version 2>&1` in
                   4784: *GNU*)
                   4785:   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
                   4786: *)
                   4787:   ac_count=0
                   4788:   $as_echo_n 0123456789 >"conftest.in"
                   4789:   while :
                   4790:   do
                   4791:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4792:     mv "conftest.tmp" "conftest.in"
                   4793:     cp "conftest.in" "conftest.nl"
                   4794:     $as_echo 'FGREP' >> "conftest.nl"
                   4795:     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4796:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4797:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4798:     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
                   4799:       # Best one so far, save it but keep looking for a better one
                   4800:       ac_cv_path_FGREP="$ac_path_FGREP"
                   4801:       ac_path_FGREP_max=$ac_count
1.35      moko     4802:     fi
1.43      moko     4803:     # 10*(2^10) chars as input seems more than enough
                   4804:     test $ac_count -gt 10 && break
                   4805:   done
                   4806:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4807: esac
                   4808: 
                   4809:       $ac_path_FGREP_found && break 3
                   4810:     done
                   4811:   done
                   4812:   done
                   4813: IFS=$as_save_IFS
                   4814:   if test -z "$ac_cv_path_FGREP"; then
                   4815:     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   4816:   fi
                   4817: else
                   4818:   ac_cv_path_FGREP=$FGREP
                   4819: fi
                   4820: 
                   4821:    fi
1.35      moko     4822: fi
1.43      moko     4823: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
                   4824: $as_echo "$ac_cv_path_FGREP" >&6; }
                   4825:  FGREP="$ac_cv_path_FGREP"
1.35      moko     4826: 
                   4827: 
                   4828: test -z "$GREP" && GREP=grep
                   4829: 
                   4830: 
                   4831: 
                   4832: 
                   4833: 
                   4834: 
                   4835: 
                   4836: 
                   4837: 
                   4838: 
                   4839: 
                   4840: 
                   4841: 
                   4842: 
                   4843: 
                   4844: 
                   4845: 
                   4846: 
                   4847: 
1.43      moko     4848: # Check whether --with-gnu-ld was given.
                   4849: if test "${with_gnu_ld+set}" = set; then :
                   4850:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
1.35      moko     4851: else
                   4852:   with_gnu_ld=no
1.43      moko     4853: fi
                   4854: 
1.35      moko     4855: ac_prog=ld
                   4856: if test "$GCC" = yes; then
                   4857:   # Check if gcc -print-prog-name=ld gives a path.
1.43      moko     4858:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   4859: $as_echo_n "checking for ld used by $CC... " >&6; }
1.35      moko     4860:   case $host in
                   4861:   *-*-mingw*)
                   4862:     # gcc leaves a trailing carriage return which upsets mingw
                   4863:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   4864:   *)
                   4865:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   4866:   esac
                   4867:   case $ac_prog in
                   4868:     # Accept absolute paths.
                   4869:     [\\/]* | ?:[\\/]*)
                   4870:       re_direlt='/[^/][^/]*/\.\./'
                   4871:       # Canonicalize the pathname of ld
                   4872:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   4873:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   4874:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   4875:       done
                   4876:       test -z "$LD" && LD="$ac_prog"
                   4877:       ;;
                   4878:   "")
                   4879:     # If it fails, then pretend we aren't using GCC.
                   4880:     ac_prog=ld
                   4881:     ;;
                   4882:   *)
                   4883:     # If it is relative, then search for the first ld in PATH.
                   4884:     with_gnu_ld=unknown
                   4885:     ;;
                   4886:   esac
                   4887: elif test "$with_gnu_ld" = yes; then
1.43      moko     4888:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   4889: $as_echo_n "checking for GNU ld... " >&6; }
1.35      moko     4890: else
1.43      moko     4891:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   4892: $as_echo_n "checking for non-GNU ld... " >&6; }
1.35      moko     4893: fi
1.43      moko     4894: if ${lt_cv_path_LD+:} false; then :
                   4895:   $as_echo_n "(cached) " >&6
1.1       parser   4896: else
                   4897:   if test -z "$LD"; then
1.35      moko     4898:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1.1       parser   4899:   for ac_dir in $PATH; do
1.35      moko     4900:     IFS="$lt_save_ifs"
1.1       parser   4901:     test -z "$ac_dir" && ac_dir=.
                   4902:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1.15      paf      4903:       lt_cv_path_LD="$ac_dir/$ac_prog"
1.1       parser   4904:       # Check to see if the program is GNU ld.  I'd rather use --version,
1.35      moko     4905:       # but apparently some variants of GNU ld only accept -v.
1.1       parser   4906:       # Break only if it was the GNU/non-GNU ld that we prefer.
1.35      moko     4907:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   4908:       *GNU* | *'with BFD'*)
1.1       parser   4909:        test "$with_gnu_ld" != no && break
1.35      moko     4910:        ;;
                   4911:       *)
1.1       parser   4912:        test "$with_gnu_ld" != yes && break
1.35      moko     4913:        ;;
                   4914:       esac
1.1       parser   4915:     fi
                   4916:   done
1.35      moko     4917:   IFS="$lt_save_ifs"
1.1       parser   4918: else
1.15      paf      4919:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
1.1       parser   4920: fi
                   4921: fi
                   4922: 
1.15      paf      4923: LD="$lt_cv_path_LD"
1.1       parser   4924: if test -n "$LD"; then
1.43      moko     4925:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   4926: $as_echo "$LD" >&6; }
1.1       parser   4927: else
1.43      moko     4928:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4929: $as_echo "no" >&6; }
1.1       parser   4930: fi
1.43      moko     4931: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
                   4932: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   4933: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
                   4934: if ${lt_cv_prog_gnu_ld+:} false; then :
                   4935:   $as_echo_n "(cached) " >&6
1.1       parser   4936: else
1.35      moko     4937:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   4938: case `$LD -v 2>&1 </dev/null` in
                   4939: *GNU* | *'with BFD'*)
1.15      paf      4940:   lt_cv_prog_gnu_ld=yes
1.35      moko     4941:   ;;
                   4942: *)
1.15      paf      4943:   lt_cv_prog_gnu_ld=no
1.35      moko     4944:   ;;
                   4945: esac
1.1       parser   4946: fi
1.43      moko     4947: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   4948: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
1.15      paf      4949: with_gnu_ld=$lt_cv_prog_gnu_ld
1.1       parser   4950: 
                   4951: 
                   4952: 
1.35      moko     4953: 
                   4954: 
                   4955: 
                   4956: 
                   4957: 
                   4958: 
1.43      moko     4959: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
                   4960: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
                   4961: if ${lt_cv_path_NM+:} false; then :
                   4962:   $as_echo_n "(cached) " >&6
1.1       parser   4963: else
                   4964:   if test -n "$NM"; then
                   4965:   # Let the user override the test.
1.15      paf      4966:   lt_cv_path_NM="$NM"
1.1       parser   4967: else
1.35      moko     4968:   lt_nm_to_check="${ac_tool_prefix}nm"
                   4969:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
                   4970:     lt_nm_to_check="$lt_nm_to_check nm"
                   4971:   fi
                   4972:   for lt_tmp_nm in $lt_nm_to_check; do
                   4973:     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   4974:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
                   4975:       IFS="$lt_save_ifs"
                   4976:       test -z "$ac_dir" && ac_dir=.
                   4977:       tmp_nm="$ac_dir/$lt_tmp_nm"
                   4978:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
                   4979:        # Check to see if the nm accepts a BSD-compat flag.
                   4980:        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
                   4981:        #   nm: unknown option "B" ignored
                   4982:        # Tru64's nm complains that /dev/null is an invalid object file
                   4983:        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
                   4984:        */dev/null* | *'Invalid file or object type'*)
                   4985:          lt_cv_path_NM="$tmp_nm -B"
                   4986:          break
                   4987:          ;;
                   4988:        *)
                   4989:          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
                   4990:          */dev/null*)
                   4991:            lt_cv_path_NM="$tmp_nm -p"
                   4992:            break
                   4993:            ;;
                   4994:          *)
                   4995:            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
                   4996:            continue # so that we can try to find one that supports BSD flags
                   4997:            ;;
                   4998:          esac
                   4999:          ;;
                   5000:        esac
1.1       parser   5001:       fi
1.35      moko     5002:     done
                   5003:     IFS="$lt_save_ifs"
1.1       parser   5004:   done
1.35      moko     5005:   : ${lt_cv_path_NM=no}
1.1       parser   5006: fi
                   5007: fi
1.43      moko     5008: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
                   5009: $as_echo "$lt_cv_path_NM" >&6; }
1.35      moko     5010: if test "$lt_cv_path_NM" != "no"; then
                   5011:   NM="$lt_cv_path_NM"
                   5012: else
                   5013:   # Didn't find any BSD compatible name lister, look for dumpbin.
                   5014:   if test -n "$DUMPBIN"; then :
                   5015:     # Let the user override the test.
                   5016:   else
                   5017:     if test -n "$ac_tool_prefix"; then
                   5018:   for ac_prog in dumpbin "link -dump"
                   5019:   do
                   5020:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   5021: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.43      moko     5022: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5023: $as_echo_n "checking for $ac_word... " >&6; }
                   5024: if ${ac_cv_prog_DUMPBIN+:} false; then :
                   5025:   $as_echo_n "(cached) " >&6
1.1       parser   5026: else
1.35      moko     5027:   if test -n "$DUMPBIN"; then
                   5028:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
                   5029: else
1.15      paf      5030: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5031: for as_dir in $PATH
                   5032: do
                   5033:   IFS=$as_save_IFS
                   5034:   test -z "$as_dir" && as_dir=.
1.43      moko     5035:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     5036:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     5037:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
1.43      moko     5038:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     5039:     break 2
                   5040:   fi
                   5041: done
1.43      moko     5042:   done
                   5043: IFS=$as_save_IFS
1.15      paf      5044: 
1.35      moko     5045: fi
                   5046: fi
                   5047: DUMPBIN=$ac_cv_prog_DUMPBIN
                   5048: if test -n "$DUMPBIN"; then
1.43      moko     5049:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
                   5050: $as_echo "$DUMPBIN" >&6; }
1.35      moko     5051: else
1.43      moko     5052:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5053: $as_echo "no" >&6; }
1.35      moko     5054: fi
1.15      paf      5055: 
1.43      moko     5056: 
1.35      moko     5057:     test -n "$DUMPBIN" && break
1.15      paf      5058:   done
1.35      moko     5059: fi
                   5060: if test -z "$DUMPBIN"; then
                   5061:   ac_ct_DUMPBIN=$DUMPBIN
                   5062:   for ac_prog in dumpbin "link -dump"
                   5063: do
                   5064:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   5065: set dummy $ac_prog; ac_word=$2
1.43      moko     5066: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5067: $as_echo_n "checking for $ac_word... " >&6; }
                   5068: if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
                   5069:   $as_echo_n "(cached) " >&6
1.35      moko     5070: else
                   5071:   if test -n "$ac_ct_DUMPBIN"; then
                   5072:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
                   5073: else
                   5074: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5075: for as_dir in $PATH
                   5076: do
                   5077:   IFS=$as_save_IFS
                   5078:   test -z "$as_dir" && as_dir=.
1.43      moko     5079:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     5080:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     5081:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
1.43      moko     5082:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     5083:     break 2
                   5084:   fi
                   5085: done
1.43      moko     5086:   done
                   5087: IFS=$as_save_IFS
1.15      paf      5088: 
1.1       parser   5089: fi
1.35      moko     5090: fi
                   5091: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
                   5092: if test -n "$ac_ct_DUMPBIN"; then
1.43      moko     5093:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
                   5094: $as_echo "$ac_ct_DUMPBIN" >&6; }
1.11      paf      5095: else
1.43      moko     5096:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5097: $as_echo "no" >&6; }
1.11      paf      5098: fi
1.15      paf      5099: 
1.43      moko     5100: 
1.35      moko     5101:   test -n "$ac_ct_DUMPBIN" && break
                   5102: done
                   5103: 
1.43      moko     5104:   if test "x$ac_ct_DUMPBIN" = x; then
                   5105:     DUMPBIN=":"
                   5106:   else
                   5107:     case $cross_compiling:$ac_tool_warned in
                   5108: yes:)
                   5109: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5110: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5111: ac_tool_warned=yes ;;
                   5112: esac
                   5113:     DUMPBIN=$ac_ct_DUMPBIN
                   5114:   fi
1.15      paf      5115: fi
                   5116: 
1.35      moko     5117:     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
                   5118:     *COFF*)
                   5119:       DUMPBIN="$DUMPBIN -symbols"
                   5120:       ;;
                   5121:     *)
                   5122:       DUMPBIN=:
                   5123:       ;;
                   5124:     esac
                   5125:   fi
                   5126: 
                   5127:   if test "$DUMPBIN" != ":"; then
                   5128:     NM="$DUMPBIN"
                   5129:   fi
                   5130: fi
                   5131: test -z "$NM" && NM=nm
                   5132: 
                   5133: 
                   5134: 
                   5135: 
                   5136: 
                   5137: 
1.43      moko     5138: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
                   5139: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
                   5140: if ${lt_cv_nm_interface+:} false; then :
                   5141:   $as_echo_n "(cached) " >&6
1.35      moko     5142: else
                   5143:   lt_cv_nm_interface="BSD nm"
                   5144:   echo "int some_variable = 0;" > conftest.$ac_ext
                   5145:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
                   5146:   (eval "$ac_compile" 2>conftest.err)
                   5147:   cat conftest.err >&5
                   5148:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
                   5149:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
                   5150:   cat conftest.err >&5
                   5151:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
                   5152:   cat conftest.out >&5
                   5153:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
                   5154:     lt_cv_nm_interface="MS dumpbin"
                   5155:   fi
                   5156:   rm -f conftest*
                   5157: fi
1.43      moko     5158: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
                   5159: $as_echo "$lt_cv_nm_interface" >&6; }
1.35      moko     5160: 
1.43      moko     5161: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
                   5162: $as_echo_n "checking whether ln -s works... " >&6; }
1.35      moko     5163: LN_S=$as_ln_s
                   5164: if test "$LN_S" = "ln -s"; then
1.43      moko     5165:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5166: $as_echo "yes" >&6; }
1.35      moko     5167: else
1.43      moko     5168:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
                   5169: $as_echo "no, using $LN_S" >&6; }
1.35      moko     5170: fi
                   5171: 
                   5172: # find the maximum length of command line arguments
1.43      moko     5173: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
                   5174: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
                   5175: if ${lt_cv_sys_max_cmd_len+:} false; then :
                   5176:   $as_echo_n "(cached) " >&6
1.35      moko     5177: else
                   5178:     i=0
                   5179:   teststring="ABCD"
                   5180: 
                   5181:   case $build_os in
                   5182:   msdosdjgpp*)
                   5183:     # On DJGPP, this test can blow up pretty badly due to problems in libc
                   5184:     # (any single argument exceeding 2000 bytes causes a buffer overrun
                   5185:     # during glob expansion).  Even if it were fixed, the result of this
                   5186:     # check would be larger than it should be.
                   5187:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
                   5188:     ;;
                   5189: 
                   5190:   gnu*)
                   5191:     # Under GNU Hurd, this test is not required because there is
                   5192:     # no limit to the length of command line arguments.
                   5193:     # Libtool will interpret -1 as no limit whatsoever
                   5194:     lt_cv_sys_max_cmd_len=-1;
                   5195:     ;;
                   5196: 
                   5197:   cygwin* | mingw* | cegcc*)
                   5198:     # On Win9x/ME, this test blows up -- it succeeds, but takes
                   5199:     # about 5 minutes as the teststring grows exponentially.
                   5200:     # Worse, since 9x/ME are not pre-emptively multitasking,
                   5201:     # you end up with a "frozen" computer, even though with patience
                   5202:     # the test eventually succeeds (with a max line length of 256k).
                   5203:     # Instead, let's just punt: use the minimum linelength reported by
                   5204:     # all of the supported platforms: 8192 (on NT/2K/XP).
                   5205:     lt_cv_sys_max_cmd_len=8192;
                   5206:     ;;
                   5207: 
                   5208:   mint*)
                   5209:     # On MiNT this can take a long time and run out of memory.
                   5210:     lt_cv_sys_max_cmd_len=8192;
                   5211:     ;;
                   5212: 
                   5213:   amigaos*)
                   5214:     # On AmigaOS with pdksh, this test takes hours, literally.
                   5215:     # So we just punt and use a minimum line length of 8192.
                   5216:     lt_cv_sys_max_cmd_len=8192;
                   5217:     ;;
                   5218: 
                   5219:   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
                   5220:     # This has been around since 386BSD, at least.  Likely further.
                   5221:     if test -x /sbin/sysctl; then
                   5222:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
                   5223:     elif test -x /usr/sbin/sysctl; then
                   5224:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
                   5225:     else
                   5226:       lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
                   5227:     fi
                   5228:     # And add a safety zone
                   5229:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   5230:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   5231:     ;;
                   5232: 
                   5233:   interix*)
                   5234:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
                   5235:     lt_cv_sys_max_cmd_len=196608
                   5236:     ;;
                   5237: 
                   5238:   os2*)
                   5239:     # The test takes a long time on OS/2.
                   5240:     lt_cv_sys_max_cmd_len=8192
                   5241:     ;;
                   5242: 
                   5243:   osf*)
                   5244:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
                   5245:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
                   5246:     # nice to cause kernel panics so lets avoid the loop below.
                   5247:     # First set a reasonable default.
                   5248:     lt_cv_sys_max_cmd_len=16384
                   5249:     #
                   5250:     if test -x /sbin/sysconfig; then
                   5251:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
                   5252:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
                   5253:       esac
                   5254:     fi
                   5255:     ;;
                   5256:   sco3.2v5*)
                   5257:     lt_cv_sys_max_cmd_len=102400
                   5258:     ;;
                   5259:   sysv5* | sco5v6* | sysv4.2uw2*)
                   5260:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
                   5261:     if test -n "$kargmax"; then
                   5262:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
                   5263:     else
                   5264:       lt_cv_sys_max_cmd_len=32768
                   5265:     fi
                   5266:     ;;
                   5267:   *)
                   5268:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
                   5269:     if test -n "$lt_cv_sys_max_cmd_len"; then
                   5270:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   5271:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   5272:     else
                   5273:       # Make teststring a little bigger before we do anything with it.
                   5274:       # a 1K string should be a reasonable start.
                   5275:       for i in 1 2 3 4 5 6 7 8 ; do
                   5276:         teststring=$teststring$teststring
                   5277:       done
                   5278:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
                   5279:       # If test is not a shell built-in, we'll probably end up computing a
                   5280:       # maximum length that is only half of the actual maximum length, but
                   5281:       # we can't tell.
                   5282:       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
                   5283:                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
                   5284:              test $i != 17 # 1/2 MB should be enough
                   5285:       do
                   5286:         i=`expr $i + 1`
                   5287:         teststring=$teststring$teststring
                   5288:       done
                   5289:       # Only check the string length outside the loop.
                   5290:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
                   5291:       teststring=
                   5292:       # Add a significant safety factor because C++ compilers can tack on
                   5293:       # massive amounts of additional arguments before passing them to the
                   5294:       # linker.  It appears as though 1/2 is a usable value.
                   5295:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
                   5296:     fi
                   5297:     ;;
                   5298:   esac
                   5299: 
                   5300: fi
                   5301: 
                   5302: if test -n $lt_cv_sys_max_cmd_len ; then
1.43      moko     5303:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
                   5304: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
1.35      moko     5305: else
1.43      moko     5306:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
                   5307: $as_echo "none" >&6; }
1.35      moko     5308: fi
                   5309: max_cmd_len=$lt_cv_sys_max_cmd_len
                   5310: 
                   5311: 
                   5312: 
                   5313: 
                   5314: 
                   5315: 
                   5316: : ${CP="cp -f"}
                   5317: : ${MV="mv -f"}
                   5318: : ${RM="rm -f"}
                   5319: 
1.43      moko     5320: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
                   5321: $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
1.35      moko     5322: # Try some XSI features
                   5323: xsi_shell=no
                   5324: ( _lt_dummy="a/b/c"
                   5325:   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
                   5326:       = c,a/b,b/c, \
                   5327:     && eval 'test $(( 1 + 1 )) -eq 2 \
                   5328:     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
                   5329:   && xsi_shell=yes
1.43      moko     5330: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
                   5331: $as_echo "$xsi_shell" >&6; }
1.35      moko     5332: 
                   5333: 
1.43      moko     5334: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
                   5335: $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
1.35      moko     5336: lt_shell_append=no
                   5337: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
                   5338:     >/dev/null 2>&1 \
                   5339:   && lt_shell_append=yes
1.43      moko     5340: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
                   5341: $as_echo "$lt_shell_append" >&6; }
1.35      moko     5342: 
                   5343: 
                   5344: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                   5345:   lt_unset=unset
                   5346: else
                   5347:   lt_unset=false
                   5348: fi
                   5349: 
                   5350: 
                   5351: 
                   5352: 
                   5353: 
                   5354: # test EBCDIC or ASCII
                   5355: case `echo X|tr X '\101'` in
                   5356:  A) # ASCII based system
                   5357:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
                   5358:   lt_SP2NL='tr \040 \012'
                   5359:   lt_NL2SP='tr \015\012 \040\040'
                   5360:   ;;
                   5361:  *) # EBCDIC based system
                   5362:   lt_SP2NL='tr \100 \n'
                   5363:   lt_NL2SP='tr \r\n \100\100'
                   5364:   ;;
                   5365: esac
                   5366: 
                   5367: 
                   5368: 
                   5369: 
                   5370: 
                   5371: 
                   5372: 
                   5373: 
                   5374: 
1.43      moko     5375: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
                   5376: $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
                   5377: if ${lt_cv_to_host_file_cmd+:} false; then :
                   5378:   $as_echo_n "(cached) " >&6
1.35      moko     5379: else
                   5380:   case $host in
                   5381:   *-*-mingw* )
                   5382:     case $build in
                   5383:       *-*-mingw* ) # actually msys
                   5384:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
                   5385:         ;;
                   5386:       *-*-cygwin* )
                   5387:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
                   5388:         ;;
                   5389:       * ) # otherwise, assume *nix
                   5390:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
                   5391:         ;;
                   5392:     esac
                   5393:     ;;
                   5394:   *-*-cygwin* )
                   5395:     case $build in
                   5396:       *-*-mingw* ) # actually msys
                   5397:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
                   5398:         ;;
                   5399:       *-*-cygwin* )
                   5400:         lt_cv_to_host_file_cmd=func_convert_file_noop
                   5401:         ;;
                   5402:       * ) # otherwise, assume *nix
                   5403:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
                   5404:         ;;
                   5405:     esac
                   5406:     ;;
                   5407:   * ) # unhandled hosts (and "normal" native builds)
                   5408:     lt_cv_to_host_file_cmd=func_convert_file_noop
                   5409:     ;;
                   5410: esac
                   5411: 
                   5412: fi
                   5413: 
                   5414: to_host_file_cmd=$lt_cv_to_host_file_cmd
1.43      moko     5415: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
                   5416: $as_echo "$lt_cv_to_host_file_cmd" >&6; }
1.35      moko     5417: 
                   5418: 
                   5419: 
                   5420: 
                   5421: 
1.43      moko     5422: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
                   5423: $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
                   5424: if ${lt_cv_to_tool_file_cmd+:} false; then :
                   5425:   $as_echo_n "(cached) " >&6
1.35      moko     5426: else
                   5427:   #assume ordinary cross tools, or native build.
                   5428: lt_cv_to_tool_file_cmd=func_convert_file_noop
                   5429: case $host in
                   5430:   *-*-mingw* )
                   5431:     case $build in
                   5432:       *-*-mingw* ) # actually msys
                   5433:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
                   5434:         ;;
                   5435:     esac
                   5436:     ;;
                   5437: esac
                   5438: 
                   5439: fi
                   5440: 
                   5441: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
1.43      moko     5442: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
                   5443: $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
1.35      moko     5444: 
                   5445: 
                   5446: 
                   5447: 
                   5448: 
1.43      moko     5449: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
                   5450: $as_echo_n "checking for $LD option to reload object files... " >&6; }
                   5451: if ${lt_cv_ld_reload_flag+:} false; then :
                   5452:   $as_echo_n "(cached) " >&6
1.35      moko     5453: else
                   5454:   lt_cv_ld_reload_flag='-r'
                   5455: fi
1.43      moko     5456: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
                   5457: $as_echo "$lt_cv_ld_reload_flag" >&6; }
1.35      moko     5458: reload_flag=$lt_cv_ld_reload_flag
                   5459: case $reload_flag in
                   5460: "" | " "*) ;;
                   5461: *) reload_flag=" $reload_flag" ;;
                   5462: esac
                   5463: reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   5464: case $host_os in
                   5465:   cygwin* | mingw* | pw32* | cegcc*)
                   5466:     if test "$GCC" != yes; then
                   5467:       reload_cmds=false
                   5468:     fi
                   5469:     ;;
                   5470:   darwin*)
                   5471:     if test "$GCC" = yes; then
                   5472:       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
                   5473:     else
                   5474:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   5475:     fi
                   5476:     ;;
                   5477: esac
                   5478: 
                   5479: 
                   5480: 
                   5481: 
                   5482: 
                   5483: 
                   5484: 
                   5485: 
                   5486: 
                   5487: if test -n "$ac_tool_prefix"; then
                   5488:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   5489: set dummy ${ac_tool_prefix}objdump; ac_word=$2
1.43      moko     5490: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5491: $as_echo_n "checking for $ac_word... " >&6; }
                   5492: if ${ac_cv_prog_OBJDUMP+:} false; then :
                   5493:   $as_echo_n "(cached) " >&6
1.35      moko     5494: else
                   5495:   if test -n "$OBJDUMP"; then
                   5496:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   5497: else
                   5498: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5499: for as_dir in $PATH
                   5500: do
                   5501:   IFS=$as_save_IFS
                   5502:   test -z "$as_dir" && as_dir=.
1.43      moko     5503:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     5504:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     5505:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1.43      moko     5506:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     5507:     break 2
                   5508:   fi
                   5509: done
1.43      moko     5510:   done
                   5511: IFS=$as_save_IFS
1.35      moko     5512: 
                   5513: fi
                   5514: fi
                   5515: OBJDUMP=$ac_cv_prog_OBJDUMP
                   5516: if test -n "$OBJDUMP"; then
1.43      moko     5517:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   5518: $as_echo "$OBJDUMP" >&6; }
1.35      moko     5519: else
1.43      moko     5520:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5521: $as_echo "no" >&6; }
1.35      moko     5522: fi
                   5523: 
1.43      moko     5524: 
1.35      moko     5525: fi
                   5526: if test -z "$ac_cv_prog_OBJDUMP"; then
                   5527:   ac_ct_OBJDUMP=$OBJDUMP
                   5528:   # Extract the first word of "objdump", so it can be a program name with args.
                   5529: set dummy objdump; ac_word=$2
1.43      moko     5530: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5531: $as_echo_n "checking for $ac_word... " >&6; }
                   5532: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
                   5533:   $as_echo_n "(cached) " >&6
1.35      moko     5534: else
                   5535:   if test -n "$ac_ct_OBJDUMP"; then
                   5536:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   5537: else
                   5538: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5539: for as_dir in $PATH
                   5540: do
                   5541:   IFS=$as_save_IFS
                   5542:   test -z "$as_dir" && as_dir=.
1.43      moko     5543:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     5544:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     5545:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.43      moko     5546:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     5547:     break 2
                   5548:   fi
                   5549: done
1.43      moko     5550:   done
                   5551: IFS=$as_save_IFS
1.35      moko     5552: 
                   5553: fi
                   5554: fi
                   5555: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   5556: if test -n "$ac_ct_OBJDUMP"; then
1.43      moko     5557:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   5558: $as_echo "$ac_ct_OBJDUMP" >&6; }
1.35      moko     5559: else
1.43      moko     5560:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5561: $as_echo "no" >&6; }
1.35      moko     5562: fi
                   5563: 
1.43      moko     5564:   if test "x$ac_ct_OBJDUMP" = x; then
                   5565:     OBJDUMP="false"
                   5566:   else
                   5567:     case $cross_compiling:$ac_tool_warned in
                   5568: yes:)
                   5569: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5570: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5571: ac_tool_warned=yes ;;
                   5572: esac
                   5573:     OBJDUMP=$ac_ct_OBJDUMP
                   5574:   fi
1.35      moko     5575: else
                   5576:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   5577: fi
                   5578: 
                   5579: test -z "$OBJDUMP" && OBJDUMP=objdump
                   5580: 
                   5581: 
                   5582: 
                   5583: 
                   5584: 
                   5585: 
1.43      moko     5586: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
                   5587: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
                   5588: if ${lt_cv_deplibs_check_method+:} false; then :
                   5589:   $as_echo_n "(cached) " >&6
1.15      paf      5590: else
                   5591:   lt_cv_file_magic_cmd='$MAGIC_CMD'
                   5592: lt_cv_file_magic_test_file=
                   5593: lt_cv_deplibs_check_method='unknown'
                   5594: # Need to set the preceding variable on all platforms that support
                   5595: # interlibrary dependencies.
                   5596: # 'none' -- dependencies not supported.
                   5597: # `unknown' -- same as none, but documents that we really don't know.
                   5598: # 'pass_all' -- all dependencies passed with no checks.
                   5599: # 'test_compile' -- check by making test program.
                   5600: # 'file_magic [[regex]]' -- check by looking for files in library path
1.35      moko     5601: # which responds to the $file_magic_cmd with a given extended regex.
1.15      paf      5602: # If you have `file' or equivalent on your system and you're not sure
                   5603: # whether `pass_all' will *always* work, you probably want this one.
                   5604: 
                   5605: case $host_os in
1.35      moko     5606: aix[4-9]*)
1.15      paf      5607:   lt_cv_deplibs_check_method=pass_all
                   5608:   ;;
1.11      paf      5609: 
1.15      paf      5610: beos*)
                   5611:   lt_cv_deplibs_check_method=pass_all
                   5612:   ;;
1.1       parser   5613: 
1.35      moko     5614: bsdi[45]*)
1.15      paf      5615:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
                   5616:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   5617:   lt_cv_file_magic_test_file=/shlib/libc.so
                   5618:   ;;
1.1       parser   5619: 
1.35      moko     5620: cygwin*)
                   5621:   # func_win32_libid is a shell function defined in ltmain.sh
                   5622:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   5623:   lt_cv_file_magic_cmd='func_win32_libid'
                   5624:   ;;
                   5625: 
                   5626: mingw* | pw32*)
                   5627:   # Base MSYS/MinGW do not provide the 'file' command needed by
                   5628:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
                   5629:   # unless we find 'file', for example because we are cross-compiling.
                   5630:   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
                   5631:   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
                   5632:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   5633:     lt_cv_file_magic_cmd='func_win32_libid'
                   5634:   else
                   5635:     # Keep this pattern in sync with the one in func_win32_libid.
                   5636:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
                   5637:     lt_cv_file_magic_cmd='$OBJDUMP -f'
                   5638:   fi
                   5639:   ;;
                   5640: 
                   5641: cegcc*)
                   5642:   # use the weaker test based on 'objdump'. See mingw*.
                   5643:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
1.15      paf      5644:   lt_cv_file_magic_cmd='$OBJDUMP -f'
                   5645:   ;;
1.1       parser   5646: 
1.15      paf      5647: darwin* | rhapsody*)
1.35      moko     5648:   lt_cv_deplibs_check_method=pass_all
1.15      paf      5649:   ;;
1.1       parser   5650: 
1.35      moko     5651: freebsd* | dragonfly*)
                   5652:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
1.15      paf      5653:     case $host_cpu in
                   5654:     i*86 )
                   5655:       # Not sure whether the presence of OpenBSD here was a mistake.
                   5656:       # Let's accept both of them until this is cleared up.
1.35      moko     5657:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
1.15      paf      5658:       lt_cv_file_magic_cmd=/usr/bin/file
                   5659:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1.1       parser   5660:       ;;
                   5661:     esac
1.15      paf      5662:   else
                   5663:     lt_cv_deplibs_check_method=pass_all
1.1       parser   5664:   fi
                   5665:   ;;
                   5666: 
1.15      paf      5667: gnu*)
                   5668:   lt_cv_deplibs_check_method=pass_all
                   5669:   ;;
1.1       parser   5670: 
1.35      moko     5671: haiku*)
                   5672:   lt_cv_deplibs_check_method=pass_all
1.15      paf      5673:   ;;
1.1       parser   5674: 
1.35      moko     5675: hpux10.20* | hpux11*)
                   5676:   lt_cv_file_magic_cmd=/usr/bin/file
                   5677:   case $host_cpu in
                   5678:   ia64*)
                   5679:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
                   5680:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
                   5681:     ;;
                   5682:   hppa*64*)
                   5683:     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]'
                   5684:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
1.15      paf      5685:     ;;
                   5686:   *)
1.35      moko     5687:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
                   5688:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
1.15      paf      5689:     ;;
                   5690:   esac
1.35      moko     5691:   ;;
                   5692: 
                   5693: interix[3-9]*)
                   5694:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
                   5695:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
                   5696:   ;;
                   5697: 
                   5698: irix5* | irix6* | nonstopux*)
                   5699:   case $LD in
                   5700:   *-32|*"-32 ") libmagic=32-bit;;
                   5701:   *-n32|*"-n32 ") libmagic=N32;;
                   5702:   *-64|*"-64 ") libmagic=64-bit;;
                   5703:   *) libmagic=never-match;;
                   5704:   esac
1.15      paf      5705:   lt_cv_deplibs_check_method=pass_all
                   5706:   ;;
                   5707: 
1.35      moko     5708: # This must be glibc/ELF.
                   5709: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   5710:   lt_cv_deplibs_check_method=pass_all
1.15      paf      5711:   ;;
                   5712: 
                   5713: netbsd*)
1.35      moko     5714:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   5715:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
1.15      paf      5716:   else
1.35      moko     5717:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
1.15      paf      5718:   fi
                   5719:   ;;
                   5720: 
                   5721: newos6*)
                   5722:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
                   5723:   lt_cv_file_magic_cmd=/usr/bin/file
                   5724:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
                   5725:   ;;
1.1       parser   5726: 
1.35      moko     5727: *nto* | *qnx*)
                   5728:   lt_cv_deplibs_check_method=pass_all
                   5729:   ;;
                   5730: 
1.15      paf      5731: openbsd*)
1.35      moko     5732:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   5733:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
1.15      paf      5734:   else
1.35      moko     5735:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
1.1       parser   5736:   fi
                   5737:   ;;
                   5738: 
1.15      paf      5739: osf3* | osf4* | osf5*)
                   5740:   lt_cv_deplibs_check_method=pass_all
                   5741:   ;;
                   5742: 
1.35      moko     5743: rdos*)
1.15      paf      5744:   lt_cv_deplibs_check_method=pass_all
                   5745:   ;;
                   5746: 
                   5747: solaris*)
                   5748:   lt_cv_deplibs_check_method=pass_all
                   5749:   ;;
                   5750: 
1.35      moko     5751: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
1.15      paf      5752:   lt_cv_deplibs_check_method=pass_all
                   5753:   ;;
                   5754: 
1.35      moko     5755: sysv4 | sysv4.3*)
1.15      paf      5756:   case $host_vendor in
                   5757:   motorola)
                   5758:     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]'
                   5759:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
                   5760:     ;;
                   5761:   ncr)
                   5762:     lt_cv_deplibs_check_method=pass_all
                   5763:     ;;
                   5764:   sequent)
                   5765:     lt_cv_file_magic_cmd='/bin/file'
                   5766:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
                   5767:     ;;
                   5768:   sni)
                   5769:     lt_cv_file_magic_cmd='/bin/file'
                   5770:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
                   5771:     lt_cv_file_magic_test_file=/lib/libc.so
                   5772:     ;;
                   5773:   siemens)
                   5774:     lt_cv_deplibs_check_method=pass_all
                   5775:     ;;
1.35      moko     5776:   pc)
                   5777:     lt_cv_deplibs_check_method=pass_all
                   5778:     ;;
1.15      paf      5779:   esac
                   5780:   ;;
1.35      moko     5781: 
                   5782: tpf*)
                   5783:   lt_cv_deplibs_check_method=pass_all
                   5784:   ;;
1.15      paf      5785: esac
                   5786: 
                   5787: fi
1.43      moko     5788: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
                   5789: $as_echo "$lt_cv_deplibs_check_method" >&6; }
1.35      moko     5790: 
                   5791: file_magic_glob=
                   5792: want_nocaseglob=no
                   5793: if test "$build" = "$host"; then
                   5794:   case $host_os in
                   5795:   mingw* | pw32*)
                   5796:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
                   5797:       want_nocaseglob=yes
                   5798:     else
                   5799:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
                   5800:     fi
                   5801:     ;;
                   5802:   esac
                   5803: fi
                   5804: 
1.15      paf      5805: file_magic_cmd=$lt_cv_file_magic_cmd
                   5806: deplibs_check_method=$lt_cv_deplibs_check_method
1.35      moko     5807: test -z "$deplibs_check_method" && deplibs_check_method=unknown
                   5808: 
                   5809: 
1.15      paf      5810: 
                   5811: 
                   5812: 
                   5813: 
                   5814: 
                   5815: 
                   5816: 
                   5817: 
1.35      moko     5818: 
                   5819: 
                   5820: 
                   5821: 
                   5822: 
                   5823: 
                   5824: 
                   5825: 
                   5826: 
                   5827: 
                   5828: 
                   5829: 
                   5830: if test -n "$ac_tool_prefix"; then
                   5831:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   5832: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1.43      moko     5833: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5834: $as_echo_n "checking for $ac_word... " >&6; }
                   5835: if ${ac_cv_prog_DLLTOOL+:} false; then :
                   5836:   $as_echo_n "(cached) " >&6
1.35      moko     5837: else
                   5838:   if test -n "$DLLTOOL"; then
                   5839:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   5840: else
                   5841: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5842: for as_dir in $PATH
                   5843: do
                   5844:   IFS=$as_save_IFS
                   5845:   test -z "$as_dir" && as_dir=.
1.43      moko     5846:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     5847:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     5848:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
1.43      moko     5849:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     5850:     break 2
                   5851:   fi
                   5852: done
1.43      moko     5853:   done
                   5854: IFS=$as_save_IFS
1.35      moko     5855: 
                   5856: fi
                   5857: fi
                   5858: DLLTOOL=$ac_cv_prog_DLLTOOL
                   5859: if test -n "$DLLTOOL"; then
1.43      moko     5860:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
                   5861: $as_echo "$DLLTOOL" >&6; }
1.35      moko     5862: else
1.43      moko     5863:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5864: $as_echo "no" >&6; }
1.35      moko     5865: fi
                   5866: 
1.43      moko     5867: 
1.35      moko     5868: fi
                   5869: if test -z "$ac_cv_prog_DLLTOOL"; then
                   5870:   ac_ct_DLLTOOL=$DLLTOOL
                   5871:   # Extract the first word of "dlltool", so it can be a program name with args.
                   5872: set dummy dlltool; ac_word=$2
1.43      moko     5873: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5874: $as_echo_n "checking for $ac_word... " >&6; }
                   5875: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
                   5876:   $as_echo_n "(cached) " >&6
1.11      paf      5877: else
1.35      moko     5878:   if test -n "$ac_ct_DLLTOOL"; then
                   5879:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   5880: else
                   5881: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5882: for as_dir in $PATH
                   5883: do
                   5884:   IFS=$as_save_IFS
                   5885:   test -z "$as_dir" && as_dir=.
1.43      moko     5886:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     5887:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     5888:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
1.43      moko     5889:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     5890:     break 2
                   5891:   fi
                   5892: done
1.43      moko     5893:   done
                   5894: IFS=$as_save_IFS
1.35      moko     5895: 
                   5896: fi
                   5897: fi
                   5898: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   5899: if test -n "$ac_ct_DLLTOOL"; then
1.43      moko     5900:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
                   5901: $as_echo "$ac_ct_DLLTOOL" >&6; }
1.35      moko     5902: else
1.43      moko     5903:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5904: $as_echo "no" >&6; }
1.35      moko     5905: fi
                   5906: 
1.43      moko     5907:   if test "x$ac_ct_DLLTOOL" = x; then
                   5908:     DLLTOOL="false"
                   5909:   else
                   5910:     case $cross_compiling:$ac_tool_warned in
                   5911: yes:)
                   5912: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5913: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5914: ac_tool_warned=yes ;;
                   5915: esac
                   5916:     DLLTOOL=$ac_ct_DLLTOOL
                   5917:   fi
1.35      moko     5918: else
                   5919:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   5920: fi
                   5921: 
                   5922: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   5923: 
                   5924: 
                   5925: 
                   5926: 
1.15      paf      5927: 
                   5928: 
                   5929: 
1.43      moko     5930: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
                   5931: $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
                   5932: if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
                   5933:   $as_echo_n "(cached) " >&6
1.35      moko     5934: else
                   5935:   lt_cv_sharedlib_from_linklib_cmd='unknown'
1.15      paf      5936: 
                   5937: case $host_os in
1.35      moko     5938: cygwin* | mingw* | pw32* | cegcc*)
                   5939:   # two different shell functions defined in ltmain.sh
                   5940:   # decide which to use based on capabilities of $DLLTOOL
                   5941:   case `$DLLTOOL --help 2>&1` in
                   5942:   *--identify-strict*)
                   5943:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
                   5944:     ;;
                   5945:   *)
                   5946:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
                   5947:     ;;
                   5948:   esac
1.15      paf      5949:   ;;
1.35      moko     5950: *)
                   5951:   # fallback: assume linklib IS sharedlib
                   5952:   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
1.15      paf      5953:   ;;
                   5954: esac
                   5955: 
                   5956: fi
1.43      moko     5957: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
                   5958: $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
1.35      moko     5959: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
                   5960: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
1.15      paf      5961: 
                   5962: 
                   5963: 
                   5964: 
                   5965: 
                   5966: 
                   5967: 
                   5968: 
1.35      moko     5969: if test -n "$ac_tool_prefix"; then
                   5970:   for ac_prog in ar
                   5971:   do
                   5972:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   5973: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.43      moko     5974: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5975: $as_echo_n "checking for $ac_word... " >&6; }
                   5976: if ${ac_cv_prog_AR+:} false; then :
                   5977:   $as_echo_n "(cached) " >&6
1.35      moko     5978: else
                   5979:   if test -n "$AR"; then
                   5980:   ac_cv_prog_AR="$AR" # Let the user override the test.
                   5981: else
                   5982: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5983: for as_dir in $PATH
                   5984: do
                   5985:   IFS=$as_save_IFS
                   5986:   test -z "$as_dir" && as_dir=.
1.43      moko     5987:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     5988:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     5989:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
1.43      moko     5990:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     5991:     break 2
1.15      paf      5992:   fi
1.35      moko     5993: done
1.43      moko     5994:   done
                   5995: IFS=$as_save_IFS
1.15      paf      5996: 
1.11      paf      5997: fi
                   5998: fi
1.35      moko     5999: AR=$ac_cv_prog_AR
                   6000: if test -n "$AR"; then
1.43      moko     6001:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
                   6002: $as_echo "$AR" >&6; }
1.11      paf      6003: else
1.43      moko     6004:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6005: $as_echo "no" >&6; }
1.11      paf      6006: fi
                   6007: 
1.43      moko     6008: 
1.35      moko     6009:     test -n "$AR" && break
                   6010:   done
1.24      paf      6011: fi
1.35      moko     6012: if test -z "$AR"; then
                   6013:   ac_ct_AR=$AR
                   6014:   for ac_prog in ar
                   6015: do
                   6016:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   6017: set dummy $ac_prog; ac_word=$2
1.43      moko     6018: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6019: $as_echo_n "checking for $ac_word... " >&6; }
                   6020: if ${ac_cv_prog_ac_ct_AR+:} false; then :
                   6021:   $as_echo_n "(cached) " >&6
1.11      paf      6022: else
1.35      moko     6023:   if test -n "$ac_ct_AR"; then
                   6024:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
                   6025: else
                   6026: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6027: for as_dir in $PATH
1.15      paf      6028: do
1.35      moko     6029:   IFS=$as_save_IFS
                   6030:   test -z "$as_dir" && as_dir=.
1.43      moko     6031:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     6032:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     6033:     ac_cv_prog_ac_ct_AR="$ac_prog"
1.43      moko     6034:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     6035:     break 2
1.15      paf      6036:   fi
1.35      moko     6037: done
1.43      moko     6038:   done
                   6039: IFS=$as_save_IFS
1.15      paf      6040: 
1.11      paf      6041: fi
                   6042: fi
1.35      moko     6043: ac_ct_AR=$ac_cv_prog_ac_ct_AR
                   6044: if test -n "$ac_ct_AR"; then
1.43      moko     6045:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
                   6046: $as_echo "$ac_ct_AR" >&6; }
1.15      paf      6047: else
1.43      moko     6048:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6049: $as_echo "no" >&6; }
1.11      paf      6050: fi
                   6051: 
1.43      moko     6052: 
1.35      moko     6053:   test -n "$ac_ct_AR" && break
1.15      paf      6054: done
1.35      moko     6055: 
1.43      moko     6056:   if test "x$ac_ct_AR" = x; then
                   6057:     AR="false"
                   6058:   else
                   6059:     case $cross_compiling:$ac_tool_warned in
                   6060: yes:)
                   6061: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6062: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6063: ac_tool_warned=yes ;;
                   6064: esac
                   6065:     AR=$ac_ct_AR
                   6066:   fi
1.11      paf      6067: fi
1.15      paf      6068: 
1.35      moko     6069: : ${AR=ar}
                   6070: : ${AR_FLAGS=cru}
                   6071: 
1.15      paf      6072: 
                   6073: 
1.11      paf      6074: 
1.15      paf      6075: 
1.11      paf      6076: 
                   6077: 
1.15      paf      6078: 
1.11      paf      6079: 
1.15      paf      6080: 
                   6081: 
1.43      moko     6082: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
                   6083: $as_echo_n "checking for archiver @FILE support... " >&6; }
                   6084: if ${lt_cv_ar_at_file+:} false; then :
                   6085:   $as_echo_n "(cached) " >&6
1.15      paf      6086: else
1.35      moko     6087:   lt_cv_ar_at_file=no
1.43      moko     6088:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.15      paf      6089: /* end confdefs.h.  */
                   6090: 
                   6091: int
                   6092: main ()
                   6093: {
                   6094: 
                   6095:   ;
                   6096:   return 0;
                   6097: }
                   6098: _ACEOF
1.43      moko     6099: if ac_fn_c_try_compile "$LINENO"; then :
1.35      moko     6100:   echo conftest.$ac_objext > conftest.lst
                   6101:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
1.43      moko     6102:       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
1.35      moko     6103:   (eval $lt_ar_try) 2>&5
                   6104:   ac_status=$?
1.43      moko     6105:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6106:   test $ac_status = 0; }
1.35      moko     6107:       if test "$ac_status" -eq 0; then
                   6108:        # Ensure the archiver fails upon bogus file names.
                   6109:        rm -f conftest.$ac_objext libconftest.a
1.43      moko     6110:        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
1.35      moko     6111:   (eval $lt_ar_try) 2>&5
                   6112:   ac_status=$?
1.43      moko     6113:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6114:   test $ac_status = 0; }
1.35      moko     6115:        if test "$ac_status" -ne 0; then
                   6116:           lt_cv_ar_at_file=@
                   6117:         fi
                   6118:       fi
                   6119:       rm -f conftest.* libconftest.a
                   6120: 
1.11      paf      6121: fi
1.43      moko     6122: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.15      paf      6123: 
1.35      moko     6124: fi
1.43      moko     6125: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
                   6126: $as_echo "$lt_cv_ar_at_file" >&6; }
1.35      moko     6127: 
                   6128: if test "x$lt_cv_ar_at_file" = xno; then
                   6129:   archiver_list_spec=
1.11      paf      6130: else
1.35      moko     6131:   archiver_list_spec=$lt_cv_ar_at_file
1.11      paf      6132: fi
1.15      paf      6133: 
1.11      paf      6134: 
1.1       parser   6135: 
1.35      moko     6136: 
                   6137: 
                   6138: 
                   6139: 
                   6140: if test -n "$ac_tool_prefix"; then
                   6141:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   6142: set dummy ${ac_tool_prefix}strip; ac_word=$2
1.43      moko     6143: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6144: $as_echo_n "checking for $ac_word... " >&6; }
                   6145: if ${ac_cv_prog_STRIP+:} false; then :
                   6146:   $as_echo_n "(cached) " >&6
1.35      moko     6147: else
                   6148:   if test -n "$STRIP"; then
                   6149:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   6150: else
                   6151: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6152: for as_dir in $PATH
                   6153: do
                   6154:   IFS=$as_save_IFS
                   6155:   test -z "$as_dir" && as_dir=.
1.43      moko     6156:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     6157:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     6158:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1.43      moko     6159:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     6160:     break 2
                   6161:   fi
                   6162: done
1.43      moko     6163:   done
                   6164: IFS=$as_save_IFS
1.35      moko     6165: 
                   6166: fi
                   6167: fi
                   6168: STRIP=$ac_cv_prog_STRIP
                   6169: if test -n "$STRIP"; then
1.43      moko     6170:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   6171: $as_echo "$STRIP" >&6; }
1.1       parser   6172: else
1.43      moko     6173:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6174: $as_echo "no" >&6; }
1.1       parser   6175: fi
                   6176: 
1.43      moko     6177: 
1.15      paf      6178: fi
1.35      moko     6179: if test -z "$ac_cv_prog_STRIP"; then
                   6180:   ac_ct_STRIP=$STRIP
                   6181:   # Extract the first word of "strip", so it can be a program name with args.
                   6182: set dummy strip; ac_word=$2
1.43      moko     6183: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6184: $as_echo_n "checking for $ac_word... " >&6; }
                   6185: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
                   6186:   $as_echo_n "(cached) " >&6
1.15      paf      6187: else
1.35      moko     6188:   if test -n "$ac_ct_STRIP"; then
                   6189:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1.1       parser   6190: else
1.35      moko     6191: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6192: for as_dir in $PATH
                   6193: do
                   6194:   IFS=$as_save_IFS
                   6195:   test -z "$as_dir" && as_dir=.
1.43      moko     6196:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     6197:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     6198:     ac_cv_prog_ac_ct_STRIP="strip"
1.43      moko     6199:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     6200:     break 2
                   6201:   fi
                   6202: done
1.43      moko     6203:   done
                   6204: IFS=$as_save_IFS
1.15      paf      6205: 
1.1       parser   6206: fi
1.15      paf      6207: fi
1.35      moko     6208: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   6209: if test -n "$ac_ct_STRIP"; then
1.43      moko     6210:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   6211: $as_echo "$ac_ct_STRIP" >&6; }
1.35      moko     6212: else
1.43      moko     6213:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6214: $as_echo "no" >&6; }
1.15      paf      6215: fi
1.1       parser   6216: 
1.43      moko     6217:   if test "x$ac_ct_STRIP" = x; then
                   6218:     STRIP=":"
                   6219:   else
                   6220:     case $cross_compiling:$ac_tool_warned in
                   6221: yes:)
                   6222: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6223: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6224: ac_tool_warned=yes ;;
                   6225: esac
                   6226:     STRIP=$ac_ct_STRIP
                   6227:   fi
1.35      moko     6228: else
                   6229:   STRIP="$ac_cv_prog_STRIP"
1.15      paf      6230: fi
1.1       parser   6231: 
1.35      moko     6232: test -z "$STRIP" && STRIP=:
1.1       parser   6233: 
                   6234: 
                   6235: 
                   6236: 
                   6237: 
                   6238: 
1.35      moko     6239: if test -n "$ac_tool_prefix"; then
                   6240:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   6241: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1.43      moko     6242: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6243: $as_echo_n "checking for $ac_word... " >&6; }
                   6244: if ${ac_cv_prog_RANLIB+:} false; then :
                   6245:   $as_echo_n "(cached) " >&6
1.15      paf      6246: else
1.35      moko     6247:   if test -n "$RANLIB"; then
                   6248:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1.15      paf      6249: else
1.35      moko     6250: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6251: for as_dir in $PATH
                   6252: do
                   6253:   IFS=$as_save_IFS
                   6254:   test -z "$as_dir" && as_dir=.
1.43      moko     6255:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     6256:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     6257:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1.43      moko     6258:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     6259:     break 2
                   6260:   fi
                   6261: done
1.43      moko     6262:   done
                   6263: IFS=$as_save_IFS
1.15      paf      6264: 
                   6265: fi
                   6266: fi
1.35      moko     6267: RANLIB=$ac_cv_prog_RANLIB
                   6268: if test -n "$RANLIB"; then
1.43      moko     6269:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
                   6270: $as_echo "$RANLIB" >&6; }
1.35      moko     6271: else
1.43      moko     6272:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6273: $as_echo "no" >&6; }
1.35      moko     6274: fi
1.15      paf      6275: 
1.43      moko     6276: 
1.15      paf      6277: fi
1.35      moko     6278: if test -z "$ac_cv_prog_RANLIB"; then
                   6279:   ac_ct_RANLIB=$RANLIB
                   6280:   # Extract the first word of "ranlib", so it can be a program name with args.
                   6281: set dummy ranlib; ac_word=$2
1.43      moko     6282: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6283: $as_echo_n "checking for $ac_word... " >&6; }
                   6284: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
                   6285:   $as_echo_n "(cached) " >&6
1.35      moko     6286: else
                   6287:   if test -n "$ac_ct_RANLIB"; then
                   6288:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   6289: else
                   6290: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6291: for as_dir in $PATH
                   6292: do
                   6293:   IFS=$as_save_IFS
                   6294:   test -z "$as_dir" && as_dir=.
1.43      moko     6295:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     6296:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     6297:     ac_cv_prog_ac_ct_RANLIB="ranlib"
1.43      moko     6298:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     6299:     break 2
                   6300:   fi
                   6301: done
1.43      moko     6302:   done
                   6303: IFS=$as_save_IFS
1.15      paf      6304: 
1.35      moko     6305: fi
1.15      paf      6306: fi
1.35      moko     6307: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   6308: if test -n "$ac_ct_RANLIB"; then
1.43      moko     6309:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
                   6310: $as_echo "$ac_ct_RANLIB" >&6; }
1.15      paf      6311: else
1.43      moko     6312:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6313: $as_echo "no" >&6; }
1.15      paf      6314: fi
                   6315: 
1.43      moko     6316:   if test "x$ac_ct_RANLIB" = x; then
                   6317:     RANLIB=":"
                   6318:   else
                   6319:     case $cross_compiling:$ac_tool_warned in
                   6320: yes:)
                   6321: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6322: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6323: ac_tool_warned=yes ;;
                   6324: esac
                   6325:     RANLIB=$ac_ct_RANLIB
                   6326:   fi
1.15      paf      6327: else
1.35      moko     6328:   RANLIB="$ac_cv_prog_RANLIB"
1.15      paf      6329: fi
                   6330: 
1.35      moko     6331: test -z "$RANLIB" && RANLIB=:
                   6332: 
                   6333: 
                   6334: 
                   6335: 
                   6336: 
                   6337: 
                   6338: # Determine commands to create old-style static archives.
                   6339: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
                   6340: old_postinstall_cmds='chmod 644 $oldlib'
                   6341: old_postuninstall_cmds=
1.15      paf      6342: 
1.35      moko     6343: if test -n "$RANLIB"; then
                   6344:   case $host_os in
                   6345:   openbsd*)
                   6346:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
1.15      paf      6347:     ;;
1.35      moko     6348:   *)
                   6349:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
1.15      paf      6350:     ;;
1.35      moko     6351:   esac
                   6352:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
                   6353: fi
                   6354: 
                   6355: case $host_os in
                   6356:   darwin*)
                   6357:     lock_old_archive_extraction=yes ;;
                   6358:   *)
                   6359:     lock_old_archive_extraction=no ;;
1.15      paf      6360: esac
                   6361: 
                   6362: 
                   6363: 
                   6364: 
                   6365: 
                   6366: 
                   6367: 
                   6368: 
                   6369: 
                   6370: 
                   6371: 
                   6372: 
                   6373: 
                   6374: 
                   6375: 
                   6376: 
                   6377: 
1.1       parser   6378: 
                   6379: 
1.15      paf      6380: 
                   6381: 
                   6382: 
                   6383: 
                   6384: 
                   6385: 
1.1       parser   6386: 
                   6387: 
                   6388: 
1.15      paf      6389: 
                   6390: 
                   6391: 
                   6392: 
                   6393: 
                   6394: 
1.35      moko     6395: 
                   6396: 
                   6397: 
                   6398: 
                   6399: 
                   6400: # If no C compiler was specified, use CC.
                   6401: LTCC=${LTCC-"$CC"}
                   6402: 
                   6403: # If no C compiler flags were specified, use CFLAGS.
                   6404: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   6405: 
                   6406: # Allow CC to be a program name with arguments.
                   6407: compiler=$CC
                   6408: 
                   6409: 
                   6410: # Check for command to grab the raw symbol name followed by C symbol from nm.
1.43      moko     6411: { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
                   6412: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
                   6413: if ${lt_cv_sys_global_symbol_pipe+:} false; then :
                   6414:   $as_echo_n "(cached) " >&6
1.1       parser   6415: else
                   6416: 
1.35      moko     6417: # These are sane defaults that work on at least a few old systems.
                   6418: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
1.15      paf      6419: 
1.35      moko     6420: # Character class describing NM global symbol codes.
                   6421: symcode='[BCDEGRST]'
1.15      paf      6422: 
1.35      moko     6423: # Regexp to match symbols that can be accessed directly from C.
                   6424: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
1.15      paf      6425: 
1.35      moko     6426: # Define system-specific variables.
                   6427: case $host_os in
                   6428: aix*)
                   6429:   symcode='[BCDT]'
                   6430:   ;;
                   6431: cygwin* | mingw* | pw32* | cegcc*)
                   6432:   symcode='[ABCDGISTW]'
                   6433:   ;;
                   6434: hpux*)
                   6435:   if test "$host_cpu" = ia64; then
                   6436:     symcode='[ABCDEGRST]'
                   6437:   fi
                   6438:   ;;
                   6439: irix* | nonstopux*)
                   6440:   symcode='[BCDEGRST]'
                   6441:   ;;
                   6442: osf*)
                   6443:   symcode='[BCDEGQRST]'
                   6444:   ;;
                   6445: solaris*)
                   6446:   symcode='[BDRT]'
                   6447:   ;;
                   6448: sco3.2v5*)
                   6449:   symcode='[DT]'
                   6450:   ;;
                   6451: sysv4.2uw2*)
                   6452:   symcode='[DT]'
                   6453:   ;;
                   6454: sysv5* | sco5v6* | unixware* | OpenUNIX*)
                   6455:   symcode='[ABDT]'
                   6456:   ;;
                   6457: sysv4)
                   6458:   symcode='[DFNSTU]'
                   6459:   ;;
                   6460: esac
                   6461: 
                   6462: # If we're using GNU nm, then use its standard symbol codes.
                   6463: case `$NM -V 2>&1` in
                   6464: *GNU* | *'with BFD'*)
                   6465:   symcode='[ABCDGIRSTW]' ;;
                   6466: esac
                   6467: 
                   6468: # Transform an extracted symbol line into a proper C declaration.
                   6469: # Some systems (esp. on ia64) link data and code symbols differently,
                   6470: # so use this general approach.
                   6471: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
                   6472: 
                   6473: # Transform an extracted symbol line into symbol name and symbol address
                   6474: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
                   6475: 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'"
                   6476: 
                   6477: # Handle CRLF in mingw tool chain
                   6478: opt_cr=
                   6479: case $build_os in
                   6480: mingw*)
                   6481:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
                   6482:   ;;
                   6483: esac
                   6484: 
                   6485: # Try without a prefix underscore, then with it.
                   6486: for ac_symprfx in "" "_"; do
                   6487: 
                   6488:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
                   6489:   symxfrm="\\1 $ac_symprfx\\2 \\2"
                   6490: 
                   6491:   # Write the raw and C identifiers.
                   6492:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   6493:     # Fake it for dumpbin and say T for any non-static function
                   6494:     # and D for any global variable.
                   6495:     # Also find C++ and __fastcall symbols from MSVC++,
                   6496:     # which start with @ or ?.
                   6497:     lt_cv_sys_global_symbol_pipe="$AWK '"\
                   6498: "     {last_section=section; section=\$ 3};"\
                   6499: "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
                   6500: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
                   6501: "     \$ 0!~/External *\|/{next};"\
                   6502: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
                   6503: "     {if(hide[section]) next};"\
                   6504: "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
                   6505: "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
                   6506: "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
                   6507: "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
                   6508: "     ' prfx=^$ac_symprfx"
                   6509:   else
                   6510:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
                   6511:   fi
                   6512:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
                   6513: 
                   6514:   # Check to see that the pipe works correctly.
                   6515:   pipe_works=no
1.15      paf      6516: 
1.35      moko     6517:   rm -f conftest*
                   6518:   cat > conftest.$ac_ext <<_LT_EOF
                   6519: #ifdef __cplusplus
                   6520: extern "C" {
                   6521: #endif
                   6522: char nm_test_var;
                   6523: void nm_test_func(void);
                   6524: void nm_test_func(void){}
                   6525: #ifdef __cplusplus
1.15      paf      6526: }
1.35      moko     6527: #endif
                   6528: int main(){nm_test_var='a';nm_test_func();return(0);}
                   6529: _LT_EOF
                   6530: 
1.43      moko     6531:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.35      moko     6532:   (eval $ac_compile) 2>&5
1.15      paf      6533:   ac_status=$?
1.43      moko     6534:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6535:   test $ac_status = 0; }; then
1.35      moko     6536:     # Now try to grab the symbols.
                   6537:     nlist=conftest.nm
1.43      moko     6538:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
1.35      moko     6539:   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
1.25      paf      6540:   ac_status=$?
1.43      moko     6541:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6542:   test $ac_status = 0; } && test -s "$nlist"; then
1.35      moko     6543:       # Try sorting and uniquifying the output.
                   6544:       if sort "$nlist" | uniq > "$nlist"T; then
                   6545:        mv -f "$nlist"T "$nlist"
                   6546:       else
                   6547:        rm -f "$nlist"T
                   6548:       fi
                   6549: 
                   6550:       # Make sure that we snagged all the symbols we need.
                   6551:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
                   6552:        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
                   6553:          cat <<_LT_EOF > conftest.$ac_ext
                   6554: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
                   6555: #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
                   6556: /* DATA imports from DLLs on WIN32 con't be const, because runtime
                   6557:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
                   6558: # define LT_DLSYM_CONST
                   6559: #elif defined(__osf__)
                   6560: /* This system does not cope well with relocations in const data.  */
                   6561: # define LT_DLSYM_CONST
                   6562: #else
                   6563: # define LT_DLSYM_CONST const
                   6564: #endif
                   6565: 
                   6566: #ifdef __cplusplus
                   6567: extern "C" {
                   6568: #endif
                   6569: 
                   6570: _LT_EOF
                   6571:          # Now generate the symbol file.
                   6572:          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
                   6573: 
                   6574:          cat <<_LT_EOF >> conftest.$ac_ext
                   6575: 
                   6576: /* The mapping between symbol names and symbols.  */
                   6577: LT_DLSYM_CONST struct {
                   6578:   const char *name;
                   6579:   void       *address;
                   6580: }
                   6581: lt__PROGRAM__LTX_preloaded_symbols[] =
                   6582: {
                   6583:   { "@PROGRAM@", (void *) 0 },
                   6584: _LT_EOF
                   6585:          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
                   6586:          cat <<\_LT_EOF >> conftest.$ac_ext
                   6587:   {0, (void *) 0}
                   6588: };
                   6589: 
                   6590: /* This works around a problem in FreeBSD linker */
                   6591: #ifdef FREEBSD_WORKAROUND
                   6592: static const void *lt_preloaded_setup() {
                   6593:   return lt__PROGRAM__LTX_preloaded_symbols;
                   6594: }
                   6595: #endif
                   6596: 
                   6597: #ifdef __cplusplus
                   6598: }
                   6599: #endif
                   6600: _LT_EOF
                   6601:          # Now try linking the two files.
                   6602:          mv conftest.$ac_objext conftstm.$ac_objext
                   6603:          lt_globsym_save_LIBS=$LIBS
                   6604:          lt_globsym_save_CFLAGS=$CFLAGS
                   6605:          LIBS="conftstm.$ac_objext"
                   6606:          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
1.43      moko     6607:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.35      moko     6608:   (eval $ac_link) 2>&5
1.15      paf      6609:   ac_status=$?
1.43      moko     6610:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6611:   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
1.35      moko     6612:            pipe_works=yes
                   6613:          fi
                   6614:          LIBS=$lt_globsym_save_LIBS
                   6615:          CFLAGS=$lt_globsym_save_CFLAGS
                   6616:        else
                   6617:          echo "cannot find nm_test_func in $nlist" >&5
                   6618:        fi
                   6619:       else
                   6620:        echo "cannot find nm_test_var in $nlist" >&5
                   6621:       fi
                   6622:     else
                   6623:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   6624:     fi
                   6625:   else
                   6626:     echo "$progname: failed program was:" >&5
                   6627:     cat conftest.$ac_ext >&5
                   6628:   fi
                   6629:   rm -rf conftest* conftst*
                   6630: 
                   6631:   # Do not use the global_symbol_pipe unless it works.
                   6632:   if test "$pipe_works" = yes; then
                   6633:     break
                   6634:   else
                   6635:     lt_cv_sys_global_symbol_pipe=
                   6636:   fi
                   6637: done
                   6638: 
                   6639: fi
                   6640: 
                   6641: if test -z "$lt_cv_sys_global_symbol_pipe"; then
                   6642:   lt_cv_sys_global_symbol_to_cdecl=
                   6643: fi
                   6644: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
1.43      moko     6645:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
                   6646: $as_echo "failed" >&6; }
1.1       parser   6647: else
1.43      moko     6648:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
                   6649: $as_echo "ok" >&6; }
1.35      moko     6650: fi
1.15      paf      6651: 
1.35      moko     6652: # Response file support.
                   6653: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   6654:   nm_file_list_spec='@'
                   6655: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
                   6656:   nm_file_list_spec='@'
1.1       parser   6657: fi
                   6658: 
1.15      paf      6659: 
                   6660: 
                   6661: 
                   6662: 
                   6663: 
                   6664: 
                   6665: 
                   6666: 
                   6667: 
                   6668: 
1.1       parser   6669: 
                   6670: 
1.15      paf      6671: 
                   6672: 
                   6673: 
1.1       parser   6674: 
1.15      paf      6675: 
                   6676: 
                   6677: 
                   6678: 
1.35      moko     6679: 
                   6680: 
                   6681: 
                   6682: 
                   6683: 
                   6684: 
1.43      moko     6685: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
                   6686: $as_echo_n "checking for sysroot... " >&6; }
1.35      moko     6687: 
1.43      moko     6688: # Check whether --with-sysroot was given.
                   6689: if test "${with_sysroot+set}" = set; then :
                   6690:   withval=$with_sysroot;
1.15      paf      6691: else
1.35      moko     6692:   with_sysroot=no
1.43      moko     6693: fi
                   6694: 
1.15      paf      6695: 
1.35      moko     6696: lt_sysroot=
                   6697: case ${with_sysroot} in #(
                   6698:  yes)
                   6699:    if test "$GCC" = yes; then
                   6700:      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
                   6701:    fi
                   6702:    ;; #(
                   6703:  /*)
                   6704:    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
                   6705:    ;; #(
                   6706:  no|'')
                   6707:    ;; #(
                   6708:  *)
1.43      moko     6709:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
                   6710: $as_echo "${with_sysroot}" >&6; }
                   6711:    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
1.35      moko     6712:    ;;
                   6713: esac
                   6714: 
1.43      moko     6715:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
                   6716: $as_echo "${lt_sysroot:-no}" >&6; }
1.35      moko     6717: 
                   6718: 
                   6719: 
                   6720: 
                   6721: 
1.43      moko     6722: # Check whether --enable-libtool-lock was given.
                   6723: if test "${enable_libtool_lock+set}" = set; then :
                   6724:   enableval=$enable_libtool_lock;
                   6725: fi
1.15      paf      6726: 
1.35      moko     6727: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
1.1       parser   6728: 
1.35      moko     6729: # Some flags need to be propagated to the compiler or linker for good
                   6730: # libtool support.
                   6731: case $host in
                   6732: ia64-*-hpux*)
                   6733:   # Find out which ABI we are using.
                   6734:   echo 'int i;' > conftest.$ac_ext
1.43      moko     6735:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.35      moko     6736:   (eval $ac_compile) 2>&5
                   6737:   ac_status=$?
1.43      moko     6738:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6739:   test $ac_status = 0; }; then
1.35      moko     6740:     case `/usr/bin/file conftest.$ac_objext` in
                   6741:       *ELF-32*)
                   6742:        HPUX_IA64_MODE="32"
                   6743:        ;;
                   6744:       *ELF-64*)
                   6745:        HPUX_IA64_MODE="64"
                   6746:        ;;
1.15      paf      6747:     esac
                   6748:   fi
1.35      moko     6749:   rm -rf conftest*
                   6750:   ;;
                   6751: *-*-irix6*)
                   6752:   # Find out which ABI we are using.
                   6753:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
1.43      moko     6754:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.35      moko     6755:   (eval $ac_compile) 2>&5
1.15      paf      6756:   ac_status=$?
1.43      moko     6757:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6758:   test $ac_status = 0; }; then
1.35      moko     6759:     if test "$lt_cv_prog_gnu_ld" = yes; then
                   6760:       case `/usr/bin/file conftest.$ac_objext` in
                   6761:        *32-bit*)
                   6762:          LD="${LD-ld} -melf32bsmip"
                   6763:          ;;
                   6764:        *N32*)
                   6765:          LD="${LD-ld} -melf32bmipn32"
                   6766:          ;;
                   6767:        *64-bit*)
                   6768:          LD="${LD-ld} -melf64bmip"
                   6769:        ;;
                   6770:       esac
                   6771:     else
                   6772:       case `/usr/bin/file conftest.$ac_objext` in
                   6773:        *32-bit*)
                   6774:          LD="${LD-ld} -32"
                   6775:          ;;
                   6776:        *N32*)
                   6777:          LD="${LD-ld} -n32"
                   6778:          ;;
                   6779:        *64-bit*)
                   6780:          LD="${LD-ld} -64"
                   6781:          ;;
                   6782:       esac
                   6783:     fi
                   6784:   fi
                   6785:   rm -rf conftest*
                   6786:   ;;
                   6787: 
                   6788: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
                   6789: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
                   6790:   # Find out which ABI we are using.
                   6791:   echo 'int i;' > conftest.$ac_ext
1.43      moko     6792:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.35      moko     6793:   (eval $ac_compile) 2>&5
1.25      paf      6794:   ac_status=$?
1.43      moko     6795:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6796:   test $ac_status = 0; }; then
1.35      moko     6797:     case `/usr/bin/file conftest.o` in
                   6798:       *32-bit*)
                   6799:        case $host in
                   6800:          x86_64-*kfreebsd*-gnu)
                   6801:            LD="${LD-ld} -m elf_i386_fbsd"
                   6802:            ;;
                   6803:          x86_64-*linux*)
                   6804:            LD="${LD-ld} -m elf_i386"
                   6805:            ;;
                   6806:          ppc64-*linux*|powerpc64-*linux*)
                   6807:            LD="${LD-ld} -m elf32ppclinux"
                   6808:            ;;
                   6809:          s390x-*linux*)
                   6810:            LD="${LD-ld} -m elf_s390"
                   6811:            ;;
                   6812:          sparc64-*linux*)
                   6813:            LD="${LD-ld} -m elf32_sparc"
                   6814:            ;;
                   6815:        esac
1.15      paf      6816:        ;;
1.35      moko     6817:       *64-bit*)
                   6818:        case $host in
                   6819:          x86_64-*kfreebsd*-gnu)
                   6820:            LD="${LD-ld} -m elf_x86_64_fbsd"
                   6821:            ;;
                   6822:          x86_64-*linux*)
                   6823:            LD="${LD-ld} -m elf_x86_64"
                   6824:            ;;
                   6825:          ppc*-*linux*|powerpc*-*linux*)
                   6826:            LD="${LD-ld} -m elf64ppc"
                   6827:            ;;
                   6828:          s390*-*linux*|s390*-*tpf*)
                   6829:            LD="${LD-ld} -m elf64_s390"
                   6830:            ;;
                   6831:          sparc*-*linux*)
                   6832:            LD="${LD-ld} -m elf64_sparc"
                   6833:            ;;
                   6834:        esac
1.15      paf      6835:        ;;
1.35      moko     6836:     esac
1.15      paf      6837:   fi
1.35      moko     6838:   rm -rf conftest*
                   6839:   ;;
1.15      paf      6840: 
1.35      moko     6841: *-*-sco3.2v5*)
                   6842:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
                   6843:   SAVE_CFLAGS="$CFLAGS"
                   6844:   CFLAGS="$CFLAGS -belf"
1.43      moko     6845:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
                   6846: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
                   6847: if ${lt_cv_cc_needs_belf+:} false; then :
                   6848:   $as_echo_n "(cached) " >&6
1.15      paf      6849: else
1.35      moko     6850:   ac_ext=c
                   6851: ac_cpp='$CPP $CPPFLAGS'
                   6852: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   6853: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   6854: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   6855: 
1.43      moko     6856:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.15      paf      6857: /* end confdefs.h.  */
                   6858: 
                   6859: int
                   6860: main ()
                   6861: {
                   6862: 
                   6863:   ;
                   6864:   return 0;
                   6865: }
                   6866: _ACEOF
1.43      moko     6867: if ac_fn_c_try_link "$LINENO"; then :
1.35      moko     6868:   lt_cv_cc_needs_belf=yes
1.15      paf      6869: else
1.43      moko     6870:   lt_cv_cc_needs_belf=no
1.15      paf      6871: fi
1.43      moko     6872: rm -f core conftest.err conftest.$ac_objext \
                   6873:     conftest$ac_exeext conftest.$ac_ext
1.35      moko     6874:      ac_ext=c
                   6875: ac_cpp='$CPP $CPPFLAGS'
                   6876: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   6877: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   6878: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.15      paf      6879: 
                   6880: fi
1.43      moko     6881: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
                   6882: $as_echo "$lt_cv_cc_needs_belf" >&6; }
1.35      moko     6883:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
                   6884:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
                   6885:     CFLAGS="$SAVE_CFLAGS"
                   6886:   fi
                   6887:   ;;
                   6888: *-*solaris*)
                   6889:   # Find out which ABI we are using.
                   6890:   echo 'int i;' > conftest.$ac_ext
1.43      moko     6891:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.35      moko     6892:   (eval $ac_compile) 2>&5
                   6893:   ac_status=$?
1.43      moko     6894:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6895:   test $ac_status = 0; }; then
1.35      moko     6896:     case `/usr/bin/file conftest.o` in
                   6897:     *64-bit*)
                   6898:       case $lt_cv_prog_gnu_ld in
                   6899:       yes*)
                   6900:         case $host in
                   6901:         i?86-*-solaris*)
                   6902:           LD="${LD-ld} -m elf_x86_64"
                   6903:           ;;
                   6904:         sparc*-*-solaris*)
                   6905:           LD="${LD-ld} -m elf64_sparc"
                   6906:           ;;
                   6907:         esac
                   6908:         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
                   6909:         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
                   6910:           LD="${LD-ld}_sol2"
                   6911:         fi
                   6912:         ;;
                   6913:       *)
                   6914:        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
                   6915:          LD="${LD-ld} -64"
                   6916:        fi
                   6917:        ;;
                   6918:       esac
                   6919:       ;;
                   6920:     esac
                   6921:   fi
                   6922:   rm -rf conftest*
                   6923:   ;;
                   6924: esac
1.15      paf      6925: 
1.35      moko     6926: need_locks="$enable_libtool_lock"
1.15      paf      6927: 
1.35      moko     6928: if test -n "$ac_tool_prefix"; then
                   6929:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
                   6930: set dummy ${ac_tool_prefix}mt; ac_word=$2
1.43      moko     6931: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6932: $as_echo_n "checking for $ac_word... " >&6; }
                   6933: if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
                   6934:   $as_echo_n "(cached) " >&6
1.15      paf      6935: else
1.35      moko     6936:   if test -n "$MANIFEST_TOOL"; then
                   6937:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
                   6938: else
                   6939: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6940: for as_dir in $PATH
                   6941: do
                   6942:   IFS=$as_save_IFS
                   6943:   test -z "$as_dir" && as_dir=.
1.43      moko     6944:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     6945:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     6946:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
1.43      moko     6947:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     6948:     break 2
                   6949:   fi
                   6950: done
1.43      moko     6951:   done
                   6952: IFS=$as_save_IFS
1.15      paf      6953: 
1.35      moko     6954: fi
                   6955: fi
                   6956: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
                   6957: if test -n "$MANIFEST_TOOL"; then
1.43      moko     6958:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
                   6959: $as_echo "$MANIFEST_TOOL" >&6; }
1.15      paf      6960: else
1.43      moko     6961:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6962: $as_echo "no" >&6; }
1.15      paf      6963: fi
                   6964: 
1.43      moko     6965: 
1.15      paf      6966: fi
1.35      moko     6967: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
                   6968:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
                   6969:   # Extract the first word of "mt", so it can be a program name with args.
                   6970: set dummy mt; ac_word=$2
1.43      moko     6971: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6972: $as_echo_n "checking for $ac_word... " >&6; }
                   6973: if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
                   6974:   $as_echo_n "(cached) " >&6
1.35      moko     6975: else
                   6976:   if test -n "$ac_ct_MANIFEST_TOOL"; then
                   6977:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
                   6978: else
                   6979: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6980: for as_dir in $PATH
                   6981: do
                   6982:   IFS=$as_save_IFS
                   6983:   test -z "$as_dir" && as_dir=.
1.43      moko     6984:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     6985:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     6986:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
1.43      moko     6987:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     6988:     break 2
                   6989:   fi
                   6990: done
1.43      moko     6991:   done
                   6992: IFS=$as_save_IFS
1.15      paf      6993: 
1.35      moko     6994: fi
                   6995: fi
                   6996: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
                   6997: if test -n "$ac_ct_MANIFEST_TOOL"; then
1.43      moko     6998:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
                   6999: $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
1.35      moko     7000: else
1.43      moko     7001:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7002: $as_echo "no" >&6; }
1.35      moko     7003: fi
                   7004: 
1.43      moko     7005:   if test "x$ac_ct_MANIFEST_TOOL" = x; then
                   7006:     MANIFEST_TOOL=":"
                   7007:   else
                   7008:     case $cross_compiling:$ac_tool_warned in
                   7009: yes:)
                   7010: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7011: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7012: ac_tool_warned=yes ;;
                   7013: esac
                   7014:     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
                   7015:   fi
1.35      moko     7016: else
                   7017:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
                   7018: fi
1.15      paf      7019: 
1.35      moko     7020: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
1.43      moko     7021: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
                   7022: $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
                   7023: if ${lt_cv_path_mainfest_tool+:} false; then :
                   7024:   $as_echo_n "(cached) " >&6
1.15      paf      7025: else
1.35      moko     7026:   lt_cv_path_mainfest_tool=no
                   7027:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
                   7028:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
                   7029:   cat conftest.err >&5
                   7030:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
                   7031:     lt_cv_path_mainfest_tool=yes
                   7032:   fi
                   7033:   rm -f conftest*
                   7034: fi
1.43      moko     7035: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
                   7036: $as_echo "$lt_cv_path_mainfest_tool" >&6; }
1.35      moko     7037: if test "x$lt_cv_path_mainfest_tool" != xyes; then
                   7038:   MANIFEST_TOOL=:
                   7039: fi
                   7040: 
                   7041: 
                   7042: 
1.15      paf      7043: 
                   7044: 
                   7045: 
1.35      moko     7046:   case $host_os in
                   7047:     rhapsody* | darwin*)
                   7048:     if test -n "$ac_tool_prefix"; then
                   7049:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
                   7050: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
1.43      moko     7051: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7052: $as_echo_n "checking for $ac_word... " >&6; }
                   7053: if ${ac_cv_prog_DSYMUTIL+:} false; then :
                   7054:   $as_echo_n "(cached) " >&6
1.15      paf      7055: else
1.35      moko     7056:   if test -n "$DSYMUTIL"; then
                   7057:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
                   7058: else
                   7059: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7060: for as_dir in $PATH
                   7061: do
                   7062:   IFS=$as_save_IFS
                   7063:   test -z "$as_dir" && as_dir=.
1.43      moko     7064:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     7065:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     7066:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
1.43      moko     7067:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     7068:     break 2
                   7069:   fi
                   7070: done
1.43      moko     7071:   done
                   7072: IFS=$as_save_IFS
1.15      paf      7073: 
                   7074: fi
1.35      moko     7075: fi
                   7076: DSYMUTIL=$ac_cv_prog_DSYMUTIL
                   7077: if test -n "$DSYMUTIL"; then
1.43      moko     7078:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
                   7079: $as_echo "$DSYMUTIL" >&6; }
1.35      moko     7080: else
1.43      moko     7081:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7082: $as_echo "no" >&6; }
1.35      moko     7083: fi
1.15      paf      7084: 
1.43      moko     7085: 
1.15      paf      7086: fi
1.35      moko     7087: if test -z "$ac_cv_prog_DSYMUTIL"; then
                   7088:   ac_ct_DSYMUTIL=$DSYMUTIL
                   7089:   # Extract the first word of "dsymutil", so it can be a program name with args.
                   7090: set dummy dsymutil; ac_word=$2
1.43      moko     7091: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7092: $as_echo_n "checking for $ac_word... " >&6; }
                   7093: if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
                   7094:   $as_echo_n "(cached) " >&6
1.35      moko     7095: else
                   7096:   if test -n "$ac_ct_DSYMUTIL"; then
                   7097:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
                   7098: else
                   7099: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7100: for as_dir in $PATH
                   7101: do
                   7102:   IFS=$as_save_IFS
                   7103:   test -z "$as_dir" && as_dir=.
1.43      moko     7104:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     7105:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     7106:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
1.43      moko     7107:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     7108:     break 2
                   7109:   fi
                   7110: done
1.43      moko     7111:   done
                   7112: IFS=$as_save_IFS
1.15      paf      7113: 
1.35      moko     7114: fi
                   7115: fi
                   7116: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
                   7117: if test -n "$ac_ct_DSYMUTIL"; then
1.43      moko     7118:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
                   7119: $as_echo "$ac_ct_DSYMUTIL" >&6; }
1.15      paf      7120: else
1.43      moko     7121:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7122: $as_echo "no" >&6; }
1.15      paf      7123: fi
                   7124: 
1.43      moko     7125:   if test "x$ac_ct_DSYMUTIL" = x; then
                   7126:     DSYMUTIL=":"
                   7127:   else
                   7128:     case $cross_compiling:$ac_tool_warned in
                   7129: yes:)
                   7130: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7131: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7132: ac_tool_warned=yes ;;
                   7133: esac
                   7134:     DSYMUTIL=$ac_ct_DSYMUTIL
                   7135:   fi
1.15      paf      7136: else
1.35      moko     7137:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
1.15      paf      7138: fi
                   7139: 
1.35      moko     7140:     if test -n "$ac_tool_prefix"; then
                   7141:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
                   7142: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
1.43      moko     7143: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7144: $as_echo_n "checking for $ac_word... " >&6; }
                   7145: if ${ac_cv_prog_NMEDIT+:} false; then :
                   7146:   $as_echo_n "(cached) " >&6
1.35      moko     7147: else
                   7148:   if test -n "$NMEDIT"; then
                   7149:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
                   7150: else
                   7151: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7152: for as_dir in $PATH
                   7153: do
                   7154:   IFS=$as_save_IFS
                   7155:   test -z "$as_dir" && as_dir=.
1.43      moko     7156:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     7157:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     7158:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
1.43      moko     7159:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     7160:     break 2
                   7161:   fi
                   7162: done
1.43      moko     7163:   done
                   7164: IFS=$as_save_IFS
1.15      paf      7165: 
1.35      moko     7166: fi
                   7167: fi
                   7168: NMEDIT=$ac_cv_prog_NMEDIT
                   7169: if test -n "$NMEDIT"; then
1.43      moko     7170:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
                   7171: $as_echo "$NMEDIT" >&6; }
1.35      moko     7172: else
1.43      moko     7173:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7174: $as_echo "no" >&6; }
1.35      moko     7175: fi
1.15      paf      7176: 
1.43      moko     7177: 
1.35      moko     7178: fi
                   7179: if test -z "$ac_cv_prog_NMEDIT"; then
                   7180:   ac_ct_NMEDIT=$NMEDIT
                   7181:   # Extract the first word of "nmedit", so it can be a program name with args.
                   7182: set dummy nmedit; ac_word=$2
1.43      moko     7183: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7184: $as_echo_n "checking for $ac_word... " >&6; }
                   7185: if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
                   7186:   $as_echo_n "(cached) " >&6
1.35      moko     7187: else
                   7188:   if test -n "$ac_ct_NMEDIT"; then
                   7189:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
1.15      paf      7190: else
1.35      moko     7191: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7192: for as_dir in $PATH
                   7193: do
                   7194:   IFS=$as_save_IFS
                   7195:   test -z "$as_dir" && as_dir=.
1.43      moko     7196:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     7197:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     7198:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
1.43      moko     7199:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     7200:     break 2
                   7201:   fi
                   7202: done
1.43      moko     7203:   done
                   7204: IFS=$as_save_IFS
1.15      paf      7205: 
1.35      moko     7206: fi
                   7207: fi
                   7208: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
                   7209: if test -n "$ac_ct_NMEDIT"; then
1.43      moko     7210:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
                   7211: $as_echo "$ac_ct_NMEDIT" >&6; }
1.35      moko     7212: else
1.43      moko     7213:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7214: $as_echo "no" >&6; }
1.15      paf      7215: fi
                   7216: 
1.43      moko     7217:   if test "x$ac_ct_NMEDIT" = x; then
                   7218:     NMEDIT=":"
                   7219:   else
                   7220:     case $cross_compiling:$ac_tool_warned in
                   7221: yes:)
                   7222: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7223: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7224: ac_tool_warned=yes ;;
                   7225: esac
                   7226:     NMEDIT=$ac_ct_NMEDIT
                   7227:   fi
1.35      moko     7228: else
                   7229:   NMEDIT="$ac_cv_prog_NMEDIT"
1.15      paf      7230: fi
                   7231: 
1.35      moko     7232:     if test -n "$ac_tool_prefix"; then
                   7233:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
                   7234: set dummy ${ac_tool_prefix}lipo; ac_word=$2
1.43      moko     7235: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7236: $as_echo_n "checking for $ac_word... " >&6; }
                   7237: if ${ac_cv_prog_LIPO+:} false; then :
                   7238:   $as_echo_n "(cached) " >&6
1.35      moko     7239: else
                   7240:   if test -n "$LIPO"; then
                   7241:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
                   7242: else
                   7243: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7244: for as_dir in $PATH
                   7245: do
                   7246:   IFS=$as_save_IFS
                   7247:   test -z "$as_dir" && as_dir=.
1.43      moko     7248:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     7249:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     7250:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
1.43      moko     7251:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     7252:     break 2
                   7253:   fi
                   7254: done
1.43      moko     7255:   done
                   7256: IFS=$as_save_IFS
1.15      paf      7257: 
1.35      moko     7258: fi
                   7259: fi
                   7260: LIPO=$ac_cv_prog_LIPO
                   7261: if test -n "$LIPO"; then
1.43      moko     7262:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
                   7263: $as_echo "$LIPO" >&6; }
1.35      moko     7264: else
1.43      moko     7265:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7266: $as_echo "no" >&6; }
1.35      moko     7267: fi
1.15      paf      7268: 
1.43      moko     7269: 
1.35      moko     7270: fi
                   7271: if test -z "$ac_cv_prog_LIPO"; then
                   7272:   ac_ct_LIPO=$LIPO
                   7273:   # Extract the first word of "lipo", so it can be a program name with args.
                   7274: set dummy lipo; ac_word=$2
1.43      moko     7275: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7276: $as_echo_n "checking for $ac_word... " >&6; }
                   7277: if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
                   7278:   $as_echo_n "(cached) " >&6
1.35      moko     7279: else
                   7280:   if test -n "$ac_ct_LIPO"; then
                   7281:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
                   7282: else
                   7283: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7284: for as_dir in $PATH
                   7285: do
                   7286:   IFS=$as_save_IFS
                   7287:   test -z "$as_dir" && as_dir=.
1.43      moko     7288:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     7289:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     7290:     ac_cv_prog_ac_ct_LIPO="lipo"
1.43      moko     7291:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     7292:     break 2
1.15      paf      7293:   fi
1.35      moko     7294: done
1.43      moko     7295:   done
                   7296: IFS=$as_save_IFS
1.35      moko     7297: 
                   7298: fi
                   7299: fi
                   7300: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
                   7301: if test -n "$ac_ct_LIPO"; then
1.43      moko     7302:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
                   7303: $as_echo "$ac_ct_LIPO" >&6; }
1.35      moko     7304: else
1.43      moko     7305:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7306: $as_echo "no" >&6; }
1.35      moko     7307: fi
                   7308: 
1.43      moko     7309:   if test "x$ac_ct_LIPO" = x; then
                   7310:     LIPO=":"
                   7311:   else
                   7312:     case $cross_compiling:$ac_tool_warned in
                   7313: yes:)
                   7314: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7315: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7316: ac_tool_warned=yes ;;
                   7317: esac
                   7318:     LIPO=$ac_ct_LIPO
                   7319:   fi
1.35      moko     7320: else
                   7321:   LIPO="$ac_cv_prog_LIPO"
                   7322: fi
1.15      paf      7323: 
1.35      moko     7324:     if test -n "$ac_tool_prefix"; then
                   7325:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
                   7326: set dummy ${ac_tool_prefix}otool; ac_word=$2
1.43      moko     7327: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7328: $as_echo_n "checking for $ac_word... " >&6; }
                   7329: if ${ac_cv_prog_OTOOL+:} false; then :
                   7330:   $as_echo_n "(cached) " >&6
1.35      moko     7331: else
                   7332:   if test -n "$OTOOL"; then
                   7333:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
                   7334: else
                   7335: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7336: for as_dir in $PATH
                   7337: do
                   7338:   IFS=$as_save_IFS
                   7339:   test -z "$as_dir" && as_dir=.
1.43      moko     7340:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     7341:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     7342:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
1.43      moko     7343:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     7344:     break 2
                   7345:   fi
                   7346: done
1.43      moko     7347:   done
                   7348: IFS=$as_save_IFS
1.15      paf      7349: 
1.35      moko     7350: fi
                   7351: fi
                   7352: OTOOL=$ac_cv_prog_OTOOL
                   7353: if test -n "$OTOOL"; then
1.43      moko     7354:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
                   7355: $as_echo "$OTOOL" >&6; }
1.35      moko     7356: else
1.43      moko     7357:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7358: $as_echo "no" >&6; }
1.35      moko     7359: fi
1.15      paf      7360: 
1.43      moko     7361: 
1.35      moko     7362: fi
                   7363: if test -z "$ac_cv_prog_OTOOL"; then
                   7364:   ac_ct_OTOOL=$OTOOL
                   7365:   # Extract the first word of "otool", so it can be a program name with args.
                   7366: set dummy otool; ac_word=$2
1.43      moko     7367: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7368: $as_echo_n "checking for $ac_word... " >&6; }
                   7369: if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
                   7370:   $as_echo_n "(cached) " >&6
1.35      moko     7371: else
                   7372:   if test -n "$ac_ct_OTOOL"; then
                   7373:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
                   7374: else
                   7375: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7376: for as_dir in $PATH
                   7377: do
                   7378:   IFS=$as_save_IFS
                   7379:   test -z "$as_dir" && as_dir=.
1.43      moko     7380:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     7381:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     7382:     ac_cv_prog_ac_ct_OTOOL="otool"
1.43      moko     7383:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     7384:     break 2
                   7385:   fi
                   7386: done
1.43      moko     7387:   done
                   7388: IFS=$as_save_IFS
1.15      paf      7389: 
1.35      moko     7390: fi
                   7391: fi
                   7392: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
                   7393: if test -n "$ac_ct_OTOOL"; then
1.43      moko     7394:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
                   7395: $as_echo "$ac_ct_OTOOL" >&6; }
1.35      moko     7396: else
1.43      moko     7397:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7398: $as_echo "no" >&6; }
1.35      moko     7399: fi
1.15      paf      7400: 
1.43      moko     7401:   if test "x$ac_ct_OTOOL" = x; then
                   7402:     OTOOL=":"
                   7403:   else
                   7404:     case $cross_compiling:$ac_tool_warned in
                   7405: yes:)
                   7406: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7407: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7408: ac_tool_warned=yes ;;
                   7409: esac
                   7410:     OTOOL=$ac_ct_OTOOL
                   7411:   fi
1.35      moko     7412: else
                   7413:   OTOOL="$ac_cv_prog_OTOOL"
                   7414: fi
1.15      paf      7415: 
1.35      moko     7416:     if test -n "$ac_tool_prefix"; then
                   7417:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
                   7418: set dummy ${ac_tool_prefix}otool64; ac_word=$2
1.43      moko     7419: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7420: $as_echo_n "checking for $ac_word... " >&6; }
                   7421: if ${ac_cv_prog_OTOOL64+:} false; then :
                   7422:   $as_echo_n "(cached) " >&6
1.35      moko     7423: else
                   7424:   if test -n "$OTOOL64"; then
                   7425:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
                   7426: else
                   7427: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7428: for as_dir in $PATH
                   7429: do
                   7430:   IFS=$as_save_IFS
                   7431:   test -z "$as_dir" && as_dir=.
1.43      moko     7432:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     7433:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     7434:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
1.43      moko     7435:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     7436:     break 2
                   7437:   fi
                   7438: done
1.43      moko     7439:   done
                   7440: IFS=$as_save_IFS
1.15      paf      7441: 
1.35      moko     7442: fi
                   7443: fi
                   7444: OTOOL64=$ac_cv_prog_OTOOL64
                   7445: if test -n "$OTOOL64"; then
1.43      moko     7446:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
                   7447: $as_echo "$OTOOL64" >&6; }
1.35      moko     7448: else
1.43      moko     7449:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7450: $as_echo "no" >&6; }
1.35      moko     7451: fi
1.15      paf      7452: 
1.43      moko     7453: 
1.35      moko     7454: fi
                   7455: if test -z "$ac_cv_prog_OTOOL64"; then
                   7456:   ac_ct_OTOOL64=$OTOOL64
                   7457:   # Extract the first word of "otool64", so it can be a program name with args.
                   7458: set dummy otool64; ac_word=$2
1.43      moko     7459: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7460: $as_echo_n "checking for $ac_word... " >&6; }
                   7461: if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
                   7462:   $as_echo_n "(cached) " >&6
1.35      moko     7463: else
                   7464:   if test -n "$ac_ct_OTOOL64"; then
                   7465:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
                   7466: else
                   7467: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7468: for as_dir in $PATH
                   7469: do
                   7470:   IFS=$as_save_IFS
                   7471:   test -z "$as_dir" && as_dir=.
1.43      moko     7472:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     7473:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     7474:     ac_cv_prog_ac_ct_OTOOL64="otool64"
1.43      moko     7475:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     7476:     break 2
                   7477:   fi
                   7478: done
1.43      moko     7479:   done
                   7480: IFS=$as_save_IFS
1.15      paf      7481: 
1.35      moko     7482: fi
                   7483: fi
                   7484: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
                   7485: if test -n "$ac_ct_OTOOL64"; then
1.43      moko     7486:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
                   7487: $as_echo "$ac_ct_OTOOL64" >&6; }
1.35      moko     7488: else
1.43      moko     7489:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7490: $as_echo "no" >&6; }
1.35      moko     7491: fi
1.15      paf      7492: 
1.43      moko     7493:   if test "x$ac_ct_OTOOL64" = x; then
                   7494:     OTOOL64=":"
                   7495:   else
                   7496:     case $cross_compiling:$ac_tool_warned in
                   7497: yes:)
                   7498: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7499: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7500: ac_tool_warned=yes ;;
                   7501: esac
                   7502:     OTOOL64=$ac_ct_OTOOL64
                   7503:   fi
1.35      moko     7504: else
                   7505:   OTOOL64="$ac_cv_prog_OTOOL64"
                   7506: fi
1.15      paf      7507: 
                   7508: 
                   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: 
1.43      moko     7534:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
                   7535: $as_echo_n "checking for -single_module linker flag... " >&6; }
                   7536: if ${lt_cv_apple_cc_single_mod+:} false; then :
                   7537:   $as_echo_n "(cached) " >&6
1.35      moko     7538: else
                   7539:   lt_cv_apple_cc_single_mod=no
                   7540:       if test -z "${LT_MULTI_MODULE}"; then
                   7541:        # By default we will add the -single_module flag. You can override
                   7542:        # by either setting the environment variable LT_MULTI_MODULE
                   7543:        # non-empty at configure time, or by adding -multi_module to the
                   7544:        # link flags.
                   7545:        rm -rf libconftest.dylib*
                   7546:        echo "int foo(void){return 1;}" > conftest.c
                   7547:        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   7548: -dynamiclib -Wl,-single_module conftest.c" >&5
                   7549:        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   7550:          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
                   7551:         _lt_result=$?
                   7552:        # If there is a non-empty error log, and "single_module"
                   7553:        # appears in it, assume the flag caused a linker warning
                   7554:         if test -s conftest.err && $GREP single_module conftest.err; then
                   7555:          cat conftest.err >&5
                   7556:        # Otherwise, if the output was created with a 0 exit code from
                   7557:        # the compiler, it worked.
                   7558:        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
                   7559:          lt_cv_apple_cc_single_mod=yes
                   7560:        else
                   7561:          cat conftest.err >&5
                   7562:        fi
                   7563:        rm -rf libconftest.dylib*
                   7564:        rm -f conftest.*
                   7565:       fi
                   7566: fi
1.43      moko     7567: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
                   7568: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
1.15      paf      7569: 
1.43      moko     7570:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
                   7571: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
                   7572: if ${lt_cv_ld_exported_symbols_list+:} false; then :
                   7573:   $as_echo_n "(cached) " >&6
1.35      moko     7574: else
                   7575:   lt_cv_ld_exported_symbols_list=no
                   7576:       save_LDFLAGS=$LDFLAGS
                   7577:       echo "_main" > conftest.sym
                   7578:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
1.43      moko     7579:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     7580: /* end confdefs.h.  */
1.15      paf      7581: 
1.35      moko     7582: int
                   7583: main ()
                   7584: {
1.15      paf      7585: 
1.35      moko     7586:   ;
                   7587:   return 0;
                   7588: }
                   7589: _ACEOF
1.43      moko     7590: if ac_fn_c_try_link "$LINENO"; then :
1.35      moko     7591:   lt_cv_ld_exported_symbols_list=yes
                   7592: else
1.43      moko     7593:   lt_cv_ld_exported_symbols_list=no
1.35      moko     7594: fi
1.43      moko     7595: rm -f core conftest.err conftest.$ac_objext \
                   7596:     conftest$ac_exeext conftest.$ac_ext
1.35      moko     7597:        LDFLAGS="$save_LDFLAGS"
1.15      paf      7598: 
1.35      moko     7599: fi
1.43      moko     7600: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
                   7601: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
1.15      paf      7602: 
1.43      moko     7603:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
                   7604: $as_echo_n "checking for -force_load linker flag... " >&6; }
                   7605: if ${lt_cv_ld_force_load+:} false; then :
                   7606:   $as_echo_n "(cached) " >&6
1.35      moko     7607: else
                   7608:   lt_cv_ld_force_load=no
                   7609:       cat > conftest.c << _LT_EOF
                   7610: int forced_loaded() { return 2;}
                   7611: _LT_EOF
                   7612:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
                   7613:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
                   7614:       echo "$AR cru libconftest.a conftest.o" >&5
                   7615:       $AR cru libconftest.a conftest.o 2>&5
                   7616:       echo "$RANLIB libconftest.a" >&5
                   7617:       $RANLIB libconftest.a 2>&5
                   7618:       cat > conftest.c << _LT_EOF
                   7619: int main() { return 0;}
                   7620: _LT_EOF
                   7621:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
                   7622:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
                   7623:       _lt_result=$?
                   7624:       if test -s conftest.err && $GREP force_load conftest.err; then
                   7625:        cat conftest.err >&5
                   7626:       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
                   7627:        lt_cv_ld_force_load=yes
                   7628:       else
                   7629:        cat conftest.err >&5
                   7630:       fi
                   7631:         rm -f conftest.err libconftest.a conftest conftest.c
                   7632:         rm -rf conftest.dSYM
1.15      paf      7633: 
1.35      moko     7634: fi
1.43      moko     7635: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
                   7636: $as_echo "$lt_cv_ld_force_load" >&6; }
1.35      moko     7637:     case $host_os in
                   7638:     rhapsody* | darwin1.[012])
                   7639:       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
                   7640:     darwin1.*)
                   7641:       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   7642:     darwin*) # darwin 5.x on
                   7643:       # if running on 10.5 or later, the deployment target defaults
                   7644:       # to the OS version, if on x86, and 10.4, the deployment
                   7645:       # target defaults to 10.4. Don't you love it?
                   7646:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
                   7647:        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
                   7648:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   7649:        10.[012]*)
                   7650:          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   7651:        10.*)
                   7652:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   7653:       esac
1.15      paf      7654:     ;;
1.35      moko     7655:   esac
                   7656:     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
                   7657:       _lt_dar_single_mod='$single_module'
                   7658:     fi
                   7659:     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
                   7660:       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
                   7661:     else
                   7662:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
1.15      paf      7663:     fi
1.35      moko     7664:     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
                   7665:       _lt_dsymutil='~$DSYMUTIL $lib || :'
1.15      paf      7666:     else
1.35      moko     7667:       _lt_dsymutil=
1.15      paf      7668:     fi
                   7669:     ;;
1.35      moko     7670:   esac
1.15      paf      7671: 
1.35      moko     7672: ac_ext=c
                   7673: ac_cpp='$CPP $CPPFLAGS'
                   7674: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7675: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7676: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.43      moko     7677: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
                   7678: $as_echo_n "checking how to run the C preprocessor... " >&6; }
1.35      moko     7679: # On Suns, sometimes $CPP names a directory.
                   7680: if test -n "$CPP" && test -d "$CPP"; then
                   7681:   CPP=
                   7682: fi
                   7683: if test -z "$CPP"; then
1.43      moko     7684:   if ${ac_cv_prog_CPP+:} false; then :
                   7685:   $as_echo_n "(cached) " >&6
1.35      moko     7686: else
                   7687:       # Double quotes because CPP needs to be expanded
                   7688:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   7689:     do
                   7690:       ac_preproc_ok=false
                   7691: for ac_c_preproc_warn_flag in '' yes
                   7692: do
                   7693:   # Use a header file that comes with gcc, so configuring glibc
                   7694:   # with a fresh cross-compiler works.
                   7695:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   7696:   # <limits.h> exists even on freestanding compilers.
                   7697:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   7698:   # not just through cpp. "Syntax error" is here to catch this case.
1.43      moko     7699:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     7700: /* end confdefs.h.  */
                   7701: #ifdef __STDC__
                   7702: # include <limits.h>
                   7703: #else
                   7704: # include <assert.h>
                   7705: #endif
                   7706:                     Syntax error
                   7707: _ACEOF
1.43      moko     7708: if ac_fn_c_try_cpp "$LINENO"; then :
                   7709: 
1.35      moko     7710: else
                   7711:   # Broken: fails on valid input.
                   7712: continue
                   7713: fi
1.43      moko     7714: rm -f conftest.err conftest.i conftest.$ac_ext
1.15      paf      7715: 
1.43      moko     7716:   # OK, works on sane cases.  Now check whether nonexistent headers
1.35      moko     7717:   # can be detected and how.
1.43      moko     7718:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     7719: /* end confdefs.h.  */
                   7720: #include <ac_nonexistent.h>
                   7721: _ACEOF
1.43      moko     7722: if ac_fn_c_try_cpp "$LINENO"; then :
1.35      moko     7723:   # Broken: success on invalid input.
                   7724: continue
                   7725: else
                   7726:   # Passes both tests.
                   7727: ac_preproc_ok=:
                   7728: break
1.15      paf      7729: fi
1.43      moko     7730: rm -f conftest.err conftest.i conftest.$ac_ext
1.15      paf      7731: 
1.35      moko     7732: done
                   7733: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.43      moko     7734: rm -f conftest.i conftest.err conftest.$ac_ext
                   7735: if $ac_preproc_ok; then :
1.35      moko     7736:   break
1.15      paf      7737: fi
                   7738: 
1.35      moko     7739:     done
                   7740:     ac_cv_prog_CPP=$CPP
1.15      paf      7741: 
1.35      moko     7742: fi
                   7743:   CPP=$ac_cv_prog_CPP
                   7744: else
                   7745:   ac_cv_prog_CPP=$CPP
                   7746: fi
1.43      moko     7747: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
                   7748: $as_echo "$CPP" >&6; }
1.35      moko     7749: ac_preproc_ok=false
                   7750: for ac_c_preproc_warn_flag in '' yes
                   7751: do
                   7752:   # Use a header file that comes with gcc, so configuring glibc
                   7753:   # with a fresh cross-compiler works.
                   7754:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   7755:   # <limits.h> exists even on freestanding compilers.
                   7756:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   7757:   # not just through cpp. "Syntax error" is here to catch this case.
1.43      moko     7758:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     7759: /* end confdefs.h.  */
                   7760: #ifdef __STDC__
                   7761: # include <limits.h>
                   7762: #else
                   7763: # include <assert.h>
                   7764: #endif
                   7765:                     Syntax error
                   7766: _ACEOF
1.43      moko     7767: if ac_fn_c_try_cpp "$LINENO"; then :
                   7768: 
1.35      moko     7769: else
                   7770:   # Broken: fails on valid input.
                   7771: continue
                   7772: fi
1.43      moko     7773: rm -f conftest.err conftest.i conftest.$ac_ext
1.15      paf      7774: 
1.43      moko     7775:   # OK, works on sane cases.  Now check whether nonexistent headers
1.35      moko     7776:   # can be detected and how.
1.43      moko     7777:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     7778: /* end confdefs.h.  */
                   7779: #include <ac_nonexistent.h>
                   7780: _ACEOF
1.43      moko     7781: if ac_fn_c_try_cpp "$LINENO"; then :
1.35      moko     7782:   # Broken: success on invalid input.
                   7783: continue
                   7784: else
                   7785:   # Passes both tests.
                   7786: ac_preproc_ok=:
                   7787: break
                   7788: fi
1.43      moko     7789: rm -f conftest.err conftest.i conftest.$ac_ext
1.35      moko     7790: 
                   7791: done
                   7792: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.43      moko     7793: rm -f conftest.i conftest.err conftest.$ac_ext
                   7794: if $ac_preproc_ok; then :
                   7795: 
1.35      moko     7796: else
1.43      moko     7797:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   7798: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   7799: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
                   7800: See \`config.log' for more details" "$LINENO" 5; }
1.35      moko     7801: fi
1.15      paf      7802: 
1.35      moko     7803: ac_ext=c
                   7804: ac_cpp='$CPP $CPPFLAGS'
                   7805: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7806: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7807: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.15      paf      7808: 
                   7809: 
1.43      moko     7810: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   7811: $as_echo_n "checking for ANSI C header files... " >&6; }
                   7812: if ${ac_cv_header_stdc+:} false; then :
                   7813:   $as_echo_n "(cached) " >&6
1.35      moko     7814: else
1.43      moko     7815:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     7816: /* end confdefs.h.  */
                   7817: #include <stdlib.h>
                   7818: #include <stdarg.h>
                   7819: #include <string.h>
                   7820: #include <float.h>
1.15      paf      7821: 
1.35      moko     7822: int
                   7823: main ()
                   7824: {
1.15      paf      7825: 
1.35      moko     7826:   ;
                   7827:   return 0;
                   7828: }
                   7829: _ACEOF
1.43      moko     7830: if ac_fn_c_try_compile "$LINENO"; then :
1.35      moko     7831:   ac_cv_header_stdc=yes
                   7832: else
1.43      moko     7833:   ac_cv_header_stdc=no
1.35      moko     7834: fi
1.43      moko     7835: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.15      paf      7836: 
1.35      moko     7837: if test $ac_cv_header_stdc = yes; then
                   7838:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.43      moko     7839:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     7840: /* end confdefs.h.  */
                   7841: #include <string.h>
                   7842: 
                   7843: _ACEOF
                   7844: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.43      moko     7845:   $EGREP "memchr" >/dev/null 2>&1; then :
                   7846: 
1.35      moko     7847: else
                   7848:   ac_cv_header_stdc=no
                   7849: fi
                   7850: rm -f conftest*
                   7851: 
                   7852: fi
                   7853: 
                   7854: if test $ac_cv_header_stdc = yes; then
                   7855:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.43      moko     7856:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     7857: /* end confdefs.h.  */
                   7858: #include <stdlib.h>
                   7859: 
                   7860: _ACEOF
                   7861: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.43      moko     7862:   $EGREP "free" >/dev/null 2>&1; then :
                   7863: 
1.35      moko     7864: else
                   7865:   ac_cv_header_stdc=no
                   7866: fi
                   7867: rm -f conftest*
                   7868: 
                   7869: fi
1.15      paf      7870: 
1.35      moko     7871: if test $ac_cv_header_stdc = yes; then
                   7872:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.43      moko     7873:   if test "$cross_compiling" = yes; then :
1.35      moko     7874:   :
                   7875: else
1.43      moko     7876:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     7877: /* end confdefs.h.  */
                   7878: #include <ctype.h>
1.43      moko     7879: #include <stdlib.h>
1.35      moko     7880: #if ((' ' & 0x0FF) == 0x020)
                   7881: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   7882: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   7883: #else
                   7884: # define ISLOWER(c) \
                   7885:                   (('a' <= (c) && (c) <= 'i') \
                   7886:                     || ('j' <= (c) && (c) <= 'r') \
                   7887:                     || ('s' <= (c) && (c) <= 'z'))
                   7888: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   7889: #endif
1.15      paf      7890: 
1.35      moko     7891: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   7892: int
                   7893: main ()
                   7894: {
                   7895:   int i;
                   7896:   for (i = 0; i < 256; i++)
                   7897:     if (XOR (islower (i), ISLOWER (i))
                   7898:        || toupper (i) != TOUPPER (i))
1.43      moko     7899:       return 2;
                   7900:   return 0;
1.35      moko     7901: }
                   7902: _ACEOF
1.43      moko     7903: if ac_fn_c_try_run "$LINENO"; then :
                   7904: 
1.35      moko     7905: else
1.43      moko     7906:   ac_cv_header_stdc=no
1.35      moko     7907: fi
1.43      moko     7908: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   7909:   conftest.$ac_objext conftest.beam conftest.$ac_ext
1.35      moko     7910: fi
1.43      moko     7911: 
1.35      moko     7912: fi
                   7913: fi
1.43      moko     7914: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   7915: $as_echo "$ac_cv_header_stdc" >&6; }
1.35      moko     7916: if test $ac_cv_header_stdc = yes; then
1.15      paf      7917: 
1.43      moko     7918: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
1.15      paf      7919: 
1.35      moko     7920: fi
1.15      paf      7921: 
1.35      moko     7922: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
                   7923: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   7924:                  inttypes.h stdint.h unistd.h
1.43      moko     7925: do :
                   7926:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   7927: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   7928: "
                   7929: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1.35      moko     7930:   cat >>confdefs.h <<_ACEOF
1.43      moko     7931: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.35      moko     7932: _ACEOF
                   7933: 
1.15      paf      7934: fi
1.35      moko     7935: 
                   7936: done
                   7937: 
                   7938: 
                   7939: for ac_header in dlfcn.h
1.43      moko     7940: do :
                   7941:   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
                   7942: "
                   7943: if test "x$ac_cv_header_dlfcn_h" = xyes; then :
1.35      moko     7944:   cat >>confdefs.h <<_ACEOF
1.43      moko     7945: #define HAVE_DLFCN_H 1
1.15      paf      7946: _ACEOF
1.25      paf      7947: 
1.35      moko     7948: fi
                   7949: 
                   7950: done
1.25      paf      7951: 
                   7952: 
                   7953: 
1.35      moko     7954: 
                   7955: func_stripname_cnf ()
1.15      paf      7956: {
1.35      moko     7957:   case ${2} in
                   7958:   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
                   7959:   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
                   7960:   esac
                   7961: } # func_stripname_cnf
                   7962: 
                   7963: 
                   7964: 
                   7965: 
                   7966: 
                   7967: # Set options
1.43      moko     7968: # Check whether --enable-static was given.
                   7969: if test "${enable_static+set}" = set; then :
                   7970:   enableval=$enable_static; p=${PACKAGE-default}
1.42      moko     7971:     case $enableval in
                   7972:     yes) enable_static=yes ;;
                   7973:     no) enable_static=no ;;
                   7974:     *)
                   7975:      enable_static=no
                   7976:       # Look at the argument we got.  We use all the common list separators.
                   7977:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   7978:       for pkg in $enableval; do
                   7979:        IFS="$lt_save_ifs"
                   7980:        if test "X$pkg" = "X$p"; then
                   7981:          enable_static=yes
                   7982:        fi
                   7983:       done
                   7984:       IFS="$lt_save_ifs"
                   7985:       ;;
                   7986:     esac
                   7987: else
                   7988:   enable_static=no
1.43      moko     7989: fi
                   7990: 
1.42      moko     7991: 
                   7992: 
                   7993: 
                   7994: 
                   7995: 
                   7996: 
1.35      moko     7997: enable_dlopen=yes
1.36      moko     7998: enable_win32_dll=yes
1.35      moko     7999: 
1.36      moko     8000: case $host in
                   8001: *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
                   8002:   if test -n "$ac_tool_prefix"; then
                   8003:   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
                   8004: set dummy ${ac_tool_prefix}as; ac_word=$2
1.43      moko     8005: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8006: $as_echo_n "checking for $ac_word... " >&6; }
                   8007: if ${ac_cv_prog_AS+:} false; then :
                   8008:   $as_echo_n "(cached) " >&6
1.36      moko     8009: else
                   8010:   if test -n "$AS"; then
                   8011:   ac_cv_prog_AS="$AS" # Let the user override the test.
                   8012: else
                   8013: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8014: for as_dir in $PATH
                   8015: do
                   8016:   IFS=$as_save_IFS
                   8017:   test -z "$as_dir" && as_dir=.
1.43      moko     8018:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     8019:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.36      moko     8020:     ac_cv_prog_AS="${ac_tool_prefix}as"
1.43      moko     8021:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.36      moko     8022:     break 2
                   8023:   fi
                   8024: done
1.43      moko     8025:   done
                   8026: IFS=$as_save_IFS
1.35      moko     8027: 
1.36      moko     8028: fi
                   8029: fi
                   8030: AS=$ac_cv_prog_AS
                   8031: if test -n "$AS"; then
1.43      moko     8032:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
                   8033: $as_echo "$AS" >&6; }
1.36      moko     8034: else
1.43      moko     8035:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8036: $as_echo "no" >&6; }
1.36      moko     8037: fi
1.35      moko     8038: 
1.43      moko     8039: 
1.36      moko     8040: fi
                   8041: if test -z "$ac_cv_prog_AS"; then
                   8042:   ac_ct_AS=$AS
                   8043:   # Extract the first word of "as", so it can be a program name with args.
                   8044: set dummy as; ac_word=$2
1.43      moko     8045: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8046: $as_echo_n "checking for $ac_word... " >&6; }
                   8047: if ${ac_cv_prog_ac_ct_AS+:} false; then :
                   8048:   $as_echo_n "(cached) " >&6
1.36      moko     8049: else
                   8050:   if test -n "$ac_ct_AS"; then
                   8051:   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
                   8052: else
                   8053: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8054: for as_dir in $PATH
                   8055: do
                   8056:   IFS=$as_save_IFS
                   8057:   test -z "$as_dir" && as_dir=.
1.43      moko     8058:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     8059:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.36      moko     8060:     ac_cv_prog_ac_ct_AS="as"
1.43      moko     8061:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.36      moko     8062:     break 2
                   8063:   fi
                   8064: done
1.43      moko     8065:   done
                   8066: IFS=$as_save_IFS
1.35      moko     8067: 
1.36      moko     8068: fi
                   8069: fi
                   8070: ac_ct_AS=$ac_cv_prog_ac_ct_AS
                   8071: if test -n "$ac_ct_AS"; then
1.43      moko     8072:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
                   8073: $as_echo "$ac_ct_AS" >&6; }
1.36      moko     8074: else
1.43      moko     8075:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8076: $as_echo "no" >&6; }
1.36      moko     8077: fi
1.35      moko     8078: 
1.43      moko     8079:   if test "x$ac_ct_AS" = x; then
                   8080:     AS="false"
                   8081:   else
                   8082:     case $cross_compiling:$ac_tool_warned in
                   8083: yes:)
                   8084: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8085: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8086: ac_tool_warned=yes ;;
                   8087: esac
                   8088:     AS=$ac_ct_AS
                   8089:   fi
1.36      moko     8090: else
                   8091:   AS="$ac_cv_prog_AS"
                   8092: fi
1.15      paf      8093: 
1.36      moko     8094:   if test -n "$ac_tool_prefix"; then
                   8095:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   8096: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1.43      moko     8097: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8098: $as_echo_n "checking for $ac_word... " >&6; }
                   8099: if ${ac_cv_prog_DLLTOOL+:} false; then :
                   8100:   $as_echo_n "(cached) " >&6
1.36      moko     8101: else
                   8102:   if test -n "$DLLTOOL"; then
                   8103:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
1.15      paf      8104: else
1.36      moko     8105: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8106: for as_dir in $PATH
                   8107: do
                   8108:   IFS=$as_save_IFS
                   8109:   test -z "$as_dir" && as_dir=.
1.43      moko     8110:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     8111:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.36      moko     8112:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
1.43      moko     8113:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.36      moko     8114:     break 2
                   8115:   fi
                   8116: done
1.43      moko     8117:   done
                   8118: IFS=$as_save_IFS
1.36      moko     8119: 
                   8120: fi
                   8121: fi
                   8122: DLLTOOL=$ac_cv_prog_DLLTOOL
                   8123: if test -n "$DLLTOOL"; then
1.43      moko     8124:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
                   8125: $as_echo "$DLLTOOL" >&6; }
1.36      moko     8126: else
1.43      moko     8127:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8128: $as_echo "no" >&6; }
1.36      moko     8129: fi
                   8130: 
1.43      moko     8131: 
1.36      moko     8132: fi
                   8133: if test -z "$ac_cv_prog_DLLTOOL"; then
                   8134:   ac_ct_DLLTOOL=$DLLTOOL
                   8135:   # Extract the first word of "dlltool", so it can be a program name with args.
                   8136: set dummy dlltool; ac_word=$2
1.43      moko     8137: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8138: $as_echo_n "checking for $ac_word... " >&6; }
                   8139: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
                   8140:   $as_echo_n "(cached) " >&6
1.36      moko     8141: else
                   8142:   if test -n "$ac_ct_DLLTOOL"; then
                   8143:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   8144: else
                   8145: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8146: for as_dir in $PATH
                   8147: do
                   8148:   IFS=$as_save_IFS
                   8149:   test -z "$as_dir" && as_dir=.
1.43      moko     8150:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     8151:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.36      moko     8152:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
1.43      moko     8153:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.36      moko     8154:     break 2
                   8155:   fi
                   8156: done
1.43      moko     8157:   done
                   8158: IFS=$as_save_IFS
1.36      moko     8159: 
                   8160: fi
                   8161: fi
                   8162: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   8163: if test -n "$ac_ct_DLLTOOL"; then
1.43      moko     8164:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
                   8165: $as_echo "$ac_ct_DLLTOOL" >&6; }
1.36      moko     8166: else
1.43      moko     8167:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8168: $as_echo "no" >&6; }
1.36      moko     8169: fi
                   8170: 
1.43      moko     8171:   if test "x$ac_ct_DLLTOOL" = x; then
                   8172:     DLLTOOL="false"
                   8173:   else
                   8174:     case $cross_compiling:$ac_tool_warned in
                   8175: yes:)
                   8176: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8177: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8178: ac_tool_warned=yes ;;
                   8179: esac
                   8180:     DLLTOOL=$ac_ct_DLLTOOL
                   8181:   fi
1.36      moko     8182: else
                   8183:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   8184: fi
                   8185: 
                   8186:   if test -n "$ac_tool_prefix"; then
                   8187:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   8188: set dummy ${ac_tool_prefix}objdump; ac_word=$2
1.43      moko     8189: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8190: $as_echo_n "checking for $ac_word... " >&6; }
                   8191: if ${ac_cv_prog_OBJDUMP+:} false; then :
                   8192:   $as_echo_n "(cached) " >&6
1.36      moko     8193: else
                   8194:   if test -n "$OBJDUMP"; then
                   8195:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   8196: else
                   8197: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8198: for as_dir in $PATH
                   8199: do
                   8200:   IFS=$as_save_IFS
                   8201:   test -z "$as_dir" && as_dir=.
1.43      moko     8202:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     8203:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.36      moko     8204:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1.43      moko     8205:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.36      moko     8206:     break 2
                   8207:   fi
                   8208: done
1.43      moko     8209:   done
                   8210: IFS=$as_save_IFS
1.36      moko     8211: 
                   8212: fi
                   8213: fi
                   8214: OBJDUMP=$ac_cv_prog_OBJDUMP
                   8215: if test -n "$OBJDUMP"; then
1.43      moko     8216:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   8217: $as_echo "$OBJDUMP" >&6; }
1.36      moko     8218: else
1.43      moko     8219:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8220: $as_echo "no" >&6; }
1.36      moko     8221: fi
                   8222: 
1.43      moko     8223: 
1.36      moko     8224: fi
                   8225: if test -z "$ac_cv_prog_OBJDUMP"; then
                   8226:   ac_ct_OBJDUMP=$OBJDUMP
                   8227:   # Extract the first word of "objdump", so it can be a program name with args.
                   8228: set dummy objdump; ac_word=$2
1.43      moko     8229: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8230: $as_echo_n "checking for $ac_word... " >&6; }
                   8231: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
                   8232:   $as_echo_n "(cached) " >&6
1.36      moko     8233: else
                   8234:   if test -n "$ac_ct_OBJDUMP"; then
                   8235:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   8236: else
                   8237: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8238: for as_dir in $PATH
                   8239: do
                   8240:   IFS=$as_save_IFS
                   8241:   test -z "$as_dir" && as_dir=.
1.43      moko     8242:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     8243:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.36      moko     8244:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.43      moko     8245:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.36      moko     8246:     break 2
                   8247:   fi
                   8248: done
1.43      moko     8249:   done
                   8250: IFS=$as_save_IFS
1.36      moko     8251: 
                   8252: fi
                   8253: fi
                   8254: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   8255: if test -n "$ac_ct_OBJDUMP"; then
1.43      moko     8256:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   8257: $as_echo "$ac_ct_OBJDUMP" >&6; }
1.36      moko     8258: else
1.43      moko     8259:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8260: $as_echo "no" >&6; }
1.36      moko     8261: fi
                   8262: 
1.43      moko     8263:   if test "x$ac_ct_OBJDUMP" = x; then
                   8264:     OBJDUMP="false"
                   8265:   else
                   8266:     case $cross_compiling:$ac_tool_warned in
                   8267: yes:)
                   8268: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8269: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8270: ac_tool_warned=yes ;;
                   8271: esac
                   8272:     OBJDUMP=$ac_ct_OBJDUMP
                   8273:   fi
1.36      moko     8274: else
                   8275:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   8276: fi
                   8277: 
                   8278:   ;;
                   8279: esac
                   8280: 
                   8281: test -z "$AS" && AS=as
                   8282: 
                   8283: 
                   8284: 
                   8285: 
                   8286: 
                   8287: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   8288: 
                   8289: 
                   8290: 
                   8291: 
                   8292: 
                   8293: test -z "$OBJDUMP" && OBJDUMP=objdump
                   8294: 
                   8295: 
                   8296: 
                   8297: 
                   8298: 
                   8299: 
                   8300: 
                   8301: 
                   8302: 
1.43      moko     8303:             # Check whether --enable-shared was given.
                   8304: if test "${enable_shared+set}" = set; then :
                   8305:   enableval=$enable_shared; p=${PACKAGE-default}
1.36      moko     8306:     case $enableval in
                   8307:     yes) enable_shared=yes ;;
                   8308:     no) enable_shared=no ;;
                   8309:     *)
                   8310:       enable_shared=no
                   8311:       # Look at the argument we got.  We use all the common list separators.
                   8312:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8313:       for pkg in $enableval; do
                   8314:        IFS="$lt_save_ifs"
                   8315:        if test "X$pkg" = "X$p"; then
                   8316:          enable_shared=yes
                   8317:        fi
                   8318:       done
                   8319:       IFS="$lt_save_ifs"
                   8320:       ;;
                   8321:     esac
                   8322: else
                   8323:   enable_shared=yes
1.43      moko     8324: fi
                   8325: 
1.35      moko     8326: 
                   8327: 
                   8328: 
                   8329: 
                   8330: 
                   8331: 
                   8332: 
1.15      paf      8333: 
1.35      moko     8334: 
                   8335: 
1.43      moko     8336: # Check whether --with-pic was given.
                   8337: if test "${with_pic+set}" = set; then :
                   8338:   withval=$with_pic; lt_p=${PACKAGE-default}
1.35      moko     8339:     case $withval in
                   8340:     yes|no) pic_mode=$withval ;;
                   8341:     *)
                   8342:       pic_mode=default
                   8343:       # Look at the argument we got.  We use all the common list separators.
                   8344:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8345:       for lt_pkg in $withval; do
                   8346:        IFS="$lt_save_ifs"
                   8347:        if test "X$lt_pkg" = "X$lt_p"; then
                   8348:          pic_mode=yes
                   8349:        fi
                   8350:       done
                   8351:       IFS="$lt_save_ifs"
                   8352:       ;;
                   8353:     esac
1.15      paf      8354: else
1.35      moko     8355:   pic_mode=default
1.43      moko     8356: fi
                   8357: 
1.35      moko     8358: 
                   8359: test -z "$pic_mode" && pic_mode=default
                   8360: 
                   8361: 
                   8362: 
                   8363: 
                   8364: 
                   8365: 
1.15      paf      8366: 
1.43      moko     8367:   # Check whether --enable-fast-install was given.
                   8368: if test "${enable_fast_install+set}" = set; then :
                   8369:   enableval=$enable_fast_install; p=${PACKAGE-default}
1.35      moko     8370:     case $enableval in
                   8371:     yes) enable_fast_install=yes ;;
                   8372:     no) enable_fast_install=no ;;
                   8373:     *)
                   8374:       enable_fast_install=no
                   8375:       # Look at the argument we got.  We use all the common list separators.
                   8376:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8377:       for pkg in $enableval; do
                   8378:        IFS="$lt_save_ifs"
                   8379:        if test "X$pkg" = "X$p"; then
                   8380:          enable_fast_install=yes
                   8381:        fi
                   8382:       done
                   8383:       IFS="$lt_save_ifs"
                   8384:       ;;
                   8385:     esac
1.15      paf      8386: else
1.35      moko     8387:   enable_fast_install=yes
1.43      moko     8388: fi
                   8389: 
1.35      moko     8390: 
                   8391: 
                   8392: 
                   8393: 
                   8394: 
                   8395: 
                   8396: 
                   8397: 
                   8398: 
                   8399: 
                   8400: # This can be used to rebuild libtool when needed
                   8401: LIBTOOL_DEPS="$ltmain"
                   8402: 
                   8403: # Always use our own libtool.
                   8404: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
                   8405: 
                   8406: 
                   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: test -z "$LN_S" && LN_S="ln -s"
                   8436: 
                   8437: 
                   8438: 
                   8439: 
                   8440: 
                   8441: 
                   8442: 
                   8443: 
                   8444: 
                   8445: 
                   8446: 
                   8447: 
                   8448: 
1.15      paf      8449: 
1.35      moko     8450: if test -n "${ZSH_VERSION+set}" ; then
                   8451:    setopt NO_GLOB_SUBST
1.15      paf      8452: fi
1.35      moko     8453: 
1.43      moko     8454: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
                   8455: $as_echo_n "checking for objdir... " >&6; }
                   8456: if ${lt_cv_objdir+:} false; then :
                   8457:   $as_echo_n "(cached) " >&6
1.35      moko     8458: else
                   8459:   rm -f .libs 2>/dev/null
                   8460: mkdir .libs 2>/dev/null
                   8461: if test -d .libs; then
                   8462:   lt_cv_objdir=.libs
                   8463: else
                   8464:   # MS-DOS does not allow filenames that begin with a dot.
                   8465:   lt_cv_objdir=_libs
1.15      paf      8466: fi
1.35      moko     8467: rmdir .libs 2>/dev/null
                   8468: fi
1.43      moko     8469: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
                   8470: $as_echo "$lt_cv_objdir" >&6; }
1.35      moko     8471: objdir=$lt_cv_objdir
1.15      paf      8472: 
                   8473: 
                   8474: 
                   8475: 
                   8476: 
1.35      moko     8477: cat >>confdefs.h <<_ACEOF
                   8478: #define LT_OBJDIR "$lt_cv_objdir/"
                   8479: _ACEOF
1.15      paf      8480: 
                   8481: 
                   8482: 
                   8483: 
1.35      moko     8484: case $host_os in
                   8485: aix3*)
                   8486:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   8487:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   8488:   # vanish in a puff of smoke.
                   8489:   if test "X${COLLECT_NAMES+set}" != Xset; then
                   8490:     COLLECT_NAMES=
                   8491:     export COLLECT_NAMES
                   8492:   fi
                   8493:   ;;
                   8494: esac
1.15      paf      8495: 
1.35      moko     8496: # Global variables:
                   8497: ofile=libtool
                   8498: can_build_shared=yes
1.15      paf      8499: 
1.35      moko     8500: # All known linkers require a `.a' archive for static linking (except MSVC,
                   8501: # which needs '.lib').
                   8502: libext=a
1.15      paf      8503: 
1.35      moko     8504: with_gnu_ld="$lt_cv_prog_gnu_ld"
1.15      paf      8505: 
1.35      moko     8506: old_CC="$CC"
                   8507: old_CFLAGS="$CFLAGS"
1.15      paf      8508: 
1.35      moko     8509: # Set sane defaults for various variables
                   8510: test -z "$CC" && CC=cc
                   8511: test -z "$LTCC" && LTCC=$CC
                   8512: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
                   8513: test -z "$LD" && LD=ld
                   8514: test -z "$ac_objext" && ac_objext=o
1.15      paf      8515: 
1.35      moko     8516: for cc_temp in $compiler""; do
                   8517:   case $cc_temp in
                   8518:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   8519:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   8520:     \-*) ;;
                   8521:     *) break;;
1.15      paf      8522:   esac
1.35      moko     8523: done
                   8524: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
1.15      paf      8525: 
                   8526: 
1.35      moko     8527: # Only perform the check for file, if the check method requires it
                   8528: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   8529: case $deplibs_check_method in
                   8530: file_magic*)
                   8531:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1.43      moko     8532:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
                   8533: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
                   8534: if ${lt_cv_path_MAGIC_CMD+:} false; then :
                   8535:   $as_echo_n "(cached) " >&6
1.35      moko     8536: else
                   8537:   case $MAGIC_CMD in
                   8538: [\\/*] |  ?:[\\/]*)
                   8539:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   8540:   ;;
                   8541: *)
                   8542:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   8543:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   8544:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   8545:   for ac_dir in $ac_dummy; do
                   8546:     IFS="$lt_save_ifs"
                   8547:     test -z "$ac_dir" && ac_dir=.
                   8548:     if test -f $ac_dir/${ac_tool_prefix}file; then
                   8549:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
                   8550:       if test -n "$file_magic_test_file"; then
                   8551:        case $deplibs_check_method in
                   8552:        "file_magic "*)
                   8553:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   8554:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   8555:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   8556:            $EGREP "$file_magic_regex" > /dev/null; then
                   8557:            :
                   8558:          else
                   8559:            cat <<_LT_EOF 1>&2
1.15      paf      8560: 
1.35      moko     8561: *** Warning: the command libtool uses to detect shared libraries,
                   8562: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   8563: *** The result is that libtool may fail to recognize shared libraries
                   8564: *** as such.  This will affect the creation of libtool libraries that
                   8565: *** depend on shared libraries, but programs linked with such libtool
                   8566: *** libraries will work regardless of this problem.  Nevertheless, you
                   8567: *** may want to report the problem to your system manager and/or to
                   8568: *** bug-libtool@gnu.org
1.15      paf      8569: 
1.35      moko     8570: _LT_EOF
                   8571:          fi ;;
                   8572:        esac
                   8573:       fi
                   8574:       break
                   8575:     fi
                   8576:   done
                   8577:   IFS="$lt_save_ifs"
                   8578:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   8579:   ;;
                   8580: esac
                   8581: fi
1.15      paf      8582: 
1.35      moko     8583: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   8584: if test -n "$MAGIC_CMD"; then
1.43      moko     8585:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   8586: $as_echo "$MAGIC_CMD" >&6; }
1.15      paf      8587: else
1.43      moko     8588:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8589: $as_echo "no" >&6; }
1.35      moko     8590: fi
                   8591: 
1.15      paf      8592: 
                   8593: 
                   8594: 
                   8595: 
1.35      moko     8596: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   8597:   if test -n "$ac_tool_prefix"; then
1.43      moko     8598:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
                   8599: $as_echo_n "checking for file... " >&6; }
                   8600: if ${lt_cv_path_MAGIC_CMD+:} false; then :
                   8601:   $as_echo_n "(cached) " >&6
1.35      moko     8602: else
                   8603:   case $MAGIC_CMD in
                   8604: [\\/*] |  ?:[\\/]*)
                   8605:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   8606:   ;;
                   8607: *)
                   8608:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   8609:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   8610:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   8611:   for ac_dir in $ac_dummy; do
                   8612:     IFS="$lt_save_ifs"
                   8613:     test -z "$ac_dir" && ac_dir=.
                   8614:     if test -f $ac_dir/file; then
                   8615:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
                   8616:       if test -n "$file_magic_test_file"; then
                   8617:        case $deplibs_check_method in
                   8618:        "file_magic "*)
                   8619:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   8620:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   8621:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   8622:            $EGREP "$file_magic_regex" > /dev/null; then
                   8623:            :
                   8624:          else
                   8625:            cat <<_LT_EOF 1>&2
                   8626: 
                   8627: *** Warning: the command libtool uses to detect shared libraries,
                   8628: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   8629: *** The result is that libtool may fail to recognize shared libraries
                   8630: *** as such.  This will affect the creation of libtool libraries that
                   8631: *** depend on shared libraries, but programs linked with such libtool
                   8632: *** libraries will work regardless of this problem.  Nevertheless, you
                   8633: *** may want to report the problem to your system manager and/or to
                   8634: *** bug-libtool@gnu.org
1.15      paf      8635: 
1.35      moko     8636: _LT_EOF
                   8637:          fi ;;
                   8638:        esac
                   8639:       fi
                   8640:       break
                   8641:     fi
                   8642:   done
                   8643:   IFS="$lt_save_ifs"
                   8644:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   8645:   ;;
                   8646: esac
                   8647: fi
1.15      paf      8648: 
1.35      moko     8649: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   8650: if test -n "$MAGIC_CMD"; then
1.43      moko     8651:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   8652: $as_echo "$MAGIC_CMD" >&6; }
1.35      moko     8653: else
1.43      moko     8654:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8655: $as_echo "no" >&6; }
1.35      moko     8656: fi
1.15      paf      8657: 
                   8658: 
1.35      moko     8659:   else
                   8660:     MAGIC_CMD=:
1.15      paf      8661:   fi
                   8662: fi
1.35      moko     8663: 
                   8664:   fi
                   8665:   ;;
                   8666: esac
                   8667: 
                   8668: # Use C for the default configuration in the libtool script
                   8669: 
                   8670: lt_save_CC="$CC"
                   8671: ac_ext=c
                   8672: ac_cpp='$CPP $CPPFLAGS'
                   8673: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   8674: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   8675: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   8676: 
                   8677: 
                   8678: # Source file extension for C test sources.
                   8679: ac_ext=c
                   8680: 
                   8681: # Object file extension for compiled C test sources.
                   8682: objext=o
                   8683: objext=$objext
                   8684: 
                   8685: # Code to be used in simple compile tests
                   8686: lt_simple_compile_test_code="int some_variable = 0;"
                   8687: 
                   8688: # Code to be used in simple link tests
                   8689: lt_simple_link_test_code='int main(){return(0);}'
1.15      paf      8690: 
                   8691: 
                   8692: 
                   8693: 
                   8694: 
                   8695: 
                   8696: 
1.35      moko     8697: # If no C compiler was specified, use CC.
                   8698: LTCC=${LTCC-"$CC"}
1.15      paf      8699: 
1.35      moko     8700: # If no C compiler flags were specified, use CFLAGS.
                   8701: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
1.15      paf      8702: 
1.35      moko     8703: # Allow CC to be a program name with arguments.
                   8704: compiler=$CC
1.15      paf      8705: 
1.35      moko     8706: # Save the default compiler, since it gets overwritten when the other
                   8707: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
                   8708: compiler_DEFAULT=$CC
1.15      paf      8709: 
1.35      moko     8710: # save warnings/boilerplate of simple test code
                   8711: ac_outfile=conftest.$ac_objext
                   8712: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   8713: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   8714: _lt_compiler_boilerplate=`cat conftest.err`
                   8715: $RM conftest*
1.15      paf      8716: 
1.35      moko     8717: ac_outfile=conftest.$ac_objext
                   8718: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   8719: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   8720: _lt_linker_boilerplate=`cat conftest.err`
                   8721: $RM -r conftest*
1.15      paf      8722: 
                   8723: 
1.36      moko     8724: ## CAVEAT EMPTOR:
                   8725: ## There is no encapsulation within the following macros, do not change
                   8726: ## the running order or otherwise move them around unless you know exactly
                   8727: ## what you are doing...
1.35      moko     8728: if test -n "$compiler"; then
1.15      paf      8729: 
1.35      moko     8730: lt_prog_compiler_no_builtin_flag=
1.15      paf      8731: 
1.35      moko     8732: if test "$GCC" = yes; then
                   8733:   case $cc_basename in
                   8734:   nvcc*)
                   8735:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
                   8736:   *)
                   8737:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
1.15      paf      8738:   esac
                   8739: 
1.43      moko     8740:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
                   8741: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
                   8742: if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
                   8743:   $as_echo_n "(cached) " >&6
1.15      paf      8744: else
1.35      moko     8745:   lt_cv_prog_compiler_rtti_exceptions=no
                   8746:    ac_outfile=conftest.$ac_objext
                   8747:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8748:    lt_compiler_flag="-fno-rtti -fno-exceptions"
                   8749:    # Insert the option either (1) after the last *FLAGS variable, or
                   8750:    # (2) before a word containing "conftest.", or (3) at the end.
                   8751:    # Note that $ac_compile itself does not contain backslashes and begins
                   8752:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8753:    # The option is referenced via a variable to avoid confusing sed.
                   8754:    lt_compile=`echo "$ac_compile" | $SED \
                   8755:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8756:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8757:    -e 's:$: $lt_compiler_flag:'`
                   8758:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8759:    (eval "$lt_compile" 2>conftest.err)
                   8760:    ac_status=$?
                   8761:    cat conftest.err >&5
                   8762:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8763:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   8764:      # The compiler can only warn and ignore the option if not recognized
                   8765:      # So say no if there are warnings other than the usual output.
                   8766:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   8767:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8768:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   8769:        lt_cv_prog_compiler_rtti_exceptions=yes
                   8770:      fi
                   8771:    fi
                   8772:    $RM conftest*
1.15      paf      8773: 
                   8774: fi
1.43      moko     8775: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
                   8776: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
1.15      paf      8777: 
1.35      moko     8778: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
                   8779:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
                   8780: else
                   8781:     :
1.15      paf      8782: fi
                   8783: 
1.35      moko     8784: fi
1.15      paf      8785: 
                   8786: 
                   8787: 
                   8788: 
                   8789: 
                   8790: 
1.35      moko     8791:   lt_prog_compiler_wl=
                   8792: lt_prog_compiler_pic=
                   8793: lt_prog_compiler_static=
1.15      paf      8794: 
                   8795: 
1.35      moko     8796:   if test "$GCC" = yes; then
                   8797:     lt_prog_compiler_wl='-Wl,'
                   8798:     lt_prog_compiler_static='-static'
1.15      paf      8799: 
1.35      moko     8800:     case $host_os in
                   8801:       aix*)
                   8802:       # All AIX code is PIC.
                   8803:       if test "$host_cpu" = ia64; then
                   8804:        # AIX 5 now supports IA64 processor
                   8805:        lt_prog_compiler_static='-Bstatic'
                   8806:       fi
                   8807:       ;;
1.15      paf      8808: 
1.35      moko     8809:     amigaos*)
                   8810:       case $host_cpu in
                   8811:       powerpc)
                   8812:             # see comment about AmigaOS4 .so support
                   8813:             lt_prog_compiler_pic='-fPIC'
                   8814:         ;;
                   8815:       m68k)
                   8816:             # FIXME: we need at least 68020 code to build shared libraries, but
                   8817:             # adding the `-m68020' flag to GCC prevents building anything better,
                   8818:             # like `-m68040'.
                   8819:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
                   8820:         ;;
                   8821:       esac
                   8822:       ;;
1.15      paf      8823: 
1.35      moko     8824:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   8825:       # PIC is the default for these OSes.
                   8826:       ;;
1.15      paf      8827: 
1.35      moko     8828:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   8829:       # This hack is so that the source file can tell whether it is being
                   8830:       # built for inclusion in a dll (and should export symbols for example).
                   8831:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   8832:       # (--disable-auto-import) libraries
                   8833:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   8834:       ;;
1.15      paf      8835: 
1.35      moko     8836:     darwin* | rhapsody*)
                   8837:       # PIC is the default on this platform
                   8838:       # Common symbols not allowed in MH_DYLIB files
                   8839:       lt_prog_compiler_pic='-fno-common'
                   8840:       ;;
1.15      paf      8841: 
1.35      moko     8842:     haiku*)
                   8843:       # PIC is the default for Haiku.
                   8844:       # The "-static" flag exists, but is broken.
                   8845:       lt_prog_compiler_static=
                   8846:       ;;
1.15      paf      8847: 
1.35      moko     8848:     hpux*)
                   8849:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   8850:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   8851:       # sets the default TLS model and affects inlining.
                   8852:       case $host_cpu in
                   8853:       hppa*64*)
                   8854:        # +Z the default
                   8855:        ;;
                   8856:       *)
                   8857:        lt_prog_compiler_pic='-fPIC'
                   8858:        ;;
                   8859:       esac
                   8860:       ;;
1.15      paf      8861: 
1.35      moko     8862:     interix[3-9]*)
                   8863:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   8864:       # Instead, we relocate shared libraries at runtime.
                   8865:       ;;
1.15      paf      8866: 
1.35      moko     8867:     msdosdjgpp*)
                   8868:       # Just because we use GCC doesn't mean we suddenly get shared libraries
                   8869:       # on systems that don't support them.
                   8870:       lt_prog_compiler_can_build_shared=no
                   8871:       enable_shared=no
                   8872:       ;;
1.15      paf      8873: 
1.35      moko     8874:     *nto* | *qnx*)
                   8875:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   8876:       # it will coredump.
                   8877:       lt_prog_compiler_pic='-fPIC -shared'
                   8878:       ;;
1.15      paf      8879: 
1.35      moko     8880:     sysv4*MP*)
                   8881:       if test -d /usr/nec; then
                   8882:        lt_prog_compiler_pic=-Kconform_pic
                   8883:       fi
                   8884:       ;;
1.15      paf      8885: 
1.35      moko     8886:     *)
                   8887:       lt_prog_compiler_pic='-fPIC'
                   8888:       ;;
                   8889:     esac
1.15      paf      8890: 
1.35      moko     8891:     case $cc_basename in
                   8892:     nvcc*) # Cuda Compiler Driver 2.2
                   8893:       lt_prog_compiler_wl='-Xlinker '
                   8894:       if test -n "$lt_prog_compiler_pic"; then
                   8895:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
                   8896:       fi
                   8897:       ;;
                   8898:     esac
                   8899:   else
                   8900:     # PORTME Check for flag to pass linker flags through the system compiler.
                   8901:     case $host_os in
                   8902:     aix*)
                   8903:       lt_prog_compiler_wl='-Wl,'
                   8904:       if test "$host_cpu" = ia64; then
                   8905:        # AIX 5 now supports IA64 processor
                   8906:        lt_prog_compiler_static='-Bstatic'
                   8907:       else
                   8908:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
                   8909:       fi
                   8910:       ;;
1.15      paf      8911: 
1.35      moko     8912:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   8913:       # This hack is so that the source file can tell whether it is being
                   8914:       # built for inclusion in a dll (and should export symbols for example).
                   8915:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   8916:       ;;
1.15      paf      8917: 
1.35      moko     8918:     hpux9* | hpux10* | hpux11*)
                   8919:       lt_prog_compiler_wl='-Wl,'
                   8920:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
                   8921:       # not for PA HP-UX.
                   8922:       case $host_cpu in
                   8923:       hppa*64*|ia64*)
                   8924:        # +Z the default
                   8925:        ;;
                   8926:       *)
                   8927:        lt_prog_compiler_pic='+Z'
                   8928:        ;;
                   8929:       esac
                   8930:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
                   8931:       lt_prog_compiler_static='${wl}-a ${wl}archive'
                   8932:       ;;
1.15      paf      8933: 
1.35      moko     8934:     irix5* | irix6* | nonstopux*)
                   8935:       lt_prog_compiler_wl='-Wl,'
                   8936:       # PIC (with -KPIC) is the default.
                   8937:       lt_prog_compiler_static='-non_shared'
                   8938:       ;;
1.15      paf      8939: 
1.35      moko     8940:     linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   8941:       case $cc_basename in
                   8942:       # old Intel for x86_64 which still supported -KPIC.
                   8943:       ecc*)
                   8944:        lt_prog_compiler_wl='-Wl,'
                   8945:        lt_prog_compiler_pic='-KPIC'
                   8946:        lt_prog_compiler_static='-static'
                   8947:         ;;
                   8948:       # icc used to be incompatible with GCC.
                   8949:       # ICC 10 doesn't accept -KPIC any more.
                   8950:       icc* | ifort*)
                   8951:        lt_prog_compiler_wl='-Wl,'
                   8952:        lt_prog_compiler_pic='-fPIC'
                   8953:        lt_prog_compiler_static='-static'
                   8954:         ;;
                   8955:       # Lahey Fortran 8.1.
                   8956:       lf95*)
                   8957:        lt_prog_compiler_wl='-Wl,'
                   8958:        lt_prog_compiler_pic='--shared'
                   8959:        lt_prog_compiler_static='--static'
                   8960:        ;;
                   8961:       nagfor*)
                   8962:        # NAG Fortran compiler
                   8963:        lt_prog_compiler_wl='-Wl,-Wl,,'
                   8964:        lt_prog_compiler_pic='-PIC'
                   8965:        lt_prog_compiler_static='-Bstatic'
                   8966:        ;;
                   8967:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
                   8968:         # Portland Group compilers (*not* the Pentium gcc compiler,
                   8969:        # which looks to be a dead project)
                   8970:        lt_prog_compiler_wl='-Wl,'
                   8971:        lt_prog_compiler_pic='-fpic'
                   8972:        lt_prog_compiler_static='-Bstatic'
                   8973:         ;;
                   8974:       ccc*)
                   8975:         lt_prog_compiler_wl='-Wl,'
                   8976:         # All Alpha code is PIC.
                   8977:         lt_prog_compiler_static='-non_shared'
                   8978:         ;;
                   8979:       xl* | bgxl* | bgf* | mpixl*)
                   8980:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
                   8981:        lt_prog_compiler_wl='-Wl,'
                   8982:        lt_prog_compiler_pic='-qpic'
                   8983:        lt_prog_compiler_static='-qstaticlink'
                   8984:        ;;
                   8985:       *)
                   8986:        case `$CC -V 2>&1 | sed 5q` in
                   8987:        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
                   8988:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
                   8989:          lt_prog_compiler_pic='-KPIC'
                   8990:          lt_prog_compiler_static='-Bstatic'
                   8991:          lt_prog_compiler_wl=''
                   8992:          ;;
                   8993:        *Sun\ F* | *Sun*Fortran*)
                   8994:          lt_prog_compiler_pic='-KPIC'
                   8995:          lt_prog_compiler_static='-Bstatic'
                   8996:          lt_prog_compiler_wl='-Qoption ld '
                   8997:          ;;
                   8998:        *Sun\ C*)
                   8999:          # Sun C 5.9
                   9000:          lt_prog_compiler_pic='-KPIC'
                   9001:          lt_prog_compiler_static='-Bstatic'
                   9002:          lt_prog_compiler_wl='-Wl,'
                   9003:          ;;
                   9004:         *Intel*\ [CF]*Compiler*)
                   9005:          lt_prog_compiler_wl='-Wl,'
                   9006:          lt_prog_compiler_pic='-fPIC'
                   9007:          lt_prog_compiler_static='-static'
                   9008:          ;;
                   9009:        *Portland\ Group*)
                   9010:          lt_prog_compiler_wl='-Wl,'
                   9011:          lt_prog_compiler_pic='-fpic'
                   9012:          lt_prog_compiler_static='-Bstatic'
                   9013:          ;;
                   9014:        esac
                   9015:        ;;
                   9016:       esac
                   9017:       ;;
1.15      paf      9018: 
1.35      moko     9019:     newsos6)
                   9020:       lt_prog_compiler_pic='-KPIC'
                   9021:       lt_prog_compiler_static='-Bstatic'
                   9022:       ;;
1.15      paf      9023: 
1.35      moko     9024:     *nto* | *qnx*)
                   9025:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   9026:       # it will coredump.
                   9027:       lt_prog_compiler_pic='-fPIC -shared'
                   9028:       ;;
1.15      paf      9029: 
1.35      moko     9030:     osf3* | osf4* | osf5*)
                   9031:       lt_prog_compiler_wl='-Wl,'
                   9032:       # All OSF/1 code is PIC.
                   9033:       lt_prog_compiler_static='-non_shared'
                   9034:       ;;
1.15      paf      9035: 
1.35      moko     9036:     rdos*)
                   9037:       lt_prog_compiler_static='-non_shared'
                   9038:       ;;
1.15      paf      9039: 
1.35      moko     9040:     solaris*)
                   9041:       lt_prog_compiler_pic='-KPIC'
                   9042:       lt_prog_compiler_static='-Bstatic'
                   9043:       case $cc_basename in
                   9044:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
                   9045:        lt_prog_compiler_wl='-Qoption ld ';;
                   9046:       *)
                   9047:        lt_prog_compiler_wl='-Wl,';;
                   9048:       esac
                   9049:       ;;
1.15      paf      9050: 
1.35      moko     9051:     sunos4*)
                   9052:       lt_prog_compiler_wl='-Qoption ld '
                   9053:       lt_prog_compiler_pic='-PIC'
                   9054:       lt_prog_compiler_static='-Bstatic'
                   9055:       ;;
1.15      paf      9056: 
1.35      moko     9057:     sysv4 | sysv4.2uw2* | sysv4.3*)
                   9058:       lt_prog_compiler_wl='-Wl,'
                   9059:       lt_prog_compiler_pic='-KPIC'
                   9060:       lt_prog_compiler_static='-Bstatic'
                   9061:       ;;
1.15      paf      9062: 
1.35      moko     9063:     sysv4*MP*)
                   9064:       if test -d /usr/nec ;then
                   9065:        lt_prog_compiler_pic='-Kconform_pic'
                   9066:        lt_prog_compiler_static='-Bstatic'
                   9067:       fi
                   9068:       ;;
1.15      paf      9069: 
1.35      moko     9070:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   9071:       lt_prog_compiler_wl='-Wl,'
                   9072:       lt_prog_compiler_pic='-KPIC'
                   9073:       lt_prog_compiler_static='-Bstatic'
                   9074:       ;;
1.15      paf      9075: 
1.35      moko     9076:     unicos*)
                   9077:       lt_prog_compiler_wl='-Wl,'
                   9078:       lt_prog_compiler_can_build_shared=no
                   9079:       ;;
1.15      paf      9080: 
1.35      moko     9081:     uts4*)
                   9082:       lt_prog_compiler_pic='-pic'
                   9083:       lt_prog_compiler_static='-Bstatic'
                   9084:       ;;
1.15      paf      9085: 
1.35      moko     9086:     *)
                   9087:       lt_prog_compiler_can_build_shared=no
                   9088:       ;;
                   9089:     esac
                   9090:   fi
1.15      paf      9091: 
1.35      moko     9092: case $host_os in
                   9093:   # For platforms which do not support PIC, -DPIC is meaningless:
                   9094:   *djgpp*)
                   9095:     lt_prog_compiler_pic=
                   9096:     ;;
                   9097:   *)
                   9098:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
                   9099:     ;;
                   9100: esac
1.15      paf      9101: 
1.43      moko     9102: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   9103: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
                   9104: if ${lt_cv_prog_compiler_pic+:} false; then :
                   9105:   $as_echo_n "(cached) " >&6
1.35      moko     9106: else
                   9107:   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
                   9108: fi
1.43      moko     9109: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
                   9110: $as_echo "$lt_cv_prog_compiler_pic" >&6; }
1.35      moko     9111: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
1.15      paf      9112: 
1.35      moko     9113: #
                   9114: # Check to make sure the PIC flag actually works.
                   9115: #
                   9116: if test -n "$lt_prog_compiler_pic"; then
1.43      moko     9117:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
                   9118: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
                   9119: if ${lt_cv_prog_compiler_pic_works+:} false; then :
                   9120:   $as_echo_n "(cached) " >&6
1.35      moko     9121: else
                   9122:   lt_cv_prog_compiler_pic_works=no
                   9123:    ac_outfile=conftest.$ac_objext
                   9124:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9125:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
                   9126:    # Insert the option either (1) after the last *FLAGS variable, or
                   9127:    # (2) before a word containing "conftest.", or (3) at the end.
                   9128:    # Note that $ac_compile itself does not contain backslashes and begins
                   9129:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9130:    # The option is referenced via a variable to avoid confusing sed.
                   9131:    lt_compile=`echo "$ac_compile" | $SED \
                   9132:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9133:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9134:    -e 's:$: $lt_compiler_flag:'`
                   9135:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9136:    (eval "$lt_compile" 2>conftest.err)
                   9137:    ac_status=$?
                   9138:    cat conftest.err >&5
                   9139:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9140:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   9141:      # The compiler can only warn and ignore the option if not recognized
                   9142:      # So say no if there are warnings other than the usual output.
                   9143:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   9144:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9145:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   9146:        lt_cv_prog_compiler_pic_works=yes
                   9147:      fi
                   9148:    fi
                   9149:    $RM conftest*
1.15      paf      9150: 
1.35      moko     9151: fi
1.43      moko     9152: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
                   9153: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
1.15      paf      9154: 
1.35      moko     9155: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
                   9156:     case $lt_prog_compiler_pic in
                   9157:      "" | " "*) ;;
                   9158:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
                   9159:      esac
                   9160: else
                   9161:     lt_prog_compiler_pic=
                   9162:      lt_prog_compiler_can_build_shared=no
                   9163: fi
1.15      paf      9164: 
1.35      moko     9165: fi
1.15      paf      9166: 
                   9167: 
                   9168: 
                   9169: 
                   9170: 
                   9171: 
                   9172: 
                   9173: 
                   9174: 
                   9175: 
                   9176: 
1.35      moko     9177: #
                   9178: # Check to make sure the static flag actually works.
                   9179: #
                   9180: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
1.43      moko     9181: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   9182: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   9183: if ${lt_cv_prog_compiler_static_works+:} false; then :
                   9184:   $as_echo_n "(cached) " >&6
1.35      moko     9185: else
                   9186:   lt_cv_prog_compiler_static_works=no
                   9187:    save_LDFLAGS="$LDFLAGS"
                   9188:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   9189:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   9190:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   9191:      # The linker can only warn and ignore the option if not recognized
                   9192:      # So say no if there are warnings
                   9193:      if test -s conftest.err; then
                   9194:        # Append any errors to the config.log.
                   9195:        cat conftest.err 1>&5
                   9196:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   9197:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9198:        if diff conftest.exp conftest.er2 >/dev/null; then
                   9199:          lt_cv_prog_compiler_static_works=yes
                   9200:        fi
                   9201:      else
                   9202:        lt_cv_prog_compiler_static_works=yes
                   9203:      fi
                   9204:    fi
                   9205:    $RM -r conftest*
                   9206:    LDFLAGS="$save_LDFLAGS"
1.15      paf      9207: 
1.35      moko     9208: fi
1.43      moko     9209: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
                   9210: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
1.15      paf      9211: 
1.35      moko     9212: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
                   9213:     :
                   9214: else
                   9215:     lt_prog_compiler_static=
                   9216: fi
1.15      paf      9217: 
                   9218: 
                   9219: 
                   9220: 
                   9221: 
                   9222: 
                   9223: 
1.43      moko     9224:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   9225: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   9226: if ${lt_cv_prog_compiler_c_o+:} false; then :
                   9227:   $as_echo_n "(cached) " >&6
1.35      moko     9228: else
                   9229:   lt_cv_prog_compiler_c_o=no
                   9230:    $RM -r conftest 2>/dev/null
                   9231:    mkdir conftest
                   9232:    cd conftest
                   9233:    mkdir out
                   9234:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9235: 
                   9236:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   9237:    # Insert the option either (1) after the last *FLAGS variable, or
                   9238:    # (2) before a word containing "conftest.", or (3) at the end.
                   9239:    # Note that $ac_compile itself does not contain backslashes and begins
                   9240:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9241:    lt_compile=`echo "$ac_compile" | $SED \
                   9242:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9243:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9244:    -e 's:$: $lt_compiler_flag:'`
                   9245:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9246:    (eval "$lt_compile" 2>out/conftest.err)
                   9247:    ac_status=$?
                   9248:    cat out/conftest.err >&5
                   9249:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9250:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   9251:    then
                   9252:      # The compiler can only warn and ignore the option if not recognized
                   9253:      # So say no if there are warnings
                   9254:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   9255:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   9256:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   9257:        lt_cv_prog_compiler_c_o=yes
                   9258:      fi
                   9259:    fi
                   9260:    chmod u+w . 2>&5
                   9261:    $RM conftest*
                   9262:    # SGI C++ compiler will create directory out/ii_files/ for
                   9263:    # template instantiation
                   9264:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   9265:    $RM out/* && rmdir out
                   9266:    cd ..
                   9267:    $RM -r conftest
                   9268:    $RM conftest*
1.15      paf      9269: 
1.35      moko     9270: fi
1.43      moko     9271: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   9272: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
1.15      paf      9273: 
                   9274: 
                   9275: 
                   9276: 
                   9277: 
                   9278: 
1.43      moko     9279:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   9280: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   9281: if ${lt_cv_prog_compiler_c_o+:} false; then :
                   9282:   $as_echo_n "(cached) " >&6
1.35      moko     9283: else
                   9284:   lt_cv_prog_compiler_c_o=no
                   9285:    $RM -r conftest 2>/dev/null
                   9286:    mkdir conftest
                   9287:    cd conftest
                   9288:    mkdir out
                   9289:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9290: 
                   9291:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   9292:    # Insert the option either (1) after the last *FLAGS variable, or
                   9293:    # (2) before a word containing "conftest.", or (3) at the end.
                   9294:    # Note that $ac_compile itself does not contain backslashes and begins
                   9295:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9296:    lt_compile=`echo "$ac_compile" | $SED \
                   9297:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9298:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9299:    -e 's:$: $lt_compiler_flag:'`
                   9300:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9301:    (eval "$lt_compile" 2>out/conftest.err)
                   9302:    ac_status=$?
                   9303:    cat out/conftest.err >&5
                   9304:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9305:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   9306:    then
                   9307:      # The compiler can only warn and ignore the option if not recognized
                   9308:      # So say no if there are warnings
                   9309:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   9310:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   9311:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   9312:        lt_cv_prog_compiler_c_o=yes
                   9313:      fi
                   9314:    fi
                   9315:    chmod u+w . 2>&5
                   9316:    $RM conftest*
                   9317:    # SGI C++ compiler will create directory out/ii_files/ for
                   9318:    # template instantiation
                   9319:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   9320:    $RM out/* && rmdir out
                   9321:    cd ..
                   9322:    $RM -r conftest
                   9323:    $RM conftest*
1.15      paf      9324: 
1.35      moko     9325: fi
1.43      moko     9326: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   9327: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
1.15      paf      9328: 
                   9329: 
                   9330: 
                   9331: 
1.35      moko     9332: hard_links="nottested"
                   9333: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
                   9334:   # do not overwrite the value of need_locks provided by the user
1.43      moko     9335:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   9336: $as_echo_n "checking if we can lock with hard links... " >&6; }
1.35      moko     9337:   hard_links=yes
                   9338:   $RM conftest*
                   9339:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   9340:   touch conftest.a
                   9341:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   9342:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.43      moko     9343:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   9344: $as_echo "$hard_links" >&6; }
1.35      moko     9345:   if test "$hard_links" = no; then
1.43      moko     9346:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   9347: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.35      moko     9348:     need_locks=warn
                   9349:   fi
                   9350: else
                   9351:   need_locks=no
                   9352: fi
1.15      paf      9353: 
                   9354: 
                   9355: 
                   9356: 
                   9357: 
                   9358: 
1.43      moko     9359:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   9360: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.15      paf      9361: 
1.35      moko     9362:   runpath_var=
                   9363:   allow_undefined_flag=
                   9364:   always_export_symbols=no
                   9365:   archive_cmds=
                   9366:   archive_expsym_cmds=
                   9367:   compiler_needs_object=no
                   9368:   enable_shared_with_static_runtimes=no
                   9369:   export_dynamic_flag_spec=
                   9370:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   9371:   hardcode_automatic=no
                   9372:   hardcode_direct=no
                   9373:   hardcode_direct_absolute=no
                   9374:   hardcode_libdir_flag_spec=
                   9375:   hardcode_libdir_separator=
                   9376:   hardcode_minus_L=no
                   9377:   hardcode_shlibpath_var=unsupported
                   9378:   inherit_rpath=no
                   9379:   link_all_deplibs=unknown
                   9380:   module_cmds=
                   9381:   module_expsym_cmds=
                   9382:   old_archive_from_new_cmds=
                   9383:   old_archive_from_expsyms_cmds=
                   9384:   thread_safe_flag_spec=
                   9385:   whole_archive_flag_spec=
                   9386:   # include_expsyms should be a list of space-separated symbols to be *always*
                   9387:   # included in the symbol list
                   9388:   include_expsyms=
                   9389:   # exclude_expsyms can be an extended regexp of symbols to exclude
                   9390:   # it will be wrapped by ` (' and `)$', so one must not match beginning or
                   9391:   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
                   9392:   # as well as any symbol that contains `d'.
                   9393:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   9394:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   9395:   # platforms (ab)use it in PIC code, but their linkers get confused if
                   9396:   # the symbol is explicitly referenced.  Since portable code cannot
                   9397:   # rely on this symbol name, it's probably fine to never include it in
                   9398:   # preloaded symbol tables.
                   9399:   # Exclude shared library initialization/finalization symbols.
                   9400:   extract_expsyms_cmds=
1.15      paf      9401: 
                   9402:   case $host_os in
1.35      moko     9403:   cygwin* | mingw* | pw32* | cegcc*)
                   9404:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
                   9405:     # When not using gcc, we currently assume that we are using
                   9406:     # Microsoft Visual C++.
                   9407:     if test "$GCC" != yes; then
                   9408:       with_gnu_ld=no
                   9409:     fi
                   9410:     ;;
                   9411:   interix*)
                   9412:     # we just hope/assume this is gcc and not c89 (= MSVC++)
                   9413:     with_gnu_ld=yes
                   9414:     ;;
                   9415:   openbsd*)
                   9416:     with_gnu_ld=no
1.15      paf      9417:     ;;
                   9418:   esac
                   9419: 
1.35      moko     9420:   ld_shlibs=yes
1.15      paf      9421: 
1.35      moko     9422:   # On some targets, GNU ld is compatible enough with the native linker
                   9423:   # that we're better off using the native interface for both.
                   9424:   lt_use_gnu_ld_interface=no
                   9425:   if test "$with_gnu_ld" = yes; then
                   9426:     case $host_os in
                   9427:       aix*)
                   9428:        # The AIX port of GNU ld has always aspired to compatibility
                   9429:        # with the native linker.  However, as the warning in the GNU ld
                   9430:        # block says, versions before 2.19.5* couldn't really create working
                   9431:        # shared libraries, regardless of the interface used.
                   9432:        case `$LD -v 2>&1` in
                   9433:          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
                   9434:          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
                   9435:          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
                   9436:          *)
                   9437:            lt_use_gnu_ld_interface=yes
                   9438:            ;;
                   9439:        esac
                   9440:        ;;
                   9441:       *)
                   9442:        lt_use_gnu_ld_interface=yes
                   9443:        ;;
                   9444:     esac
                   9445:   fi
1.15      paf      9446: 
1.35      moko     9447:   if test "$lt_use_gnu_ld_interface" = yes; then
                   9448:     # If archive_cmds runs LD, not CC, wlarc should be empty
                   9449:     wlarc='${wl}'
                   9450: 
                   9451:     # Set some defaults for GNU ld with shared library support. These
                   9452:     # are reset later if shared libraries are not supported. Putting them
                   9453:     # here allows them to be overridden if necessary.
                   9454:     runpath_var=LD_RUN_PATH
                   9455:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9456:     export_dynamic_flag_spec='${wl}--export-dynamic'
                   9457:     # ancient GNU ld didn't support --whole-archive et. al.
                   9458:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
                   9459:       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   9460:     else
                   9461:       whole_archive_flag_spec=
                   9462:     fi
                   9463:     supports_anon_versioning=no
                   9464:     case `$LD -v 2>&1` in
                   9465:       *GNU\ gold*) supports_anon_versioning=yes ;;
                   9466:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
                   9467:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
                   9468:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
                   9469:       *\ 2.11.*) ;; # other 2.11 versions
                   9470:       *) supports_anon_versioning=yes ;;
                   9471:     esac
1.15      paf      9472: 
1.35      moko     9473:     # See if GNU ld supports shared libraries.
                   9474:     case $host_os in
                   9475:     aix[3-9]*)
                   9476:       # On AIX/PPC, the GNU linker is very broken
                   9477:       if test "$host_cpu" != ia64; then
                   9478:        ld_shlibs=no
                   9479:        cat <<_LT_EOF 1>&2
1.15      paf      9480: 
1.35      moko     9481: *** Warning: the GNU linker, at least up to release 2.19, is reported
                   9482: *** to be unable to reliably create shared libraries on AIX.
                   9483: *** Therefore, libtool is disabling shared libraries support.  If you
                   9484: *** really care for shared libraries, you may want to install binutils
                   9485: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
                   9486: *** You will then need to restart the configuration process.
1.15      paf      9487: 
1.35      moko     9488: _LT_EOF
                   9489:       fi
                   9490:       ;;
1.15      paf      9491: 
1.35      moko     9492:     amigaos*)
                   9493:       case $host_cpu in
                   9494:       powerpc)
                   9495:             # see comment about AmigaOS4 .so support
                   9496:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9497:             archive_expsym_cmds=''
                   9498:         ;;
                   9499:       m68k)
                   9500:             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)'
                   9501:             hardcode_libdir_flag_spec='-L$libdir'
                   9502:             hardcode_minus_L=yes
                   9503:         ;;
                   9504:       esac
                   9505:       ;;
1.15      paf      9506: 
1.35      moko     9507:     beos*)
                   9508:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   9509:        allow_undefined_flag=unsupported
                   9510:        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   9511:        # support --undefined.  This deserves some investigation.  FIXME
                   9512:        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9513:       else
                   9514:        ld_shlibs=no
                   9515:       fi
                   9516:       ;;
1.15      paf      9517: 
1.35      moko     9518:     cygwin* | mingw* | pw32* | cegcc*)
                   9519:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
                   9520:       # as there is no search path for DLLs.
                   9521:       hardcode_libdir_flag_spec='-L$libdir'
                   9522:       export_dynamic_flag_spec='${wl}--export-all-symbols'
                   9523:       allow_undefined_flag=unsupported
                   9524:       always_export_symbols=no
                   9525:       enable_shared_with_static_runtimes=yes
                   9526:       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'
                   9527:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   9528: 
                   9529:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   9530:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   9531:        # If the export-symbols file already is a .def file (1st line
                   9532:        # is EXPORTS), use it as is; otherwise, prepend...
                   9533:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   9534:          cp $export_symbols $output_objdir/$soname.def;
                   9535:        else
                   9536:          echo EXPORTS > $output_objdir/$soname.def;
                   9537:          cat $export_symbols >> $output_objdir/$soname.def;
                   9538:        fi~
                   9539:        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   9540:       else
                   9541:        ld_shlibs=no
                   9542:       fi
                   9543:       ;;
1.15      paf      9544: 
1.35      moko     9545:     haiku*)
                   9546:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9547:       link_all_deplibs=yes
                   9548:       ;;
1.15      paf      9549: 
1.35      moko     9550:     interix[3-9]*)
                   9551:       hardcode_direct=no
                   9552:       hardcode_shlibpath_var=no
                   9553:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   9554:       export_dynamic_flag_spec='${wl}-E'
                   9555:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   9556:       # Instead, shared libraries are loaded at an image base (0x10000000 by
                   9557:       # default) and relocated if they conflict, which is a slow very memory
                   9558:       # consuming and fragmenting process.  To avoid this, we pick a random,
                   9559:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   9560:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   9561:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   9562:       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'
                   9563:       ;;
1.15      paf      9564: 
1.35      moko     9565:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
                   9566:       tmp_diet=no
                   9567:       if test "$host_os" = linux-dietlibc; then
                   9568:        case $cc_basename in
                   9569:          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
                   9570:        esac
                   9571:       fi
                   9572:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
                   9573:         && test "$tmp_diet" = no
                   9574:       then
                   9575:        tmp_addflag=' $pic_flag'
                   9576:        tmp_sharedflag='-shared'
                   9577:        case $cc_basename,$host_cpu in
                   9578:         pgcc*)                         # Portland Group C compiler
                   9579:          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'
                   9580:          tmp_addflag=' $pic_flag'
                   9581:          ;;
                   9582:        pgf77* | pgf90* | pgf95* | pgfortran*)
                   9583:                                        # Portland Group f77 and f90 compilers
                   9584:          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'
                   9585:          tmp_addflag=' $pic_flag -Mnomain' ;;
                   9586:        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
                   9587:          tmp_addflag=' -i_dynamic' ;;
                   9588:        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
                   9589:          tmp_addflag=' -i_dynamic -nofor_main' ;;
                   9590:        ifc* | ifort*)                  # Intel Fortran compiler
                   9591:          tmp_addflag=' -nofor_main' ;;
                   9592:        lf95*)                          # Lahey Fortran 8.1
                   9593:          whole_archive_flag_spec=
                   9594:          tmp_sharedflag='--shared' ;;
                   9595:        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
                   9596:          tmp_sharedflag='-qmkshrobj'
                   9597:          tmp_addflag= ;;
                   9598:        nvcc*)  # Cuda Compiler Driver 2.2
                   9599:          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'
                   9600:          compiler_needs_object=yes
                   9601:          ;;
                   9602:        esac
                   9603:        case `$CC -V 2>&1 | sed 5q` in
                   9604:        *Sun\ C*)                       # Sun C 5.9
                   9605:          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'
                   9606:          compiler_needs_object=yes
                   9607:          tmp_sharedflag='-G' ;;
                   9608:        *Sun\ F*)                       # Sun Fortran 8.3
                   9609:          tmp_sharedflag='-G' ;;
                   9610:        esac
                   9611:        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.15      paf      9612: 
1.35      moko     9613:         if test "x$supports_anon_versioning" = xyes; then
                   9614:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   9615:            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   9616:            echo "local: *; };" >> $output_objdir/$libname.ver~
                   9617:            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   9618:         fi
                   9619: 
                   9620:        case $cc_basename in
                   9621:        xlf* | bgf* | bgxlf* | mpixlf*)
                   9622:          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
                   9623:          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
                   9624:          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9625:          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
                   9626:          if test "x$supports_anon_versioning" = xyes; then
                   9627:            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   9628:              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   9629:              echo "local: *; };" >> $output_objdir/$libname.ver~
                   9630:              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
                   9631:          fi
                   9632:          ;;
                   9633:        esac
                   9634:       else
                   9635:         ld_shlibs=no
                   9636:       fi
                   9637:       ;;
1.15      paf      9638: 
1.35      moko     9639:     netbsd*)
                   9640:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   9641:        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   9642:        wlarc=
                   9643:       else
                   9644:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9645:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   9646:       fi
                   9647:       ;;
1.15      paf      9648: 
1.35      moko     9649:     solaris*)
                   9650:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
                   9651:        ld_shlibs=no
                   9652:        cat <<_LT_EOF 1>&2
1.15      paf      9653: 
1.35      moko     9654: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   9655: *** create shared libraries on Solaris systems.  Therefore, libtool
                   9656: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   9657: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   9658: *** your PATH or compiler configuration so that the native linker is
                   9659: *** used, and then restart.
1.15      paf      9660: 
1.35      moko     9661: _LT_EOF
                   9662:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   9663:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9664:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   9665:       else
                   9666:        ld_shlibs=no
                   9667:       fi
                   9668:       ;;
1.15      paf      9669: 
1.35      moko     9670:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
                   9671:       case `$LD -v 2>&1` in
                   9672:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
                   9673:        ld_shlibs=no
                   9674:        cat <<_LT_EOF 1>&2
1.31      misha    9675: 
1.35      moko     9676: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
                   9677: *** reliably create shared libraries on SCO systems.  Therefore, libtool
                   9678: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   9679: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
                   9680: *** your PATH or compiler configuration so that the native linker is
                   9681: *** used, and then restart.
1.31      misha    9682: 
1.35      moko     9683: _LT_EOF
                   9684:        ;;
                   9685:        *)
                   9686:          # For security reasons, it is highly recommended that you always
                   9687:          # use absolute paths for naming shared libraries, and exclude the
                   9688:          # DT_RUNPATH tag from executables and libraries.  But doing so
                   9689:          # requires that you compile everything twice, which is a pain.
                   9690:          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   9691:            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9692:            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9693:            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   9694:          else
                   9695:            ld_shlibs=no
                   9696:          fi
                   9697:        ;;
                   9698:       esac
                   9699:       ;;
1.31      misha    9700: 
1.35      moko     9701:     sunos4*)
                   9702:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   9703:       wlarc=
                   9704:       hardcode_direct=yes
                   9705:       hardcode_shlibpath_var=no
                   9706:       ;;
1.15      paf      9707: 
1.35      moko     9708:     *)
                   9709:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   9710:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9711:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   9712:       else
                   9713:        ld_shlibs=no
                   9714:       fi
                   9715:       ;;
                   9716:     esac
1.15      paf      9717: 
1.35      moko     9718:     if test "$ld_shlibs" = no; then
                   9719:       runpath_var=
                   9720:       hardcode_libdir_flag_spec=
                   9721:       export_dynamic_flag_spec=
                   9722:       whole_archive_flag_spec=
                   9723:     fi
                   9724:   else
                   9725:     # PORTME fill in a description of your system's linker (not GNU ld)
                   9726:     case $host_os in
                   9727:     aix3*)
                   9728:       allow_undefined_flag=unsupported
                   9729:       always_export_symbols=yes
                   9730:       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'
                   9731:       # Note: this linker hardcodes the directories in LIBPATH if there
                   9732:       # are no directories specified by -L.
                   9733:       hardcode_minus_L=yes
                   9734:       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
                   9735:        # Neither direct hardcoding nor static linking is supported with a
                   9736:        # broken collect2.
                   9737:        hardcode_direct=unsupported
                   9738:       fi
                   9739:       ;;
1.15      paf      9740: 
1.35      moko     9741:     aix[4-9]*)
                   9742:       if test "$host_cpu" = ia64; then
                   9743:        # On IA64, the linker does run time linking by default, so we don't
                   9744:        # have to do anything special.
                   9745:        aix_use_runtimelinking=no
                   9746:        exp_sym_flag='-Bexport'
                   9747:        no_entry_flag=""
                   9748:       else
                   9749:        # If we're using GNU nm, then we don't want the "-C" option.
                   9750:        # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   9751:        # Also, AIX nm treats weak defined symbols like other global
                   9752:        # defined symbols, whereas GNU nm marks them as "W".
                   9753:        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   9754:          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'
                   9755:        else
                   9756:          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'
                   9757:        fi
                   9758:        aix_use_runtimelinking=no
1.15      paf      9759: 
1.35      moko     9760:        # Test if we are trying to use run time linking or normal
                   9761:        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   9762:        # need to do runtime linking.
                   9763:        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   9764:          for ld_flag in $LDFLAGS; do
                   9765:          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
                   9766:            aix_use_runtimelinking=yes
                   9767:            break
                   9768:          fi
                   9769:          done
                   9770:          ;;
                   9771:        esac
1.15      paf      9772: 
1.35      moko     9773:        exp_sym_flag='-bexport'
                   9774:        no_entry_flag='-bnoentry'
                   9775:       fi
1.23      paf      9776: 
1.35      moko     9777:       # When large executables or shared objects are built, AIX ld can
                   9778:       # have problems creating the table of contents.  If linking a library
                   9779:       # or program results in "error TOC overflow" add -mminimal-toc to
                   9780:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   9781:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   9782: 
                   9783:       archive_cmds=''
                   9784:       hardcode_direct=yes
                   9785:       hardcode_direct_absolute=yes
                   9786:       hardcode_libdir_separator=':'
                   9787:       link_all_deplibs=yes
                   9788:       file_list_spec='${wl}-f,'
                   9789: 
                   9790:       if test "$GCC" = yes; then
                   9791:        case $host_os in aix4.[012]|aix4.[012].*)
                   9792:        # We only want to do this on AIX 4.2 and lower, the check
                   9793:        # below for broken collect2 doesn't work under 4.3+
                   9794:          collect2name=`${CC} -print-prog-name=collect2`
                   9795:          if test -f "$collect2name" &&
                   9796:           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   9797:          then
                   9798:          # We have reworked collect2
                   9799:          :
                   9800:          else
                   9801:          # We have old collect2
                   9802:          hardcode_direct=unsupported
                   9803:          # It fails to find uninstalled libraries when the uninstalled
                   9804:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   9805:          # to unsupported forces relinking
                   9806:          hardcode_minus_L=yes
                   9807:          hardcode_libdir_flag_spec='-L$libdir'
                   9808:          hardcode_libdir_separator=
                   9809:          fi
                   9810:          ;;
                   9811:        esac
                   9812:        shared_flag='-shared'
                   9813:        if test "$aix_use_runtimelinking" = yes; then
                   9814:          shared_flag="$shared_flag "'${wl}-G'
                   9815:        fi
                   9816:       else
                   9817:        # not using gcc
                   9818:        if test "$host_cpu" = ia64; then
                   9819:        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   9820:        # chokes on -Wl,-G. The following line is correct:
                   9821:          shared_flag='-G'
                   9822:        else
                   9823:          if test "$aix_use_runtimelinking" = yes; then
                   9824:            shared_flag='${wl}-G'
                   9825:          else
                   9826:            shared_flag='${wl}-bM:SRE'
                   9827:          fi
                   9828:        fi
                   9829:       fi
1.15      paf      9830: 
1.35      moko     9831:       export_dynamic_flag_spec='${wl}-bexpall'
                   9832:       # It seems that -bexpall does not export symbols beginning with
                   9833:       # underscore (_), so it is better to generate a list of symbols to export.
                   9834:       always_export_symbols=yes
                   9835:       if test "$aix_use_runtimelinking" = yes; then
                   9836:        # Warning - without using the other runtime loading flags (-brtl),
                   9837:        # -berok will link without error, but may produce a broken library.
                   9838:        allow_undefined_flag='-berok'
                   9839:         # Determine the default libpath from the value encoded in an
                   9840:         # empty executable.
                   9841:         if test "${lt_cv_aix_libpath+set}" = set; then
                   9842:   aix_libpath=$lt_cv_aix_libpath
                   9843: else
1.43      moko     9844:   if ${lt_cv_aix_libpath_+:} false; then :
                   9845:   $as_echo_n "(cached) " >&6
1.15      paf      9846: else
1.43      moko     9847:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.15      paf      9848: /* end confdefs.h.  */
1.35      moko     9849: 
                   9850: int
                   9851: main ()
                   9852: {
                   9853: 
                   9854:   ;
                   9855:   return 0;
                   9856: }
1.15      paf      9857: _ACEOF
1.43      moko     9858: if ac_fn_c_try_link "$LINENO"; then :
1.35      moko     9859: 
                   9860:   lt_aix_libpath_sed='
                   9861:       /Import File Strings/,/^$/ {
                   9862:          /^0/ {
                   9863:              s/^0  *\([^ ]*\) *$/\1/
                   9864:              p
                   9865:          }
                   9866:       }'
                   9867:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9868:   # Check for a 64-bit object if we didn't find anything.
                   9869:   if test -z "$lt_cv_aix_libpath_"; then
                   9870:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9871:   fi
1.15      paf      9872: fi
1.43      moko     9873: rm -f core conftest.err conftest.$ac_objext \
                   9874:     conftest$ac_exeext conftest.$ac_ext
1.35      moko     9875:   if test -z "$lt_cv_aix_libpath_"; then
                   9876:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   9877:   fi
                   9878: 
                   9879: fi
                   9880: 
                   9881:   aix_libpath=$lt_cv_aix_libpath_
                   9882: fi
1.15      paf      9883: 
1.35      moko     9884:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   9885:         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"
                   9886:       else
                   9887:        if test "$host_cpu" = ia64; then
                   9888:          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
                   9889:          allow_undefined_flag="-z nodefs"
                   9890:          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"
                   9891:        else
                   9892:         # Determine the default libpath from the value encoded in an
                   9893:         # empty executable.
                   9894:         if test "${lt_cv_aix_libpath+set}" = set; then
                   9895:   aix_libpath=$lt_cv_aix_libpath
                   9896: else
1.43      moko     9897:   if ${lt_cv_aix_libpath_+:} false; then :
                   9898:   $as_echo_n "(cached) " >&6
1.35      moko     9899: else
1.43      moko     9900:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.15      paf      9901: /* end confdefs.h.  */
1.35      moko     9902: 
                   9903: int
                   9904: main ()
                   9905: {
                   9906: 
                   9907:   ;
                   9908:   return 0;
                   9909: }
1.15      paf      9910: _ACEOF
1.43      moko     9911: if ac_fn_c_try_link "$LINENO"; then :
1.35      moko     9912: 
                   9913:   lt_aix_libpath_sed='
                   9914:       /Import File Strings/,/^$/ {
                   9915:          /^0/ {
                   9916:              s/^0  *\([^ ]*\) *$/\1/
                   9917:              p
                   9918:          }
                   9919:       }'
                   9920:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9921:   # Check for a 64-bit object if we didn't find anything.
                   9922:   if test -z "$lt_cv_aix_libpath_"; then
                   9923:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
1.15      paf      9924:   fi
                   9925: fi
1.43      moko     9926: rm -f core conftest.err conftest.$ac_objext \
                   9927:     conftest$ac_exeext conftest.$ac_ext
1.35      moko     9928:   if test -z "$lt_cv_aix_libpath_"; then
                   9929:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   9930:   fi
                   9931: 
                   9932: fi
                   9933: 
                   9934:   aix_libpath=$lt_cv_aix_libpath_
                   9935: fi
                   9936: 
                   9937:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   9938:          # Warning - without using the other run time loading flags,
                   9939:          # -berok will link without error, but may produce a broken library.
                   9940:          no_undefined_flag=' ${wl}-bernotok'
                   9941:          allow_undefined_flag=' ${wl}-berok'
                   9942:          if test "$with_gnu_ld" = yes; then
                   9943:            # We only use this code for GNU lds that support --whole-archive.
                   9944:            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   9945:          else
                   9946:            # Exported symbols can be pulled into shared objects from archives
                   9947:            whole_archive_flag_spec='$convenience'
                   9948:          fi
                   9949:          archive_cmds_need_lc=yes
                   9950:          # This is similar to how AIX traditionally builds its shared libraries.
                   9951:          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'
                   9952:        fi
                   9953:       fi
                   9954:       ;;
                   9955: 
                   9956:     amigaos*)
                   9957:       case $host_cpu in
                   9958:       powerpc)
                   9959:             # see comment about AmigaOS4 .so support
                   9960:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9961:             archive_expsym_cmds=''
                   9962:         ;;
                   9963:       m68k)
                   9964:             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)'
                   9965:             hardcode_libdir_flag_spec='-L$libdir'
                   9966:             hardcode_minus_L=yes
                   9967:         ;;
                   9968:       esac
                   9969:       ;;
                   9970: 
                   9971:     bsdi[45]*)
                   9972:       export_dynamic_flag_spec=-rdynamic
                   9973:       ;;
                   9974: 
                   9975:     cygwin* | mingw* | pw32* | cegcc*)
                   9976:       # When not using gcc, we currently assume that we are using
                   9977:       # Microsoft Visual C++.
                   9978:       # hardcode_libdir_flag_spec is actually meaningless, as there is
                   9979:       # no search path for DLLs.
                   9980:       case $cc_basename in
                   9981:       cl*)
                   9982:        # Native MSVC
                   9983:        hardcode_libdir_flag_spec=' '
                   9984:        allow_undefined_flag=unsupported
                   9985:        always_export_symbols=yes
                   9986:        file_list_spec='@'
                   9987:        # Tell ltmain to make .lib files, not .a files.
                   9988:        libext=lib
                   9989:        # Tell ltmain to make .dll files, not .so files.
                   9990:        shrext_cmds=".dll"
                   9991:        # FIXME: Setting linknames here is a bad hack.
                   9992:        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   9993:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   9994:            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   9995:          else
                   9996:            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   9997:          fi~
                   9998:          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   9999:          linknames='
                   10000:        # The linker will not automatically build a static lib if we build a DLL.
                   10001:        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
                   10002:        enable_shared_with_static_runtimes=yes
                   10003:        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   10004:        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
                   10005:        # Don't use ranlib
                   10006:        old_postinstall_cmds='chmod 644 $oldlib'
                   10007:        postlink_cmds='lt_outputfile="@OUTPUT@"~
                   10008:          lt_tool_outputfile="@TOOL_OUTPUT@"~
                   10009:          case $lt_outputfile in
                   10010:            *.exe|*.EXE) ;;
                   10011:            *)
                   10012:              lt_outputfile="$lt_outputfile.exe"
                   10013:              lt_tool_outputfile="$lt_tool_outputfile.exe"
                   10014:              ;;
                   10015:          esac~
                   10016:          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   10017:            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   10018:            $RM "$lt_outputfile.manifest";
                   10019:          fi'
                   10020:        ;;
                   10021:       *)
                   10022:        # Assume MSVC wrapper
                   10023:        hardcode_libdir_flag_spec=' '
                   10024:        allow_undefined_flag=unsupported
                   10025:        # Tell ltmain to make .lib files, not .a files.
                   10026:        libext=lib
                   10027:        # Tell ltmain to make .dll files, not .so files.
                   10028:        shrext_cmds=".dll"
                   10029:        # FIXME: Setting linknames here is a bad hack.
                   10030:        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
                   10031:        # The linker will automatically build a .lib file if we build a DLL.
                   10032:        old_archive_from_new_cmds='true'
                   10033:        # FIXME: Should let the user specify the lib program.
                   10034:        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
                   10035:        enable_shared_with_static_runtimes=yes
                   10036:        ;;
                   10037:       esac
                   10038:       ;;
                   10039: 
                   10040:     darwin* | rhapsody*)
                   10041: 
                   10042: 
                   10043:   archive_cmds_need_lc=no
                   10044:   hardcode_direct=no
                   10045:   hardcode_automatic=yes
                   10046:   hardcode_shlibpath_var=unsupported
                   10047:   if test "$lt_cv_ld_force_load" = "yes"; then
                   10048:     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\"`'
                   10049: 
                   10050:   else
                   10051:     whole_archive_flag_spec=''
                   10052:   fi
                   10053:   link_all_deplibs=yes
                   10054:   allow_undefined_flag="$_lt_dar_allow_undefined"
                   10055:   case $cc_basename in
                   10056:      ifort*) _lt_dar_can_shared=yes ;;
                   10057:      *) _lt_dar_can_shared=$GCC ;;
                   10058:   esac
                   10059:   if test "$_lt_dar_can_shared" = "yes"; then
                   10060:     output_verbose_link_cmd=func_echo_all
                   10061:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
                   10062:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   10063:     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}"
                   10064:     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}"
                   10065: 
                   10066:   else
                   10067:   ld_shlibs=no
                   10068:   fi
                   10069: 
                   10070:       ;;
                   10071: 
                   10072:     dgux*)
                   10073:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10074:       hardcode_libdir_flag_spec='-L$libdir'
                   10075:       hardcode_shlibpath_var=no
                   10076:       ;;
                   10077: 
                   10078:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   10079:     # support.  Future versions do this automatically, but an explicit c++rt0.o
                   10080:     # does not break anything, and helps significantly (at the cost of a little
                   10081:     # extra space).
                   10082:     freebsd2.2*)
                   10083:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   10084:       hardcode_libdir_flag_spec='-R$libdir'
                   10085:       hardcode_direct=yes
                   10086:       hardcode_shlibpath_var=no
                   10087:       ;;
                   10088: 
                   10089:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
                   10090:     freebsd2.*)
                   10091:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   10092:       hardcode_direct=yes
                   10093:       hardcode_minus_L=yes
                   10094:       hardcode_shlibpath_var=no
                   10095:       ;;
                   10096: 
                   10097:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
                   10098:     freebsd* | dragonfly*)
                   10099:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   10100:       hardcode_libdir_flag_spec='-R$libdir'
                   10101:       hardcode_direct=yes
                   10102:       hardcode_shlibpath_var=no
                   10103:       ;;
                   10104: 
                   10105:     hpux9*)
                   10106:       if test "$GCC" = yes; then
                   10107:        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'
                   10108:       else
                   10109:        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'
                   10110:       fi
                   10111:       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   10112:       hardcode_libdir_separator=:
                   10113:       hardcode_direct=yes
                   10114: 
                   10115:       # hardcode_minus_L: Not really in the search PATH,
                   10116:       # but as the default location of the library.
                   10117:       hardcode_minus_L=yes
                   10118:       export_dynamic_flag_spec='${wl}-E'
                   10119:       ;;
                   10120: 
                   10121:     hpux10*)
                   10122:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   10123:        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   10124:       else
                   10125:        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   10126:       fi
                   10127:       if test "$with_gnu_ld" = no; then
                   10128:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   10129:        hardcode_libdir_separator=:
                   10130:        hardcode_direct=yes
                   10131:        hardcode_direct_absolute=yes
                   10132:        export_dynamic_flag_spec='${wl}-E'
                   10133:        # hardcode_minus_L: Not really in the search PATH,
                   10134:        # but as the default location of the library.
                   10135:        hardcode_minus_L=yes
                   10136:       fi
                   10137:       ;;
                   10138: 
                   10139:     hpux11*)
                   10140:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   10141:        case $host_cpu in
                   10142:        hppa*64*)
                   10143:          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10144:          ;;
                   10145:        ia64*)
                   10146:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   10147:          ;;
                   10148:        *)
                   10149:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   10150:          ;;
                   10151:        esac
                   10152:       else
                   10153:        case $host_cpu in
                   10154:        hppa*64*)
                   10155:          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10156:          ;;
                   10157:        ia64*)
                   10158:          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   10159:          ;;
                   10160:        *)
1.15      paf      10161: 
1.35      moko     10162:          # Older versions of the 11.00 compiler do not understand -b yet
                   10163:          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
1.43      moko     10164:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
                   10165: $as_echo_n "checking if $CC understands -b... " >&6; }
                   10166: if ${lt_cv_prog_compiler__b+:} false; then :
                   10167:   $as_echo_n "(cached) " >&6
1.15      paf      10168: else
1.35      moko     10169:   lt_cv_prog_compiler__b=no
                   10170:    save_LDFLAGS="$LDFLAGS"
                   10171:    LDFLAGS="$LDFLAGS -b"
                   10172:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   10173:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   10174:      # The linker can only warn and ignore the option if not recognized
                   10175:      # So say no if there are warnings
                   10176:      if test -s conftest.err; then
                   10177:        # Append any errors to the config.log.
                   10178:        cat conftest.err 1>&5
                   10179:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   10180:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   10181:        if diff conftest.exp conftest.er2 >/dev/null; then
                   10182:          lt_cv_prog_compiler__b=yes
                   10183:        fi
                   10184:      else
                   10185:        lt_cv_prog_compiler__b=yes
                   10186:      fi
                   10187:    fi
                   10188:    $RM -r conftest*
                   10189:    LDFLAGS="$save_LDFLAGS"
1.15      paf      10190: 
1.1       parser   10191: fi
1.43      moko     10192: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
                   10193: $as_echo "$lt_cv_prog_compiler__b" >&6; }
1.1       parser   10194: 
1.35      moko     10195: if test x"$lt_cv_prog_compiler__b" = xyes; then
                   10196:     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   10197: else
                   10198:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
1.1       parser   10199: fi
                   10200: 
1.35      moko     10201:          ;;
                   10202:        esac
                   10203:       fi
                   10204:       if test "$with_gnu_ld" = no; then
                   10205:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   10206:        hardcode_libdir_separator=:
                   10207: 
                   10208:        case $host_cpu in
                   10209:        hppa*64*|ia64*)
                   10210:          hardcode_direct=no
                   10211:          hardcode_shlibpath_var=no
                   10212:          ;;
                   10213:        *)
                   10214:          hardcode_direct=yes
                   10215:          hardcode_direct_absolute=yes
                   10216:          export_dynamic_flag_spec='${wl}-E'
1.15      paf      10217: 
1.35      moko     10218:          # hardcode_minus_L: Not really in the search PATH,
                   10219:          # but as the default location of the library.
                   10220:          hardcode_minus_L=yes
                   10221:          ;;
                   10222:        esac
                   10223:       fi
                   10224:       ;;
1.1       parser   10225: 
1.35      moko     10226:     irix5* | irix6* | nonstopux*)
                   10227:       if test "$GCC" = yes; then
                   10228:        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'
                   10229:        # Try to use the -exported_symbol ld option, if it does not
                   10230:        # work, assume that -exports_file does not work either and
                   10231:        # implicitly export all symbols.
                   10232:        # This should be the same for all languages, so no per-tag cache variable.
1.43      moko     10233:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
                   10234: $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
                   10235: if ${lt_cv_irix_exported_symbol+:} false; then :
                   10236:   $as_echo_n "(cached) " >&6
1.15      paf      10237: else
1.35      moko     10238:   save_LDFLAGS="$LDFLAGS"
                   10239:           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
1.43      moko     10240:           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.15      paf      10241: /* end confdefs.h.  */
1.35      moko     10242: int foo (void) { return 0; }
1.15      paf      10243: _ACEOF
1.43      moko     10244: if ac_fn_c_try_link "$LINENO"; then :
1.35      moko     10245:   lt_cv_irix_exported_symbol=yes
1.1       parser   10246: else
1.43      moko     10247:   lt_cv_irix_exported_symbol=no
1.15      paf      10248: fi
1.43      moko     10249: rm -f core conftest.err conftest.$ac_objext \
                   10250:     conftest$ac_exeext conftest.$ac_ext
1.35      moko     10251:            LDFLAGS="$save_LDFLAGS"
1.1       parser   10252: fi
1.43      moko     10253: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
                   10254: $as_echo "$lt_cv_irix_exported_symbol" >&6; }
1.35      moko     10255:        if test "$lt_cv_irix_exported_symbol" = yes; then
                   10256:           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'
                   10257:        fi
                   10258:       else
                   10259:        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'
                   10260:        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'
                   10261:       fi
                   10262:       archive_cmds_need_lc='no'
                   10263:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10264:       hardcode_libdir_separator=:
                   10265:       inherit_rpath=yes
                   10266:       link_all_deplibs=yes
                   10267:       ;;
                   10268: 
                   10269:     netbsd*)
                   10270:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   10271:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   10272:       else
                   10273:        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   10274:       fi
                   10275:       hardcode_libdir_flag_spec='-R$libdir'
                   10276:       hardcode_direct=yes
                   10277:       hardcode_shlibpath_var=no
                   10278:       ;;
                   10279: 
                   10280:     newsos6)
                   10281:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10282:       hardcode_direct=yes
                   10283:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10284:       hardcode_libdir_separator=:
                   10285:       hardcode_shlibpath_var=no
                   10286:       ;;
                   10287: 
                   10288:     *nto* | *qnx*)
                   10289:       ;;
1.1       parser   10290: 
1.35      moko     10291:     openbsd*)
                   10292:       if test -f /usr/libexec/ld.so; then
                   10293:        hardcode_direct=yes
                   10294:        hardcode_shlibpath_var=no
                   10295:        hardcode_direct_absolute=yes
                   10296:        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   10297:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   10298:          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
                   10299:          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   10300:          export_dynamic_flag_spec='${wl}-E'
                   10301:        else
                   10302:          case $host_os in
                   10303:           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
                   10304:             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   10305:             hardcode_libdir_flag_spec='-R$libdir'
                   10306:             ;;
                   10307:           *)
                   10308:             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   10309:             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   10310:             ;;
                   10311:          esac
                   10312:        fi
                   10313:       else
                   10314:        ld_shlibs=no
                   10315:       fi
                   10316:       ;;
1.1       parser   10317: 
1.35      moko     10318:     os2*)
                   10319:       hardcode_libdir_flag_spec='-L$libdir'
                   10320:       hardcode_minus_L=yes
                   10321:       allow_undefined_flag=unsupported
                   10322:       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'
                   10323:       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
                   10324:       ;;
1.1       parser   10325: 
1.35      moko     10326:     osf3*)
                   10327:       if test "$GCC" = yes; then
                   10328:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   10329:        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'
                   10330:       else
                   10331:        allow_undefined_flag=' -expect_unresolved \*'
                   10332:        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'
                   10333:       fi
                   10334:       archive_cmds_need_lc='no'
                   10335:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10336:       hardcode_libdir_separator=:
                   10337:       ;;
1.1       parser   10338: 
1.35      moko     10339:     osf4* | osf5*)     # as osf3* with the addition of -msym flag
                   10340:       if test "$GCC" = yes; then
                   10341:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   10342:        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'
                   10343:        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10344:       else
                   10345:        allow_undefined_flag=' -expect_unresolved \*'
                   10346:        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'
                   10347:        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~
                   10348:        $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'
1.1       parser   10349: 
1.35      moko     10350:        # Both c and cxx compiler support -rpath directly
                   10351:        hardcode_libdir_flag_spec='-rpath $libdir'
                   10352:       fi
                   10353:       archive_cmds_need_lc='no'
                   10354:       hardcode_libdir_separator=:
                   10355:       ;;
1.1       parser   10356: 
1.35      moko     10357:     solaris*)
                   10358:       no_undefined_flag=' -z defs'
                   10359:       if test "$GCC" = yes; then
                   10360:        wlarc='${wl}'
                   10361:        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10362:        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   10363:          $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'
                   10364:       else
                   10365:        case `$CC -V 2>&1` in
                   10366:        *"Compilers 5.0"*)
                   10367:          wlarc=''
                   10368:          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10369:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   10370:          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
                   10371:          ;;
                   10372:        *)
                   10373:          wlarc='${wl}'
                   10374:          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   10375:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   10376:          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
                   10377:          ;;
                   10378:        esac
                   10379:       fi
                   10380:       hardcode_libdir_flag_spec='-R$libdir'
                   10381:       hardcode_shlibpath_var=no
                   10382:       case $host_os in
                   10383:       solaris2.[0-5] | solaris2.[0-5].*) ;;
                   10384:       *)
                   10385:        # The compiler driver will combine and reorder linker options,
                   10386:        # but understands `-z linker_flag'.  GCC discards it without `$wl',
                   10387:        # but is careful enough not to reorder.
                   10388:        # Supported since Solaris 2.6 (maybe 2.5.1?)
                   10389:        if test "$GCC" = yes; then
                   10390:          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   10391:        else
                   10392:          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
                   10393:        fi
                   10394:        ;;
                   10395:       esac
                   10396:       link_all_deplibs=yes
                   10397:       ;;
                   10398: 
                   10399:     sunos4*)
                   10400:       if test "x$host_vendor" = xsequent; then
                   10401:        # Use $CC to link under sequent, because it throws in some extra .o
                   10402:        # files that make .init and .fini sections work.
                   10403:        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   10404:       else
                   10405:        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   10406:       fi
                   10407:       hardcode_libdir_flag_spec='-L$libdir'
                   10408:       hardcode_direct=yes
                   10409:       hardcode_minus_L=yes
                   10410:       hardcode_shlibpath_var=no
                   10411:       ;;
                   10412: 
                   10413:     sysv4)
                   10414:       case $host_vendor in
                   10415:        sni)
                   10416:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10417:          hardcode_direct=yes # is this really true???
                   10418:        ;;
                   10419:        siemens)
                   10420:          ## LD is ld it makes a PLAMLIB
                   10421:          ## CC just makes a GrossModule.
                   10422:          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   10423:          reload_cmds='$CC -r -o $output$reload_objs'
                   10424:          hardcode_direct=no
                   10425:         ;;
                   10426:        motorola)
                   10427:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10428:          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   10429:        ;;
                   10430:       esac
                   10431:       runpath_var='LD_RUN_PATH'
                   10432:       hardcode_shlibpath_var=no
                   10433:       ;;
                   10434: 
                   10435:     sysv4.3*)
                   10436:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10437:       hardcode_shlibpath_var=no
                   10438:       export_dynamic_flag_spec='-Bexport'
                   10439:       ;;
                   10440: 
                   10441:     sysv4*MP*)
                   10442:       if test -d /usr/nec; then
                   10443:        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10444:        hardcode_shlibpath_var=no
                   10445:        runpath_var=LD_RUN_PATH
                   10446:        hardcode_runpath_var=yes
                   10447:        ld_shlibs=yes
                   10448:       fi
                   10449:       ;;
                   10450: 
                   10451:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   10452:       no_undefined_flag='${wl}-z,text'
                   10453:       archive_cmds_need_lc=no
                   10454:       hardcode_shlibpath_var=no
                   10455:       runpath_var='LD_RUN_PATH'
                   10456: 
                   10457:       if test "$GCC" = yes; then
                   10458:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10459:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10460:       else
                   10461:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10462:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10463:       fi
                   10464:       ;;
1.15      paf      10465: 
1.35      moko     10466:     sysv5* | sco3.2v5* | sco5v6*)
                   10467:       # Note: We can NOT use -z defs as we might desire, because we do not
                   10468:       # link with -lc, and that would cause any symbols used from libc to
                   10469:       # always be unresolved, which means just about no library would
                   10470:       # ever link correctly.  If we're not using GNU ld we use -z text
                   10471:       # though, which does catch some bad symbols but isn't as heavy-handed
                   10472:       # as -z defs.
                   10473:       no_undefined_flag='${wl}-z,text'
                   10474:       allow_undefined_flag='${wl}-z,nodefs'
                   10475:       archive_cmds_need_lc=no
                   10476:       hardcode_shlibpath_var=no
                   10477:       hardcode_libdir_flag_spec='${wl}-R,$libdir'
                   10478:       hardcode_libdir_separator=':'
                   10479:       link_all_deplibs=yes
                   10480:       export_dynamic_flag_spec='${wl}-Bexport'
                   10481:       runpath_var='LD_RUN_PATH'
                   10482: 
                   10483:       if test "$GCC" = yes; then
                   10484:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10485:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10486:       else
                   10487:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10488:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10489:       fi
                   10490:       ;;
1.15      paf      10491: 
1.35      moko     10492:     uts4*)
                   10493:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10494:       hardcode_libdir_flag_spec='-L$libdir'
                   10495:       hardcode_shlibpath_var=no
1.15      paf      10496:       ;;
1.35      moko     10497: 
1.15      paf      10498:     *)
1.35      moko     10499:       ld_shlibs=no
1.15      paf      10500:       ;;
1.35      moko     10501:     esac
                   10502: 
                   10503:     if test x$host_vendor = xsni; then
                   10504:       case $host in
                   10505:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   10506:        export_dynamic_flag_spec='${wl}-Blargedynsym'
                   10507:        ;;
                   10508:       esac
                   10509:     fi
1.1       parser   10510:   fi
                   10511: 
1.43      moko     10512: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
                   10513: $as_echo "$ld_shlibs" >&6; }
1.35      moko     10514: test "$ld_shlibs" = no && can_build_shared=no
                   10515: 
                   10516: with_gnu_ld=$with_gnu_ld
1.1       parser   10517: 
                   10518: 
1.15      paf      10519: 
                   10520: 
                   10521: 
1.1       parser   10522: 
                   10523: 
1.15      paf      10524: 
                   10525: 
                   10526: 
                   10527: 
                   10528: 
                   10529: 
                   10530: 
                   10531: 
1.35      moko     10532: #
                   10533: # Do we need to explicitly link libc?
                   10534: #
                   10535: case "x$archive_cmds_need_lc" in
                   10536: x|xyes)
                   10537:   # Assume -lc should be added
                   10538:   archive_cmds_need_lc=yes
                   10539: 
                   10540:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   10541:     case $archive_cmds in
                   10542:     *'~'*)
                   10543:       # FIXME: we may have to deal with multi-command sequences.
                   10544:       ;;
                   10545:     '$CC '*)
                   10546:       # Test whether the compiler implicitly links with -lc since on some
                   10547:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   10548:       # to ld, don't add -lc before -lgcc.
1.43      moko     10549:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   10550: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
                   10551: if ${lt_cv_archive_cmds_need_lc+:} false; then :
                   10552:   $as_echo_n "(cached) " >&6
1.15      paf      10553: else
1.35      moko     10554:   $RM conftest*
                   10555:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   10556: 
1.43      moko     10557:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.35      moko     10558:   (eval $ac_compile) 2>&5
                   10559:   ac_status=$?
1.43      moko     10560:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   10561:   test $ac_status = 0; } 2>conftest.err; then
1.35      moko     10562:          soname=conftest
                   10563:          lib=conftest
                   10564:          libobjs=conftest.$ac_objext
                   10565:          deplibs=
                   10566:          wl=$lt_prog_compiler_wl
                   10567:          pic_flag=$lt_prog_compiler_pic
                   10568:          compiler_flags=-v
                   10569:          linker_flags=-v
                   10570:          verstring=
                   10571:          output_objdir=.
                   10572:          libname=conftest
                   10573:          lt_save_allow_undefined_flag=$allow_undefined_flag
                   10574:          allow_undefined_flag=
1.43      moko     10575:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1.35      moko     10576:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   10577:   ac_status=$?
1.43      moko     10578:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   10579:   test $ac_status = 0; }
1.35      moko     10580:          then
                   10581:            lt_cv_archive_cmds_need_lc=no
                   10582:          else
                   10583:            lt_cv_archive_cmds_need_lc=yes
                   10584:          fi
                   10585:          allow_undefined_flag=$lt_save_allow_undefined_flag
                   10586:        else
                   10587:          cat conftest.err 1>&5
                   10588:        fi
                   10589:        $RM conftest*
                   10590: 
1.15      paf      10591: fi
1.43      moko     10592: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
                   10593: $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
1.35      moko     10594:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
                   10595:       ;;
                   10596:     esac
                   10597:   fi
                   10598:   ;;
                   10599: esac
                   10600: 
                   10601: 
                   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: 
1.15      paf      10655: 
                   10656: 
                   10657: 
                   10658: 
                   10659: 
                   10660: 
                   10661: 
                   10662: 
                   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: 
1.1       parser   10700: 
1.15      paf      10701: 
                   10702: 
                   10703: 
                   10704: 
                   10705: 
1.1       parser   10706: 
1.15      paf      10707: 
                   10708: 
                   10709: 
                   10710: 
1.1       parser   10711: 
1.15      paf      10712: 
                   10713: 
                   10714: 
                   10715: 
1.1       parser   10716: 
                   10717: 
                   10718: 
                   10719: 
                   10720: 
                   10721: 
                   10722: 
1.15      paf      10723: 
                   10724: 
                   10725: 
1.25      paf      10726: 
1.15      paf      10727: 
                   10728: 
1.1       parser   10729: 
1.15      paf      10730: 
                   10731: 
                   10732: 
1.1       parser   10733: 
                   10734: 
                   10735: 
                   10736: 
1.15      paf      10737: 
                   10738: 
1.1       parser   10739: 
1.15      paf      10740: 
                   10741: 
                   10742: 
                   10743: 
1.1       parser   10744: 
1.25      paf      10745: 
1.15      paf      10746: 
                   10747: 
1.25      paf      10748: 
1.15      paf      10749: 
                   10750: 
1.35      moko     10751: 
1.43      moko     10752:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   10753: $as_echo_n "checking dynamic linker characteristics... " >&6; }
1.35      moko     10754: 
                   10755: if test "$GCC" = yes; then
                   10756:   case $host_os in
                   10757:     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
                   10758:     *) lt_awk_arg="/^libraries:/" ;;
                   10759:   esac
                   10760:   case $host_os in
                   10761:     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
                   10762:     *) lt_sed_strip_eq="s,=/,/,g" ;;
                   10763:   esac
                   10764:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
                   10765:   case $lt_search_path_spec in
                   10766:   *\;*)
                   10767:     # if the path contains ";" then we assume it to be the separator
                   10768:     # otherwise default to the standard path separator (i.e. ":") - it is
                   10769:     # assumed that no part of a normal pathname contains ";" but that should
                   10770:     # okay in the real world where ";" in dirpaths is itself problematic.
                   10771:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
                   10772:     ;;
                   10773:   *)
                   10774:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
                   10775:     ;;
                   10776:   esac
                   10777:   # Ok, now we have the path, separated by spaces, we can step through it
                   10778:   # and add multilib dir if necessary.
                   10779:   lt_tmp_lt_search_path_spec=
                   10780:   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
                   10781:   for lt_sys_path in $lt_search_path_spec; do
                   10782:     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
                   10783:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
                   10784:     else
                   10785:       test -d "$lt_sys_path" && \
                   10786:        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
                   10787:     fi
                   10788:   done
                   10789:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
                   10790: BEGIN {RS=" "; FS="/|\n";} {
                   10791:   lt_foo="";
                   10792:   lt_count=0;
                   10793:   for (lt_i = NF; lt_i > 0; lt_i--) {
                   10794:     if ($lt_i != "" && $lt_i != ".") {
                   10795:       if ($lt_i == "..") {
                   10796:         lt_count++;
                   10797:       } else {
                   10798:         if (lt_count == 0) {
                   10799:           lt_foo="/" $lt_i lt_foo;
                   10800:         } else {
                   10801:           lt_count--;
                   10802:         }
                   10803:       }
                   10804:     }
                   10805:   }
                   10806:   if (lt_foo != "") { lt_freq[lt_foo]++; }
                   10807:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
                   10808: }'`
                   10809:   # AWK program above erroneously prepends '/' to C:/dos/paths
                   10810:   # for these hosts.
                   10811:   case $host_os in
                   10812:     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
                   10813:       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
                   10814:   esac
                   10815:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
                   10816: else
                   10817:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   10818: fi
                   10819: library_names_spec=
                   10820: libname_spec='lib$name'
                   10821: soname_spec=
                   10822: shrext_cmds=".so"
                   10823: postinstall_cmds=
                   10824: postuninstall_cmds=
                   10825: finish_cmds=
                   10826: finish_eval=
                   10827: shlibpath_var=
                   10828: shlibpath_overrides_runpath=unknown
                   10829: version_type=none
                   10830: dynamic_linker="$host_os ld.so"
                   10831: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   10832: need_lib_prefix=unknown
                   10833: hardcode_into_libs=no
                   10834: 
                   10835: # when you set need_version to no, make sure it does not cause -set_version
                   10836: # flags to be left without arguments
                   10837: need_version=unknown
                   10838: 
                   10839: case $host_os in
                   10840: aix3*)
                   10841:   version_type=linux # correct to gnu/linux during the next big refactor
                   10842:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   10843:   shlibpath_var=LIBPATH
                   10844: 
                   10845:   # AIX 3 has no versioning support, so we append a major version to the name.
                   10846:   soname_spec='${libname}${release}${shared_ext}$major'
                   10847:   ;;
                   10848: 
                   10849: aix[4-9]*)
                   10850:   version_type=linux # correct to gnu/linux during the next big refactor
                   10851:   need_lib_prefix=no
                   10852:   need_version=no
                   10853:   hardcode_into_libs=yes
                   10854:   if test "$host_cpu" = ia64; then
                   10855:     # AIX 5 supports IA64
                   10856:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   10857:     shlibpath_var=LD_LIBRARY_PATH
1.15      paf      10858:   else
1.35      moko     10859:     # With GCC up to 2.95.x, collect2 would create an import file
                   10860:     # for dependence libraries.  The import file would start with
                   10861:     # the line `#! .'.  This would cause the generated library to
                   10862:     # depend on `.', always an invalid library.  This was fixed in
                   10863:     # development snapshots of GCC prior to 3.0.
                   10864:     case $host_os in
                   10865:       aix4 | aix4.[01] | aix4.[01].*)
                   10866:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   10867:           echo ' yes '
                   10868:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   10869:        :
                   10870:       else
                   10871:        can_build_shared=no
                   10872:       fi
                   10873:       ;;
                   10874:     esac
                   10875:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   10876:     # soname into executable. Probably we can add versioning support to
                   10877:     # collect2, so additional links can be useful in future.
                   10878:     if test "$aix_use_runtimelinking" = yes; then
                   10879:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   10880:       # instead of lib<name>.a to let people know that these are not
                   10881:       # typical AIX shared libraries.
                   10882:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10883:     else
                   10884:       # We preserve .a as extension for shared libraries through AIX4.2
                   10885:       # and later when we are not doing run time linking.
                   10886:       library_names_spec='${libname}${release}.a $libname.a'
                   10887:       soname_spec='${libname}${release}${shared_ext}$major'
                   10888:     fi
                   10889:     shlibpath_var=LIBPATH
1.15      paf      10890:   fi
1.35      moko     10891:   ;;
                   10892: 
                   10893: amigaos*)
                   10894:   case $host_cpu in
                   10895:   powerpc)
                   10896:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   10897:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   10898:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10899:     ;;
                   10900:   m68k)
                   10901:     library_names_spec='$libname.ixlibrary $libname.a'
                   10902:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   10903:     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'
                   10904:     ;;
                   10905:   esac
                   10906:   ;;
                   10907: 
                   10908: beos*)
                   10909:   library_names_spec='${libname}${shared_ext}'
                   10910:   dynamic_linker="$host_os ld.so"
                   10911:   shlibpath_var=LIBRARY_PATH
                   10912:   ;;
                   10913: 
                   10914: bsdi[45]*)
                   10915:   version_type=linux # correct to gnu/linux during the next big refactor
                   10916:   need_version=no
                   10917:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10918:   soname_spec='${libname}${release}${shared_ext}$major'
                   10919:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   10920:   shlibpath_var=LD_LIBRARY_PATH
                   10921:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   10922:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   10923:   # the default ld.so.conf also contains /usr/contrib/lib and
                   10924:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   10925:   # libtool to hard-code these into programs
                   10926:   ;;
                   10927: 
                   10928: cygwin* | mingw* | pw32* | cegcc*)
                   10929:   version_type=windows
                   10930:   shrext_cmds=".dll"
                   10931:   need_version=no
                   10932:   need_lib_prefix=no
                   10933: 
                   10934:   case $GCC,$cc_basename in
                   10935:   yes,*)
                   10936:     # gcc
                   10937:     library_names_spec='$libname.dll.a'
                   10938:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   10939:     postinstall_cmds='base_file=`basename \${file}`~
                   10940:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   10941:       dldir=$destdir/`dirname \$dlpath`~
                   10942:       test -d \$dldir || mkdir -p \$dldir~
                   10943:       $install_prog $dir/$dlname \$dldir/$dlname~
                   10944:       chmod a+x \$dldir/$dlname~
                   10945:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   10946:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   10947:       fi'
                   10948:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   10949:       dlpath=$dir/\$dldll~
                   10950:        $RM \$dlpath'
                   10951:     shlibpath_overrides_runpath=yes
                   10952: 
                   10953:     case $host_os in
                   10954:     cygwin*)
                   10955:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   10956:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10957: 
                   10958:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
                   10959:       ;;
                   10960:     mingw* | cegcc*)
                   10961:       # MinGW DLLs use traditional 'lib' prefix
                   10962:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10963:       ;;
                   10964:     pw32*)
                   10965:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   10966:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10967:       ;;
                   10968:     esac
                   10969:     dynamic_linker='Win32 ld.exe'
                   10970:     ;;
                   10971: 
                   10972:   *,cl*)
                   10973:     # Native MSVC
                   10974:     libname_spec='$name'
                   10975:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10976:     library_names_spec='${libname}.dll.lib'
                   10977: 
                   10978:     case $build_os in
                   10979:     mingw*)
                   10980:       sys_lib_search_path_spec=
                   10981:       lt_save_ifs=$IFS
                   10982:       IFS=';'
                   10983:       for lt_path in $LIB
                   10984:       do
                   10985:         IFS=$lt_save_ifs
                   10986:         # Let DOS variable expansion print the short 8.3 style file name.
                   10987:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   10988:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   10989:       done
                   10990:       IFS=$lt_save_ifs
                   10991:       # Convert to MSYS style.
                   10992:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   10993:       ;;
                   10994:     cygwin*)
                   10995:       # Convert to unix form, then to dos form, then back to unix form
                   10996:       # but this time dos style (no spaces!) so that the unix form looks
                   10997:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   10998:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   10999:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   11000:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   11001:       ;;
                   11002:     *)
                   11003:       sys_lib_search_path_spec="$LIB"
                   11004:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   11005:         # It is most probably a Windows format PATH.
                   11006:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   11007:       else
                   11008:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   11009:       fi
                   11010:       # FIXME: find the short name or the path components, as spaces are
                   11011:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   11012:       ;;
                   11013:     esac
                   11014: 
                   11015:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   11016:     postinstall_cmds='base_file=`basename \${file}`~
                   11017:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   11018:       dldir=$destdir/`dirname \$dlpath`~
                   11019:       test -d \$dldir || mkdir -p \$dldir~
                   11020:       $install_prog $dir/$dlname \$dldir/$dlname'
                   11021:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   11022:       dlpath=$dir/\$dldll~
                   11023:        $RM \$dlpath'
                   11024:     shlibpath_overrides_runpath=yes
                   11025:     dynamic_linker='Win32 link.exe'
                   11026:     ;;
                   11027: 
                   11028:   *)
                   11029:     # Assume MSVC wrapper
                   11030:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   11031:     dynamic_linker='Win32 ld.exe'
                   11032:     ;;
                   11033:   esac
                   11034:   # FIXME: first we should search . and the directory the executable is in
                   11035:   shlibpath_var=PATH
                   11036:   ;;
                   11037: 
                   11038: darwin* | rhapsody*)
                   11039:   dynamic_linker="$host_os dyld"
                   11040:   version_type=darwin
                   11041:   need_lib_prefix=no
                   11042:   need_version=no
                   11043:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   11044:   soname_spec='${libname}${release}${major}$shared_ext'
                   11045:   shlibpath_overrides_runpath=yes
                   11046:   shlibpath_var=DYLD_LIBRARY_PATH
                   11047:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   11048: 
                   11049:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
                   11050:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   11051:   ;;
                   11052: 
                   11053: dgux*)
                   11054:   version_type=linux # correct to gnu/linux during the next big refactor
                   11055:   need_lib_prefix=no
                   11056:   need_version=no
                   11057:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   11058:   soname_spec='${libname}${release}${shared_ext}$major'
                   11059:   shlibpath_var=LD_LIBRARY_PATH
                   11060:   ;;
                   11061: 
                   11062: freebsd* | dragonfly*)
                   11063:   # DragonFly does not have aout.  When/if they implement a new
                   11064:   # versioning mechanism, adjust this.
                   11065:   if test -x /usr/bin/objformat; then
                   11066:     objformat=`/usr/bin/objformat`
1.15      paf      11067:   else
1.35      moko     11068:     case $host_os in
                   11069:     freebsd[23].*) objformat=aout ;;
                   11070:     *) objformat=elf ;;
                   11071:     esac
                   11072:   fi
                   11073:   version_type=freebsd-$objformat
                   11074:   case $version_type in
                   11075:     freebsd-elf*)
                   11076:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   11077:       need_version=no
                   11078:       need_lib_prefix=no
                   11079:       ;;
                   11080:     freebsd-*)
                   11081:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   11082:       need_version=yes
                   11083:       ;;
                   11084:   esac
                   11085:   shlibpath_var=LD_LIBRARY_PATH
                   11086:   case $host_os in
                   11087:   freebsd2.*)
                   11088:     shlibpath_overrides_runpath=yes
                   11089:     ;;
                   11090:   freebsd3.[01]* | freebsdelf3.[01]*)
                   11091:     shlibpath_overrides_runpath=yes
                   11092:     hardcode_into_libs=yes
                   11093:     ;;
                   11094:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   11095:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   11096:     shlibpath_overrides_runpath=no
                   11097:     hardcode_into_libs=yes
                   11098:     ;;
                   11099:   *) # from 4.6 on, and DragonFly
                   11100:     shlibpath_overrides_runpath=yes
                   11101:     hardcode_into_libs=yes
                   11102:     ;;
                   11103:   esac
                   11104:   ;;
                   11105: 
                   11106: gnu*)
                   11107:   version_type=linux # correct to gnu/linux during the next big refactor
                   11108:   need_lib_prefix=no
                   11109:   need_version=no
                   11110:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   11111:   soname_spec='${libname}${release}${shared_ext}$major'
                   11112:   shlibpath_var=LD_LIBRARY_PATH
                   11113:   shlibpath_overrides_runpath=no
                   11114:   hardcode_into_libs=yes
                   11115:   ;;
                   11116: 
                   11117: haiku*)
                   11118:   version_type=linux # correct to gnu/linux during the next big refactor
                   11119:   need_lib_prefix=no
                   11120:   need_version=no
                   11121:   dynamic_linker="$host_os runtime_loader"
                   11122:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   11123:   soname_spec='${libname}${release}${shared_ext}$major'
                   11124:   shlibpath_var=LIBRARY_PATH
                   11125:   shlibpath_overrides_runpath=yes
                   11126:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   11127:   hardcode_into_libs=yes
                   11128:   ;;
                   11129: 
                   11130: hpux9* | hpux10* | hpux11*)
                   11131:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   11132:   # link against other versions.
                   11133:   version_type=sunos
                   11134:   need_lib_prefix=no
                   11135:   need_version=no
                   11136:   case $host_cpu in
                   11137:   ia64*)
                   11138:     shrext_cmds='.so'
                   11139:     hardcode_into_libs=yes
                   11140:     dynamic_linker="$host_os dld.so"
                   11141:     shlibpath_var=LD_LIBRARY_PATH
                   11142:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   11143:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11144:     soname_spec='${libname}${release}${shared_ext}$major'
                   11145:     if test "X$HPUX_IA64_MODE" = X32; then
                   11146:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   11147:     else
                   11148:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   11149:     fi
                   11150:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   11151:     ;;
                   11152:   hppa*64*)
                   11153:     shrext_cmds='.sl'
                   11154:     hardcode_into_libs=yes
                   11155:     dynamic_linker="$host_os dld.sl"
                   11156:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   11157:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   11158:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11159:     soname_spec='${libname}${release}${shared_ext}$major'
                   11160:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   11161:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   11162:     ;;
                   11163:   *)
                   11164:     shrext_cmds='.sl'
                   11165:     dynamic_linker="$host_os dld.sl"
                   11166:     shlibpath_var=SHLIB_PATH
                   11167:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   11168:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11169:     soname_spec='${libname}${release}${shared_ext}$major'
                   11170:     ;;
                   11171:   esac
                   11172:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   11173:   postinstall_cmds='chmod 555 $lib'
                   11174:   # or fails outright, so override atomically:
                   11175:   install_override_mode=555
                   11176:   ;;
                   11177: 
                   11178: interix[3-9]*)
                   11179:   version_type=linux # correct to gnu/linux during the next big refactor
                   11180:   need_lib_prefix=no
                   11181:   need_version=no
                   11182:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   11183:   soname_spec='${libname}${release}${shared_ext}$major'
                   11184:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   11185:   shlibpath_var=LD_LIBRARY_PATH
                   11186:   shlibpath_overrides_runpath=no
                   11187:   hardcode_into_libs=yes
                   11188:   ;;
                   11189: 
                   11190: irix5* | irix6* | nonstopux*)
                   11191:   case $host_os in
                   11192:     nonstopux*) version_type=nonstopux ;;
                   11193:     *)
                   11194:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   11195:                version_type=linux # correct to gnu/linux during the next big refactor
                   11196:        else
                   11197:                version_type=irix
                   11198:        fi ;;
                   11199:   esac
                   11200:   need_lib_prefix=no
                   11201:   need_version=no
                   11202:   soname_spec='${libname}${release}${shared_ext}$major'
                   11203:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   11204:   case $host_os in
                   11205:   irix5* | nonstopux*)
                   11206:     libsuff= shlibsuff=
                   11207:     ;;
                   11208:   *)
                   11209:     case $LD in # libtool.m4 will add one of these switches to LD
                   11210:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   11211:       libsuff= shlibsuff= libmagic=32-bit;;
                   11212:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   11213:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   11214:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   11215:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   11216:     *) libsuff= shlibsuff= libmagic=never-match;;
                   11217:     esac
                   11218:     ;;
                   11219:   esac
                   11220:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   11221:   shlibpath_overrides_runpath=no
                   11222:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   11223:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   11224:   hardcode_into_libs=yes
                   11225:   ;;
                   11226: 
                   11227: # No shared lib support for Linux oldld, aout, or coff.
                   11228: linux*oldld* | linux*aout* | linux*coff*)
                   11229:   dynamic_linker=no
                   11230:   ;;
                   11231: 
                   11232: # This must be glibc/ELF.
                   11233: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   11234:   version_type=linux # correct to gnu/linux during the next big refactor
                   11235:   need_lib_prefix=no
                   11236:   need_version=no
                   11237:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11238:   soname_spec='${libname}${release}${shared_ext}$major'
                   11239:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   11240:   shlibpath_var=LD_LIBRARY_PATH
                   11241:   shlibpath_overrides_runpath=no
                   11242: 
                   11243:   # Some binutils ld are patched to set DT_RUNPATH
1.43      moko     11244:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
                   11245:   $as_echo_n "(cached) " >&6
1.35      moko     11246: else
                   11247:   lt_cv_shlibpath_overrides_runpath=no
                   11248:     save_LDFLAGS=$LDFLAGS
                   11249:     save_libdir=$libdir
                   11250:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
                   11251:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
1.43      moko     11252:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     11253: /* end confdefs.h.  */
                   11254: 
                   11255: int
                   11256: main ()
                   11257: {
                   11258: 
                   11259:   ;
                   11260:   return 0;
                   11261: }
                   11262: _ACEOF
1.43      moko     11263: if ac_fn_c_try_link "$LINENO"; then :
                   11264:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
1.35      moko     11265:   lt_cv_shlibpath_overrides_runpath=yes
                   11266: fi
                   11267: fi
1.43      moko     11268: rm -f core conftest.err conftest.$ac_objext \
                   11269:     conftest$ac_exeext conftest.$ac_ext
1.35      moko     11270:     LDFLAGS=$save_LDFLAGS
                   11271:     libdir=$save_libdir
                   11272: 
                   11273: fi
                   11274: 
                   11275:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   11276: 
                   11277:   # This implies no fast_install, which is unacceptable.
                   11278:   # Some rework will be needed to allow for fast_install
                   11279:   # before this can be enabled.
                   11280:   hardcode_into_libs=yes
                   11281: 
                   11282:   # Append ld.so.conf contents to the search path
                   11283:   if test -f /etc/ld.so.conf; then
                   11284:     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' ' '`
                   11285:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   11286:   fi
                   11287: 
                   11288:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   11289:   # powerpc, because MkLinux only supported shared libraries with the
                   11290:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   11291:   # most powerpc-linux boxes support dynamic linking these days and
                   11292:   # people can always --disable-shared, the test was removed, and we
                   11293:   # assume the GNU/Linux dynamic linker is in use.
                   11294:   dynamic_linker='GNU/Linux ld.so'
                   11295:   ;;
                   11296: 
                   11297: netbsd*)
                   11298:   version_type=sunos
                   11299:   need_lib_prefix=no
                   11300:   need_version=no
                   11301:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   11302:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   11303:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   11304:     dynamic_linker='NetBSD (a.out) ld.so'
                   11305:   else
                   11306:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   11307:     soname_spec='${libname}${release}${shared_ext}$major'
                   11308:     dynamic_linker='NetBSD ld.elf_so'
                   11309:   fi
                   11310:   shlibpath_var=LD_LIBRARY_PATH
                   11311:   shlibpath_overrides_runpath=yes
                   11312:   hardcode_into_libs=yes
                   11313:   ;;
                   11314: 
                   11315: newsos6)
                   11316:   version_type=linux # correct to gnu/linux during the next big refactor
                   11317:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11318:   shlibpath_var=LD_LIBRARY_PATH
                   11319:   shlibpath_overrides_runpath=yes
                   11320:   ;;
                   11321: 
                   11322: *nto* | *qnx*)
                   11323:   version_type=qnx
                   11324:   need_lib_prefix=no
                   11325:   need_version=no
                   11326:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11327:   soname_spec='${libname}${release}${shared_ext}$major'
                   11328:   shlibpath_var=LD_LIBRARY_PATH
                   11329:   shlibpath_overrides_runpath=no
                   11330:   hardcode_into_libs=yes
                   11331:   dynamic_linker='ldqnx.so'
                   11332:   ;;
                   11333: 
                   11334: openbsd*)
                   11335:   version_type=sunos
                   11336:   sys_lib_dlsearch_path_spec="/usr/lib"
                   11337:   need_lib_prefix=no
                   11338:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   11339:   case $host_os in
                   11340:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   11341:     *)                         need_version=no  ;;
                   11342:   esac
                   11343:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   11344:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   11345:   shlibpath_var=LD_LIBRARY_PATH
                   11346:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   11347:     case $host_os in
                   11348:       openbsd2.[89] | openbsd2.[89].*)
                   11349:        shlibpath_overrides_runpath=no
                   11350:        ;;
                   11351:       *)
                   11352:        shlibpath_overrides_runpath=yes
                   11353:        ;;
                   11354:       esac
                   11355:   else
                   11356:     shlibpath_overrides_runpath=yes
                   11357:   fi
                   11358:   ;;
                   11359: 
                   11360: os2*)
                   11361:   libname_spec='$name'
                   11362:   shrext_cmds=".dll"
                   11363:   need_lib_prefix=no
                   11364:   library_names_spec='$libname${shared_ext} $libname.a'
                   11365:   dynamic_linker='OS/2 ld.exe'
                   11366:   shlibpath_var=LIBPATH
                   11367:   ;;
                   11368: 
                   11369: osf3* | osf4* | osf5*)
                   11370:   version_type=osf
                   11371:   need_lib_prefix=no
                   11372:   need_version=no
                   11373:   soname_spec='${libname}${release}${shared_ext}$major'
                   11374:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11375:   shlibpath_var=LD_LIBRARY_PATH
                   11376:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   11377:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   11378:   ;;
                   11379: 
                   11380: rdos*)
                   11381:   dynamic_linker=no
                   11382:   ;;
                   11383: 
                   11384: solaris*)
                   11385:   version_type=linux # correct to gnu/linux during the next big refactor
                   11386:   need_lib_prefix=no
                   11387:   need_version=no
                   11388:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11389:   soname_spec='${libname}${release}${shared_ext}$major'
                   11390:   shlibpath_var=LD_LIBRARY_PATH
                   11391:   shlibpath_overrides_runpath=yes
                   11392:   hardcode_into_libs=yes
                   11393:   # ldd complains unless libraries are executable
                   11394:   postinstall_cmds='chmod +x $lib'
                   11395:   ;;
                   11396: 
                   11397: sunos4*)
                   11398:   version_type=sunos
                   11399:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   11400:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   11401:   shlibpath_var=LD_LIBRARY_PATH
                   11402:   shlibpath_overrides_runpath=yes
                   11403:   if test "$with_gnu_ld" = yes; then
                   11404:     need_lib_prefix=no
                   11405:   fi
                   11406:   need_version=yes
                   11407:   ;;
                   11408: 
                   11409: sysv4 | sysv4.3*)
                   11410:   version_type=linux # correct to gnu/linux during the next big refactor
                   11411:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11412:   soname_spec='${libname}${release}${shared_ext}$major'
                   11413:   shlibpath_var=LD_LIBRARY_PATH
                   11414:   case $host_vendor in
                   11415:     sni)
                   11416:       shlibpath_overrides_runpath=no
                   11417:       need_lib_prefix=no
                   11418:       runpath_var=LD_RUN_PATH
                   11419:       ;;
                   11420:     siemens)
                   11421:       need_lib_prefix=no
                   11422:       ;;
                   11423:     motorola)
                   11424:       need_lib_prefix=no
                   11425:       need_version=no
                   11426:       shlibpath_overrides_runpath=no
                   11427:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   11428:       ;;
                   11429:   esac
                   11430:   ;;
                   11431: 
                   11432: sysv4*MP*)
                   11433:   if test -d /usr/nec ;then
                   11434:     version_type=linux # correct to gnu/linux during the next big refactor
                   11435:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   11436:     soname_spec='$libname${shared_ext}.$major'
                   11437:     shlibpath_var=LD_LIBRARY_PATH
                   11438:   fi
                   11439:   ;;
                   11440: 
                   11441: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   11442:   version_type=freebsd-elf
                   11443:   need_lib_prefix=no
                   11444:   need_version=no
                   11445:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   11446:   soname_spec='${libname}${release}${shared_ext}$major'
                   11447:   shlibpath_var=LD_LIBRARY_PATH
                   11448:   shlibpath_overrides_runpath=yes
                   11449:   hardcode_into_libs=yes
                   11450:   if test "$with_gnu_ld" = yes; then
                   11451:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   11452:   else
                   11453:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   11454:     case $host_os in
                   11455:       sco3.2v5*)
                   11456:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   11457:        ;;
                   11458:     esac
                   11459:   fi
                   11460:   sys_lib_dlsearch_path_spec='/usr/lib'
                   11461:   ;;
                   11462: 
                   11463: tpf*)
                   11464:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   11465:   version_type=linux # correct to gnu/linux during the next big refactor
                   11466:   need_lib_prefix=no
                   11467:   need_version=no
                   11468:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11469:   shlibpath_var=LD_LIBRARY_PATH
                   11470:   shlibpath_overrides_runpath=no
                   11471:   hardcode_into_libs=yes
                   11472:   ;;
                   11473: 
                   11474: uts4*)
                   11475:   version_type=linux # correct to gnu/linux during the next big refactor
                   11476:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11477:   soname_spec='${libname}${release}${shared_ext}$major'
                   11478:   shlibpath_var=LD_LIBRARY_PATH
                   11479:   ;;
                   11480: 
                   11481: *)
                   11482:   dynamic_linker=no
                   11483:   ;;
                   11484: esac
1.43      moko     11485: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   11486: $as_echo "$dynamic_linker" >&6; }
1.35      moko     11487: test "$dynamic_linker" = no && can_build_shared=no
                   11488: 
                   11489: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   11490: if test "$GCC" = yes; then
                   11491:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   11492: fi
                   11493: 
                   11494: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   11495:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   11496: fi
                   11497: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   11498:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   11499: fi
                   11500: 
                   11501: 
                   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: 
1.43      moko     11592:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   11593: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1.35      moko     11594: hardcode_action=
                   11595: if test -n "$hardcode_libdir_flag_spec" ||
                   11596:    test -n "$runpath_var" ||
                   11597:    test "X$hardcode_automatic" = "Xyes" ; then
                   11598: 
                   11599:   # We can hardcode non-existent directories.
                   11600:   if test "$hardcode_direct" != no &&
                   11601:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   11602:      # have to relink, otherwise we might link with an installed library
                   11603:      # when we should be linking with a yet-to-be-installed one
                   11604:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
                   11605:      test "$hardcode_minus_L" != no; then
                   11606:     # Linking always hardcodes the temporary library directory.
                   11607:     hardcode_action=relink
                   11608:   else
                   11609:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   11610:     hardcode_action=immediate
                   11611:   fi
                   11612: else
                   11613:   # We cannot hardcode anything, or else we can only hardcode existing
                   11614:   # directories.
                   11615:   hardcode_action=unsupported
                   11616: fi
1.43      moko     11617: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
                   11618: $as_echo "$hardcode_action" >&6; }
1.35      moko     11619: 
                   11620: if test "$hardcode_action" = relink ||
                   11621:    test "$inherit_rpath" = yes; then
                   11622:   # Fast installation is not supported
                   11623:   enable_fast_install=no
                   11624: elif test "$shlibpath_overrides_runpath" = yes ||
                   11625:      test "$enable_shared" = no; then
                   11626:   # Fast installation is not necessary
                   11627:   enable_fast_install=needless
                   11628: fi
                   11629: 
                   11630: 
                   11631: 
                   11632: 
                   11633: 
                   11634: 
                   11635:   if test "x$enable_dlopen" != xyes; then
                   11636:   enable_dlopen=unknown
                   11637:   enable_dlopen_self=unknown
                   11638:   enable_dlopen_self_static=unknown
                   11639: else
                   11640:   lt_cv_dlopen=no
                   11641:   lt_cv_dlopen_libs=
                   11642: 
                   11643:   case $host_os in
                   11644:   beos*)
                   11645:     lt_cv_dlopen="load_add_on"
                   11646:     lt_cv_dlopen_libs=
                   11647:     lt_cv_dlopen_self=yes
                   11648:     ;;
                   11649: 
                   11650:   mingw* | pw32* | cegcc*)
                   11651:     lt_cv_dlopen="LoadLibrary"
                   11652:     lt_cv_dlopen_libs=
                   11653:     ;;
                   11654: 
                   11655:   cygwin*)
                   11656:     lt_cv_dlopen="dlopen"
                   11657:     lt_cv_dlopen_libs=
                   11658:     ;;
                   11659: 
                   11660:   darwin*)
                   11661:   # if libdl is installed we need to link against it
1.43      moko     11662:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   11663: $as_echo_n "checking for dlopen in -ldl... " >&6; }
                   11664: if ${ac_cv_lib_dl_dlopen+:} false; then :
                   11665:   $as_echo_n "(cached) " >&6
1.35      moko     11666: else
                   11667:   ac_check_lib_save_LIBS=$LIBS
                   11668: LIBS="-ldl  $LIBS"
1.43      moko     11669: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     11670: /* end confdefs.h.  */
                   11671: 
1.43      moko     11672: /* Override any GCC internal prototype to avoid an error.
                   11673:    Use char because int might match the return type of a GCC
                   11674:    builtin and then its argument prototype would still apply.  */
1.35      moko     11675: #ifdef __cplusplus
                   11676: extern "C"
                   11677: #endif
                   11678: char dlopen ();
                   11679: int
                   11680: main ()
                   11681: {
1.43      moko     11682: return dlopen ();
1.35      moko     11683:   ;
                   11684:   return 0;
                   11685: }
                   11686: _ACEOF
1.43      moko     11687: if ac_fn_c_try_link "$LINENO"; then :
1.35      moko     11688:   ac_cv_lib_dl_dlopen=yes
                   11689: else
1.43      moko     11690:   ac_cv_lib_dl_dlopen=no
1.35      moko     11691: fi
1.43      moko     11692: rm -f core conftest.err conftest.$ac_objext \
                   11693:     conftest$ac_exeext conftest.$ac_ext
1.35      moko     11694: LIBS=$ac_check_lib_save_LIBS
                   11695: fi
1.43      moko     11696: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   11697: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
                   11698: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1.35      moko     11699:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   11700: else
                   11701: 
                   11702:     lt_cv_dlopen="dyld"
                   11703:     lt_cv_dlopen_libs=
                   11704:     lt_cv_dlopen_self=yes
                   11705: 
                   11706: fi
                   11707: 
                   11708:     ;;
                   11709: 
                   11710:   *)
1.43      moko     11711:     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
                   11712: if test "x$ac_cv_func_shl_load" = xyes; then :
1.35      moko     11713:   lt_cv_dlopen="shl_load"
                   11714: else
1.43      moko     11715:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   11716: $as_echo_n "checking for shl_load in -ldld... " >&6; }
                   11717: if ${ac_cv_lib_dld_shl_load+:} false; then :
                   11718:   $as_echo_n "(cached) " >&6
1.35      moko     11719: else
1.43      moko     11720:   ac_check_lib_save_LIBS=$LIBS
                   11721: LIBS="-ldld  $LIBS"
                   11722: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     11723: /* end confdefs.h.  */
                   11724: 
1.43      moko     11725: /* Override any GCC internal prototype to avoid an error.
                   11726:    Use char because int might match the return type of a GCC
                   11727:    builtin and then its argument prototype would still apply.  */
1.35      moko     11728: #ifdef __cplusplus
                   11729: extern "C"
                   11730: #endif
1.43      moko     11731: char shl_load ();
1.35      moko     11732: int
                   11733: main ()
                   11734: {
1.43      moko     11735: return shl_load ();
1.35      moko     11736:   ;
                   11737:   return 0;
                   11738: }
                   11739: _ACEOF
1.43      moko     11740: if ac_fn_c_try_link "$LINENO"; then :
                   11741:   ac_cv_lib_dld_shl_load=yes
1.35      moko     11742: else
1.43      moko     11743:   ac_cv_lib_dld_shl_load=no
1.35      moko     11744: fi
1.43      moko     11745: rm -f core conftest.err conftest.$ac_objext \
                   11746:     conftest$ac_exeext conftest.$ac_ext
                   11747: LIBS=$ac_check_lib_save_LIBS
1.35      moko     11748: fi
1.43      moko     11749: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   11750: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
                   11751: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
                   11752:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
                   11753: else
                   11754:   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
                   11755: if test "x$ac_cv_func_dlopen" = xyes; then :
1.35      moko     11756:   lt_cv_dlopen="dlopen"
                   11757: else
1.43      moko     11758:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   11759: $as_echo_n "checking for dlopen in -ldl... " >&6; }
                   11760: if ${ac_cv_lib_dl_dlopen+:} false; then :
                   11761:   $as_echo_n "(cached) " >&6
1.35      moko     11762: else
                   11763:   ac_check_lib_save_LIBS=$LIBS
                   11764: LIBS="-ldl  $LIBS"
1.43      moko     11765: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     11766: /* end confdefs.h.  */
                   11767: 
1.43      moko     11768: /* Override any GCC internal prototype to avoid an error.
                   11769:    Use char because int might match the return type of a GCC
                   11770:    builtin and then its argument prototype would still apply.  */
1.35      moko     11771: #ifdef __cplusplus
                   11772: extern "C"
                   11773: #endif
                   11774: char dlopen ();
                   11775: int
                   11776: main ()
                   11777: {
1.43      moko     11778: return dlopen ();
1.35      moko     11779:   ;
                   11780:   return 0;
                   11781: }
                   11782: _ACEOF
1.43      moko     11783: if ac_fn_c_try_link "$LINENO"; then :
1.35      moko     11784:   ac_cv_lib_dl_dlopen=yes
                   11785: else
1.43      moko     11786:   ac_cv_lib_dl_dlopen=no
1.35      moko     11787: fi
1.43      moko     11788: rm -f core conftest.err conftest.$ac_objext \
                   11789:     conftest$ac_exeext conftest.$ac_ext
1.35      moko     11790: LIBS=$ac_check_lib_save_LIBS
                   11791: fi
1.43      moko     11792: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   11793: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
                   11794: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1.35      moko     11795:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   11796: else
1.43      moko     11797:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   11798: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
                   11799: if ${ac_cv_lib_svld_dlopen+:} false; then :
                   11800:   $as_echo_n "(cached) " >&6
1.35      moko     11801: else
                   11802:   ac_check_lib_save_LIBS=$LIBS
                   11803: LIBS="-lsvld  $LIBS"
1.43      moko     11804: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     11805: /* end confdefs.h.  */
                   11806: 
1.43      moko     11807: /* Override any GCC internal prototype to avoid an error.
                   11808:    Use char because int might match the return type of a GCC
                   11809:    builtin and then its argument prototype would still apply.  */
1.35      moko     11810: #ifdef __cplusplus
                   11811: extern "C"
                   11812: #endif
                   11813: char dlopen ();
                   11814: int
                   11815: main ()
                   11816: {
1.43      moko     11817: return dlopen ();
1.35      moko     11818:   ;
                   11819:   return 0;
                   11820: }
                   11821: _ACEOF
1.43      moko     11822: if ac_fn_c_try_link "$LINENO"; then :
1.35      moko     11823:   ac_cv_lib_svld_dlopen=yes
                   11824: else
1.43      moko     11825:   ac_cv_lib_svld_dlopen=no
1.35      moko     11826: fi
1.43      moko     11827: rm -f core conftest.err conftest.$ac_objext \
                   11828:     conftest$ac_exeext conftest.$ac_ext
1.35      moko     11829: LIBS=$ac_check_lib_save_LIBS
                   11830: fi
1.43      moko     11831: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   11832: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
                   11833: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
1.35      moko     11834:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
                   11835: else
1.43      moko     11836:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   11837: $as_echo_n "checking for dld_link in -ldld... " >&6; }
                   11838: if ${ac_cv_lib_dld_dld_link+:} false; then :
                   11839:   $as_echo_n "(cached) " >&6
1.35      moko     11840: else
                   11841:   ac_check_lib_save_LIBS=$LIBS
                   11842: LIBS="-ldld  $LIBS"
1.43      moko     11843: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     11844: /* end confdefs.h.  */
                   11845: 
1.43      moko     11846: /* Override any GCC internal prototype to avoid an error.
                   11847:    Use char because int might match the return type of a GCC
                   11848:    builtin and then its argument prototype would still apply.  */
1.35      moko     11849: #ifdef __cplusplus
                   11850: extern "C"
                   11851: #endif
                   11852: char dld_link ();
                   11853: int
                   11854: main ()
                   11855: {
1.43      moko     11856: return dld_link ();
1.35      moko     11857:   ;
                   11858:   return 0;
                   11859: }
                   11860: _ACEOF
1.43      moko     11861: if ac_fn_c_try_link "$LINENO"; then :
1.35      moko     11862:   ac_cv_lib_dld_dld_link=yes
                   11863: else
1.43      moko     11864:   ac_cv_lib_dld_dld_link=no
1.35      moko     11865: fi
1.43      moko     11866: rm -f core conftest.err conftest.$ac_objext \
                   11867:     conftest$ac_exeext conftest.$ac_ext
1.35      moko     11868: LIBS=$ac_check_lib_save_LIBS
                   11869: fi
1.43      moko     11870: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   11871: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
                   11872: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
1.35      moko     11873:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
                   11874: fi
                   11875: 
                   11876: 
                   11877: fi
                   11878: 
                   11879: 
                   11880: fi
                   11881: 
                   11882: 
                   11883: fi
                   11884: 
                   11885: 
                   11886: fi
                   11887: 
                   11888: 
                   11889: fi
                   11890: 
                   11891:     ;;
                   11892:   esac
                   11893: 
                   11894:   if test "x$lt_cv_dlopen" != xno; then
                   11895:     enable_dlopen=yes
                   11896:   else
                   11897:     enable_dlopen=no
                   11898:   fi
                   11899: 
                   11900:   case $lt_cv_dlopen in
                   11901:   dlopen)
                   11902:     save_CPPFLAGS="$CPPFLAGS"
                   11903:     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
                   11904: 
                   11905:     save_LDFLAGS="$LDFLAGS"
                   11906:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
                   11907: 
                   11908:     save_LIBS="$LIBS"
                   11909:     LIBS="$lt_cv_dlopen_libs $LIBS"
                   11910: 
1.43      moko     11911:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
                   11912: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
                   11913: if ${lt_cv_dlopen_self+:} false; then :
                   11914:   $as_echo_n "(cached) " >&6
1.35      moko     11915: else
                   11916:          if test "$cross_compiling" = yes; then :
                   11917:   lt_cv_dlopen_self=cross
                   11918: else
                   11919:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   11920:   lt_status=$lt_dlunknown
                   11921:   cat > conftest.$ac_ext <<_LT_EOF
                   11922: #line $LINENO "configure"
                   11923: #include "confdefs.h"
                   11924: 
                   11925: #if HAVE_DLFCN_H
                   11926: #include <dlfcn.h>
                   11927: #endif
                   11928: 
                   11929: #include <stdio.h>
                   11930: 
                   11931: #ifdef RTLD_GLOBAL
                   11932: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   11933: #else
                   11934: #  ifdef DL_GLOBAL
                   11935: #    define LT_DLGLOBAL                DL_GLOBAL
                   11936: #  else
                   11937: #    define LT_DLGLOBAL                0
                   11938: #  endif
                   11939: #endif
                   11940: 
                   11941: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   11942:    find out it does not work in some platform. */
                   11943: #ifndef LT_DLLAZY_OR_NOW
                   11944: #  ifdef RTLD_LAZY
                   11945: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   11946: #  else
                   11947: #    ifdef DL_LAZY
                   11948: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   11949: #    else
                   11950: #      ifdef RTLD_NOW
                   11951: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   11952: #      else
                   11953: #        ifdef DL_NOW
                   11954: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   11955: #        else
                   11956: #          define LT_DLLAZY_OR_NOW     0
                   11957: #        endif
                   11958: #      endif
                   11959: #    endif
                   11960: #  endif
                   11961: #endif
                   11962: 
                   11963: /* When -fvisbility=hidden is used, assume the code has been annotated
                   11964:    correspondingly for the symbols needed.  */
                   11965: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   11966: int fnord () __attribute__((visibility("default")));
                   11967: #endif
                   11968: 
                   11969: int fnord () { return 42; }
                   11970: int main ()
                   11971: {
                   11972:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   11973:   int status = $lt_dlunknown;
                   11974: 
                   11975:   if (self)
                   11976:     {
                   11977:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   11978:       else
                   11979:         {
                   11980:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   11981:           else puts (dlerror ());
                   11982:        }
                   11983:       /* dlclose (self); */
                   11984:     }
                   11985:   else
                   11986:     puts (dlerror ());
                   11987: 
                   11988:   return status;
                   11989: }
                   11990: _LT_EOF
1.43      moko     11991:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.35      moko     11992:   (eval $ac_link) 2>&5
                   11993:   ac_status=$?
1.43      moko     11994:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   11995:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.35      moko     11996:     (./conftest; exit; ) >&5 2>/dev/null
                   11997:     lt_status=$?
                   11998:     case x$lt_status in
                   11999:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   12000:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
                   12001:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
                   12002:     esac
                   12003:   else :
                   12004:     # compilation failed
                   12005:     lt_cv_dlopen_self=no
                   12006:   fi
                   12007: fi
                   12008: rm -fr conftest*
                   12009: 
                   12010: 
                   12011: fi
1.43      moko     12012: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
                   12013: $as_echo "$lt_cv_dlopen_self" >&6; }
1.35      moko     12014: 
                   12015:     if test "x$lt_cv_dlopen_self" = xyes; then
                   12016:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
1.43      moko     12017:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
                   12018: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
                   12019: if ${lt_cv_dlopen_self_static+:} false; then :
                   12020:   $as_echo_n "(cached) " >&6
1.35      moko     12021: else
                   12022:          if test "$cross_compiling" = yes; then :
                   12023:   lt_cv_dlopen_self_static=cross
                   12024: else
                   12025:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   12026:   lt_status=$lt_dlunknown
                   12027:   cat > conftest.$ac_ext <<_LT_EOF
                   12028: #line $LINENO "configure"
                   12029: #include "confdefs.h"
                   12030: 
                   12031: #if HAVE_DLFCN_H
                   12032: #include <dlfcn.h>
                   12033: #endif
                   12034: 
                   12035: #include <stdio.h>
                   12036: 
                   12037: #ifdef RTLD_GLOBAL
                   12038: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   12039: #else
                   12040: #  ifdef DL_GLOBAL
                   12041: #    define LT_DLGLOBAL                DL_GLOBAL
                   12042: #  else
                   12043: #    define LT_DLGLOBAL                0
                   12044: #  endif
                   12045: #endif
                   12046: 
                   12047: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   12048:    find out it does not work in some platform. */
                   12049: #ifndef LT_DLLAZY_OR_NOW
                   12050: #  ifdef RTLD_LAZY
                   12051: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   12052: #  else
                   12053: #    ifdef DL_LAZY
                   12054: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   12055: #    else
                   12056: #      ifdef RTLD_NOW
                   12057: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   12058: #      else
                   12059: #        ifdef DL_NOW
                   12060: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   12061: #        else
                   12062: #          define LT_DLLAZY_OR_NOW     0
                   12063: #        endif
                   12064: #      endif
                   12065: #    endif
                   12066: #  endif
                   12067: #endif
                   12068: 
                   12069: /* When -fvisbility=hidden is used, assume the code has been annotated
                   12070:    correspondingly for the symbols needed.  */
                   12071: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   12072: int fnord () __attribute__((visibility("default")));
                   12073: #endif
                   12074: 
                   12075: int fnord () { return 42; }
                   12076: int main ()
                   12077: {
                   12078:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   12079:   int status = $lt_dlunknown;
                   12080: 
                   12081:   if (self)
                   12082:     {
                   12083:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   12084:       else
                   12085:         {
                   12086:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   12087:           else puts (dlerror ());
                   12088:        }
                   12089:       /* dlclose (self); */
                   12090:     }
                   12091:   else
                   12092:     puts (dlerror ());
                   12093: 
                   12094:   return status;
                   12095: }
                   12096: _LT_EOF
1.43      moko     12097:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.35      moko     12098:   (eval $ac_link) 2>&5
                   12099:   ac_status=$?
1.43      moko     12100:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   12101:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.35      moko     12102:     (./conftest; exit; ) >&5 2>/dev/null
                   12103:     lt_status=$?
                   12104:     case x$lt_status in
                   12105:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   12106:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
                   12107:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
                   12108:     esac
                   12109:   else :
                   12110:     # compilation failed
                   12111:     lt_cv_dlopen_self_static=no
                   12112:   fi
                   12113: fi
                   12114: rm -fr conftest*
                   12115: 
                   12116: 
                   12117: fi
1.43      moko     12118: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
                   12119: $as_echo "$lt_cv_dlopen_self_static" >&6; }
1.35      moko     12120:     fi
                   12121: 
                   12122:     CPPFLAGS="$save_CPPFLAGS"
                   12123:     LDFLAGS="$save_LDFLAGS"
                   12124:     LIBS="$save_LIBS"
                   12125:     ;;
                   12126:   esac
                   12127: 
                   12128:   case $lt_cv_dlopen_self in
                   12129:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   12130:   *) enable_dlopen_self=unknown ;;
                   12131:   esac
                   12132: 
                   12133:   case $lt_cv_dlopen_self_static in
                   12134:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   12135:   *) enable_dlopen_self_static=unknown ;;
                   12136:   esac
                   12137: fi
                   12138: 
                   12139: 
                   12140: 
                   12141: 
                   12142: 
                   12143: 
                   12144: 
                   12145: 
                   12146: 
                   12147: 
                   12148: 
                   12149: 
                   12150: 
                   12151: 
                   12152: 
                   12153: 
                   12154: 
                   12155: striplib=
                   12156: old_striplib=
1.43      moko     12157: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
                   12158: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
1.35      moko     12159: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
                   12160:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
                   12161:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
1.43      moko     12162:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   12163: $as_echo "yes" >&6; }
1.35      moko     12164: else
                   12165: # FIXME - insert some real tests, host_os isn't really good enough
                   12166:   case $host_os in
                   12167:   darwin*)
                   12168:     if test -n "$STRIP" ; then
                   12169:       striplib="$STRIP -x"
                   12170:       old_striplib="$STRIP -S"
1.43      moko     12171:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   12172: $as_echo "yes" >&6; }
1.35      moko     12173:     else
1.43      moko     12174:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12175: $as_echo "no" >&6; }
1.35      moko     12176:     fi
                   12177:     ;;
                   12178:   *)
1.43      moko     12179:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12180: $as_echo "no" >&6; }
1.35      moko     12181:     ;;
                   12182:   esac
                   12183: fi
                   12184: 
                   12185: 
                   12186: 
                   12187: 
                   12188: 
                   12189: 
                   12190: 
                   12191: 
                   12192: 
                   12193: 
                   12194: 
                   12195: 
                   12196:   # Report which library types will actually be built
1.43      moko     12197:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
                   12198: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
                   12199:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
                   12200: $as_echo "$can_build_shared" >&6; }
1.35      moko     12201: 
1.43      moko     12202:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
                   12203: $as_echo_n "checking whether to build shared libraries... " >&6; }
1.35      moko     12204:   test "$can_build_shared" = "no" && enable_shared=no
                   12205: 
                   12206:   # On AIX, shared libraries and static libraries use the same namespace, and
                   12207:   # are all built from PIC.
                   12208:   case $host_os in
                   12209:   aix3*)
                   12210:     test "$enable_shared" = yes && enable_static=no
                   12211:     if test -n "$RANLIB"; then
                   12212:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   12213:       postinstall_cmds='$RANLIB $lib'
                   12214:     fi
                   12215:     ;;
                   12216: 
                   12217:   aix[4-9]*)
                   12218:     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
                   12219:       test "$enable_shared" = yes && enable_static=no
                   12220:     fi
                   12221:     ;;
                   12222:   esac
1.43      moko     12223:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
                   12224: $as_echo "$enable_shared" >&6; }
1.35      moko     12225: 
1.43      moko     12226:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
                   12227: $as_echo_n "checking whether to build static libraries... " >&6; }
1.35      moko     12228:   # Make sure either enable_shared or enable_static is yes.
                   12229:   test "$enable_shared" = yes || enable_static=yes
1.43      moko     12230:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
                   12231: $as_echo "$enable_static" >&6; }
1.35      moko     12232: 
                   12233: 
                   12234: 
                   12235: 
                   12236: fi
                   12237: ac_ext=c
                   12238: ac_cpp='$CPP $CPPFLAGS'
                   12239: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12240: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12241: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   12242: 
                   12243: CC="$lt_save_CC"
                   12244: 
                   12245:       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
                   12246:     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
                   12247:     (test "X$CXX" != "Xg++"))) ; then
1.43      moko     12248:   ac_ext=cpp
1.35      moko     12249: ac_cpp='$CXXCPP $CPPFLAGS'
                   12250: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12251: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12252: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.43      moko     12253: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
                   12254: $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
1.35      moko     12255: if test -z "$CXXCPP"; then
1.43      moko     12256:   if ${ac_cv_prog_CXXCPP+:} false; then :
                   12257:   $as_echo_n "(cached) " >&6
1.35      moko     12258: else
                   12259:       # Double quotes because CXXCPP needs to be expanded
                   12260:     for CXXCPP in "$CXX -E" "/lib/cpp"
                   12261:     do
                   12262:       ac_preproc_ok=false
                   12263: for ac_cxx_preproc_warn_flag in '' yes
                   12264: do
                   12265:   # Use a header file that comes with gcc, so configuring glibc
                   12266:   # with a fresh cross-compiler works.
                   12267:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   12268:   # <limits.h> exists even on freestanding compilers.
                   12269:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   12270:   # not just through cpp. "Syntax error" is here to catch this case.
1.43      moko     12271:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     12272: /* end confdefs.h.  */
                   12273: #ifdef __STDC__
                   12274: # include <limits.h>
                   12275: #else
                   12276: # include <assert.h>
                   12277: #endif
                   12278:                     Syntax error
                   12279: _ACEOF
1.43      moko     12280: if ac_fn_cxx_try_cpp "$LINENO"; then :
                   12281: 
1.35      moko     12282: else
                   12283:   # Broken: fails on valid input.
                   12284: continue
                   12285: fi
1.43      moko     12286: rm -f conftest.err conftest.i conftest.$ac_ext
1.35      moko     12287: 
1.43      moko     12288:   # OK, works on sane cases.  Now check whether nonexistent headers
1.35      moko     12289:   # can be detected and how.
1.43      moko     12290:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     12291: /* end confdefs.h.  */
                   12292: #include <ac_nonexistent.h>
                   12293: _ACEOF
1.43      moko     12294: if ac_fn_cxx_try_cpp "$LINENO"; then :
1.35      moko     12295:   # Broken: success on invalid input.
                   12296: continue
                   12297: else
                   12298:   # Passes both tests.
                   12299: ac_preproc_ok=:
                   12300: break
                   12301: fi
1.43      moko     12302: rm -f conftest.err conftest.i conftest.$ac_ext
1.35      moko     12303: 
                   12304: done
                   12305: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.43      moko     12306: rm -f conftest.i conftest.err conftest.$ac_ext
                   12307: if $ac_preproc_ok; then :
1.35      moko     12308:   break
                   12309: fi
                   12310: 
                   12311:     done
                   12312:     ac_cv_prog_CXXCPP=$CXXCPP
                   12313: 
                   12314: fi
                   12315:   CXXCPP=$ac_cv_prog_CXXCPP
                   12316: else
                   12317:   ac_cv_prog_CXXCPP=$CXXCPP
                   12318: fi
1.43      moko     12319: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
                   12320: $as_echo "$CXXCPP" >&6; }
1.35      moko     12321: ac_preproc_ok=false
                   12322: for ac_cxx_preproc_warn_flag in '' yes
                   12323: do
                   12324:   # Use a header file that comes with gcc, so configuring glibc
                   12325:   # with a fresh cross-compiler works.
                   12326:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   12327:   # <limits.h> exists even on freestanding compilers.
                   12328:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   12329:   # not just through cpp. "Syntax error" is here to catch this case.
1.43      moko     12330:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     12331: /* end confdefs.h.  */
                   12332: #ifdef __STDC__
                   12333: # include <limits.h>
                   12334: #else
                   12335: # include <assert.h>
                   12336: #endif
                   12337:                     Syntax error
                   12338: _ACEOF
1.43      moko     12339: if ac_fn_cxx_try_cpp "$LINENO"; then :
                   12340: 
1.35      moko     12341: else
                   12342:   # Broken: fails on valid input.
                   12343: continue
                   12344: fi
1.43      moko     12345: rm -f conftest.err conftest.i conftest.$ac_ext
1.35      moko     12346: 
1.43      moko     12347:   # OK, works on sane cases.  Now check whether nonexistent headers
1.35      moko     12348:   # can be detected and how.
1.43      moko     12349:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     12350: /* end confdefs.h.  */
                   12351: #include <ac_nonexistent.h>
                   12352: _ACEOF
1.43      moko     12353: if ac_fn_cxx_try_cpp "$LINENO"; then :
1.35      moko     12354:   # Broken: success on invalid input.
                   12355: continue
                   12356: else
                   12357:   # Passes both tests.
                   12358: ac_preproc_ok=:
                   12359: break
                   12360: fi
1.43      moko     12361: rm -f conftest.err conftest.i conftest.$ac_ext
1.35      moko     12362: 
                   12363: done
                   12364: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.43      moko     12365: rm -f conftest.i conftest.err conftest.$ac_ext
                   12366: if $ac_preproc_ok; then :
                   12367: 
1.35      moko     12368: else
1.43      moko     12369:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   12370: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   12371: as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
                   12372: See \`config.log' for more details" "$LINENO" 5; }
1.35      moko     12373: fi
                   12374: 
                   12375: ac_ext=c
                   12376: ac_cpp='$CPP $CPPFLAGS'
                   12377: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12378: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12379: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   12380: 
                   12381: else
                   12382:   _lt_caught_CXX_error=yes
                   12383: fi
                   12384: 
1.43      moko     12385: ac_ext=cpp
1.35      moko     12386: ac_cpp='$CXXCPP $CPPFLAGS'
                   12387: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12388: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12389: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   12390: 
                   12391: archive_cmds_need_lc_CXX=no
                   12392: allow_undefined_flag_CXX=
                   12393: always_export_symbols_CXX=no
                   12394: archive_expsym_cmds_CXX=
                   12395: compiler_needs_object_CXX=no
                   12396: export_dynamic_flag_spec_CXX=
                   12397: hardcode_direct_CXX=no
                   12398: hardcode_direct_absolute_CXX=no
                   12399: hardcode_libdir_flag_spec_CXX=
                   12400: hardcode_libdir_separator_CXX=
                   12401: hardcode_minus_L_CXX=no
                   12402: hardcode_shlibpath_var_CXX=unsupported
                   12403: hardcode_automatic_CXX=no
                   12404: inherit_rpath_CXX=no
                   12405: module_cmds_CXX=
                   12406: module_expsym_cmds_CXX=
                   12407: link_all_deplibs_CXX=unknown
                   12408: old_archive_cmds_CXX=$old_archive_cmds
                   12409: reload_flag_CXX=$reload_flag
                   12410: reload_cmds_CXX=$reload_cmds
                   12411: no_undefined_flag_CXX=
                   12412: whole_archive_flag_spec_CXX=
                   12413: enable_shared_with_static_runtimes_CXX=no
                   12414: 
                   12415: # Source file extension for C++ test sources.
                   12416: ac_ext=cpp
                   12417: 
                   12418: # Object file extension for compiled C++ test sources.
                   12419: objext=o
                   12420: objext_CXX=$objext
                   12421: 
                   12422: # No sense in running all these tests if we already determined that
                   12423: # the CXX compiler isn't working.  Some variables (like enable_shared)
                   12424: # are currently assumed to apply to all compilers on this platform,
                   12425: # and will be corrupted by setting them based on a non-working compiler.
                   12426: if test "$_lt_caught_CXX_error" != yes; then
                   12427:   # Code to be used in simple compile tests
                   12428:   lt_simple_compile_test_code="int some_variable = 0;"
                   12429: 
                   12430:   # Code to be used in simple link tests
                   12431:   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
                   12432: 
                   12433:   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
                   12434: 
                   12435: 
                   12436: 
                   12437: 
                   12438: 
                   12439: 
                   12440: # If no C compiler was specified, use CC.
                   12441: LTCC=${LTCC-"$CC"}
                   12442: 
                   12443: # If no C compiler flags were specified, use CFLAGS.
                   12444: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   12445: 
                   12446: # Allow CC to be a program name with arguments.
                   12447: compiler=$CC
                   12448: 
                   12449: 
                   12450:   # save warnings/boilerplate of simple test code
                   12451:   ac_outfile=conftest.$ac_objext
                   12452: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   12453: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   12454: _lt_compiler_boilerplate=`cat conftest.err`
                   12455: $RM conftest*
                   12456: 
                   12457:   ac_outfile=conftest.$ac_objext
                   12458: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   12459: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   12460: _lt_linker_boilerplate=`cat conftest.err`
                   12461: $RM -r conftest*
                   12462: 
                   12463: 
                   12464:   # Allow CC to be a program name with arguments.
                   12465:   lt_save_CC=$CC
                   12466:   lt_save_CFLAGS=$CFLAGS
                   12467:   lt_save_LD=$LD
                   12468:   lt_save_GCC=$GCC
                   12469:   GCC=$GXX
                   12470:   lt_save_with_gnu_ld=$with_gnu_ld
                   12471:   lt_save_path_LD=$lt_cv_path_LD
                   12472:   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
                   12473:     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
                   12474:   else
                   12475:     $as_unset lt_cv_prog_gnu_ld
                   12476:   fi
                   12477:   if test -n "${lt_cv_path_LDCXX+set}"; then
                   12478:     lt_cv_path_LD=$lt_cv_path_LDCXX
                   12479:   else
                   12480:     $as_unset lt_cv_path_LD
                   12481:   fi
                   12482:   test -z "${LDCXX+set}" || LD=$LDCXX
                   12483:   CC=${CXX-"c++"}
                   12484:   CFLAGS=$CXXFLAGS
                   12485:   compiler=$CC
                   12486:   compiler_CXX=$CC
                   12487:   for cc_temp in $compiler""; do
                   12488:   case $cc_temp in
                   12489:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   12490:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   12491:     \-*) ;;
                   12492:     *) break;;
                   12493:   esac
                   12494: done
                   12495: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   12496: 
                   12497: 
                   12498:   if test -n "$compiler"; then
                   12499:     # We don't want -fno-exception when compiling C++ code, so set the
                   12500:     # no_builtin_flag separately
                   12501:     if test "$GXX" = yes; then
                   12502:       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
                   12503:     else
                   12504:       lt_prog_compiler_no_builtin_flag_CXX=
                   12505:     fi
                   12506: 
                   12507:     if test "$GXX" = yes; then
                   12508:       # Set up default GNU C++ configuration
                   12509: 
                   12510: 
                   12511: 
1.43      moko     12512: # Check whether --with-gnu-ld was given.
                   12513: if test "${with_gnu_ld+set}" = set; then :
                   12514:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
1.35      moko     12515: else
                   12516:   with_gnu_ld=no
1.43      moko     12517: fi
                   12518: 
1.35      moko     12519: ac_prog=ld
                   12520: if test "$GCC" = yes; then
                   12521:   # Check if gcc -print-prog-name=ld gives a path.
1.43      moko     12522:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   12523: $as_echo_n "checking for ld used by $CC... " >&6; }
1.35      moko     12524:   case $host in
                   12525:   *-*-mingw*)
                   12526:     # gcc leaves a trailing carriage return which upsets mingw
                   12527:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   12528:   *)
                   12529:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   12530:   esac
                   12531:   case $ac_prog in
                   12532:     # Accept absolute paths.
                   12533:     [\\/]* | ?:[\\/]*)
                   12534:       re_direlt='/[^/][^/]*/\.\./'
                   12535:       # Canonicalize the pathname of ld
                   12536:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   12537:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   12538:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   12539:       done
                   12540:       test -z "$LD" && LD="$ac_prog"
                   12541:       ;;
                   12542:   "")
                   12543:     # If it fails, then pretend we aren't using GCC.
                   12544:     ac_prog=ld
                   12545:     ;;
                   12546:   *)
                   12547:     # If it is relative, then search for the first ld in PATH.
                   12548:     with_gnu_ld=unknown
                   12549:     ;;
                   12550:   esac
                   12551: elif test "$with_gnu_ld" = yes; then
1.43      moko     12552:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   12553: $as_echo_n "checking for GNU ld... " >&6; }
1.35      moko     12554: else
1.43      moko     12555:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   12556: $as_echo_n "checking for non-GNU ld... " >&6; }
1.35      moko     12557: fi
1.43      moko     12558: if ${lt_cv_path_LD+:} false; then :
                   12559:   $as_echo_n "(cached) " >&6
1.35      moko     12560: else
                   12561:   if test -z "$LD"; then
                   12562:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   12563:   for ac_dir in $PATH; do
                   12564:     IFS="$lt_save_ifs"
                   12565:     test -z "$ac_dir" && ac_dir=.
                   12566:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   12567:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   12568:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   12569:       # but apparently some variants of GNU ld only accept -v.
                   12570:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   12571:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   12572:       *GNU* | *'with BFD'*)
                   12573:        test "$with_gnu_ld" != no && break
                   12574:        ;;
                   12575:       *)
                   12576:        test "$with_gnu_ld" != yes && break
                   12577:        ;;
                   12578:       esac
                   12579:     fi
                   12580:   done
                   12581:   IFS="$lt_save_ifs"
                   12582: else
                   12583:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   12584: fi
                   12585: fi
                   12586: 
                   12587: LD="$lt_cv_path_LD"
                   12588: if test -n "$LD"; then
1.43      moko     12589:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   12590: $as_echo "$LD" >&6; }
1.35      moko     12591: else
1.43      moko     12592:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12593: $as_echo "no" >&6; }
1.35      moko     12594: fi
1.43      moko     12595: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
                   12596: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   12597: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
                   12598: if ${lt_cv_prog_gnu_ld+:} false; then :
                   12599:   $as_echo_n "(cached) " >&6
1.35      moko     12600: else
                   12601:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   12602: case `$LD -v 2>&1 </dev/null` in
                   12603: *GNU* | *'with BFD'*)
                   12604:   lt_cv_prog_gnu_ld=yes
                   12605:   ;;
                   12606: *)
                   12607:   lt_cv_prog_gnu_ld=no
                   12608:   ;;
                   12609: esac
                   12610: fi
1.43      moko     12611: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   12612: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
1.35      moko     12613: with_gnu_ld=$lt_cv_prog_gnu_ld
                   12614: 
                   12615: 
                   12616: 
                   12617: 
                   12618: 
                   12619: 
                   12620: 
                   12621:       # Check if GNU C++ uses GNU ld as the underlying linker, since the
                   12622:       # archiving commands below assume that GNU ld is being used.
                   12623:       if test "$with_gnu_ld" = yes; then
                   12624:         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12625:         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'
                   12626: 
                   12627:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   12628:         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   12629: 
                   12630:         # If archive_cmds runs LD, not CC, wlarc should be empty
                   12631:         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
                   12632:         #     investigate it a little bit more. (MM)
                   12633:         wlarc='${wl}'
                   12634: 
                   12635:         # ancient GNU ld didn't support --whole-archive et. al.
                   12636:         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
                   12637:          $GREP 'no-whole-archive' > /dev/null; then
                   12638:           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   12639:         else
                   12640:           whole_archive_flag_spec_CXX=
                   12641:         fi
                   12642:       else
                   12643:         with_gnu_ld=no
                   12644:         wlarc=
                   12645: 
                   12646:         # A generic and very simple default shared library creation
                   12647:         # command for GNU C++ for the case where it uses the native
                   12648:         # linker, instead of GNU ld.  If possible, this setting should
                   12649:         # overridden to take advantage of the native linker features on
                   12650:         # the platform it is being used on.
                   12651:         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   12652:       fi
                   12653: 
                   12654:       # Commands to make compiler produce verbose output that lists
                   12655:       # what "hidden" libraries, object files and flags are used when
                   12656:       # linking a shared library.
                   12657:       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   12658: 
                   12659:     else
                   12660:       GXX=no
                   12661:       with_gnu_ld=no
                   12662:       wlarc=
                   12663:     fi
                   12664: 
                   12665:     # PORTME: fill in a description of your system's C++ link characteristics
1.43      moko     12666:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   12667: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.35      moko     12668:     ld_shlibs_CXX=yes
                   12669:     case $host_os in
                   12670:       aix3*)
                   12671:         # FIXME: insert proper C++ library support
                   12672:         ld_shlibs_CXX=no
                   12673:         ;;
                   12674:       aix[4-9]*)
                   12675:         if test "$host_cpu" = ia64; then
                   12676:           # On IA64, the linker does run time linking by default, so we don't
                   12677:           # have to do anything special.
                   12678:           aix_use_runtimelinking=no
                   12679:           exp_sym_flag='-Bexport'
                   12680:           no_entry_flag=""
                   12681:         else
                   12682:           aix_use_runtimelinking=no
                   12683: 
                   12684:           # Test if we are trying to use run time linking or normal
                   12685:           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   12686:           # need to do runtime linking.
                   12687:           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   12688:            for ld_flag in $LDFLAGS; do
                   12689:              case $ld_flag in
                   12690:              *-brtl*)
                   12691:                aix_use_runtimelinking=yes
                   12692:                break
                   12693:                ;;
                   12694:              esac
                   12695:            done
                   12696:            ;;
                   12697:           esac
                   12698: 
                   12699:           exp_sym_flag='-bexport'
                   12700:           no_entry_flag='-bnoentry'
                   12701:         fi
                   12702: 
                   12703:         # When large executables or shared objects are built, AIX ld can
                   12704:         # have problems creating the table of contents.  If linking a library
                   12705:         # or program results in "error TOC overflow" add -mminimal-toc to
                   12706:         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   12707:         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   12708: 
                   12709:         archive_cmds_CXX=''
                   12710:         hardcode_direct_CXX=yes
                   12711:         hardcode_direct_absolute_CXX=yes
                   12712:         hardcode_libdir_separator_CXX=':'
                   12713:         link_all_deplibs_CXX=yes
                   12714:         file_list_spec_CXX='${wl}-f,'
                   12715: 
                   12716:         if test "$GXX" = yes; then
                   12717:           case $host_os in aix4.[012]|aix4.[012].*)
                   12718:           # We only want to do this on AIX 4.2 and lower, the check
                   12719:           # below for broken collect2 doesn't work under 4.3+
                   12720:          collect2name=`${CC} -print-prog-name=collect2`
                   12721:          if test -f "$collect2name" &&
                   12722:             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   12723:          then
                   12724:            # We have reworked collect2
                   12725:            :
                   12726:          else
                   12727:            # We have old collect2
                   12728:            hardcode_direct_CXX=unsupported
                   12729:            # It fails to find uninstalled libraries when the uninstalled
                   12730:            # path is not listed in the libpath.  Setting hardcode_minus_L
                   12731:            # to unsupported forces relinking
                   12732:            hardcode_minus_L_CXX=yes
                   12733:            hardcode_libdir_flag_spec_CXX='-L$libdir'
                   12734:            hardcode_libdir_separator_CXX=
                   12735:          fi
                   12736:           esac
                   12737:           shared_flag='-shared'
                   12738:          if test "$aix_use_runtimelinking" = yes; then
                   12739:            shared_flag="$shared_flag "'${wl}-G'
                   12740:          fi
                   12741:         else
                   12742:           # not using gcc
                   12743:           if test "$host_cpu" = ia64; then
                   12744:          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   12745:          # chokes on -Wl,-G. The following line is correct:
                   12746:          shared_flag='-G'
                   12747:           else
                   12748:            if test "$aix_use_runtimelinking" = yes; then
                   12749:              shared_flag='${wl}-G'
                   12750:            else
                   12751:              shared_flag='${wl}-bM:SRE'
                   12752:            fi
                   12753:           fi
                   12754:         fi
                   12755: 
                   12756:         export_dynamic_flag_spec_CXX='${wl}-bexpall'
                   12757:         # It seems that -bexpall does not export symbols beginning with
                   12758:         # underscore (_), so it is better to generate a list of symbols to
                   12759:        # export.
                   12760:         always_export_symbols_CXX=yes
                   12761:         if test "$aix_use_runtimelinking" = yes; then
                   12762:           # Warning - without using the other runtime loading flags (-brtl),
                   12763:           # -berok will link without error, but may produce a broken library.
                   12764:           allow_undefined_flag_CXX='-berok'
                   12765:           # Determine the default libpath from the value encoded in an empty
                   12766:           # executable.
                   12767:           if test "${lt_cv_aix_libpath+set}" = set; then
                   12768:   aix_libpath=$lt_cv_aix_libpath
                   12769: else
1.43      moko     12770:   if ${lt_cv_aix_libpath__CXX+:} false; then :
                   12771:   $as_echo_n "(cached) " >&6
1.35      moko     12772: else
1.43      moko     12773:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     12774: /* end confdefs.h.  */
                   12775: 
                   12776: int
                   12777: main ()
                   12778: {
                   12779: 
                   12780:   ;
                   12781:   return 0;
                   12782: }
                   12783: _ACEOF
1.43      moko     12784: if ac_fn_cxx_try_link "$LINENO"; then :
1.35      moko     12785: 
                   12786:   lt_aix_libpath_sed='
                   12787:       /Import File Strings/,/^$/ {
                   12788:          /^0/ {
                   12789:              s/^0  *\([^ ]*\) *$/\1/
                   12790:              p
                   12791:          }
                   12792:       }'
                   12793:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   12794:   # Check for a 64-bit object if we didn't find anything.
                   12795:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   12796:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   12797:   fi
                   12798: fi
1.43      moko     12799: rm -f core conftest.err conftest.$ac_objext \
                   12800:     conftest$ac_exeext conftest.$ac_ext
1.35      moko     12801:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   12802:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   12803:   fi
                   12804: 
                   12805: fi
                   12806: 
                   12807:   aix_libpath=$lt_cv_aix_libpath__CXX
                   12808: fi
                   12809: 
                   12810:           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   12811: 
                   12812:           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"
                   12813:         else
                   12814:           if test "$host_cpu" = ia64; then
                   12815:            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
                   12816:            allow_undefined_flag_CXX="-z nodefs"
                   12817:            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"
                   12818:           else
                   12819:            # Determine the default libpath from the value encoded in an
                   12820:            # empty executable.
                   12821:            if test "${lt_cv_aix_libpath+set}" = set; then
                   12822:   aix_libpath=$lt_cv_aix_libpath
                   12823: else
1.43      moko     12824:   if ${lt_cv_aix_libpath__CXX+:} false; then :
                   12825:   $as_echo_n "(cached) " >&6
1.35      moko     12826: else
1.43      moko     12827:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     12828: /* end confdefs.h.  */
                   12829: 
                   12830: int
                   12831: main ()
                   12832: {
                   12833: 
                   12834:   ;
                   12835:   return 0;
                   12836: }
                   12837: _ACEOF
1.43      moko     12838: if ac_fn_cxx_try_link "$LINENO"; then :
1.35      moko     12839: 
                   12840:   lt_aix_libpath_sed='
                   12841:       /Import File Strings/,/^$/ {
                   12842:          /^0/ {
                   12843:              s/^0  *\([^ ]*\) *$/\1/
                   12844:              p
                   12845:          }
                   12846:       }'
                   12847:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   12848:   # Check for a 64-bit object if we didn't find anything.
                   12849:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   12850:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   12851:   fi
                   12852: fi
1.43      moko     12853: rm -f core conftest.err conftest.$ac_objext \
                   12854:     conftest$ac_exeext conftest.$ac_ext
1.35      moko     12855:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   12856:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   12857:   fi
                   12858: 
                   12859: fi
                   12860: 
                   12861:   aix_libpath=$lt_cv_aix_libpath__CXX
                   12862: fi
                   12863: 
                   12864:            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   12865:            # Warning - without using the other run time loading flags,
                   12866:            # -berok will link without error, but may produce a broken library.
                   12867:            no_undefined_flag_CXX=' ${wl}-bernotok'
                   12868:            allow_undefined_flag_CXX=' ${wl}-berok'
                   12869:            if test "$with_gnu_ld" = yes; then
                   12870:              # We only use this code for GNU lds that support --whole-archive.
                   12871:              whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   12872:            else
                   12873:              # Exported symbols can be pulled into shared objects from archives
                   12874:              whole_archive_flag_spec_CXX='$convenience'
                   12875:            fi
                   12876:            archive_cmds_need_lc_CXX=yes
                   12877:            # This is similar to how AIX traditionally builds its shared
                   12878:            # libraries.
                   12879:            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'
                   12880:           fi
                   12881:         fi
                   12882:         ;;
                   12883: 
                   12884:       beos*)
                   12885:        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   12886:          allow_undefined_flag_CXX=unsupported
                   12887:          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   12888:          # support --undefined.  This deserves some investigation.  FIXME
                   12889:          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12890:        else
                   12891:          ld_shlibs_CXX=no
                   12892:        fi
                   12893:        ;;
                   12894: 
                   12895:       chorus*)
                   12896:         case $cc_basename in
                   12897:           *)
                   12898:          # FIXME: insert proper C++ library support
                   12899:          ld_shlibs_CXX=no
                   12900:          ;;
                   12901:         esac
                   12902:         ;;
                   12903: 
                   12904:       cygwin* | mingw* | pw32* | cegcc*)
                   12905:        case $GXX,$cc_basename in
                   12906:        ,cl* | no,cl*)
                   12907:          # Native MSVC
                   12908:          # hardcode_libdir_flag_spec is actually meaningless, as there is
                   12909:          # no search path for DLLs.
                   12910:          hardcode_libdir_flag_spec_CXX=' '
                   12911:          allow_undefined_flag_CXX=unsupported
                   12912:          always_export_symbols_CXX=yes
                   12913:          file_list_spec_CXX='@'
                   12914:          # Tell ltmain to make .lib files, not .a files.
                   12915:          libext=lib
                   12916:          # Tell ltmain to make .dll files, not .so files.
                   12917:          shrext_cmds=".dll"
                   12918:          # FIXME: Setting linknames here is a bad hack.
                   12919:          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   12920:          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   12921:              $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   12922:            else
                   12923:              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   12924:            fi~
                   12925:            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   12926:            linknames='
                   12927:          # The linker will not automatically build a static lib if we build a DLL.
                   12928:          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
                   12929:          enable_shared_with_static_runtimes_CXX=yes
                   12930:          # Don't use ranlib
                   12931:          old_postinstall_cmds_CXX='chmod 644 $oldlib'
                   12932:          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
                   12933:            lt_tool_outputfile="@TOOL_OUTPUT@"~
                   12934:            case $lt_outputfile in
                   12935:              *.exe|*.EXE) ;;
                   12936:              *)
                   12937:                lt_outputfile="$lt_outputfile.exe"
                   12938:                lt_tool_outputfile="$lt_tool_outputfile.exe"
                   12939:                ;;
                   12940:            esac~
                   12941:            func_to_tool_file "$lt_outputfile"~
                   12942:            if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   12943:              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   12944:              $RM "$lt_outputfile.manifest";
                   12945:            fi'
                   12946:          ;;
                   12947:        *)
                   12948:          # g++
                   12949:          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
                   12950:          # as there is no search path for DLLs.
                   12951:          hardcode_libdir_flag_spec_CXX='-L$libdir'
                   12952:          export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
                   12953:          allow_undefined_flag_CXX=unsupported
                   12954:          always_export_symbols_CXX=no
                   12955:          enable_shared_with_static_runtimes_CXX=yes
                   12956: 
                   12957:          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   12958:            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'
                   12959:            # If the export-symbols file already is a .def file (1st line
                   12960:            # is EXPORTS), use it as is; otherwise, prepend...
                   12961:            archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   12962:              cp $export_symbols $output_objdir/$soname.def;
                   12963:            else
                   12964:              echo EXPORTS > $output_objdir/$soname.def;
                   12965:              cat $export_symbols >> $output_objdir/$soname.def;
                   12966:            fi~
                   12967:            $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'
                   12968:          else
                   12969:            ld_shlibs_CXX=no
                   12970:          fi
                   12971:          ;;
                   12972:        esac
                   12973:        ;;
                   12974:       darwin* | rhapsody*)
                   12975: 
                   12976: 
                   12977:   archive_cmds_need_lc_CXX=no
                   12978:   hardcode_direct_CXX=no
                   12979:   hardcode_automatic_CXX=yes
                   12980:   hardcode_shlibpath_var_CXX=unsupported
                   12981:   if test "$lt_cv_ld_force_load" = "yes"; then
                   12982:     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\"`'
                   12983: 
                   12984:   else
                   12985:     whole_archive_flag_spec_CXX=''
                   12986:   fi
                   12987:   link_all_deplibs_CXX=yes
                   12988:   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
                   12989:   case $cc_basename in
                   12990:      ifort*) _lt_dar_can_shared=yes ;;
                   12991:      *) _lt_dar_can_shared=$GCC ;;
                   12992:   esac
                   12993:   if test "$_lt_dar_can_shared" = "yes"; then
                   12994:     output_verbose_link_cmd=func_echo_all
                   12995:     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}"
                   12996:     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   12997:     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}"
                   12998:     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}"
                   12999:        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
                   13000:       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}"
                   13001:       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}"
                   13002:     fi
                   13003: 
                   13004:   else
                   13005:   ld_shlibs_CXX=no
                   13006:   fi
                   13007: 
                   13008:        ;;
                   13009: 
                   13010:       dgux*)
                   13011:         case $cc_basename in
                   13012:           ec++*)
                   13013:            # FIXME: insert proper C++ library support
                   13014:            ld_shlibs_CXX=no
                   13015:            ;;
                   13016:           ghcx*)
                   13017:            # Green Hills C++ Compiler
                   13018:            # FIXME: insert proper C++ library support
                   13019:            ld_shlibs_CXX=no
                   13020:            ;;
                   13021:           *)
                   13022:            # FIXME: insert proper C++ library support
                   13023:            ld_shlibs_CXX=no
                   13024:            ;;
                   13025:         esac
                   13026:         ;;
                   13027: 
                   13028:       freebsd2.*)
                   13029:         # C++ shared libraries reported to be fairly broken before
                   13030:        # switch to ELF
                   13031:         ld_shlibs_CXX=no
                   13032:         ;;
                   13033: 
                   13034:       freebsd-elf*)
                   13035:         archive_cmds_need_lc_CXX=no
                   13036:         ;;
                   13037: 
                   13038:       freebsd* | dragonfly*)
                   13039:         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
                   13040:         # conventions
                   13041:         ld_shlibs_CXX=yes
                   13042:         ;;
                   13043: 
                   13044:       gnu*)
                   13045:         ;;
                   13046: 
                   13047:       haiku*)
                   13048:         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13049:         link_all_deplibs_CXX=yes
                   13050:         ;;
                   13051: 
                   13052:       hpux9*)
                   13053:         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   13054:         hardcode_libdir_separator_CXX=:
                   13055:         export_dynamic_flag_spec_CXX='${wl}-E'
                   13056:         hardcode_direct_CXX=yes
                   13057:         hardcode_minus_L_CXX=yes # Not in the search PATH,
                   13058:                                             # but as the default
                   13059:                                             # location of the library.
                   13060: 
                   13061:         case $cc_basename in
                   13062:           CC*)
                   13063:             # FIXME: insert proper C++ library support
                   13064:             ld_shlibs_CXX=no
                   13065:             ;;
                   13066:           aCC*)
                   13067:             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'
                   13068:             # Commands to make compiler produce verbose output that lists
                   13069:             # what "hidden" libraries, object files and flags are used when
                   13070:             # linking a shared library.
                   13071:             #
                   13072:             # There doesn't appear to be a way to prevent this compiler from
                   13073:             # explicitly linking system object files so we need to strip them
                   13074:             # from the output so that they don't get included in the library
                   13075:             # dependencies.
                   13076:             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"'
                   13077:             ;;
                   13078:           *)
                   13079:             if test "$GXX" = yes; then
                   13080:               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'
                   13081:             else
                   13082:               # FIXME: insert proper C++ library support
                   13083:               ld_shlibs_CXX=no
                   13084:             fi
                   13085:             ;;
                   13086:         esac
                   13087:         ;;
                   13088: 
                   13089:       hpux10*|hpux11*)
                   13090:         if test $with_gnu_ld = no; then
                   13091:          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   13092:          hardcode_libdir_separator_CXX=:
                   13093: 
                   13094:           case $host_cpu in
                   13095:             hppa*64*|ia64*)
                   13096:               ;;
                   13097:             *)
                   13098:              export_dynamic_flag_spec_CXX='${wl}-E'
                   13099:               ;;
                   13100:           esac
                   13101:         fi
                   13102:         case $host_cpu in
                   13103:           hppa*64*|ia64*)
                   13104:             hardcode_direct_CXX=no
                   13105:             hardcode_shlibpath_var_CXX=no
                   13106:             ;;
                   13107:           *)
                   13108:             hardcode_direct_CXX=yes
                   13109:             hardcode_direct_absolute_CXX=yes
                   13110:             hardcode_minus_L_CXX=yes # Not in the search PATH,
                   13111:                                                 # but as the default
                   13112:                                                 # location of the library.
                   13113:             ;;
                   13114:         esac
                   13115: 
                   13116:         case $cc_basename in
                   13117:           CC*)
                   13118:            # FIXME: insert proper C++ library support
                   13119:            ld_shlibs_CXX=no
                   13120:            ;;
                   13121:           aCC*)
                   13122:            case $host_cpu in
                   13123:              hppa*64*)
                   13124:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13125:                ;;
                   13126:              ia64*)
                   13127:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13128:                ;;
                   13129:              *)
                   13130:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13131:                ;;
                   13132:            esac
                   13133:            # Commands to make compiler produce verbose output that lists
                   13134:            # what "hidden" libraries, object files and flags are used when
                   13135:            # linking a shared library.
                   13136:            #
                   13137:            # There doesn't appear to be a way to prevent this compiler from
                   13138:            # explicitly linking system object files so we need to strip them
                   13139:            # from the output so that they don't get included in the library
                   13140:            # dependencies.
                   13141:            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"'
                   13142:            ;;
                   13143:           *)
                   13144:            if test "$GXX" = yes; then
                   13145:              if test $with_gnu_ld = no; then
                   13146:                case $host_cpu in
                   13147:                  hppa*64*)
                   13148:                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13149:                    ;;
                   13150:                  ia64*)
                   13151:                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13152:                    ;;
                   13153:                  *)
                   13154:                    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'
                   13155:                    ;;
                   13156:                esac
                   13157:              fi
                   13158:            else
                   13159:              # FIXME: insert proper C++ library support
                   13160:              ld_shlibs_CXX=no
                   13161:            fi
                   13162:            ;;
                   13163:         esac
                   13164:         ;;
                   13165: 
                   13166:       interix[3-9]*)
                   13167:        hardcode_direct_CXX=no
                   13168:        hardcode_shlibpath_var_CXX=no
                   13169:        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13170:        export_dynamic_flag_spec_CXX='${wl}-E'
                   13171:        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   13172:        # Instead, shared libraries are loaded at an image base (0x10000000 by
                   13173:        # default) and relocated if they conflict, which is a slow very memory
                   13174:        # consuming and fragmenting process.  To avoid this, we pick a random,
                   13175:        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   13176:        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   13177:        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'
                   13178:        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'
                   13179:        ;;
                   13180:       irix5* | irix6*)
                   13181:         case $cc_basename in
                   13182:           CC*)
                   13183:            # SGI C++
                   13184:            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'
                   13185: 
                   13186:            # Archives containing C++ object files must be created using
                   13187:            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
                   13188:            # necessary to make sure instantiated templates are included
                   13189:            # in the archive.
                   13190:            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
                   13191:            ;;
                   13192:           *)
                   13193:            if test "$GXX" = yes; then
                   13194:              if test "$with_gnu_ld" = no; then
                   13195:                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'
                   13196:              else
                   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"` -o $lib'
                   13198:              fi
                   13199:            fi
                   13200:            link_all_deplibs_CXX=yes
                   13201:            ;;
                   13202:         esac
                   13203:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13204:         hardcode_libdir_separator_CXX=:
                   13205:         inherit_rpath_CXX=yes
                   13206:         ;;
                   13207: 
                   13208:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   13209:         case $cc_basename in
                   13210:           KCC*)
                   13211:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   13212: 
                   13213:            # KCC will only create a shared library if the output file
                   13214:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   13215:            # to its proper name (with version) after linking.
                   13216:            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'
                   13217:            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'
                   13218:            # Commands to make compiler produce verbose output that lists
                   13219:            # what "hidden" libraries, object files and flags are used when
                   13220:            # linking a shared library.
                   13221:            #
                   13222:            # There doesn't appear to be a way to prevent this compiler from
                   13223:            # explicitly linking system object files so we need to strip them
                   13224:            # from the output so that they don't get included in the library
                   13225:            # dependencies.
                   13226:            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"'
                   13227: 
                   13228:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13229:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13230: 
                   13231:            # Archives containing C++ object files must be created using
                   13232:            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
                   13233:            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
                   13234:            ;;
                   13235:          icpc* | ecpc* )
                   13236:            # Intel C++
                   13237:            with_gnu_ld=yes
                   13238:            # version 8.0 and above of icpc choke on multiply defined symbols
                   13239:            # if we add $predep_objects and $postdep_objects, however 7.1 and
                   13240:            # earlier do not add the objects themselves.
                   13241:            case `$CC -V 2>&1` in
                   13242:              *"Version 7."*)
                   13243:                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13244:                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'
                   13245:                ;;
                   13246:              *)  # Version 8.0 or newer
                   13247:                tmp_idyn=
                   13248:                case $host_cpu in
                   13249:                  ia64*) tmp_idyn=' -i_dynamic';;
                   13250:                esac
                   13251:                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13252:                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'
                   13253:                ;;
                   13254:            esac
                   13255:            archive_cmds_need_lc_CXX=no
                   13256:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13257:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13258:            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   13259:            ;;
                   13260:           pgCC* | pgcpp*)
                   13261:             # Portland Group C++ compiler
                   13262:            case `$CC -V` in
                   13263:            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
                   13264:              prelink_cmds_CXX='tpldir=Template.dir~
                   13265:                rm -rf $tpldir~
                   13266:                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
                   13267:                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
                   13268:              old_archive_cmds_CXX='tpldir=Template.dir~
                   13269:                rm -rf $tpldir~
                   13270:                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
                   13271:                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
                   13272:                $RANLIB $oldlib'
                   13273:              archive_cmds_CXX='tpldir=Template.dir~
                   13274:                rm -rf $tpldir~
                   13275:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   13276:                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   13277:              archive_expsym_cmds_CXX='tpldir=Template.dir~
                   13278:                rm -rf $tpldir~
                   13279:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   13280:                $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'
                   13281:              ;;
                   13282:            *) # Version 6 and above use weak symbols
                   13283:              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   13284:              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'
                   13285:              ;;
                   13286:            esac
                   13287: 
                   13288:            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
                   13289:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13290:            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'
                   13291:             ;;
                   13292:          cxx*)
                   13293:            # Compaq C++
                   13294:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13295:            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'
                   13296: 
                   13297:            runpath_var=LD_RUN_PATH
                   13298:            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   13299:            hardcode_libdir_separator_CXX=:
                   13300: 
                   13301:            # Commands to make compiler produce verbose output that lists
                   13302:            # what "hidden" libraries, object files and flags are used when
                   13303:            # linking a shared library.
                   13304:            #
                   13305:            # There doesn't appear to be a way to prevent this compiler from
                   13306:            # explicitly linking system object files so we need to strip them
                   13307:            # from the output so that they don't get included in the library
                   13308:            # dependencies.
                   13309:            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'
                   13310:            ;;
                   13311:          xl* | mpixl* | bgxl*)
                   13312:            # IBM XL 8.0 on PPC, with GNU ld
                   13313:            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13314:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13315:            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13316:            if test "x$supports_anon_versioning" = xyes; then
                   13317:              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
                   13318:                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   13319:                echo "local: *; };" >> $output_objdir/$libname.ver~
                   13320:                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   13321:            fi
                   13322:            ;;
                   13323:          *)
                   13324:            case `$CC -V 2>&1 | sed 5q` in
                   13325:            *Sun\ C*)
                   13326:              # Sun C++ 5.9
                   13327:              no_undefined_flag_CXX=' -zdefs'
                   13328:              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13329:              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'
                   13330:              hardcode_libdir_flag_spec_CXX='-R$libdir'
                   13331:              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'
                   13332:              compiler_needs_object_CXX=yes
                   13333: 
                   13334:              # Not sure whether something based on
                   13335:              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
                   13336:              # would be better.
                   13337:              output_verbose_link_cmd='func_echo_all'
                   13338: 
                   13339:              # Archives containing C++ object files must be created using
                   13340:              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   13341:              # necessary to make sure instantiated templates are included
                   13342:              # in the archive.
                   13343:              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   13344:              ;;
                   13345:            esac
                   13346:            ;;
                   13347:        esac
                   13348:        ;;
                   13349: 
                   13350:       lynxos*)
                   13351:         # FIXME: insert proper C++ library support
                   13352:        ld_shlibs_CXX=no
                   13353:        ;;
                   13354: 
                   13355:       m88k*)
                   13356:         # FIXME: insert proper C++ library support
                   13357:         ld_shlibs_CXX=no
                   13358:        ;;
                   13359: 
                   13360:       mvs*)
                   13361:         case $cc_basename in
                   13362:           cxx*)
                   13363:            # FIXME: insert proper C++ library support
                   13364:            ld_shlibs_CXX=no
                   13365:            ;;
                   13366:          *)
                   13367:            # FIXME: insert proper C++ library support
                   13368:            ld_shlibs_CXX=no
                   13369:            ;;
                   13370:        esac
                   13371:        ;;
                   13372: 
                   13373:       netbsd*)
                   13374:         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   13375:          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
                   13376:          wlarc=
                   13377:          hardcode_libdir_flag_spec_CXX='-R$libdir'
                   13378:          hardcode_direct_CXX=yes
                   13379:          hardcode_shlibpath_var_CXX=no
                   13380:        fi
                   13381:        # Workaround some broken pre-1.5 toolchains
                   13382:        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
                   13383:        ;;
                   13384: 
                   13385:       *nto* | *qnx*)
                   13386:         ld_shlibs_CXX=yes
                   13387:        ;;
                   13388: 
                   13389:       openbsd2*)
                   13390:         # C++ shared libraries are fairly broken
                   13391:        ld_shlibs_CXX=no
                   13392:        ;;
                   13393: 
                   13394:       openbsd*)
                   13395:        if test -f /usr/libexec/ld.so; then
                   13396:          hardcode_direct_CXX=yes
                   13397:          hardcode_shlibpath_var_CXX=no
                   13398:          hardcode_direct_absolute_CXX=yes
                   13399:          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   13400:          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13401:          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   13402:            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
                   13403:            export_dynamic_flag_spec_CXX='${wl}-E'
                   13404:            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   13405:          fi
                   13406:          output_verbose_link_cmd=func_echo_all
                   13407:        else
                   13408:          ld_shlibs_CXX=no
                   13409:        fi
                   13410:        ;;
                   13411: 
                   13412:       osf3* | osf4* | osf5*)
                   13413:         case $cc_basename in
                   13414:           KCC*)
                   13415:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   13416: 
                   13417:            # KCC will only create a shared library if the output file
                   13418:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   13419:            # to its proper name (with version) after linking.
                   13420:            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'
                   13421: 
                   13422:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13423:            hardcode_libdir_separator_CXX=:
                   13424: 
                   13425:            # Archives containing C++ object files must be created using
                   13426:            # the KAI C++ compiler.
                   13427:            case $host in
                   13428:              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
                   13429:              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
                   13430:            esac
                   13431:            ;;
                   13432:           RCC*)
                   13433:            # Rational C++ 2.4.1
                   13434:            # FIXME: insert proper C++ library support
                   13435:            ld_shlibs_CXX=no
                   13436:            ;;
                   13437:           cxx*)
                   13438:            case $host in
                   13439:              osf3*)
                   13440:                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   13441:                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'
                   13442:                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13443:                ;;
                   13444:              *)
                   13445:                allow_undefined_flag_CXX=' -expect_unresolved \*'
                   13446:                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'
                   13447:                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
                   13448:                  echo "-hidden">> $lib.exp~
                   13449:                  $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~
                   13450:                  $RM $lib.exp'
                   13451:                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   13452:                ;;
                   13453:            esac
                   13454: 
                   13455:            hardcode_libdir_separator_CXX=:
                   13456: 
                   13457:            # Commands to make compiler produce verbose output that lists
                   13458:            # what "hidden" libraries, object files and flags are used when
                   13459:            # linking a shared library.
                   13460:            #
                   13461:            # There doesn't appear to be a way to prevent this compiler from
                   13462:            # explicitly linking system object files so we need to strip them
                   13463:            # from the output so that they don't get included in the library
                   13464:            # dependencies.
                   13465:            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"'
                   13466:            ;;
                   13467:          *)
                   13468:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   13469:              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   13470:              case $host in
                   13471:                osf3*)
                   13472:                  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'
                   13473:                  ;;
                   13474:                *)
                   13475:                  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'
                   13476:                  ;;
                   13477:              esac
                   13478: 
                   13479:              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13480:              hardcode_libdir_separator_CXX=:
                   13481: 
                   13482:              # Commands to make compiler produce verbose output that lists
                   13483:              # what "hidden" libraries, object files and flags are used when
                   13484:              # linking a shared library.
                   13485:              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13486: 
                   13487:            else
                   13488:              # FIXME: insert proper C++ library support
                   13489:              ld_shlibs_CXX=no
                   13490:            fi
                   13491:            ;;
                   13492:         esac
                   13493:         ;;
                   13494: 
                   13495:       psos*)
                   13496:         # FIXME: insert proper C++ library support
                   13497:         ld_shlibs_CXX=no
                   13498:         ;;
                   13499: 
                   13500:       sunos4*)
                   13501:         case $cc_basename in
                   13502:           CC*)
                   13503:            # Sun C++ 4.x
                   13504:            # FIXME: insert proper C++ library support
                   13505:            ld_shlibs_CXX=no
                   13506:            ;;
                   13507:           lcc*)
                   13508:            # Lucid
                   13509:            # FIXME: insert proper C++ library support
                   13510:            ld_shlibs_CXX=no
                   13511:            ;;
                   13512:           *)
                   13513:            # FIXME: insert proper C++ library support
                   13514:            ld_shlibs_CXX=no
                   13515:            ;;
                   13516:         esac
                   13517:         ;;
                   13518: 
                   13519:       solaris*)
                   13520:         case $cc_basename in
                   13521:           CC* | sunCC*)
                   13522:            # Sun C++ 4.2, 5.x and Centerline C++
                   13523:             archive_cmds_need_lc_CXX=yes
                   13524:            no_undefined_flag_CXX=' -zdefs'
                   13525:            archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13526:            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   13527:              $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'
                   13528: 
                   13529:            hardcode_libdir_flag_spec_CXX='-R$libdir'
                   13530:            hardcode_shlibpath_var_CXX=no
                   13531:            case $host_os in
                   13532:              solaris2.[0-5] | solaris2.[0-5].*) ;;
                   13533:              *)
                   13534:                # The compiler driver will combine and reorder linker options,
                   13535:                # but understands `-z linker_flag'.
                   13536:                # Supported since Solaris 2.6 (maybe 2.5.1?)
                   13537:                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
                   13538:                ;;
                   13539:            esac
                   13540:            link_all_deplibs_CXX=yes
                   13541: 
                   13542:            output_verbose_link_cmd='func_echo_all'
                   13543: 
                   13544:            # Archives containing C++ object files must be created using
                   13545:            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   13546:            # necessary to make sure instantiated templates are included
                   13547:            # in the archive.
                   13548:            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   13549:            ;;
                   13550:           gcx*)
                   13551:            # Green Hills C++ Compiler
                   13552:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   13553: 
                   13554:            # The C++ compiler must be used to create the archive.
                   13555:            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
                   13556:            ;;
                   13557:           *)
                   13558:            # GNU C++ compiler with Solaris linker
                   13559:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   13560:              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
                   13561:              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
                   13562:                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   13563:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   13564:                  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   13565: 
                   13566:                # Commands to make compiler produce verbose output that lists
                   13567:                # what "hidden" libraries, object files and flags are used when
                   13568:                # linking a shared library.
                   13569:                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13570:              else
                   13571:                # g++ 2.7 appears to require `-G' NOT `-shared' on this
                   13572:                # platform.
                   13573:                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   13574:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   13575:                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   13576: 
                   13577:                # Commands to make compiler produce verbose output that lists
                   13578:                # what "hidden" libraries, object files and flags are used when
                   13579:                # linking a shared library.
                   13580:                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13581:              fi
                   13582: 
                   13583:              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
                   13584:              case $host_os in
                   13585:                solaris2.[0-5] | solaris2.[0-5].*) ;;
                   13586:                *)
                   13587:                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   13588:                  ;;
                   13589:              esac
                   13590:            fi
                   13591:            ;;
                   13592:         esac
                   13593:         ;;
                   13594: 
                   13595:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   13596:       no_undefined_flag_CXX='${wl}-z,text'
                   13597:       archive_cmds_need_lc_CXX=no
                   13598:       hardcode_shlibpath_var_CXX=no
                   13599:       runpath_var='LD_RUN_PATH'
                   13600: 
                   13601:       case $cc_basename in
                   13602:         CC*)
                   13603:          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13604:          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13605:          ;;
                   13606:        *)
                   13607:          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13608:          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13609:          ;;
                   13610:       esac
                   13611:       ;;
                   13612: 
                   13613:       sysv5* | sco3.2v5* | sco5v6*)
                   13614:        # Note: We can NOT use -z defs as we might desire, because we do not
                   13615:        # link with -lc, and that would cause any symbols used from libc to
                   13616:        # always be unresolved, which means just about no library would
                   13617:        # ever link correctly.  If we're not using GNU ld we use -z text
                   13618:        # though, which does catch some bad symbols but isn't as heavy-handed
                   13619:        # as -z defs.
                   13620:        no_undefined_flag_CXX='${wl}-z,text'
                   13621:        allow_undefined_flag_CXX='${wl}-z,nodefs'
                   13622:        archive_cmds_need_lc_CXX=no
                   13623:        hardcode_shlibpath_var_CXX=no
                   13624:        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
                   13625:        hardcode_libdir_separator_CXX=':'
                   13626:        link_all_deplibs_CXX=yes
                   13627:        export_dynamic_flag_spec_CXX='${wl}-Bexport'
                   13628:        runpath_var='LD_RUN_PATH'
                   13629: 
                   13630:        case $cc_basename in
                   13631:           CC*)
                   13632:            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13633:            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13634:            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
                   13635:              '"$old_archive_cmds_CXX"
                   13636:            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
                   13637:              '"$reload_cmds_CXX"
                   13638:            ;;
                   13639:          *)
                   13640:            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13641:            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13642:            ;;
                   13643:        esac
                   13644:       ;;
                   13645: 
                   13646:       tandem*)
                   13647:         case $cc_basename in
                   13648:           NCC*)
                   13649:            # NonStop-UX NCC 3.20
                   13650:            # FIXME: insert proper C++ library support
                   13651:            ld_shlibs_CXX=no
                   13652:            ;;
                   13653:           *)
                   13654:            # FIXME: insert proper C++ library support
                   13655:            ld_shlibs_CXX=no
                   13656:            ;;
                   13657:         esac
                   13658:         ;;
                   13659: 
                   13660:       vxworks*)
                   13661:         # FIXME: insert proper C++ library support
                   13662:         ld_shlibs_CXX=no
                   13663:         ;;
                   13664: 
                   13665:       *)
                   13666:         # FIXME: insert proper C++ library support
                   13667:         ld_shlibs_CXX=no
                   13668:         ;;
                   13669:     esac
                   13670: 
1.43      moko     13671:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
                   13672: $as_echo "$ld_shlibs_CXX" >&6; }
1.35      moko     13673:     test "$ld_shlibs_CXX" = no && can_build_shared=no
                   13674: 
                   13675:     GCC_CXX="$GXX"
                   13676:     LD_CXX="$LD"
                   13677: 
                   13678:     ## CAVEAT EMPTOR:
                   13679:     ## There is no encapsulation within the following macros, do not change
                   13680:     ## the running order or otherwise move them around unless you know exactly
                   13681:     ## what you are doing...
                   13682:     # Dependencies to place before and after the object being linked:
                   13683: predep_objects_CXX=
                   13684: postdep_objects_CXX=
                   13685: predeps_CXX=
                   13686: postdeps_CXX=
                   13687: compiler_lib_search_path_CXX=
                   13688: 
                   13689: cat > conftest.$ac_ext <<_LT_EOF
                   13690: class Foo
                   13691: {
                   13692: public:
                   13693:   Foo (void) { a = 0; }
                   13694: private:
                   13695:   int a;
                   13696: };
                   13697: _LT_EOF
                   13698: 
                   13699: 
                   13700: _lt_libdeps_save_CFLAGS=$CFLAGS
                   13701: case "$CC $CFLAGS " in #(
                   13702: *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
                   13703: *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
                   13704: *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
                   13705: esac
                   13706: 
1.43      moko     13707: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.35      moko     13708:   (eval $ac_compile) 2>&5
                   13709:   ac_status=$?
1.43      moko     13710:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   13711:   test $ac_status = 0; }; then
1.35      moko     13712:   # Parse the compiler output and extract the necessary
                   13713:   # objects, libraries and library flags.
                   13714: 
                   13715:   # Sentinel used to keep track of whether or not we are before
                   13716:   # the conftest object file.
                   13717:   pre_test_object_deps_done=no
                   13718: 
                   13719:   for p in `eval "$output_verbose_link_cmd"`; do
                   13720:     case ${prev}${p} in
                   13721: 
                   13722:     -L* | -R* | -l*)
                   13723:        # Some compilers place space between "-{L,R}" and the path.
                   13724:        # Remove the space.
                   13725:        if test $p = "-L" ||
                   13726:           test $p = "-R"; then
                   13727:         prev=$p
                   13728:         continue
                   13729:        fi
                   13730: 
                   13731:        # Expand the sysroot to ease extracting the directories later.
                   13732:        if test -z "$prev"; then
                   13733:          case $p in
                   13734:          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
                   13735:          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
                   13736:          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
                   13737:          esac
                   13738:        fi
                   13739:        case $p in
                   13740:        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
                   13741:        esac
                   13742:        if test "$pre_test_object_deps_done" = no; then
                   13743:         case ${prev} in
                   13744:         -L | -R)
                   13745:           # Internal compiler library paths should come after those
                   13746:           # provided the user.  The postdeps already come after the
                   13747:           # user supplied libs so there is no need to process them.
                   13748:           if test -z "$compiler_lib_search_path_CXX"; then
                   13749:             compiler_lib_search_path_CXX="${prev}${p}"
                   13750:           else
                   13751:             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
                   13752:           fi
                   13753:           ;;
                   13754:         # The "-l" case would never come before the object being
                   13755:         # linked, so don't bother handling this case.
                   13756:         esac
                   13757:        else
                   13758:         if test -z "$postdeps_CXX"; then
                   13759:           postdeps_CXX="${prev}${p}"
                   13760:         else
                   13761:           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
                   13762:         fi
                   13763:        fi
                   13764:        prev=
                   13765:        ;;
                   13766: 
                   13767:     *.lto.$objext) ;; # Ignore GCC LTO objects
                   13768:     *.$objext)
                   13769:        # This assumes that the test object file only shows up
                   13770:        # once in the compiler output.
                   13771:        if test "$p" = "conftest.$objext"; then
                   13772:         pre_test_object_deps_done=yes
                   13773:         continue
                   13774:        fi
                   13775: 
                   13776:        if test "$pre_test_object_deps_done" = no; then
                   13777:         if test -z "$predep_objects_CXX"; then
                   13778:           predep_objects_CXX="$p"
                   13779:         else
                   13780:           predep_objects_CXX="$predep_objects_CXX $p"
                   13781:         fi
                   13782:        else
                   13783:         if test -z "$postdep_objects_CXX"; then
                   13784:           postdep_objects_CXX="$p"
                   13785:         else
                   13786:           postdep_objects_CXX="$postdep_objects_CXX $p"
                   13787:         fi
                   13788:        fi
                   13789:        ;;
                   13790: 
                   13791:     *) ;; # Ignore the rest.
                   13792: 
                   13793:     esac
                   13794:   done
                   13795: 
                   13796:   # Clean up.
                   13797:   rm -f a.out a.exe
                   13798: else
                   13799:   echo "libtool.m4: error: problem compiling CXX test program"
                   13800: fi
                   13801: 
                   13802: $RM -f confest.$objext
                   13803: CFLAGS=$_lt_libdeps_save_CFLAGS
                   13804: 
                   13805: # PORTME: override above test on systems where it is broken
                   13806: case $host_os in
                   13807: interix[3-9]*)
                   13808:   # Interix 3.5 installs completely hosed .la files for C++, so rather than
                   13809:   # hack all around it, let's just trust "g++" to DTRT.
                   13810:   predep_objects_CXX=
                   13811:   postdep_objects_CXX=
                   13812:   postdeps_CXX=
                   13813:   ;;
                   13814: 
                   13815: linux*)
                   13816:   case `$CC -V 2>&1 | sed 5q` in
                   13817:   *Sun\ C*)
                   13818:     # Sun C++ 5.9
                   13819: 
                   13820:     # The more standards-conforming stlport4 library is
                   13821:     # incompatible with the Cstd library. Avoid specifying
                   13822:     # it if it's in CXXFLAGS. Ignore libCrun as
                   13823:     # -library=stlport4 depends on it.
                   13824:     case " $CXX $CXXFLAGS " in
                   13825:     *" -library=stlport4 "*)
                   13826:       solaris_use_stlport4=yes
                   13827:       ;;
                   13828:     esac
                   13829: 
                   13830:     if test "$solaris_use_stlport4" != yes; then
                   13831:       postdeps_CXX='-library=Cstd -library=Crun'
                   13832:     fi
                   13833:     ;;
                   13834:   esac
                   13835:   ;;
                   13836: 
                   13837: solaris*)
                   13838:   case $cc_basename in
                   13839:   CC* | sunCC*)
                   13840:     # The more standards-conforming stlport4 library is
                   13841:     # incompatible with the Cstd library. Avoid specifying
                   13842:     # it if it's in CXXFLAGS. Ignore libCrun as
                   13843:     # -library=stlport4 depends on it.
                   13844:     case " $CXX $CXXFLAGS " in
                   13845:     *" -library=stlport4 "*)
                   13846:       solaris_use_stlport4=yes
                   13847:       ;;
                   13848:     esac
                   13849: 
                   13850:     # Adding this requires a known-good setup of shared libraries for
                   13851:     # Sun compiler versions before 5.6, else PIC objects from an old
                   13852:     # archive will be linked into the output, leading to subtle bugs.
                   13853:     if test "$solaris_use_stlport4" != yes; then
                   13854:       postdeps_CXX='-library=Cstd -library=Crun'
                   13855:     fi
                   13856:     ;;
                   13857:   esac
                   13858:   ;;
                   13859: esac
                   13860: 
                   13861: 
                   13862: case " $postdeps_CXX " in
                   13863: *" -lc "*) archive_cmds_need_lc_CXX=no ;;
                   13864: esac
                   13865:  compiler_lib_search_dirs_CXX=
                   13866: if test -n "${compiler_lib_search_path_CXX}"; then
                   13867:  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
                   13868: fi
                   13869: 
                   13870: 
                   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:     lt_prog_compiler_wl_CXX=
                   13901: lt_prog_compiler_pic_CXX=
                   13902: lt_prog_compiler_static_CXX=
                   13903: 
                   13904: 
                   13905:   # C++ specific cases for pic, static, wl, etc.
                   13906:   if test "$GXX" = yes; then
                   13907:     lt_prog_compiler_wl_CXX='-Wl,'
                   13908:     lt_prog_compiler_static_CXX='-static'
                   13909: 
                   13910:     case $host_os in
                   13911:     aix*)
                   13912:       # All AIX code is PIC.
                   13913:       if test "$host_cpu" = ia64; then
                   13914:        # AIX 5 now supports IA64 processor
                   13915:        lt_prog_compiler_static_CXX='-Bstatic'
                   13916:       fi
                   13917:       ;;
                   13918: 
                   13919:     amigaos*)
                   13920:       case $host_cpu in
                   13921:       powerpc)
                   13922:             # see comment about AmigaOS4 .so support
                   13923:             lt_prog_compiler_pic_CXX='-fPIC'
                   13924:         ;;
                   13925:       m68k)
                   13926:             # FIXME: we need at least 68020 code to build shared libraries, but
                   13927:             # adding the `-m68020' flag to GCC prevents building anything better,
                   13928:             # like `-m68040'.
                   13929:             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
                   13930:         ;;
                   13931:       esac
                   13932:       ;;
                   13933: 
                   13934:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   13935:       # PIC is the default for these OSes.
                   13936:       ;;
                   13937:     mingw* | cygwin* | os2* | pw32* | cegcc*)
                   13938:       # This hack is so that the source file can tell whether it is being
                   13939:       # built for inclusion in a dll (and should export symbols for example).
                   13940:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   13941:       # (--disable-auto-import) libraries
                   13942:       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   13943:       ;;
                   13944:     darwin* | rhapsody*)
                   13945:       # PIC is the default on this platform
                   13946:       # Common symbols not allowed in MH_DYLIB files
                   13947:       lt_prog_compiler_pic_CXX='-fno-common'
                   13948:       ;;
                   13949:     *djgpp*)
                   13950:       # DJGPP does not support shared libraries at all
                   13951:       lt_prog_compiler_pic_CXX=
                   13952:       ;;
                   13953:     haiku*)
                   13954:       # PIC is the default for Haiku.
                   13955:       # The "-static" flag exists, but is broken.
                   13956:       lt_prog_compiler_static_CXX=
                   13957:       ;;
                   13958:     interix[3-9]*)
                   13959:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   13960:       # Instead, we relocate shared libraries at runtime.
                   13961:       ;;
                   13962:     sysv4*MP*)
                   13963:       if test -d /usr/nec; then
                   13964:        lt_prog_compiler_pic_CXX=-Kconform_pic
                   13965:       fi
                   13966:       ;;
                   13967:     hpux*)
                   13968:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   13969:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   13970:       # sets the default TLS model and affects inlining.
                   13971:       case $host_cpu in
                   13972:       hppa*64*)
                   13973:        ;;
                   13974:       *)
                   13975:        lt_prog_compiler_pic_CXX='-fPIC'
                   13976:        ;;
                   13977:       esac
                   13978:       ;;
                   13979:     *qnx* | *nto*)
                   13980:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   13981:       # it will coredump.
                   13982:       lt_prog_compiler_pic_CXX='-fPIC -shared'
                   13983:       ;;
                   13984:     *)
                   13985:       lt_prog_compiler_pic_CXX='-fPIC'
                   13986:       ;;
                   13987:     esac
                   13988:   else
                   13989:     case $host_os in
                   13990:       aix[4-9]*)
                   13991:        # All AIX code is PIC.
                   13992:        if test "$host_cpu" = ia64; then
                   13993:          # AIX 5 now supports IA64 processor
                   13994:          lt_prog_compiler_static_CXX='-Bstatic'
                   13995:        else
                   13996:          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
                   13997:        fi
                   13998:        ;;
                   13999:       chorus*)
                   14000:        case $cc_basename in
                   14001:        cxch68*)
                   14002:          # Green Hills C++ Compiler
                   14003:          # _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"
                   14004:          ;;
                   14005:        esac
                   14006:        ;;
                   14007:       mingw* | cygwin* | os2* | pw32* | cegcc*)
                   14008:        # This hack is so that the source file can tell whether it is being
                   14009:        # built for inclusion in a dll (and should export symbols for example).
                   14010:        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   14011:        ;;
                   14012:       dgux*)
                   14013:        case $cc_basename in
                   14014:          ec++*)
                   14015:            lt_prog_compiler_pic_CXX='-KPIC'
                   14016:            ;;
                   14017:          ghcx*)
                   14018:            # Green Hills C++ Compiler
                   14019:            lt_prog_compiler_pic_CXX='-pic'
                   14020:            ;;
                   14021:          *)
                   14022:            ;;
                   14023:        esac
                   14024:        ;;
                   14025:       freebsd* | dragonfly*)
                   14026:        # FreeBSD uses GNU C++
                   14027:        ;;
                   14028:       hpux9* | hpux10* | hpux11*)
                   14029:        case $cc_basename in
                   14030:          CC*)
                   14031:            lt_prog_compiler_wl_CXX='-Wl,'
                   14032:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   14033:            if test "$host_cpu" != ia64; then
                   14034:              lt_prog_compiler_pic_CXX='+Z'
                   14035:            fi
                   14036:            ;;
                   14037:          aCC*)
                   14038:            lt_prog_compiler_wl_CXX='-Wl,'
                   14039:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   14040:            case $host_cpu in
                   14041:            hppa*64*|ia64*)
                   14042:              # +Z the default
                   14043:              ;;
                   14044:            *)
                   14045:              lt_prog_compiler_pic_CXX='+Z'
                   14046:              ;;
                   14047:            esac
                   14048:            ;;
                   14049:          *)
                   14050:            ;;
                   14051:        esac
                   14052:        ;;
                   14053:       interix*)
                   14054:        # This is c89, which is MS Visual C++ (no shared libs)
                   14055:        # Anyone wants to do a port?
                   14056:        ;;
                   14057:       irix5* | irix6* | nonstopux*)
                   14058:        case $cc_basename in
                   14059:          CC*)
                   14060:            lt_prog_compiler_wl_CXX='-Wl,'
                   14061:            lt_prog_compiler_static_CXX='-non_shared'
                   14062:            # CC pic flag -KPIC is the default.
                   14063:            ;;
                   14064:          *)
                   14065:            ;;
                   14066:        esac
                   14067:        ;;
                   14068:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   14069:        case $cc_basename in
                   14070:          KCC*)
                   14071:            # KAI C++ Compiler
                   14072:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   14073:            lt_prog_compiler_pic_CXX='-fPIC'
                   14074:            ;;
                   14075:          ecpc* )
                   14076:            # old Intel C++ for x86_64 which still supported -KPIC.
                   14077:            lt_prog_compiler_wl_CXX='-Wl,'
                   14078:            lt_prog_compiler_pic_CXX='-KPIC'
                   14079:            lt_prog_compiler_static_CXX='-static'
                   14080:            ;;
                   14081:          icpc* )
                   14082:            # Intel C++, used to be incompatible with GCC.
                   14083:            # ICC 10 doesn't accept -KPIC any more.
                   14084:            lt_prog_compiler_wl_CXX='-Wl,'
                   14085:            lt_prog_compiler_pic_CXX='-fPIC'
                   14086:            lt_prog_compiler_static_CXX='-static'
                   14087:            ;;
                   14088:          pgCC* | pgcpp*)
                   14089:            # Portland Group C++ compiler
                   14090:            lt_prog_compiler_wl_CXX='-Wl,'
                   14091:            lt_prog_compiler_pic_CXX='-fpic'
                   14092:            lt_prog_compiler_static_CXX='-Bstatic'
                   14093:            ;;
                   14094:          cxx*)
                   14095:            # Compaq C++
                   14096:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   14097:            # Linux and Compaq Tru64 Unix objects are PIC.
                   14098:            lt_prog_compiler_pic_CXX=
                   14099:            lt_prog_compiler_static_CXX='-non_shared'
                   14100:            ;;
                   14101:          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
                   14102:            # IBM XL 8.0, 9.0 on PPC and BlueGene
                   14103:            lt_prog_compiler_wl_CXX='-Wl,'
                   14104:            lt_prog_compiler_pic_CXX='-qpic'
                   14105:            lt_prog_compiler_static_CXX='-qstaticlink'
                   14106:            ;;
                   14107:          *)
                   14108:            case `$CC -V 2>&1 | sed 5q` in
                   14109:            *Sun\ C*)
                   14110:              # Sun C++ 5.9
                   14111:              lt_prog_compiler_pic_CXX='-KPIC'
                   14112:              lt_prog_compiler_static_CXX='-Bstatic'
                   14113:              lt_prog_compiler_wl_CXX='-Qoption ld '
                   14114:              ;;
                   14115:            esac
                   14116:            ;;
                   14117:        esac
                   14118:        ;;
                   14119:       lynxos*)
                   14120:        ;;
                   14121:       m88k*)
                   14122:        ;;
                   14123:       mvs*)
                   14124:        case $cc_basename in
                   14125:          cxx*)
                   14126:            lt_prog_compiler_pic_CXX='-W c,exportall'
                   14127:            ;;
                   14128:          *)
                   14129:            ;;
                   14130:        esac
                   14131:        ;;
                   14132:       netbsd*)
                   14133:        ;;
                   14134:       *qnx* | *nto*)
                   14135:         # QNX uses GNU C++, but need to define -shared option too, otherwise
                   14136:         # it will coredump.
                   14137:         lt_prog_compiler_pic_CXX='-fPIC -shared'
                   14138:         ;;
                   14139:       osf3* | osf4* | osf5*)
                   14140:        case $cc_basename in
                   14141:          KCC*)
                   14142:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   14143:            ;;
                   14144:          RCC*)
                   14145:            # Rational C++ 2.4.1
                   14146:            lt_prog_compiler_pic_CXX='-pic'
                   14147:            ;;
                   14148:          cxx*)
                   14149:            # Digital/Compaq C++
                   14150:            lt_prog_compiler_wl_CXX='-Wl,'
                   14151:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   14152:            # Linux and Compaq Tru64 Unix objects are PIC.
                   14153:            lt_prog_compiler_pic_CXX=
                   14154:            lt_prog_compiler_static_CXX='-non_shared'
                   14155:            ;;
                   14156:          *)
                   14157:            ;;
                   14158:        esac
                   14159:        ;;
                   14160:       psos*)
                   14161:        ;;
                   14162:       solaris*)
                   14163:        case $cc_basename in
                   14164:          CC* | sunCC*)
                   14165:            # Sun C++ 4.2, 5.x and Centerline C++
                   14166:            lt_prog_compiler_pic_CXX='-KPIC'
                   14167:            lt_prog_compiler_static_CXX='-Bstatic'
                   14168:            lt_prog_compiler_wl_CXX='-Qoption ld '
                   14169:            ;;
                   14170:          gcx*)
                   14171:            # Green Hills C++ Compiler
                   14172:            lt_prog_compiler_pic_CXX='-PIC'
                   14173:            ;;
                   14174:          *)
                   14175:            ;;
                   14176:        esac
                   14177:        ;;
                   14178:       sunos4*)
                   14179:        case $cc_basename in
                   14180:          CC*)
                   14181:            # Sun C++ 4.x
                   14182:            lt_prog_compiler_pic_CXX='-pic'
                   14183:            lt_prog_compiler_static_CXX='-Bstatic'
                   14184:            ;;
                   14185:          lcc*)
                   14186:            # Lucid
                   14187:            lt_prog_compiler_pic_CXX='-pic'
                   14188:            ;;
                   14189:          *)
                   14190:            ;;
                   14191:        esac
                   14192:        ;;
                   14193:       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   14194:        case $cc_basename in
                   14195:          CC*)
                   14196:            lt_prog_compiler_wl_CXX='-Wl,'
                   14197:            lt_prog_compiler_pic_CXX='-KPIC'
                   14198:            lt_prog_compiler_static_CXX='-Bstatic'
                   14199:            ;;
                   14200:        esac
                   14201:        ;;
                   14202:       tandem*)
                   14203:        case $cc_basename in
                   14204:          NCC*)
                   14205:            # NonStop-UX NCC 3.20
                   14206:            lt_prog_compiler_pic_CXX='-KPIC'
                   14207:            ;;
                   14208:          *)
                   14209:            ;;
                   14210:        esac
                   14211:        ;;
                   14212:       vxworks*)
                   14213:        ;;
                   14214:       *)
                   14215:        lt_prog_compiler_can_build_shared_CXX=no
                   14216:        ;;
                   14217:     esac
                   14218:   fi
                   14219: 
                   14220: case $host_os in
                   14221:   # For platforms which do not support PIC, -DPIC is meaningless:
                   14222:   *djgpp*)
                   14223:     lt_prog_compiler_pic_CXX=
                   14224:     ;;
                   14225:   *)
                   14226:     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
                   14227:     ;;
                   14228: esac
                   14229: 
1.43      moko     14230: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   14231: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
                   14232: if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
                   14233:   $as_echo_n "(cached) " >&6
1.35      moko     14234: else
                   14235:   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
                   14236: fi
1.43      moko     14237: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
                   14238: $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
1.35      moko     14239: lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
                   14240: 
                   14241: #
                   14242: # Check to make sure the PIC flag actually works.
                   14243: #
                   14244: if test -n "$lt_prog_compiler_pic_CXX"; then
1.43      moko     14245:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
                   14246: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
                   14247: if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
                   14248:   $as_echo_n "(cached) " >&6
1.35      moko     14249: else
                   14250:   lt_cv_prog_compiler_pic_works_CXX=no
                   14251:    ac_outfile=conftest.$ac_objext
                   14252:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14253:    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
                   14254:    # Insert the option either (1) after the last *FLAGS variable, or
                   14255:    # (2) before a word containing "conftest.", or (3) at the end.
                   14256:    # Note that $ac_compile itself does not contain backslashes and begins
                   14257:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14258:    # The option is referenced via a variable to avoid confusing sed.
                   14259:    lt_compile=`echo "$ac_compile" | $SED \
                   14260:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14261:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14262:    -e 's:$: $lt_compiler_flag:'`
                   14263:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14264:    (eval "$lt_compile" 2>conftest.err)
                   14265:    ac_status=$?
                   14266:    cat conftest.err >&5
                   14267:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14268:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   14269:      # The compiler can only warn and ignore the option if not recognized
                   14270:      # So say no if there are warnings other than the usual output.
                   14271:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   14272:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   14273:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   14274:        lt_cv_prog_compiler_pic_works_CXX=yes
                   14275:      fi
                   14276:    fi
                   14277:    $RM conftest*
                   14278: 
                   14279: fi
1.43      moko     14280: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
                   14281: $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
1.35      moko     14282: 
                   14283: if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
                   14284:     case $lt_prog_compiler_pic_CXX in
                   14285:      "" | " "*) ;;
                   14286:      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
                   14287:      esac
                   14288: else
                   14289:     lt_prog_compiler_pic_CXX=
                   14290:      lt_prog_compiler_can_build_shared_CXX=no
                   14291: fi
                   14292: 
                   14293: fi
                   14294: 
                   14295: 
                   14296: 
                   14297: 
                   14298: 
                   14299: #
                   14300: # Check to make sure the static flag actually works.
                   14301: #
                   14302: wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
1.43      moko     14303: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   14304: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   14305: if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
                   14306:   $as_echo_n "(cached) " >&6
1.35      moko     14307: else
                   14308:   lt_cv_prog_compiler_static_works_CXX=no
                   14309:    save_LDFLAGS="$LDFLAGS"
                   14310:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   14311:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   14312:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   14313:      # The linker can only warn and ignore the option if not recognized
                   14314:      # So say no if there are warnings
                   14315:      if test -s conftest.err; then
                   14316:        # Append any errors to the config.log.
                   14317:        cat conftest.err 1>&5
                   14318:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   14319:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   14320:        if diff conftest.exp conftest.er2 >/dev/null; then
                   14321:          lt_cv_prog_compiler_static_works_CXX=yes
                   14322:        fi
                   14323:      else
                   14324:        lt_cv_prog_compiler_static_works_CXX=yes
                   14325:      fi
                   14326:    fi
                   14327:    $RM -r conftest*
                   14328:    LDFLAGS="$save_LDFLAGS"
                   14329: 
                   14330: fi
1.43      moko     14331: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
                   14332: $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
1.35      moko     14333: 
                   14334: if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
                   14335:     :
                   14336: else
                   14337:     lt_prog_compiler_static_CXX=
                   14338: fi
                   14339: 
                   14340: 
                   14341: 
                   14342: 
1.43      moko     14343:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   14344: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   14345: if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
                   14346:   $as_echo_n "(cached) " >&6
1.35      moko     14347: else
                   14348:   lt_cv_prog_compiler_c_o_CXX=no
                   14349:    $RM -r conftest 2>/dev/null
                   14350:    mkdir conftest
                   14351:    cd conftest
                   14352:    mkdir out
                   14353:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14354: 
                   14355:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   14356:    # Insert the option either (1) after the last *FLAGS variable, or
                   14357:    # (2) before a word containing "conftest.", or (3) at the end.
                   14358:    # Note that $ac_compile itself does not contain backslashes and begins
                   14359:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14360:    lt_compile=`echo "$ac_compile" | $SED \
                   14361:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14362:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14363:    -e 's:$: $lt_compiler_flag:'`
                   14364:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14365:    (eval "$lt_compile" 2>out/conftest.err)
                   14366:    ac_status=$?
                   14367:    cat out/conftest.err >&5
                   14368:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14369:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   14370:    then
                   14371:      # The compiler can only warn and ignore the option if not recognized
                   14372:      # So say no if there are warnings
                   14373:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   14374:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   14375:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   14376:        lt_cv_prog_compiler_c_o_CXX=yes
                   14377:      fi
                   14378:    fi
                   14379:    chmod u+w . 2>&5
                   14380:    $RM conftest*
                   14381:    # SGI C++ compiler will create directory out/ii_files/ for
                   14382:    # template instantiation
                   14383:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   14384:    $RM out/* && rmdir out
                   14385:    cd ..
                   14386:    $RM -r conftest
                   14387:    $RM conftest*
                   14388: 
                   14389: fi
1.43      moko     14390: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   14391: $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
1.35      moko     14392: 
                   14393: 
                   14394: 
1.43      moko     14395:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   14396: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   14397: if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
                   14398:   $as_echo_n "(cached) " >&6
1.35      moko     14399: else
                   14400:   lt_cv_prog_compiler_c_o_CXX=no
                   14401:    $RM -r conftest 2>/dev/null
                   14402:    mkdir conftest
                   14403:    cd conftest
                   14404:    mkdir out
                   14405:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14406: 
                   14407:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   14408:    # Insert the option either (1) after the last *FLAGS variable, or
                   14409:    # (2) before a word containing "conftest.", or (3) at the end.
                   14410:    # Note that $ac_compile itself does not contain backslashes and begins
                   14411:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14412:    lt_compile=`echo "$ac_compile" | $SED \
                   14413:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14414:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14415:    -e 's:$: $lt_compiler_flag:'`
                   14416:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14417:    (eval "$lt_compile" 2>out/conftest.err)
                   14418:    ac_status=$?
                   14419:    cat out/conftest.err >&5
                   14420:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14421:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   14422:    then
                   14423:      # The compiler can only warn and ignore the option if not recognized
                   14424:      # So say no if there are warnings
                   14425:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   14426:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   14427:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   14428:        lt_cv_prog_compiler_c_o_CXX=yes
                   14429:      fi
                   14430:    fi
                   14431:    chmod u+w . 2>&5
                   14432:    $RM conftest*
                   14433:    # SGI C++ compiler will create directory out/ii_files/ for
                   14434:    # template instantiation
                   14435:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   14436:    $RM out/* && rmdir out
                   14437:    cd ..
                   14438:    $RM -r conftest
                   14439:    $RM conftest*
                   14440: 
                   14441: fi
1.43      moko     14442: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   14443: $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
1.35      moko     14444: 
                   14445: 
                   14446: 
                   14447: 
                   14448: hard_links="nottested"
                   14449: if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
                   14450:   # do not overwrite the value of need_locks provided by the user
1.43      moko     14451:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   14452: $as_echo_n "checking if we can lock with hard links... " >&6; }
1.35      moko     14453:   hard_links=yes
                   14454:   $RM conftest*
                   14455:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   14456:   touch conftest.a
                   14457:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   14458:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.43      moko     14459:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   14460: $as_echo "$hard_links" >&6; }
1.35      moko     14461:   if test "$hard_links" = no; then
1.43      moko     14462:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   14463: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.35      moko     14464:     need_locks=warn
                   14465:   fi
                   14466: else
                   14467:   need_locks=no
                   14468: fi
                   14469: 
                   14470: 
                   14471: 
1.43      moko     14472:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   14473: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.35      moko     14474: 
                   14475:   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   14476:   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   14477:   case $host_os in
                   14478:   aix[4-9]*)
                   14479:     # If we're using GNU nm, then we don't want the "-C" option.
                   14480:     # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   14481:     # Also, AIX nm treats weak defined symbols like other global defined
                   14482:     # symbols, whereas GNU nm marks them as "W".
                   14483:     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   14484:       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'
                   14485:     else
                   14486:       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'
                   14487:     fi
                   14488:     ;;
                   14489:   pw32*)
                   14490:     export_symbols_cmds_CXX="$ltdll_cmds"
                   14491:     ;;
                   14492:   cygwin* | mingw* | cegcc*)
                   14493:     case $cc_basename in
                   14494:     cl*)
                   14495:       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   14496:       ;;
                   14497:     *)
                   14498:       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'
                   14499:       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   14500:       ;;
                   14501:     esac
                   14502:     ;;
                   14503:   *)
                   14504:     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   14505:     ;;
                   14506:   esac
                   14507: 
1.43      moko     14508: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
                   14509: $as_echo "$ld_shlibs_CXX" >&6; }
1.35      moko     14510: test "$ld_shlibs_CXX" = no && can_build_shared=no
                   14511: 
                   14512: with_gnu_ld_CXX=$with_gnu_ld
                   14513: 
                   14514: 
                   14515: 
                   14516: 
                   14517: 
                   14518: 
                   14519: #
                   14520: # Do we need to explicitly link libc?
                   14521: #
                   14522: case "x$archive_cmds_need_lc_CXX" in
                   14523: x|xyes)
                   14524:   # Assume -lc should be added
                   14525:   archive_cmds_need_lc_CXX=yes
                   14526: 
                   14527:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   14528:     case $archive_cmds_CXX in
                   14529:     *'~'*)
                   14530:       # FIXME: we may have to deal with multi-command sequences.
                   14531:       ;;
                   14532:     '$CC '*)
                   14533:       # Test whether the compiler implicitly links with -lc since on some
                   14534:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   14535:       # to ld, don't add -lc before -lgcc.
1.43      moko     14536:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   14537: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
                   14538: if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
                   14539:   $as_echo_n "(cached) " >&6
1.35      moko     14540: else
                   14541:   $RM conftest*
                   14542:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14543: 
1.43      moko     14544:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.35      moko     14545:   (eval $ac_compile) 2>&5
                   14546:   ac_status=$?
1.43      moko     14547:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   14548:   test $ac_status = 0; } 2>conftest.err; then
1.35      moko     14549:          soname=conftest
                   14550:          lib=conftest
                   14551:          libobjs=conftest.$ac_objext
                   14552:          deplibs=
                   14553:          wl=$lt_prog_compiler_wl_CXX
                   14554:          pic_flag=$lt_prog_compiler_pic_CXX
                   14555:          compiler_flags=-v
                   14556:          linker_flags=-v
                   14557:          verstring=
                   14558:          output_objdir=.
                   14559:          libname=conftest
                   14560:          lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
                   14561:          allow_undefined_flag_CXX=
1.43      moko     14562:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1.35      moko     14563:   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   14564:   ac_status=$?
1.43      moko     14565:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   14566:   test $ac_status = 0; }
1.35      moko     14567:          then
                   14568:            lt_cv_archive_cmds_need_lc_CXX=no
                   14569:          else
                   14570:            lt_cv_archive_cmds_need_lc_CXX=yes
                   14571:          fi
                   14572:          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
                   14573:        else
                   14574:          cat conftest.err 1>&5
                   14575:        fi
                   14576:        $RM conftest*
                   14577: 
                   14578: fi
1.43      moko     14579: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
                   14580: $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
1.35      moko     14581:       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
                   14582:       ;;
                   14583:     esac
                   14584:   fi
                   14585:   ;;
                   14586: esac
                   14587: 
                   14588: 
                   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: 
1.43      moko     14649:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   14650: $as_echo_n "checking dynamic linker characteristics... " >&6; }
1.35      moko     14651: 
                   14652: library_names_spec=
                   14653: libname_spec='lib$name'
                   14654: soname_spec=
                   14655: shrext_cmds=".so"
                   14656: postinstall_cmds=
                   14657: postuninstall_cmds=
                   14658: finish_cmds=
                   14659: finish_eval=
                   14660: shlibpath_var=
                   14661: shlibpath_overrides_runpath=unknown
                   14662: version_type=none
                   14663: dynamic_linker="$host_os ld.so"
                   14664: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   14665: need_lib_prefix=unknown
                   14666: hardcode_into_libs=no
                   14667: 
                   14668: # when you set need_version to no, make sure it does not cause -set_version
                   14669: # flags to be left without arguments
                   14670: need_version=unknown
                   14671: 
                   14672: case $host_os in
                   14673: aix3*)
                   14674:   version_type=linux # correct to gnu/linux during the next big refactor
                   14675:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   14676:   shlibpath_var=LIBPATH
                   14677: 
                   14678:   # AIX 3 has no versioning support, so we append a major version to the name.
                   14679:   soname_spec='${libname}${release}${shared_ext}$major'
                   14680:   ;;
                   14681: 
                   14682: aix[4-9]*)
                   14683:   version_type=linux # correct to gnu/linux during the next big refactor
                   14684:   need_lib_prefix=no
                   14685:   need_version=no
                   14686:   hardcode_into_libs=yes
                   14687:   if test "$host_cpu" = ia64; then
                   14688:     # AIX 5 supports IA64
                   14689:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   14690:     shlibpath_var=LD_LIBRARY_PATH
                   14691:   else
                   14692:     # With GCC up to 2.95.x, collect2 would create an import file
                   14693:     # for dependence libraries.  The import file would start with
                   14694:     # the line `#! .'.  This would cause the generated library to
                   14695:     # depend on `.', always an invalid library.  This was fixed in
                   14696:     # development snapshots of GCC prior to 3.0.
                   14697:     case $host_os in
                   14698:       aix4 | aix4.[01] | aix4.[01].*)
                   14699:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   14700:           echo ' yes '
                   14701:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   14702:        :
                   14703:       else
                   14704:        can_build_shared=no
                   14705:       fi
                   14706:       ;;
                   14707:     esac
                   14708:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   14709:     # soname into executable. Probably we can add versioning support to
                   14710:     # collect2, so additional links can be useful in future.
                   14711:     if test "$aix_use_runtimelinking" = yes; then
                   14712:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   14713:       # instead of lib<name>.a to let people know that these are not
                   14714:       # typical AIX shared libraries.
                   14715:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14716:     else
                   14717:       # We preserve .a as extension for shared libraries through AIX4.2
                   14718:       # and later when we are not doing run time linking.
                   14719:       library_names_spec='${libname}${release}.a $libname.a'
                   14720:       soname_spec='${libname}${release}${shared_ext}$major'
                   14721:     fi
                   14722:     shlibpath_var=LIBPATH
                   14723:   fi
                   14724:   ;;
                   14725: 
                   14726: amigaos*)
                   14727:   case $host_cpu in
                   14728:   powerpc)
                   14729:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   14730:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   14731:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14732:     ;;
                   14733:   m68k)
                   14734:     library_names_spec='$libname.ixlibrary $libname.a'
                   14735:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   14736:     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'
                   14737:     ;;
                   14738:   esac
                   14739:   ;;
                   14740: 
                   14741: beos*)
                   14742:   library_names_spec='${libname}${shared_ext}'
                   14743:   dynamic_linker="$host_os ld.so"
                   14744:   shlibpath_var=LIBRARY_PATH
                   14745:   ;;
                   14746: 
                   14747: bsdi[45]*)
                   14748:   version_type=linux # correct to gnu/linux during the next big refactor
                   14749:   need_version=no
                   14750:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14751:   soname_spec='${libname}${release}${shared_ext}$major'
                   14752:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   14753:   shlibpath_var=LD_LIBRARY_PATH
                   14754:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   14755:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   14756:   # the default ld.so.conf also contains /usr/contrib/lib and
                   14757:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   14758:   # libtool to hard-code these into programs
                   14759:   ;;
                   14760: 
                   14761: cygwin* | mingw* | pw32* | cegcc*)
                   14762:   version_type=windows
                   14763:   shrext_cmds=".dll"
                   14764:   need_version=no
                   14765:   need_lib_prefix=no
                   14766: 
                   14767:   case $GCC,$cc_basename in
                   14768:   yes,*)
                   14769:     # gcc
                   14770:     library_names_spec='$libname.dll.a'
                   14771:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   14772:     postinstall_cmds='base_file=`basename \${file}`~
                   14773:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   14774:       dldir=$destdir/`dirname \$dlpath`~
                   14775:       test -d \$dldir || mkdir -p \$dldir~
                   14776:       $install_prog $dir/$dlname \$dldir/$dlname~
                   14777:       chmod a+x \$dldir/$dlname~
                   14778:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   14779:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   14780:       fi'
                   14781:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   14782:       dlpath=$dir/\$dldll~
                   14783:        $RM \$dlpath'
                   14784:     shlibpath_overrides_runpath=yes
                   14785: 
                   14786:     case $host_os in
                   14787:     cygwin*)
                   14788:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   14789:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   14790: 
                   14791:       ;;
                   14792:     mingw* | cegcc*)
                   14793:       # MinGW DLLs use traditional 'lib' prefix
                   14794:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   14795:       ;;
                   14796:     pw32*)
                   14797:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   14798:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   14799:       ;;
                   14800:     esac
                   14801:     dynamic_linker='Win32 ld.exe'
                   14802:     ;;
                   14803: 
                   14804:   *,cl*)
                   14805:     # Native MSVC
                   14806:     libname_spec='$name'
                   14807:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   14808:     library_names_spec='${libname}.dll.lib'
                   14809: 
                   14810:     case $build_os in
                   14811:     mingw*)
                   14812:       sys_lib_search_path_spec=
                   14813:       lt_save_ifs=$IFS
                   14814:       IFS=';'
                   14815:       for lt_path in $LIB
                   14816:       do
                   14817:         IFS=$lt_save_ifs
                   14818:         # Let DOS variable expansion print the short 8.3 style file name.
                   14819:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   14820:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   14821:       done
                   14822:       IFS=$lt_save_ifs
                   14823:       # Convert to MSYS style.
                   14824:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   14825:       ;;
                   14826:     cygwin*)
                   14827:       # Convert to unix form, then to dos form, then back to unix form
                   14828:       # but this time dos style (no spaces!) so that the unix form looks
                   14829:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   14830:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   14831:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   14832:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   14833:       ;;
                   14834:     *)
                   14835:       sys_lib_search_path_spec="$LIB"
                   14836:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   14837:         # It is most probably a Windows format PATH.
                   14838:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   14839:       else
                   14840:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   14841:       fi
                   14842:       # FIXME: find the short name or the path components, as spaces are
                   14843:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   14844:       ;;
                   14845:     esac
                   14846: 
                   14847:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   14848:     postinstall_cmds='base_file=`basename \${file}`~
                   14849:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   14850:       dldir=$destdir/`dirname \$dlpath`~
                   14851:       test -d \$dldir || mkdir -p \$dldir~
                   14852:       $install_prog $dir/$dlname \$dldir/$dlname'
                   14853:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   14854:       dlpath=$dir/\$dldll~
                   14855:        $RM \$dlpath'
                   14856:     shlibpath_overrides_runpath=yes
                   14857:     dynamic_linker='Win32 link.exe'
                   14858:     ;;
                   14859: 
                   14860:   *)
                   14861:     # Assume MSVC wrapper
                   14862:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   14863:     dynamic_linker='Win32 ld.exe'
                   14864:     ;;
                   14865:   esac
                   14866:   # FIXME: first we should search . and the directory the executable is in
                   14867:   shlibpath_var=PATH
                   14868:   ;;
                   14869: 
                   14870: darwin* | rhapsody*)
                   14871:   dynamic_linker="$host_os dyld"
                   14872:   version_type=darwin
                   14873:   need_lib_prefix=no
                   14874:   need_version=no
                   14875:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   14876:   soname_spec='${libname}${release}${major}$shared_ext'
                   14877:   shlibpath_overrides_runpath=yes
                   14878:   shlibpath_var=DYLD_LIBRARY_PATH
                   14879:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   14880: 
                   14881:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   14882:   ;;
                   14883: 
                   14884: dgux*)
                   14885:   version_type=linux # correct to gnu/linux during the next big refactor
                   14886:   need_lib_prefix=no
                   14887:   need_version=no
                   14888:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   14889:   soname_spec='${libname}${release}${shared_ext}$major'
                   14890:   shlibpath_var=LD_LIBRARY_PATH
                   14891:   ;;
                   14892: 
                   14893: freebsd* | dragonfly*)
                   14894:   # DragonFly does not have aout.  When/if they implement a new
                   14895:   # versioning mechanism, adjust this.
                   14896:   if test -x /usr/bin/objformat; then
                   14897:     objformat=`/usr/bin/objformat`
                   14898:   else
                   14899:     case $host_os in
                   14900:     freebsd[23].*) objformat=aout ;;
                   14901:     *) objformat=elf ;;
                   14902:     esac
                   14903:   fi
                   14904:   version_type=freebsd-$objformat
                   14905:   case $version_type in
                   14906:     freebsd-elf*)
                   14907:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   14908:       need_version=no
                   14909:       need_lib_prefix=no
                   14910:       ;;
                   14911:     freebsd-*)
                   14912:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   14913:       need_version=yes
                   14914:       ;;
                   14915:   esac
                   14916:   shlibpath_var=LD_LIBRARY_PATH
                   14917:   case $host_os in
                   14918:   freebsd2.*)
                   14919:     shlibpath_overrides_runpath=yes
                   14920:     ;;
                   14921:   freebsd3.[01]* | freebsdelf3.[01]*)
                   14922:     shlibpath_overrides_runpath=yes
                   14923:     hardcode_into_libs=yes
                   14924:     ;;
                   14925:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   14926:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   14927:     shlibpath_overrides_runpath=no
                   14928:     hardcode_into_libs=yes
                   14929:     ;;
                   14930:   *) # from 4.6 on, and DragonFly
                   14931:     shlibpath_overrides_runpath=yes
                   14932:     hardcode_into_libs=yes
                   14933:     ;;
                   14934:   esac
                   14935:   ;;
                   14936: 
                   14937: gnu*)
                   14938:   version_type=linux # correct to gnu/linux during the next big refactor
                   14939:   need_lib_prefix=no
                   14940:   need_version=no
                   14941:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   14942:   soname_spec='${libname}${release}${shared_ext}$major'
                   14943:   shlibpath_var=LD_LIBRARY_PATH
                   14944:   shlibpath_overrides_runpath=no
                   14945:   hardcode_into_libs=yes
                   14946:   ;;
                   14947: 
                   14948: haiku*)
                   14949:   version_type=linux # correct to gnu/linux during the next big refactor
                   14950:   need_lib_prefix=no
                   14951:   need_version=no
                   14952:   dynamic_linker="$host_os runtime_loader"
                   14953:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   14954:   soname_spec='${libname}${release}${shared_ext}$major'
                   14955:   shlibpath_var=LIBRARY_PATH
                   14956:   shlibpath_overrides_runpath=yes
                   14957:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   14958:   hardcode_into_libs=yes
                   14959:   ;;
                   14960: 
                   14961: hpux9* | hpux10* | hpux11*)
                   14962:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   14963:   # link against other versions.
                   14964:   version_type=sunos
                   14965:   need_lib_prefix=no
                   14966:   need_version=no
                   14967:   case $host_cpu in
                   14968:   ia64*)
                   14969:     shrext_cmds='.so'
                   14970:     hardcode_into_libs=yes
                   14971:     dynamic_linker="$host_os dld.so"
                   14972:     shlibpath_var=LD_LIBRARY_PATH
                   14973:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   14974:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14975:     soname_spec='${libname}${release}${shared_ext}$major'
                   14976:     if test "X$HPUX_IA64_MODE" = X32; then
                   14977:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   14978:     else
                   14979:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   14980:     fi
                   14981:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   14982:     ;;
                   14983:   hppa*64*)
                   14984:     shrext_cmds='.sl'
                   14985:     hardcode_into_libs=yes
                   14986:     dynamic_linker="$host_os dld.sl"
                   14987:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   14988:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   14989:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14990:     soname_spec='${libname}${release}${shared_ext}$major'
                   14991:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   14992:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   14993:     ;;
                   14994:   *)
                   14995:     shrext_cmds='.sl'
                   14996:     dynamic_linker="$host_os dld.sl"
                   14997:     shlibpath_var=SHLIB_PATH
                   14998:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   14999:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15000:     soname_spec='${libname}${release}${shared_ext}$major'
                   15001:     ;;
                   15002:   esac
                   15003:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   15004:   postinstall_cmds='chmod 555 $lib'
                   15005:   # or fails outright, so override atomically:
                   15006:   install_override_mode=555
                   15007:   ;;
                   15008: 
                   15009: interix[3-9]*)
                   15010:   version_type=linux # correct to gnu/linux during the next big refactor
                   15011:   need_lib_prefix=no
                   15012:   need_version=no
                   15013:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   15014:   soname_spec='${libname}${release}${shared_ext}$major'
                   15015:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   15016:   shlibpath_var=LD_LIBRARY_PATH
                   15017:   shlibpath_overrides_runpath=no
                   15018:   hardcode_into_libs=yes
                   15019:   ;;
                   15020: 
                   15021: irix5* | irix6* | nonstopux*)
                   15022:   case $host_os in
                   15023:     nonstopux*) version_type=nonstopux ;;
                   15024:     *)
                   15025:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   15026:                version_type=linux # correct to gnu/linux during the next big refactor
                   15027:        else
                   15028:                version_type=irix
                   15029:        fi ;;
                   15030:   esac
                   15031:   need_lib_prefix=no
                   15032:   need_version=no
                   15033:   soname_spec='${libname}${release}${shared_ext}$major'
                   15034:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15035:   case $host_os in
                   15036:   irix5* | nonstopux*)
                   15037:     libsuff= shlibsuff=
                   15038:     ;;
                   15039:   *)
                   15040:     case $LD in # libtool.m4 will add one of these switches to LD
                   15041:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   15042:       libsuff= shlibsuff= libmagic=32-bit;;
                   15043:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   15044:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   15045:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   15046:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   15047:     *) libsuff= shlibsuff= libmagic=never-match;;
                   15048:     esac
                   15049:     ;;
                   15050:   esac
                   15051:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   15052:   shlibpath_overrides_runpath=no
                   15053:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   15054:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   15055:   hardcode_into_libs=yes
                   15056:   ;;
                   15057: 
                   15058: # No shared lib support for Linux oldld, aout, or coff.
                   15059: linux*oldld* | linux*aout* | linux*coff*)
                   15060:   dynamic_linker=no
                   15061:   ;;
                   15062: 
                   15063: # This must be glibc/ELF.
                   15064: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   15065:   version_type=linux # correct to gnu/linux during the next big refactor
                   15066:   need_lib_prefix=no
                   15067:   need_version=no
                   15068:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15069:   soname_spec='${libname}${release}${shared_ext}$major'
                   15070:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   15071:   shlibpath_var=LD_LIBRARY_PATH
                   15072:   shlibpath_overrides_runpath=no
                   15073: 
                   15074:   # Some binutils ld are patched to set DT_RUNPATH
1.43      moko     15075:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
                   15076:   $as_echo_n "(cached) " >&6
1.35      moko     15077: else
                   15078:   lt_cv_shlibpath_overrides_runpath=no
                   15079:     save_LDFLAGS=$LDFLAGS
                   15080:     save_libdir=$libdir
                   15081:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
                   15082:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
1.43      moko     15083:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     15084: /* end confdefs.h.  */
                   15085: 
                   15086: int
                   15087: main ()
                   15088: {
                   15089: 
                   15090:   ;
                   15091:   return 0;
                   15092: }
                   15093: _ACEOF
1.43      moko     15094: if ac_fn_cxx_try_link "$LINENO"; then :
                   15095:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
1.35      moko     15096:   lt_cv_shlibpath_overrides_runpath=yes
                   15097: fi
                   15098: fi
1.43      moko     15099: rm -f core conftest.err conftest.$ac_objext \
                   15100:     conftest$ac_exeext conftest.$ac_ext
1.35      moko     15101:     LDFLAGS=$save_LDFLAGS
                   15102:     libdir=$save_libdir
                   15103: 
                   15104: fi
                   15105: 
                   15106:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   15107: 
                   15108:   # This implies no fast_install, which is unacceptable.
                   15109:   # Some rework will be needed to allow for fast_install
                   15110:   # before this can be enabled.
                   15111:   hardcode_into_libs=yes
                   15112: 
                   15113:   # Append ld.so.conf contents to the search path
                   15114:   if test -f /etc/ld.so.conf; then
                   15115:     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' ' '`
                   15116:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   15117:   fi
                   15118: 
                   15119:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   15120:   # powerpc, because MkLinux only supported shared libraries with the
                   15121:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   15122:   # most powerpc-linux boxes support dynamic linking these days and
                   15123:   # people can always --disable-shared, the test was removed, and we
                   15124:   # assume the GNU/Linux dynamic linker is in use.
                   15125:   dynamic_linker='GNU/Linux ld.so'
                   15126:   ;;
                   15127: 
                   15128: netbsd*)
                   15129:   version_type=sunos
                   15130:   need_lib_prefix=no
                   15131:   need_version=no
                   15132:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   15133:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15134:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   15135:     dynamic_linker='NetBSD (a.out) ld.so'
                   15136:   else
                   15137:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   15138:     soname_spec='${libname}${release}${shared_ext}$major'
                   15139:     dynamic_linker='NetBSD ld.elf_so'
                   15140:   fi
                   15141:   shlibpath_var=LD_LIBRARY_PATH
                   15142:   shlibpath_overrides_runpath=yes
                   15143:   hardcode_into_libs=yes
                   15144:   ;;
                   15145: 
                   15146: newsos6)
                   15147:   version_type=linux # correct to gnu/linux during the next big refactor
                   15148:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15149:   shlibpath_var=LD_LIBRARY_PATH
                   15150:   shlibpath_overrides_runpath=yes
                   15151:   ;;
                   15152: 
                   15153: *nto* | *qnx*)
                   15154:   version_type=qnx
                   15155:   need_lib_prefix=no
                   15156:   need_version=no
                   15157:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15158:   soname_spec='${libname}${release}${shared_ext}$major'
                   15159:   shlibpath_var=LD_LIBRARY_PATH
                   15160:   shlibpath_overrides_runpath=no
                   15161:   hardcode_into_libs=yes
                   15162:   dynamic_linker='ldqnx.so'
                   15163:   ;;
                   15164: 
                   15165: openbsd*)
                   15166:   version_type=sunos
                   15167:   sys_lib_dlsearch_path_spec="/usr/lib"
                   15168:   need_lib_prefix=no
                   15169:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   15170:   case $host_os in
                   15171:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   15172:     *)                         need_version=no  ;;
                   15173:   esac
                   15174:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15175:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   15176:   shlibpath_var=LD_LIBRARY_PATH
                   15177:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   15178:     case $host_os in
                   15179:       openbsd2.[89] | openbsd2.[89].*)
                   15180:        shlibpath_overrides_runpath=no
                   15181:        ;;
                   15182:       *)
                   15183:        shlibpath_overrides_runpath=yes
                   15184:        ;;
                   15185:       esac
                   15186:   else
                   15187:     shlibpath_overrides_runpath=yes
                   15188:   fi
                   15189:   ;;
                   15190: 
                   15191: os2*)
                   15192:   libname_spec='$name'
                   15193:   shrext_cmds=".dll"
                   15194:   need_lib_prefix=no
                   15195:   library_names_spec='$libname${shared_ext} $libname.a'
                   15196:   dynamic_linker='OS/2 ld.exe'
                   15197:   shlibpath_var=LIBPATH
                   15198:   ;;
                   15199: 
                   15200: osf3* | osf4* | osf5*)
                   15201:   version_type=osf
                   15202:   need_lib_prefix=no
                   15203:   need_version=no
                   15204:   soname_spec='${libname}${release}${shared_ext}$major'
                   15205:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15206:   shlibpath_var=LD_LIBRARY_PATH
                   15207:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   15208:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   15209:   ;;
                   15210: 
                   15211: rdos*)
                   15212:   dynamic_linker=no
                   15213:   ;;
                   15214: 
                   15215: solaris*)
                   15216:   version_type=linux # correct to gnu/linux during the next big refactor
                   15217:   need_lib_prefix=no
                   15218:   need_version=no
                   15219:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15220:   soname_spec='${libname}${release}${shared_ext}$major'
                   15221:   shlibpath_var=LD_LIBRARY_PATH
                   15222:   shlibpath_overrides_runpath=yes
                   15223:   hardcode_into_libs=yes
                   15224:   # ldd complains unless libraries are executable
                   15225:   postinstall_cmds='chmod +x $lib'
                   15226:   ;;
                   15227: 
                   15228: sunos4*)
                   15229:   version_type=sunos
                   15230:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15231:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   15232:   shlibpath_var=LD_LIBRARY_PATH
                   15233:   shlibpath_overrides_runpath=yes
                   15234:   if test "$with_gnu_ld" = yes; then
                   15235:     need_lib_prefix=no
                   15236:   fi
                   15237:   need_version=yes
                   15238:   ;;
                   15239: 
                   15240: sysv4 | sysv4.3*)
                   15241:   version_type=linux # correct to gnu/linux during the next big refactor
                   15242:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15243:   soname_spec='${libname}${release}${shared_ext}$major'
                   15244:   shlibpath_var=LD_LIBRARY_PATH
                   15245:   case $host_vendor in
                   15246:     sni)
                   15247:       shlibpath_overrides_runpath=no
                   15248:       need_lib_prefix=no
                   15249:       runpath_var=LD_RUN_PATH
                   15250:       ;;
                   15251:     siemens)
                   15252:       need_lib_prefix=no
                   15253:       ;;
                   15254:     motorola)
                   15255:       need_lib_prefix=no
                   15256:       need_version=no
                   15257:       shlibpath_overrides_runpath=no
                   15258:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   15259:       ;;
                   15260:   esac
                   15261:   ;;
                   15262: 
                   15263: sysv4*MP*)
                   15264:   if test -d /usr/nec ;then
                   15265:     version_type=linux # correct to gnu/linux during the next big refactor
                   15266:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   15267:     soname_spec='$libname${shared_ext}.$major'
                   15268:     shlibpath_var=LD_LIBRARY_PATH
                   15269:   fi
                   15270:   ;;
                   15271: 
                   15272: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   15273:   version_type=freebsd-elf
                   15274:   need_lib_prefix=no
                   15275:   need_version=no
                   15276:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15277:   soname_spec='${libname}${release}${shared_ext}$major'
                   15278:   shlibpath_var=LD_LIBRARY_PATH
                   15279:   shlibpath_overrides_runpath=yes
                   15280:   hardcode_into_libs=yes
                   15281:   if test "$with_gnu_ld" = yes; then
                   15282:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   15283:   else
                   15284:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   15285:     case $host_os in
                   15286:       sco3.2v5*)
                   15287:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   15288:        ;;
                   15289:     esac
                   15290:   fi
                   15291:   sys_lib_dlsearch_path_spec='/usr/lib'
                   15292:   ;;
                   15293: 
                   15294: tpf*)
                   15295:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   15296:   version_type=linux # correct to gnu/linux during the next big refactor
                   15297:   need_lib_prefix=no
                   15298:   need_version=no
                   15299:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15300:   shlibpath_var=LD_LIBRARY_PATH
                   15301:   shlibpath_overrides_runpath=no
                   15302:   hardcode_into_libs=yes
                   15303:   ;;
                   15304: 
                   15305: uts4*)
                   15306:   version_type=linux # correct to gnu/linux during the next big refactor
                   15307:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15308:   soname_spec='${libname}${release}${shared_ext}$major'
                   15309:   shlibpath_var=LD_LIBRARY_PATH
                   15310:   ;;
                   15311: 
                   15312: *)
                   15313:   dynamic_linker=no
                   15314:   ;;
                   15315: esac
1.43      moko     15316: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   15317: $as_echo "$dynamic_linker" >&6; }
1.35      moko     15318: test "$dynamic_linker" = no && can_build_shared=no
                   15319: 
                   15320: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   15321: if test "$GCC" = yes; then
                   15322:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   15323: fi
                   15324: 
                   15325: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   15326:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   15327: fi
                   15328: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   15329:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   15330: fi
                   15331: 
                   15332: 
                   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: 
1.43      moko     15369:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   15370: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1.35      moko     15371: hardcode_action_CXX=
                   15372: if test -n "$hardcode_libdir_flag_spec_CXX" ||
                   15373:    test -n "$runpath_var_CXX" ||
                   15374:    test "X$hardcode_automatic_CXX" = "Xyes" ; then
                   15375: 
                   15376:   # We can hardcode non-existent directories.
                   15377:   if test "$hardcode_direct_CXX" != no &&
                   15378:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   15379:      # have to relink, otherwise we might link with an installed library
                   15380:      # when we should be linking with a yet-to-be-installed one
                   15381:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
                   15382:      test "$hardcode_minus_L_CXX" != no; then
                   15383:     # Linking always hardcodes the temporary library directory.
                   15384:     hardcode_action_CXX=relink
                   15385:   else
                   15386:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   15387:     hardcode_action_CXX=immediate
                   15388:   fi
                   15389: else
                   15390:   # We cannot hardcode anything, or else we can only hardcode existing
                   15391:   # directories.
                   15392:   hardcode_action_CXX=unsupported
                   15393: fi
1.43      moko     15394: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
                   15395: $as_echo "$hardcode_action_CXX" >&6; }
1.35      moko     15396: 
                   15397: if test "$hardcode_action_CXX" = relink ||
                   15398:    test "$inherit_rpath_CXX" = yes; then
                   15399:   # Fast installation is not supported
                   15400:   enable_fast_install=no
                   15401: elif test "$shlibpath_overrides_runpath" = yes ||
                   15402:      test "$enable_shared" = no; then
                   15403:   # Fast installation is not necessary
                   15404:   enable_fast_install=needless
                   15405: fi
                   15406: 
                   15407: 
                   15408: 
                   15409: 
                   15410: 
                   15411: 
                   15412: 
                   15413:   fi # test -n "$compiler"
                   15414: 
                   15415:   CC=$lt_save_CC
                   15416:   CFLAGS=$lt_save_CFLAGS
                   15417:   LDCXX=$LD
                   15418:   LD=$lt_save_LD
                   15419:   GCC=$lt_save_GCC
                   15420:   with_gnu_ld=$lt_save_with_gnu_ld
                   15421:   lt_cv_path_LDCXX=$lt_cv_path_LD
                   15422:   lt_cv_path_LD=$lt_save_path_LD
                   15423:   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
                   15424:   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
                   15425: fi # test "$_lt_caught_CXX_error" != yes
                   15426: 
                   15427: ac_ext=c
                   15428: ac_cpp='$CPP $CPPFLAGS'
                   15429: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   15430: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   15431: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   15432: 
                   15433: 
                   15434: 
                   15435: 
                   15436: 
                   15437: 
                   15438: 
                   15439: 
                   15440: 
                   15441: 
                   15442: 
                   15443: 
                   15444: 
                   15445: 
                   15446: 
1.43      moko     15447:         ac_config_commands="$ac_config_commands libtool"
1.35      moko     15448: 
                   15449: 
                   15450: 
                   15451: 
                   15452: # Only expand once:
                   15453: 
                   15454: 
1.43      moko     15455: { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
                   15456: $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
                   15457: if ${libltdl_cv_shlibext+:} false; then :
                   15458:   $as_echo_n "(cached) " >&6
1.35      moko     15459: else
                   15460: 
                   15461: module=yes
                   15462: eval libltdl_cv_shlibext=$shrext_cmds
                   15463: module=no
                   15464: eval libltdl_cv_shrext=$shrext_cmds
                   15465: 
                   15466: fi
1.43      moko     15467: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
                   15468: $as_echo "$libltdl_cv_shlibext" >&6; }
1.35      moko     15469: if test -n "$libltdl_cv_shlibext"; then
                   15470: 
                   15471: cat >>confdefs.h <<_ACEOF
                   15472: #define LT_MODULE_EXT "$libltdl_cv_shlibext"
                   15473: _ACEOF
                   15474: 
                   15475: fi
                   15476: if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
                   15477: 
                   15478: cat >>confdefs.h <<_ACEOF
                   15479: #define LT_SHARED_EXT "$libltdl_cv_shrext"
                   15480: _ACEOF
                   15481: 
                   15482: fi
                   15483: 
1.43      moko     15484: { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
                   15485: $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
                   15486: if ${lt_cv_module_path_var+:} false; then :
                   15487:   $as_echo_n "(cached) " >&6
1.35      moko     15488: else
                   15489:   lt_cv_module_path_var="$shlibpath_var"
                   15490: fi
1.43      moko     15491: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
                   15492: $as_echo "$lt_cv_module_path_var" >&6; }
1.35      moko     15493: if test -n "$lt_cv_module_path_var"; then
                   15494: 
                   15495: cat >>confdefs.h <<_ACEOF
                   15496: #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
                   15497: _ACEOF
                   15498: 
                   15499: fi
                   15500: 
1.43      moko     15501: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
                   15502: $as_echo_n "checking for the default library search path... " >&6; }
                   15503: if ${lt_cv_sys_dlsearch_path+:} false; then :
                   15504:   $as_echo_n "(cached) " >&6
1.35      moko     15505: else
                   15506:   lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
                   15507: fi
1.43      moko     15508: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
                   15509: $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
1.35      moko     15510: if test -n "$lt_cv_sys_dlsearch_path"; then
                   15511:   sys_dlsearch_path=
                   15512:   for dir in $lt_cv_sys_dlsearch_path; do
                   15513:     if test -z "$sys_dlsearch_path"; then
                   15514:       sys_dlsearch_path="$dir"
                   15515:     else
                   15516:       sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
                   15517:     fi
                   15518:   done
                   15519: 
                   15520: cat >>confdefs.h <<_ACEOF
                   15521: #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
                   15522: _ACEOF
                   15523: 
                   15524: fi
                   15525: 
                   15526: 
                   15527: LT_DLLOADERS=
                   15528: 
                   15529: 
                   15530: ac_ext=c
                   15531: ac_cpp='$CPP $CPPFLAGS'
                   15532: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   15533: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   15534: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   15535: 
                   15536: 
                   15537: LIBADD_DLOPEN=
1.43      moko     15538: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
                   15539: $as_echo_n "checking for library containing dlopen... " >&6; }
                   15540: if ${ac_cv_search_dlopen+:} false; then :
                   15541:   $as_echo_n "(cached) " >&6
1.35      moko     15542: else
                   15543:   ac_func_search_save_LIBS=$LIBS
1.43      moko     15544: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     15545: /* end confdefs.h.  */
                   15546: 
1.43      moko     15547: /* Override any GCC internal prototype to avoid an error.
                   15548:    Use char because int might match the return type of a GCC
                   15549:    builtin and then its argument prototype would still apply.  */
1.35      moko     15550: #ifdef __cplusplus
                   15551: extern "C"
                   15552: #endif
                   15553: char dlopen ();
                   15554: int
                   15555: main ()
                   15556: {
1.43      moko     15557: return dlopen ();
1.35      moko     15558:   ;
                   15559:   return 0;
                   15560: }
                   15561: _ACEOF
1.43      moko     15562: for ac_lib in '' dl; do
                   15563:   if test -z "$ac_lib"; then
                   15564:     ac_res="none required"
                   15565:   else
                   15566:     ac_res=-l$ac_lib
                   15567:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   15568:   fi
                   15569:   if ac_fn_c_try_link "$LINENO"; then :
                   15570:   ac_cv_search_dlopen=$ac_res
                   15571: fi
                   15572: rm -f core conftest.err conftest.$ac_objext \
                   15573:     conftest$ac_exeext
                   15574:   if ${ac_cv_search_dlopen+:} false; then :
                   15575:   break
1.35      moko     15576: fi
1.43      moko     15577: done
                   15578: if ${ac_cv_search_dlopen+:} false; then :
1.35      moko     15579: 
                   15580: else
1.43      moko     15581:   ac_cv_search_dlopen=no
1.35      moko     15582: fi
1.43      moko     15583: rm conftest.$ac_ext
1.35      moko     15584: LIBS=$ac_func_search_save_LIBS
                   15585: fi
1.43      moko     15586: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
                   15587: $as_echo "$ac_cv_search_dlopen" >&6; }
                   15588: ac_res=$ac_cv_search_dlopen
                   15589: if test "$ac_res" != no; then :
                   15590:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
1.35      moko     15591: 
1.43      moko     15592: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
1.35      moko     15593: 
                   15594:        if test "$ac_cv_search_dlopen" != "none required" ; then
                   15595:          LIBADD_DLOPEN="-ldl"
                   15596:        fi
                   15597:        libltdl_cv_lib_dl_dlopen="yes"
                   15598:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   15599: else
1.43      moko     15600:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     15601: /* end confdefs.h.  */
                   15602: #if HAVE_DLFCN_H
                   15603: #  include <dlfcn.h>
                   15604: #endif
                   15605: 
                   15606: int
                   15607: main ()
                   15608: {
                   15609: dlopen(0, 0);
                   15610:   ;
                   15611:   return 0;
                   15612: }
                   15613: _ACEOF
1.43      moko     15614: if ac_fn_c_try_link "$LINENO"; then :
1.35      moko     15615: 
1.43      moko     15616: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
1.35      moko     15617: 
                   15618:            libltdl_cv_func_dlopen="yes"
                   15619:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   15620: else
1.43      moko     15621:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   15622: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
                   15623: if ${ac_cv_lib_svld_dlopen+:} false; then :
                   15624:   $as_echo_n "(cached) " >&6
1.35      moko     15625: else
                   15626:   ac_check_lib_save_LIBS=$LIBS
                   15627: LIBS="-lsvld  $LIBS"
1.43      moko     15628: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     15629: /* end confdefs.h.  */
                   15630: 
1.43      moko     15631: /* Override any GCC internal prototype to avoid an error.
                   15632:    Use char because int might match the return type of a GCC
1.35      moko     15633:    builtin and then its argument prototype would still apply.  */
                   15634: #ifdef __cplusplus
1.43      moko     15635: extern "C"
1.35      moko     15636: #endif
1.43      moko     15637: char dlopen ();
1.35      moko     15638: int
                   15639: main ()
                   15640: {
1.43      moko     15641: return dlopen ();
1.35      moko     15642:   ;
                   15643:   return 0;
                   15644: }
                   15645: _ACEOF
1.43      moko     15646: if ac_fn_c_try_link "$LINENO"; then :
                   15647:   ac_cv_lib_svld_dlopen=yes
1.35      moko     15648: else
1.43      moko     15649:   ac_cv_lib_svld_dlopen=no
                   15650: fi
                   15651: rm -f core conftest.err conftest.$ac_objext \
                   15652:     conftest$ac_exeext conftest.$ac_ext
                   15653: LIBS=$ac_check_lib_save_LIBS
                   15654: fi
                   15655: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   15656: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
                   15657: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
                   15658: 
                   15659: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
                   15660: 
                   15661:                LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
                   15662:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   15663: fi
1.35      moko     15664: 
                   15665: fi
1.43      moko     15666: rm -f core conftest.err conftest.$ac_objext \
                   15667:     conftest$ac_exeext conftest.$ac_ext
1.35      moko     15668: fi
1.43      moko     15669: 
                   15670: if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
                   15671: then
                   15672:   lt_save_LIBS="$LIBS"
                   15673:   LIBS="$LIBS $LIBADD_DLOPEN"
                   15674:   for ac_func in dlerror
                   15675: do :
                   15676:   ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
                   15677: if test "x$ac_cv_func_dlerror" = xyes; then :
1.35      moko     15678:   cat >>confdefs.h <<_ACEOF
1.43      moko     15679: #define HAVE_DLERROR 1
1.35      moko     15680: _ACEOF
                   15681: 
                   15682: fi
                   15683: done
                   15684: 
                   15685:   LIBS="$lt_save_LIBS"
                   15686: fi
                   15687: 
                   15688: 
                   15689: LIBADD_SHL_LOAD=
1.43      moko     15690: ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
                   15691: if test "x$ac_cv_func_shl_load" = xyes; then :
1.35      moko     15692: 
1.43      moko     15693: $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
1.35      moko     15694: 
                   15695:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
                   15696: else
1.43      moko     15697:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   15698: $as_echo_n "checking for shl_load in -ldld... " >&6; }
                   15699: if ${ac_cv_lib_dld_shl_load+:} false; then :
                   15700:   $as_echo_n "(cached) " >&6
1.35      moko     15701: else
                   15702:   ac_check_lib_save_LIBS=$LIBS
                   15703: LIBS="-ldld  $LIBS"
1.43      moko     15704: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     15705: /* end confdefs.h.  */
                   15706: 
1.43      moko     15707: /* Override any GCC internal prototype to avoid an error.
                   15708:    Use char because int might match the return type of a GCC
                   15709:    builtin and then its argument prototype would still apply.  */
1.35      moko     15710: #ifdef __cplusplus
                   15711: extern "C"
                   15712: #endif
                   15713: char shl_load ();
                   15714: int
                   15715: main ()
                   15716: {
1.43      moko     15717: return shl_load ();
1.35      moko     15718:   ;
                   15719:   return 0;
                   15720: }
                   15721: _ACEOF
1.43      moko     15722: if ac_fn_c_try_link "$LINENO"; then :
1.35      moko     15723:   ac_cv_lib_dld_shl_load=yes
                   15724: else
1.43      moko     15725:   ac_cv_lib_dld_shl_load=no
1.35      moko     15726: fi
1.43      moko     15727: rm -f core conftest.err conftest.$ac_objext \
                   15728:     conftest$ac_exeext conftest.$ac_ext
1.35      moko     15729: LIBS=$ac_check_lib_save_LIBS
                   15730: fi
1.43      moko     15731: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   15732: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
                   15733: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
1.35      moko     15734: 
1.43      moko     15735: $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
1.35      moko     15736: 
                   15737:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
                   15738:            LIBADD_SHL_LOAD="-ldld"
                   15739: fi
                   15740: 
                   15741: fi
                   15742: 
                   15743: 
                   15744: 
                   15745: case $host_os in
                   15746: darwin[1567].*)
                   15747: # We only want this for pre-Mac OS X 10.4.
1.43      moko     15748:   ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
                   15749: if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
1.35      moko     15750: 
1.43      moko     15751: $as_echo "#define HAVE_DYLD 1" >>confdefs.h
1.35      moko     15752: 
                   15753:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
                   15754: fi
                   15755: 
                   15756:   ;;
                   15757: beos*)
                   15758:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
                   15759:   ;;
                   15760: cygwin* | mingw* | os2* | pw32*)
1.43      moko     15761:   ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
                   15762: "
                   15763: if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
                   15764:   ac_have_decl=1
1.35      moko     15765: else
1.43      moko     15766:   ac_have_decl=0
1.35      moko     15767: fi
                   15768: 
                   15769: cat >>confdefs.h <<_ACEOF
1.43      moko     15770: #define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl
1.35      moko     15771: _ACEOF
                   15772: 
                   15773:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
                   15774:   ;;
                   15775: esac
                   15776: 
1.43      moko     15777: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   15778: $as_echo_n "checking for dld_link in -ldld... " >&6; }
                   15779: if ${ac_cv_lib_dld_dld_link+:} false; then :
                   15780:   $as_echo_n "(cached) " >&6
1.35      moko     15781: else
                   15782:   ac_check_lib_save_LIBS=$LIBS
                   15783: LIBS="-ldld  $LIBS"
1.43      moko     15784: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     15785: /* end confdefs.h.  */
                   15786: 
1.43      moko     15787: /* Override any GCC internal prototype to avoid an error.
                   15788:    Use char because int might match the return type of a GCC
                   15789:    builtin and then its argument prototype would still apply.  */
1.35      moko     15790: #ifdef __cplusplus
                   15791: extern "C"
                   15792: #endif
                   15793: char dld_link ();
                   15794: int
                   15795: main ()
                   15796: {
1.43      moko     15797: return dld_link ();
1.35      moko     15798:   ;
                   15799:   return 0;
                   15800: }
                   15801: _ACEOF
1.43      moko     15802: if ac_fn_c_try_link "$LINENO"; then :
1.35      moko     15803:   ac_cv_lib_dld_dld_link=yes
                   15804: else
1.43      moko     15805:   ac_cv_lib_dld_dld_link=no
1.35      moko     15806: fi
1.43      moko     15807: rm -f core conftest.err conftest.$ac_objext \
                   15808:     conftest$ac_exeext conftest.$ac_ext
1.35      moko     15809: LIBS=$ac_check_lib_save_LIBS
                   15810: fi
1.43      moko     15811: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   15812: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
                   15813: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
1.35      moko     15814: 
1.43      moko     15815: $as_echo "#define HAVE_DLD 1" >>confdefs.h
1.35      moko     15816: 
                   15817:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
                   15818: fi
                   15819: 
                   15820: 
                   15821: 
                   15822: 
                   15823: LT_DLPREOPEN=
                   15824: if test -n "$LT_DLLOADERS"
                   15825: then
                   15826:   for lt_loader in $LT_DLLOADERS; do
                   15827:     LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
                   15828:   done
                   15829: 
1.43      moko     15830: $as_echo "#define HAVE_LIBDLLOADER 1" >>confdefs.h
1.35      moko     15831: 
                   15832: fi
                   15833: 
                   15834: 
                   15835: LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
                   15836: 
                   15837: 
                   15838: ac_ext=c
                   15839: ac_cpp='$CPP $CPPFLAGS'
                   15840: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   15841: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   15842: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   15843: 
                   15844: 
1.43      moko     15845: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
                   15846: $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
                   15847: if ${lt_cv_sys_symbol_underscore+:} false; then :
                   15848:   $as_echo_n "(cached) " >&6
1.35      moko     15849: else
                   15850:   lt_cv_sys_symbol_underscore=no
                   15851:   cat > conftest.$ac_ext <<_LT_EOF
                   15852: void nm_test_func(){}
                   15853: int main(){nm_test_func;return 0;}
                   15854: _LT_EOF
1.43      moko     15855:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.35      moko     15856:   (eval $ac_compile) 2>&5
                   15857:   ac_status=$?
1.43      moko     15858:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   15859:   test $ac_status = 0; }; then
1.35      moko     15860:     # Now try to grab the symbols.
                   15861:     ac_nlist=conftest.nm
1.43      moko     15862:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
1.35      moko     15863:   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
                   15864:   ac_status=$?
1.43      moko     15865:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   15866:   test $ac_status = 0; } && test -s "$ac_nlist"; then
1.35      moko     15867:       # See whether the symbols have a leading underscore.
                   15868:       if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
                   15869:         lt_cv_sys_symbol_underscore=yes
                   15870:       else
                   15871:         if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
                   15872:          :
                   15873:         else
                   15874:          echo "configure: cannot find nm_test_func in $ac_nlist" >&5
                   15875:         fi
                   15876:       fi
                   15877:     else
                   15878:       echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   15879:     fi
                   15880:   else
                   15881:     echo "configure: failed program was:" >&5
                   15882:     cat conftest.c >&5
                   15883:   fi
                   15884:   rm -rf conftest*
                   15885: 
                   15886: fi
1.43      moko     15887: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5
                   15888: $as_echo "$lt_cv_sys_symbol_underscore" >&6; }
1.35      moko     15889:   sys_symbol_underscore=$lt_cv_sys_symbol_underscore
                   15890: 
                   15891: 
                   15892: if test x"$lt_cv_sys_symbol_underscore" = xyes; then
                   15893:   if test x"$libltdl_cv_func_dlopen" = xyes ||
                   15894:      test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
1.43      moko     15895:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
                   15896: $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
                   15897: if ${libltdl_cv_need_uscore+:} false; then :
                   15898:   $as_echo_n "(cached) " >&6
1.35      moko     15899: else
                   15900:   libltdl_cv_need_uscore=unknown
                   15901:           save_LIBS="$LIBS"
                   15902:           LIBS="$LIBS $LIBADD_DLOPEN"
                   15903:          if test "$cross_compiling" = yes; then :
                   15904:   libltdl_cv_need_uscore=cross
                   15905: else
                   15906:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   15907:   lt_status=$lt_dlunknown
                   15908:   cat > conftest.$ac_ext <<_LT_EOF
                   15909: #line $LINENO "configure"
                   15910: #include "confdefs.h"
                   15911: 
                   15912: #if HAVE_DLFCN_H
                   15913: #include <dlfcn.h>
                   15914: #endif
                   15915: 
                   15916: #include <stdio.h>
                   15917: 
                   15918: #ifdef RTLD_GLOBAL
                   15919: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   15920: #else
                   15921: #  ifdef DL_GLOBAL
                   15922: #    define LT_DLGLOBAL                DL_GLOBAL
                   15923: #  else
                   15924: #    define LT_DLGLOBAL                0
                   15925: #  endif
                   15926: #endif
                   15927: 
                   15928: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   15929:    find out it does not work in some platform. */
                   15930: #ifndef LT_DLLAZY_OR_NOW
                   15931: #  ifdef RTLD_LAZY
                   15932: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   15933: #  else
                   15934: #    ifdef DL_LAZY
                   15935: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   15936: #    else
                   15937: #      ifdef RTLD_NOW
                   15938: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   15939: #      else
                   15940: #        ifdef DL_NOW
                   15941: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   15942: #        else
                   15943: #          define LT_DLLAZY_OR_NOW     0
                   15944: #        endif
                   15945: #      endif
                   15946: #    endif
                   15947: #  endif
                   15948: #endif
                   15949: 
                   15950: /* When -fvisbility=hidden is used, assume the code has been annotated
                   15951:    correspondingly for the symbols needed.  */
                   15952: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   15953: int fnord () __attribute__((visibility("default")));
                   15954: #endif
                   15955: 
                   15956: int fnord () { return 42; }
                   15957: int main ()
                   15958: {
                   15959:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   15960:   int status = $lt_dlunknown;
                   15961: 
                   15962:   if (self)
                   15963:     {
                   15964:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   15965:       else
                   15966:         {
                   15967:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   15968:           else puts (dlerror ());
                   15969:        }
                   15970:       /* dlclose (self); */
                   15971:     }
                   15972:   else
                   15973:     puts (dlerror ());
                   15974: 
                   15975:   return status;
                   15976: }
                   15977: _LT_EOF
1.43      moko     15978:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.35      moko     15979:   (eval $ac_link) 2>&5
                   15980:   ac_status=$?
1.43      moko     15981:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   15982:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.35      moko     15983:     (./conftest; exit; ) >&5 2>/dev/null
                   15984:     lt_status=$?
                   15985:     case x$lt_status in
                   15986:       x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
                   15987:       x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
                   15988:       x$lt_dlunknown|x*)  ;;
                   15989:     esac
                   15990:   else :
                   15991:     # compilation failed
                   15992: 
                   15993:   fi
                   15994: fi
                   15995: rm -fr conftest*
                   15996: 
                   15997:          LIBS="$save_LIBS"
                   15998: 
                   15999: fi
1.43      moko     16000: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
                   16001: $as_echo "$libltdl_cv_need_uscore" >&6; }
1.35      moko     16002:   fi
                   16003: fi
                   16004: 
                   16005: if test x"$libltdl_cv_need_uscore" = xyes; then
                   16006: 
1.43      moko     16007: $as_echo "#define NEED_USCORE 1" >>confdefs.h
1.35      moko     16008: 
                   16009: fi
                   16010: 
1.43      moko     16011: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
                   16012: $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
                   16013: if ${lt_cv_sys_dlopen_deplibs+:} false; then :
                   16014:   $as_echo_n "(cached) " >&6
1.35      moko     16015: else
                   16016:   # PORTME does your system automatically load deplibs for dlopen?
                   16017:   # or its logical equivalent (e.g. shl_load for HP-UX < 11)
                   16018:   # For now, we just catch OSes we know something about -- in the
                   16019:   # future, we'll try test this programmatically.
                   16020:   lt_cv_sys_dlopen_deplibs=unknown
                   16021:   case $host_os in
                   16022:   aix3*|aix4.1.*|aix4.2.*)
                   16023:     # Unknown whether this is true for these versions of AIX, but
                   16024:     # we want this `case' here to explicitly catch those versions.
                   16025:     lt_cv_sys_dlopen_deplibs=unknown
                   16026:     ;;
                   16027:   aix[4-9]*)
                   16028:     lt_cv_sys_dlopen_deplibs=yes
                   16029:     ;;
                   16030:   amigaos*)
                   16031:     case $host_cpu in
                   16032:     powerpc)
                   16033:       lt_cv_sys_dlopen_deplibs=no
                   16034:       ;;
                   16035:     esac
                   16036:     ;;
                   16037:   darwin*)
                   16038:     # Assuming the user has installed a libdl from somewhere, this is true
                   16039:     # If you are looking for one http://www.opendarwin.org/projects/dlcompat
                   16040:     lt_cv_sys_dlopen_deplibs=yes
                   16041:     ;;
                   16042:   freebsd* | dragonfly*)
                   16043:     lt_cv_sys_dlopen_deplibs=yes
                   16044:     ;;
                   16045:   gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   16046:     # GNU and its variants, using gnu ld.so (Glibc)
                   16047:     lt_cv_sys_dlopen_deplibs=yes
                   16048:     ;;
                   16049:   hpux10*|hpux11*)
                   16050:     lt_cv_sys_dlopen_deplibs=yes
                   16051:     ;;
                   16052:   interix*)
                   16053:     lt_cv_sys_dlopen_deplibs=yes
                   16054:     ;;
                   16055:   irix[12345]*|irix6.[01]*)
                   16056:     # Catch all versions of IRIX before 6.2, and indicate that we don't
                   16057:     # know how it worked for any of those versions.
                   16058:     lt_cv_sys_dlopen_deplibs=unknown
                   16059:     ;;
                   16060:   irix*)
                   16061:     # The case above catches anything before 6.2, and it's known that
                   16062:     # at 6.2 and later dlopen does load deplibs.
                   16063:     lt_cv_sys_dlopen_deplibs=yes
                   16064:     ;;
                   16065:   netbsd*)
                   16066:     lt_cv_sys_dlopen_deplibs=yes
                   16067:     ;;
                   16068:   openbsd*)
                   16069:     lt_cv_sys_dlopen_deplibs=yes
                   16070:     ;;
                   16071:   osf[1234]*)
                   16072:     # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
                   16073:     # it did *not* use an RPATH in a shared library to find objects the
                   16074:     # library depends on, so we explicitly say `no'.
                   16075:     lt_cv_sys_dlopen_deplibs=no
                   16076:     ;;
                   16077:   osf5.0|osf5.0a|osf5.1)
                   16078:     # dlopen *does* load deplibs and with the right loader patch applied
                   16079:     # it even uses RPATH in a shared library to search for shared objects
                   16080:     # that the library depends on, but there's no easy way to know if that
                   16081:     # patch is installed.  Since this is the case, all we can really
                   16082:     # say is unknown -- it depends on the patch being installed.  If
                   16083:     # it is, this changes to `yes'.  Without it, it would be `no'.
                   16084:     lt_cv_sys_dlopen_deplibs=unknown
                   16085:     ;;
                   16086:   osf*)
                   16087:     # the two cases above should catch all versions of osf <= 5.1.  Read
                   16088:     # the comments above for what we know about them.
                   16089:     # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
                   16090:     # is used to find them so we can finally say `yes'.
                   16091:     lt_cv_sys_dlopen_deplibs=yes
                   16092:     ;;
                   16093:   qnx*)
                   16094:     lt_cv_sys_dlopen_deplibs=yes
                   16095:     ;;
                   16096:   solaris*)
                   16097:     lt_cv_sys_dlopen_deplibs=yes
                   16098:     ;;
                   16099:   sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   16100:     libltdl_cv_sys_dlopen_deplibs=yes
                   16101:     ;;
                   16102:   esac
                   16103: 
                   16104: fi
1.43      moko     16105: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
                   16106: $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
1.35      moko     16107: if test "$lt_cv_sys_dlopen_deplibs" != yes; then
                   16108: 
1.43      moko     16109: $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
1.35      moko     16110: 
                   16111: fi
                   16112: 
                   16113: :
                   16114: 
                   16115: for ac_header in argz.h
1.43      moko     16116: do :
                   16117:   ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
                   16118: "
                   16119: if test "x$ac_cv_header_argz_h" = xyes; then :
1.35      moko     16120:   cat >>confdefs.h <<_ACEOF
1.43      moko     16121: #define HAVE_ARGZ_H 1
1.35      moko     16122: _ACEOF
                   16123: 
                   16124: fi
                   16125: 
                   16126: done
                   16127: 
                   16128: 
1.43      moko     16129: ac_fn_c_check_type "$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H)
                   16130: #  include <argz.h>
1.35      moko     16131: #endif
1.43      moko     16132: "
                   16133: if test "x$ac_cv_type_error_t" = xyes; then :
1.35      moko     16134: 
1.43      moko     16135: cat >>confdefs.h <<_ACEOF
                   16136: #define HAVE_ERROR_T 1
1.35      moko     16137: _ACEOF
1.43      moko     16138: 
                   16139: 
1.35      moko     16140: else
                   16141: 
1.43      moko     16142: $as_echo "#define error_t int" >>confdefs.h
                   16143: 
                   16144: 
                   16145: $as_echo "#define __error_t_defined 1" >>confdefs.h
                   16146: 
1.35      moko     16147: fi
1.43      moko     16148: 
                   16149: 
                   16150: ARGZ_H=
                   16151: for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
                   16152:        argz_next argz_stringify
                   16153: do :
                   16154:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   16155: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   16156: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.35      moko     16157:   cat >>confdefs.h <<_ACEOF
1.43      moko     16158: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.35      moko     16159: _ACEOF
                   16160: 
                   16161: else
                   16162:   ARGZ_H=argz.h;
                   16163: 
                   16164:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   16165: 
                   16166: fi
                   16167: done
                   16168: 
                   16169: 
1.43      moko     16170: if test -z "$ARGZ_H"; then :
                   16171:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
                   16172: $as_echo_n "checking if argz actually works... " >&6; }
                   16173: if ${lt_cv_sys_argz_works+:} false; then :
                   16174:   $as_echo_n "(cached) " >&6
1.35      moko     16175: else
                   16176:   case $host_os in #(
                   16177:         *cygwin*)
                   16178:           lt_cv_sys_argz_works=no
                   16179:           if test "$cross_compiling" != no; then
                   16180:             lt_cv_sys_argz_works="guessing no"
                   16181:           else
                   16182:             lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
                   16183:             save_IFS=$IFS
                   16184:             IFS=-.
                   16185:             set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
                   16186:             IFS=$save_IFS
                   16187:             lt_os_major=${2-0}
                   16188:             lt_os_minor=${3-0}
                   16189:             lt_os_micro=${4-0}
                   16190:             if test "$lt_os_major" -gt 1 \
                   16191:                || { test "$lt_os_major" -eq 1 \
                   16192:                  && { test "$lt_os_minor" -gt 5 \
                   16193:                    || { test "$lt_os_minor" -eq 5 \
                   16194:                      && test "$lt_os_micro" -gt 24; }; }; }; then
                   16195:               lt_cv_sys_argz_works=yes
                   16196:             fi
                   16197:           fi
                   16198:           ;; #(
                   16199:         *) lt_cv_sys_argz_works=yes ;;
                   16200:         esac
                   16201: fi
1.43      moko     16202: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
                   16203: $as_echo "$lt_cv_sys_argz_works" >&6; }
                   16204:      if test "$lt_cv_sys_argz_works" = yes; then :
1.35      moko     16205: 
1.43      moko     16206: $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
1.35      moko     16207: 
                   16208: else
                   16209:   ARGZ_H=argz.h
                   16210: 
                   16211: 
                   16212:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   16213: 
                   16214: fi
                   16215: fi
                   16216: 
                   16217: 
                   16218: 
1.43      moko     16219: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
                   16220: $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
                   16221: if ${libltdl_cv_preloaded_symbols+:} false; then :
                   16222:   $as_echo_n "(cached) " >&6
1.35      moko     16223: else
                   16224:   if test -n "$lt_cv_sys_global_symbol_pipe"; then
                   16225:     libltdl_cv_preloaded_symbols=yes
                   16226:   else
                   16227:     libltdl_cv_preloaded_symbols=no
                   16228:   fi
                   16229: 
                   16230: fi
1.43      moko     16231: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
                   16232: $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
1.35      moko     16233: if test x"$libltdl_cv_preloaded_symbols" = xyes; then
                   16234: 
1.43      moko     16235: $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
1.35      moko     16236: 
                   16237: fi
                   16238: 
1.43      moko     16239: 
                   16240: 
1.35      moko     16241: # Set options
                   16242: 
                   16243: 
                   16244: 
                   16245: 
                   16246: 
                   16247: 
                   16248: 
                   16249: 
                   16250: 
                   16251: 
                   16252: 
                   16253: 
1.43      moko     16254: # Check whether --with-included_ltdl was given.
                   16255: if test "${with_included_ltdl+set}" = set; then :
                   16256:   withval=$with_included_ltdl;
                   16257: fi
1.35      moko     16258: 
                   16259: 
                   16260: if test "x$with_included_ltdl" != xyes; then
                   16261:   # We are not being forced to use the included libltdl sources, so
                   16262:   # decide whether there is a useful installed version we can use.
1.43      moko     16263:   ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
1.35      moko     16264: 
1.43      moko     16265: "
                   16266: if test "x$ac_cv_header_ltdl_h" = xyes; then :
                   16267:   ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
1.35      moko     16268:            #include <ltdl.h>
1.43      moko     16269: "
                   16270: if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
                   16271:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
                   16272: $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
                   16273: if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
                   16274:   $as_echo_n "(cached) " >&6
1.35      moko     16275: else
                   16276:   ac_check_lib_save_LIBS=$LIBS
                   16277: LIBS="-lltdl  $LIBS"
1.43      moko     16278: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     16279: /* end confdefs.h.  */
                   16280: 
1.43      moko     16281: /* Override any GCC internal prototype to avoid an error.
                   16282:    Use char because int might match the return type of a GCC
                   16283:    builtin and then its argument prototype would still apply.  */
1.35      moko     16284: #ifdef __cplusplus
                   16285: extern "C"
                   16286: #endif
                   16287: char lt_dladvise_preload ();
                   16288: int
                   16289: main ()
                   16290: {
1.43      moko     16291: return lt_dladvise_preload ();
1.35      moko     16292:   ;
                   16293:   return 0;
                   16294: }
                   16295: _ACEOF
1.43      moko     16296: if ac_fn_c_try_link "$LINENO"; then :
1.35      moko     16297:   ac_cv_lib_ltdl_lt_dladvise_preload=yes
                   16298: else
1.43      moko     16299:   ac_cv_lib_ltdl_lt_dladvise_preload=no
1.35      moko     16300: fi
1.43      moko     16301: rm -f core conftest.err conftest.$ac_objext \
                   16302:     conftest$ac_exeext conftest.$ac_ext
1.35      moko     16303: LIBS=$ac_check_lib_save_LIBS
                   16304: fi
1.43      moko     16305: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
                   16306: $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
                   16307: if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
1.35      moko     16308:   with_included_ltdl=no
                   16309: else
                   16310:   with_included_ltdl=yes
                   16311: fi
                   16312: 
                   16313: else
                   16314:   with_included_ltdl=yes
                   16315: fi
                   16316: 
                   16317: else
                   16318:   with_included_ltdl=yes
                   16319: fi
                   16320: 
                   16321: 
                   16322: fi
                   16323: 
                   16324: 
                   16325: 
                   16326: 
1.43      moko     16327: # Check whether --with-ltdl_include was given.
                   16328: if test "${with_ltdl_include+set}" = set; then :
                   16329:   withval=$with_ltdl_include;
                   16330: fi
1.35      moko     16331: 
                   16332: 
                   16333: if test -n "$with_ltdl_include"; then
                   16334:   if test -f "$with_ltdl_include/ltdl.h"; then :
                   16335:   else
1.43      moko     16336:     as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
1.35      moko     16337:   fi
                   16338: else
                   16339:   with_ltdl_include=no
                   16340: fi
                   16341: 
                   16342: 
1.43      moko     16343: # Check whether --with-ltdl_lib was given.
                   16344: if test "${with_ltdl_lib+set}" = set; then :
                   16345:   withval=$with_ltdl_lib;
                   16346: fi
1.35      moko     16347: 
                   16348: 
                   16349: if test -n "$with_ltdl_lib"; then
                   16350:   if test -f "$with_ltdl_lib/libltdl.la"; then :
                   16351:   else
1.43      moko     16352:     as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
1.35      moko     16353:   fi
                   16354: else
                   16355:   with_ltdl_lib=no
                   16356: fi
                   16357: 
                   16358: case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
                   16359:   ,yes,no,no,)
                   16360:        case $enable_ltdl_convenience in
1.43      moko     16361:   no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
1.35      moko     16362:   "") enable_ltdl_convenience=yes
                   16363:       ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
                   16364: esac
1.43      moko     16365: LIBLTDL='${top_build_prefix}'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
1.35      moko     16366: LTDLDEPS=$LIBLTDL
                   16367: LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
                   16368: 
                   16369: 
                   16370: 
                   16371: 
                   16372: 
                   16373: # For backwards non-gettext consistent compatibility...
                   16374: INCLTDL="$LTDLINCL"
                   16375: 
                   16376: 
                   16377:        ;;
                   16378:   ,no,no,no,)
                   16379:        # If the included ltdl is not to be used, then use the
                   16380:        # preinstalled libltdl we found.
                   16381: 
1.43      moko     16382: $as_echo "#define HAVE_LTDL 1" >>confdefs.h
1.35      moko     16383: 
                   16384:        LIBLTDL=-lltdl
                   16385:        LTDLDEPS=
                   16386:        LTDLINCL=
                   16387:        ;;
                   16388:   ,no*,no,*)
1.43      moko     16389:        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
1.35      moko     16390:        ;;
                   16391:   *)   with_included_ltdl=no
                   16392:        LIBLTDL="-L$with_ltdl_lib -lltdl"
                   16393:        LTDLDEPS=
                   16394:        LTDLINCL="-I$with_ltdl_include"
                   16395:        ;;
                   16396: esac
                   16397: INCLTDL="$LTDLINCL"
                   16398: 
                   16399: # Report our decision...
1.43      moko     16400: { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5
                   16401: $as_echo_n "checking where to find libltdl headers... " >&6; }
                   16402: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LTDLINCL" >&5
                   16403: $as_echo "$LTDLINCL" >&6; }
                   16404: { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl library" >&5
                   16405: $as_echo_n "checking where to find libltdl library... " >&6; }
                   16406: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBLTDL" >&5
                   16407: $as_echo "$LIBLTDL" >&6; }
1.35      moko     16408: 
                   16409: 
                   16410: 
1.43      moko     16411: # Check whether --enable-ltdl-install was given.
                   16412: if test "${enable_ltdl_install+set}" = set; then :
                   16413:   enableval=$enable_ltdl_install;
                   16414: fi
1.35      moko     16415: 
                   16416: 
                   16417: case ,${enable_ltdl_install},${enable_ltdl_convenience} in
                   16418:   *yes*) ;;
                   16419:   *) enable_ltdl_convenience=yes ;;
                   16420: esac
                   16421: 
1.43      moko     16422:  if test x"${enable_ltdl_install-no}" != xno; then
1.35      moko     16423:   INSTALL_LTDL_TRUE=
                   16424:   INSTALL_LTDL_FALSE='#'
                   16425: else
                   16426:   INSTALL_LTDL_TRUE='#'
                   16427:   INSTALL_LTDL_FALSE=
                   16428: fi
                   16429: 
1.43      moko     16430:   if test x"${enable_ltdl_convenience-no}" != xno; then
1.35      moko     16431:   CONVENIENCE_LTDL_TRUE=
                   16432:   CONVENIENCE_LTDL_FALSE='#'
                   16433: else
                   16434:   CONVENIENCE_LTDL_TRUE='#'
                   16435:   CONVENIENCE_LTDL_FALSE=
                   16436: fi
                   16437: 
                   16438: 
                   16439: 
1.43      moko     16440:     subdirs="$subdirs libltdl"
1.35      moko     16441: 
                   16442: 
                   16443: 
                   16444: 
                   16445: # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
                   16446: # the user used.  This is so that ltdl.h can pick up the parent projects
                   16447: # config.h file, The first file in AC_CONFIG_HEADERS must contain the
                   16448: # definitions required by ltdl.c.
                   16449: # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
                   16450: 
                   16451: 
                   16452: 
                   16453: for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
1.43      moko     16454: do :
                   16455:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   16456: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   16457: "
                   16458: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1.35      moko     16459:   cat >>confdefs.h <<_ACEOF
1.43      moko     16460: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.35      moko     16461: _ACEOF
                   16462: 
                   16463: fi
                   16464: 
                   16465: done
                   16466: 
                   16467: 
                   16468: for ac_func in closedir opendir readdir
1.43      moko     16469: do :
                   16470:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   16471: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   16472: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.35      moko     16473:   cat >>confdefs.h <<_ACEOF
1.43      moko     16474: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.35      moko     16475: _ACEOF
                   16476: 
                   16477: else
                   16478: 
                   16479: 
                   16480:   _LT_LIBOBJS="$_LT_LIBOBJS lt__dirent.$ac_objext"
                   16481: 
                   16482: fi
                   16483: done
                   16484: 
                   16485: for ac_func in strlcat strlcpy
1.43      moko     16486: do :
                   16487:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   16488: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   16489: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.35      moko     16490:   cat >>confdefs.h <<_ACEOF
1.43      moko     16491: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.35      moko     16492: _ACEOF
                   16493: 
                   16494: else
                   16495: 
                   16496: 
                   16497:   _LT_LIBOBJS="$_LT_LIBOBJS lt__strl.$ac_objext"
                   16498: 
                   16499: fi
                   16500: done
                   16501: 
                   16502: 
                   16503: 
                   16504: cat >>confdefs.h <<_ACEOF
                   16505: #define LT_LIBEXT "$libext"
                   16506: _ACEOF
                   16507: 
                   16508: 
                   16509: name=
                   16510: eval "lt_libprefix=\"$libname_spec\""
                   16511: 
                   16512: cat >>confdefs.h <<_ACEOF
                   16513: #define LT_LIBPREFIX "$lt_libprefix"
                   16514: _ACEOF
                   16515: 
                   16516: 
                   16517: name=ltdl
                   16518: eval "LTDLOPEN=\"$libname_spec\""
                   16519: 
                   16520: 
                   16521: 
                   16522: 
                   16523: 
                   16524: 
                   16525: 
                   16526: 
                   16527: # Only expand once:
                   16528: 
                   16529: 
                   16530: 
1.36      moko     16531: 
1.43      moko     16532: for ac_header in stdio.h \
                   16533: stdlib.h \
                   16534: string.h \
                   16535: setjmp.h \
                   16536: ctype.h
                   16537: 
                   16538: do :
                   16539:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   16540: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   16541: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1.35      moko     16542:   cat >>confdefs.h <<_ACEOF
1.43      moko     16543: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.35      moko     16544: _ACEOF
                   16545: 
                   16546: fi
                   16547: 
                   16548: done
                   16549: 
                   16550: 
1.43      moko     16551: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
                   16552: if test "x$ac_cv_type_size_t" = xyes; then :
1.35      moko     16553: 
                   16554: else
                   16555: 
                   16556: cat >>confdefs.h <<_ACEOF
1.43      moko     16557: #define size_t unsigned int
1.35      moko     16558: _ACEOF
                   16559: 
                   16560: fi
                   16561: 
                   16562: 
                   16563: 
1.43      moko     16564: ac_config_files="$ac_config_files Makefile"
                   16565: 
1.35      moko     16566: cat >confcache <<\_ACEOF
                   16567: # This file is a shell script that caches the results of configure
                   16568: # tests run on this system so they can be shared between configure
                   16569: # scripts and configure runs, see configure's option --config-cache.
                   16570: # It is not useful on other systems.  If it contains results you don't
                   16571: # want to keep, you may remove or edit it.
                   16572: #
                   16573: # config.status only pays attention to the cache file if you give it
                   16574: # the --recheck option to rerun configure.
                   16575: #
                   16576: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   16577: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   16578: # following values.
                   16579: 
                   16580: _ACEOF
                   16581: 
                   16582: # The following way of writing the cache mishandles newlines in values,
                   16583: # but we know of no workaround that is simple, portable, and efficient.
1.43      moko     16584: # So, we kill variables containing newlines.
1.35      moko     16585: # Ultrix sh set writes to stderr and can't be redirected directly,
                   16586: # and sets the high bit in the cache file unless we assign to the vars.
1.43      moko     16587: (
                   16588:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   16589:     eval ac_val=\$$ac_var
                   16590:     case $ac_val in #(
                   16591:     *${as_nl}*)
                   16592:       case $ac_var in #(
                   16593:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   16594: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   16595:       esac
                   16596:       case $ac_var in #(
                   16597:       _ | IFS | as_nl) ;; #(
                   16598:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   16599:       *) { eval $ac_var=; unset $ac_var;} ;;
                   16600:       esac ;;
                   16601:     esac
                   16602:   done
                   16603: 
1.35      moko     16604:   (set) 2>&1 |
1.43      moko     16605:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   16606:     *${as_nl}ac_space=\ *)
                   16607:       # `set' does not quote correctly, so add quotes: double-quote
                   16608:       # substitution turns \\\\ into \\, and sed turns \\ into \.
1.35      moko     16609:       sed -n \
                   16610:        "s/'/'\\\\''/g;
                   16611:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1.43      moko     16612:       ;; #(
1.35      moko     16613:     *)
                   16614:       # `set' quotes correctly as required by POSIX, so do not add quotes.
1.43      moko     16615:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.35      moko     16616:       ;;
1.43      moko     16617:     esac |
                   16618:     sort
                   16619: ) |
1.35      moko     16620:   sed '
1.43      moko     16621:      /^ac_cv_env_/b end
1.35      moko     16622:      t clear
1.43      moko     16623:      :clear
1.35      moko     16624:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   16625:      t end
1.43      moko     16626:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   16627:      :end' >>confcache
                   16628: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   16629:   if test -w "$cache_file"; then
                   16630:     if test "x$cache_file" != "x/dev/null"; then
                   16631:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
                   16632: $as_echo "$as_me: updating cache $cache_file" >&6;}
                   16633:       if test ! -f "$cache_file" || test -h "$cache_file"; then
                   16634:        cat confcache >"$cache_file"
                   16635:       else
                   16636:         case $cache_file in #(
                   16637:         */* | ?:*)
                   16638:          mv -f confcache "$cache_file"$$ &&
                   16639:          mv -f "$cache_file"$$ "$cache_file" ;; #(
                   16640:         *)
                   16641:          mv -f confcache "$cache_file" ;;
                   16642:        esac
                   16643:       fi
                   16644:     fi
1.35      moko     16645:   else
1.43      moko     16646:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
                   16647: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1.35      moko     16648:   fi
                   16649: fi
                   16650: rm -f confcache
                   16651: 
                   16652: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   16653: # Let make expand exec_prefix.
                   16654: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   16655: 
                   16656: DEFS=-DHAVE_CONFIG_H
                   16657: 
                   16658: ac_libobjs=
                   16659: ac_ltlibobjs=
1.43      moko     16660: U=
1.35      moko     16661: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   16662:   # 1. Remove the extension, and $U if already installed.
1.43      moko     16663:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
                   16664:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
                   16665:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   16666:   #    will be set to the directory where LIBOBJS objects are built.
                   16667:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   16668:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
1.35      moko     16669: done
                   16670: LIBOBJS=$ac_libobjs
                   16671: 
                   16672: LTLIBOBJS=$ac_ltlibobjs
                   16673: 
                   16674: 
1.43      moko     16675:  if test -n "$EXEEXT"; then
                   16676:   am__EXEEXT_TRUE=
                   16677:   am__EXEEXT_FALSE='#'
                   16678: else
                   16679:   am__EXEEXT_TRUE='#'
                   16680:   am__EXEEXT_FALSE=
                   16681: fi
                   16682: 
1.35      moko     16683: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
1.43      moko     16684:   as_fn_error $? "conditional \"AMDEP\" was never defined.
                   16685: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.35      moko     16686: fi
                   16687: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
1.43      moko     16688:   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
                   16689: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.35      moko     16690: fi
                   16691: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.43      moko     16692:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
                   16693: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.35      moko     16694: fi
                   16695: if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
1.43      moko     16696:   as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
                   16697: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.35      moko     16698: fi
                   16699: if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
1.43      moko     16700:   as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
                   16701: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.35      moko     16702: fi
1.43      moko     16703: LT_CONFIG_H=config_auto.h
1.35      moko     16704: 
                   16705:     _ltdl_libobjs=
                   16706:     _ltdl_ltlibobjs=
                   16707:     if test -n "$_LT_LIBOBJS"; then
                   16708:       # Remove the extension.
                   16709:       _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
                   16710:       for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
                   16711:         _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
                   16712:         _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
                   16713:       done
                   16714:     fi
                   16715:     ltdl_LIBOBJS=$_ltdl_libobjs
                   16716: 
                   16717:     ltdl_LTLIBOBJS=$_ltdl_ltlibobjs
                   16718: 
                   16719: 
                   16720: 
1.43      moko     16721: : "${CONFIG_STATUS=./config.status}"
                   16722: ac_write_fail=0
1.35      moko     16723: ac_clean_files_save=$ac_clean_files
                   16724: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.43      moko     16725: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
                   16726: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   16727: as_write_fail=0
                   16728: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1.35      moko     16729: #! $SHELL
                   16730: # Generated by $as_me.
                   16731: # Run this file to recreate the current configuration.
                   16732: # Compiler output produced by configure, useful for debugging
                   16733: # configure, is in config.log if it exists.
                   16734: 
                   16735: debug=false
                   16736: ac_cs_recheck=false
                   16737: ac_cs_silent=false
1.43      moko     16738: 
1.35      moko     16739: SHELL=\${CONFIG_SHELL-$SHELL}
1.43      moko     16740: export SHELL
                   16741: _ASEOF
                   16742: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
                   16743: ## -------------------- ##
                   16744: ## M4sh Initialization. ##
                   16745: ## -------------------- ##
1.35      moko     16746: 
1.43      moko     16747: # Be more Bourne compatible
                   16748: DUALCASE=1; export DUALCASE # for MKS sh
                   16749: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.35      moko     16750:   emulate sh
                   16751:   NULLCMD=:
1.43      moko     16752:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.35      moko     16753:   # is contrary to our usage.  Disable this feature.
                   16754:   alias -g '${1+"$@"}'='"$@"'
1.43      moko     16755:   setopt NO_GLOB_SUBST
                   16756: else
                   16757:   case `(set -o) 2>/dev/null` in #(
                   16758:   *posix*) :
                   16759:     set -o posix ;; #(
                   16760:   *) :
                   16761:      ;;
                   16762: esac
                   16763: fi
                   16764: 
                   16765: 
                   16766: as_nl='
                   16767: '
                   16768: export as_nl
                   16769: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                   16770: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   16771: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                   16772: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                   16773: # Prefer a ksh shell builtin over an external printf program on Solaris,
                   16774: # but without wasting forks for bash or zsh.
                   16775: if test -z "$BASH_VERSION$ZSH_VERSION" \
                   16776:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                   16777:   as_echo='print -r --'
                   16778:   as_echo_n='print -rn --'
                   16779: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                   16780:   as_echo='printf %s\n'
                   16781:   as_echo_n='printf %s'
                   16782: else
                   16783:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                   16784:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                   16785:     as_echo_n='/usr/ucb/echo -n'
                   16786:   else
                   16787:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                   16788:     as_echo_n_body='eval
                   16789:       arg=$1;
                   16790:       case $arg in #(
                   16791:       *"$as_nl"*)
                   16792:        expr "X$arg" : "X\\(.*\\)$as_nl";
                   16793:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                   16794:       esac;
                   16795:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                   16796:     '
                   16797:     export as_echo_n_body
                   16798:     as_echo_n='sh -c $as_echo_n_body as_echo'
                   16799:   fi
                   16800:   export as_echo_body
                   16801:   as_echo='sh -c $as_echo_body as_echo'
1.35      moko     16802: fi
                   16803: 
1.43      moko     16804: # The user is always right.
                   16805: if test "${PATH_SEPARATOR+set}" != set; then
                   16806:   PATH_SEPARATOR=:
                   16807:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   16808:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   16809:       PATH_SEPARATOR=';'
                   16810:   }
1.35      moko     16811: fi
                   16812: 
                   16813: 
1.43      moko     16814: # IFS
                   16815: # We need space, tab and new line, in precisely that order.  Quoting is
                   16816: # there to prevent editors from complaining about space-tab.
                   16817: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                   16818: # splitting by setting IFS to empty value.)
                   16819: IFS=" ""       $as_nl"
                   16820: 
                   16821: # Find who we are.  Look in the path if we contain no directory separator.
                   16822: as_myself=
                   16823: case $0 in #((
                   16824:   *[\\/]* ) as_myself=$0 ;;
                   16825:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   16826: for as_dir in $PATH
                   16827: do
                   16828:   IFS=$as_save_IFS
                   16829:   test -z "$as_dir" && as_dir=.
                   16830:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   16831:   done
                   16832: IFS=$as_save_IFS
                   16833: 
                   16834:      ;;
                   16835: esac
                   16836: # We did not find ourselves, most probably we were run as `sh COMMAND'
                   16837: # in which case we are not to be found in the path.
                   16838: if test "x$as_myself" = x; then
                   16839:   as_myself=$0
                   16840: fi
                   16841: if test ! -f "$as_myself"; then
                   16842:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                   16843:   exit 1
                   16844: fi
                   16845: 
                   16846: # Unset variables that we do not need and which cause bugs (e.g. in
                   16847: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                   16848: # suppresses any "Segmentation fault" message there.  '((' could
                   16849: # trigger a bug in pdksh 5.2.14.
                   16850: for as_var in BASH_ENV ENV MAIL MAILPATH
                   16851: do eval test x\${$as_var+set} = xset \
                   16852:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                   16853: done
1.35      moko     16854: PS1='$ '
                   16855: PS2='> '
                   16856: PS4='+ '
                   16857: 
                   16858: # NLS nuisances.
1.43      moko     16859: LC_ALL=C
                   16860: export LC_ALL
                   16861: LANGUAGE=C
                   16862: export LANGUAGE
                   16863: 
                   16864: # CDPATH.
                   16865: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   16866: 
                   16867: 
                   16868: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                   16869: # ----------------------------------------
                   16870: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                   16871: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                   16872: # script with STATUS, using 1 if that was 0.
                   16873: as_fn_error ()
                   16874: {
                   16875:   as_status=$1; test $as_status -eq 0 && as_status=1
                   16876:   if test "$4"; then
                   16877:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   16878:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                   16879:   fi
                   16880:   $as_echo "$as_me: error: $2" >&2
                   16881:   as_fn_exit $as_status
                   16882: } # as_fn_error
                   16883: 
                   16884: 
                   16885: # as_fn_set_status STATUS
                   16886: # -----------------------
                   16887: # Set $? to STATUS, without forking.
                   16888: as_fn_set_status ()
                   16889: {
                   16890:   return $1
                   16891: } # as_fn_set_status
                   16892: 
                   16893: # as_fn_exit STATUS
                   16894: # -----------------
                   16895: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                   16896: as_fn_exit ()
                   16897: {
                   16898:   set +e
                   16899:   as_fn_set_status $1
                   16900:   exit $1
                   16901: } # as_fn_exit
                   16902: 
                   16903: # as_fn_unset VAR
                   16904: # ---------------
                   16905: # Portably unset VAR.
                   16906: as_fn_unset ()
                   16907: {
                   16908:   { eval $1=; unset $1;}
                   16909: }
                   16910: as_unset=as_fn_unset
                   16911: # as_fn_append VAR VALUE
                   16912: # ----------------------
                   16913: # Append the text in VALUE to the end of the definition contained in VAR. Take
                   16914: # advantage of any shell optimizations that allow amortized linear growth over
                   16915: # repeated appends, instead of the typical quadratic growth present in naive
                   16916: # implementations.
                   16917: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                   16918:   eval 'as_fn_append ()
                   16919:   {
                   16920:     eval $1+=\$2
                   16921:   }'
                   16922: else
                   16923:   as_fn_append ()
                   16924:   {
                   16925:     eval $1=\$$1\$2
                   16926:   }
                   16927: fi # as_fn_append
                   16928: 
                   16929: # as_fn_arith ARG...
                   16930: # ------------------
                   16931: # Perform arithmetic evaluation on the ARGs, and store the result in the
                   16932: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                   16933: # must be portable across $(()) and expr.
                   16934: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                   16935:   eval 'as_fn_arith ()
                   16936:   {
                   16937:     as_val=$(( $* ))
                   16938:   }'
                   16939: else
                   16940:   as_fn_arith ()
                   16941:   {
                   16942:     as_val=`expr "$@" || test $? -eq 1`
                   16943:   }
                   16944: fi # as_fn_arith
                   16945: 
1.35      moko     16946: 
1.43      moko     16947: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   16948:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.35      moko     16949:   as_expr=expr
                   16950: else
                   16951:   as_expr=false
                   16952: fi
                   16953: 
1.43      moko     16954: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1.35      moko     16955:   as_basename=basename
                   16956: else
                   16957:   as_basename=false
                   16958: fi
                   16959: 
1.43      moko     16960: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   16961:   as_dirname=dirname
                   16962: else
                   16963:   as_dirname=false
                   16964: fi
1.35      moko     16965: 
1.43      moko     16966: as_me=`$as_basename -- "$0" ||
1.35      moko     16967: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   16968:         X"$0" : 'X\(//\)$' \| \
1.43      moko     16969:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                   16970: $as_echo X/"$0" |
                   16971:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   16972:            s//\1/
                   16973:            q
                   16974:          }
                   16975:          /^X\/\(\/\/\)$/{
                   16976:            s//\1/
                   16977:            q
                   16978:          }
                   16979:          /^X\/\(\/\).*/{
                   16980:            s//\1/
                   16981:            q
                   16982:          }
                   16983:          s/.*/./; q'`
1.35      moko     16984: 
                   16985: # Avoid depending upon Character Ranges.
                   16986: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   16987: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   16988: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   16989: as_cr_digits='0123456789'
                   16990: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   16991: 
1.43      moko     16992: ECHO_C= ECHO_N= ECHO_T=
                   16993: case `echo -n x` in #(((((
                   16994: -n*)
                   16995:   case `echo 'xy\c'` in
                   16996:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                   16997:   xy)  ECHO_C='\c';;
                   16998:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                   16999:        ECHO_T='        ';;
                   17000:   esac;;
                   17001: *)
                   17002:   ECHO_N='-n';;
1.35      moko     17003: esac
                   17004: 
1.43      moko     17005: rm -f conf$$ conf$$.exe conf$$.file
                   17006: if test -d conf$$.dir; then
                   17007:   rm -f conf$$.dir/conf$$.file
1.35      moko     17008: else
1.43      moko     17009:   rm -f conf$$.dir
                   17010:   mkdir conf$$.dir 2>/dev/null
1.35      moko     17011: fi
1.43      moko     17012: if (echo >conf$$.file) 2>/dev/null; then
                   17013:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   17014:     as_ln_s='ln -s'
                   17015:     # ... but there are two gotchas:
                   17016:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                   17017:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1.49      moko     17018:     # In both cases, we have to default to `cp -pR'.
1.43      moko     17019:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.49      moko     17020:       as_ln_s='cp -pR'
1.43      moko     17021:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   17022:     as_ln_s=ln
                   17023:   else
1.49      moko     17024:     as_ln_s='cp -pR'
1.35      moko     17025:   fi
                   17026: else
1.49      moko     17027:   as_ln_s='cp -pR'
1.35      moko     17028: fi
1.43      moko     17029: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   17030: rmdir conf$$.dir 2>/dev/null
                   17031: 
                   17032: 
                   17033: # as_fn_mkdir_p
                   17034: # -------------
                   17035: # Create "$as_dir" as a directory, including parents if necessary.
                   17036: as_fn_mkdir_p ()
                   17037: {
                   17038: 
                   17039:   case $as_dir in #(
                   17040:   -*) as_dir=./$as_dir;;
                   17041:   esac
                   17042:   test -d "$as_dir" || eval $as_mkdir_p || {
                   17043:     as_dirs=
                   17044:     while :; do
                   17045:       case $as_dir in #(
                   17046:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                   17047:       *) as_qdir=$as_dir;;
                   17048:       esac
                   17049:       as_dirs="'$as_qdir' $as_dirs"
                   17050:       as_dir=`$as_dirname -- "$as_dir" ||
                   17051: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   17052:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   17053:         X"$as_dir" : 'X\(//\)$' \| \
                   17054:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                   17055: $as_echo X"$as_dir" |
                   17056:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   17057:            s//\1/
                   17058:            q
                   17059:          }
                   17060:          /^X\(\/\/\)[^/].*/{
                   17061:            s//\1/
                   17062:            q
                   17063:          }
                   17064:          /^X\(\/\/\)$/{
                   17065:            s//\1/
                   17066:            q
                   17067:          }
                   17068:          /^X\(\/\).*/{
                   17069:            s//\1/
                   17070:            q
                   17071:          }
                   17072:          s/.*/./; q'`
                   17073:       test -d "$as_dir" && break
                   17074:     done
                   17075:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                   17076:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                   17077: 
1.35      moko     17078: 
1.43      moko     17079: } # as_fn_mkdir_p
1.35      moko     17080: if mkdir -p . 2>/dev/null; then
1.43      moko     17081:   as_mkdir_p='mkdir -p "$as_dir"'
1.35      moko     17082: else
                   17083:   test -d ./-p && rmdir ./-p
                   17084:   as_mkdir_p=false
                   17085: fi
                   17086: 
1.49      moko     17087: 
                   17088: # as_fn_executable_p FILE
                   17089: # -----------------------
                   17090: # Test if FILE is an executable regular file.
                   17091: as_fn_executable_p ()
                   17092: {
                   17093:   test -f "$1" && test -x "$1"
                   17094: } # as_fn_executable_p
                   17095: as_test_x='test -x'
                   17096: as_executable_p=as_fn_executable_p
1.35      moko     17097: 
                   17098: # Sed expression to map a string onto a valid CPP name.
                   17099: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                   17100: 
                   17101: # Sed expression to map a string onto a valid variable name.
                   17102: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                   17103: 
                   17104: 
                   17105: exec 6>&1
1.43      moko     17106: ## ----------------------------------- ##
                   17107: ## Main body of $CONFIG_STATUS script. ##
                   17108: ## ----------------------------------- ##
                   17109: _ASEOF
                   17110: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
1.35      moko     17111: 
1.43      moko     17112: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   17113: # Save the log message, to keep $0 and so on meaningful, and to
1.35      moko     17114: # report actual input values of CONFIG_FILES etc. instead of their
1.43      moko     17115: # values after options handling.
                   17116: ac_log="
1.53    ! moko     17117: This file was extended by parser3mysql $as_me 10.8, which was
1.49      moko     17118: generated by GNU Autoconf 2.69.  Invocation command line was
1.35      moko     17119: 
                   17120:   CONFIG_FILES    = $CONFIG_FILES
                   17121:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   17122:   CONFIG_LINKS    = $CONFIG_LINKS
                   17123:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   17124:   $ $0 $@
                   17125: 
1.43      moko     17126: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   17127: "
                   17128: 
1.35      moko     17129: _ACEOF
                   17130: 
1.43      moko     17131: case $ac_config_files in *"
                   17132: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   17133: esac
1.35      moko     17134: 
1.43      moko     17135: case $ac_config_headers in *"
                   17136: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
                   17137: esac
1.35      moko     17138: 
                   17139: 
1.43      moko     17140: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   17141: # Files that config.status was made for.
                   17142: config_files="$ac_config_files"
                   17143: config_headers="$ac_config_headers"
                   17144: config_commands="$ac_config_commands"
1.35      moko     17145: 
1.43      moko     17146: _ACEOF
1.35      moko     17147: 
1.43      moko     17148: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.35      moko     17149: ac_cs_usage="\
1.43      moko     17150: \`$as_me' instantiates files and other configuration actions
                   17151: from templates according to the current configuration.  Unless the files
                   17152: and actions are specified as TAGs, all are instantiated by default.
1.35      moko     17153: 
1.43      moko     17154: Usage: $0 [OPTION]... [TAG]...
1.35      moko     17155: 
                   17156:   -h, --help       print this help, then exit
1.43      moko     17157:   -V, --version    print version number and configuration settings, then exit
                   17158:       --config     print configuration, then exit
                   17159:   -q, --quiet, --silent
                   17160:                    do not print progress messages
1.35      moko     17161:   -d, --debug      don't remove temporary files
                   17162:       --recheck    update $as_me by reconfiguring in the same conditions
1.43      moko     17163:       --file=FILE[:TEMPLATE]
                   17164:                    instantiate the configuration file FILE
                   17165:       --header=FILE[:TEMPLATE]
                   17166:                    instantiate the configuration header FILE
1.35      moko     17167: 
                   17168: Configuration files:
                   17169: $config_files
                   17170: 
                   17171: Configuration headers:
                   17172: $config_headers
                   17173: 
                   17174: Configuration commands:
                   17175: $config_commands
                   17176: 
1.43      moko     17177: Report bugs to the package provider."
                   17178: 
1.35      moko     17179: _ACEOF
1.43      moko     17180: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   17181: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1.35      moko     17182: ac_cs_version="\\
1.53    ! moko     17183: parser3mysql config.status 10.8
1.49      moko     17184: configured by $0, generated by GNU Autoconf 2.69,
1.43      moko     17185:   with options \\"\$ac_cs_config\\"
1.35      moko     17186: 
1.49      moko     17187: Copyright (C) 2012 Free Software Foundation, Inc.
1.35      moko     17188: This config.status script is free software; the Free Software Foundation
                   17189: gives unlimited permission to copy, distribute and modify it."
1.43      moko     17190: 
                   17191: ac_pwd='$ac_pwd'
                   17192: srcdir='$srcdir'
                   17193: INSTALL='$INSTALL'
                   17194: MKDIR_P='$MKDIR_P'
                   17195: AWK='$AWK'
                   17196: test -n "\$AWK" || AWK=awk
1.35      moko     17197: _ACEOF
                   17198: 
1.43      moko     17199: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   17200: # The default lists apply if the user does not specify any file.
1.35      moko     17201: ac_need_defaults=:
                   17202: while test $# != 0
                   17203: do
                   17204:   case $1 in
1.43      moko     17205:   --*=?*)
                   17206:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   17207:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
                   17208:     ac_shift=:
                   17209:     ;;
                   17210:   --*=)
                   17211:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   17212:     ac_optarg=
1.35      moko     17213:     ac_shift=:
                   17214:     ;;
1.43      moko     17215:   *)
1.35      moko     17216:     ac_option=$1
                   17217:     ac_optarg=$2
                   17218:     ac_shift=shift
                   17219:     ;;
                   17220:   esac
                   17221: 
                   17222:   case $ac_option in
                   17223:   # Handling of the options.
                   17224:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   17225:     ac_cs_recheck=: ;;
1.43      moko     17226:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
                   17227:     $as_echo "$ac_cs_version"; exit ;;
                   17228:   --config | --confi | --conf | --con | --co | --c )
                   17229:     $as_echo "$ac_cs_config"; exit ;;
                   17230:   --debug | --debu | --deb | --de | --d | -d )
1.35      moko     17231:     debug=: ;;
                   17232:   --file | --fil | --fi | --f )
                   17233:     $ac_shift
1.43      moko     17234:     case $ac_optarg in
                   17235:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   17236:     '') as_fn_error $? "missing file argument" ;;
                   17237:     esac
                   17238:     as_fn_append CONFIG_FILES " '$ac_optarg'"
1.35      moko     17239:     ac_need_defaults=false;;
                   17240:   --header | --heade | --head | --hea )
                   17241:     $ac_shift
1.43      moko     17242:     case $ac_optarg in
                   17243:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   17244:     esac
                   17245:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
1.35      moko     17246:     ac_need_defaults=false;;
1.43      moko     17247:   --he | --h)
                   17248:     # Conflict between --help and --header
                   17249:     as_fn_error $? "ambiguous option: \`$1'
                   17250: Try \`$0 --help' for more information.";;
                   17251:   --help | --hel | -h )
                   17252:     $as_echo "$ac_cs_usage"; exit ;;
1.35      moko     17253:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   17254:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   17255:     ac_cs_silent=: ;;
                   17256: 
                   17257:   # This is an error.
1.43      moko     17258:   -*) as_fn_error $? "unrecognized option: \`$1'
                   17259: Try \`$0 --help' for more information." ;;
1.35      moko     17260: 
1.43      moko     17261:   *) as_fn_append ac_config_targets " $1"
                   17262:      ac_need_defaults=false ;;
1.35      moko     17263: 
                   17264:   esac
                   17265:   shift
                   17266: done
                   17267: 
                   17268: ac_configure_extra_args=
                   17269: 
                   17270: if $ac_cs_silent; then
                   17271:   exec 6>/dev/null
                   17272:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   17273: fi
                   17274: 
                   17275: _ACEOF
1.43      moko     17276: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.35      moko     17277: if \$ac_cs_recheck; then
1.49      moko     17278:   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1.43      moko     17279:   shift
                   17280:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
                   17281:   CONFIG_SHELL='$SHELL'
                   17282:   export CONFIG_SHELL
                   17283:   exec "\$@"
1.35      moko     17284: fi
                   17285: 
                   17286: _ACEOF
1.43      moko     17287: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   17288: exec 5>>config.log
                   17289: {
                   17290:   echo
                   17291:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   17292: ## Running $as_me. ##
                   17293: _ASBOX
                   17294:   $as_echo "$ac_log"
                   17295: } >&5
                   17296: 
                   17297: _ACEOF
                   17298: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.35      moko     17299: #
1.43      moko     17300: # INIT-COMMANDS
1.35      moko     17301: #
                   17302: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
                   17303: 
                   17304: 
                   17305: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   17306: # if CDPATH is set.
                   17307: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   17308: 
                   17309: sed_quote_subst='$sed_quote_subst'
                   17310: double_quote_subst='$double_quote_subst'
                   17311: delay_variable_subst='$delay_variable_subst'
                   17312: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
                   17313: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
1.42      moko     17314: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
1.36      moko     17315: AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
                   17316: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
                   17317: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
1.35      moko     17318: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
                   17319: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
                   17320: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
                   17321: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
                   17322: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
                   17323: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
                   17324: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
                   17325: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
                   17326: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
                   17327: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
                   17328: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
                   17329: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
                   17330: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
                   17331: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
                   17332: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
                   17333: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
                   17334: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
                   17335: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
                   17336: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
                   17337: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
                   17338: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
                   17339: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
                   17340: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
                   17341: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
                   17342: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
                   17343: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
                   17344: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
                   17345: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
                   17346: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
                   17347: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
                   17348: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
                   17349: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
                   17350: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
                   17351: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
                   17352: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
                   17353: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
                   17354: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
                   17355: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
                   17356: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
                   17357: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
                   17358: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   17359: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   17360: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
                   17361: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
                   17362: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
                   17363: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
                   17364: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
                   17365: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
                   17366: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
                   17367: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
                   17368: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
                   17369: 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"`'
                   17370: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
                   17371: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
                   17372: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
                   17373: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
                   17374: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
                   17375: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
                   17376: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
                   17377: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
                   17378: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
                   17379: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
                   17380: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
                   17381: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
                   17382: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
                   17383: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
                   17384: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
                   17385: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
                   17386: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
                   17387: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
                   17388: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   17389: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
                   17390: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
                   17391: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
                   17392: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
                   17393: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
                   17394: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
                   17395: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   17396: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
                   17397: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   17398: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
                   17399: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   17400: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
                   17401: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   17402: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   17403: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
                   17404: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
                   17405: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
                   17406: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
                   17407: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
                   17408: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   17409: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
                   17410: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
                   17411: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
                   17412: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
                   17413: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
                   17414: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
                   17415: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
                   17416: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
                   17417: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
                   17418: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
                   17419: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
                   17420: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
                   17421: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
                   17422: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
                   17423: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
                   17424: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   17425: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
                   17426: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
                   17427: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
                   17428: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
                   17429: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
                   17430: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   17431: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   17432: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
                   17433: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
                   17434: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
                   17435: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
                   17436: sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
                   17437: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
                   17438: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
                   17439: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
                   17440: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
                   17441: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
                   17442: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
                   17443: compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
                   17444: predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
                   17445: postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
                   17446: predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
                   17447: postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
                   17448: compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
                   17449: LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
                   17450: reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   17451: reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   17452: old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   17453: compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
                   17454: GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
                   17455: lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   17456: lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
                   17457: lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
                   17458: lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
                   17459: lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
                   17460: archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
                   17461: enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
                   17462: export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   17463: whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   17464: compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
                   17465: old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   17466: old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   17467: archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   17468: archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   17469: module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   17470: module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   17471: with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
                   17472: allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   17473: no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   17474: hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   17475: hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
                   17476: hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
                   17477: hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
                   17478: hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
                   17479: hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
                   17480: hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
                   17481: inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
                   17482: link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
                   17483: always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
                   17484: export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   17485: exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   17486: include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   17487: prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   17488: postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   17489: file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   17490: hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
                   17491: compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
                   17492: predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   17493: postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   17494: predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
                   17495: postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
                   17496: compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
                   17497: 
                   17498: LTCC='$LTCC'
                   17499: LTCFLAGS='$LTCFLAGS'
                   17500: compiler='$compiler_DEFAULT'
                   17501: 
                   17502: # A function that is used when there is no print builtin or printf.
                   17503: func_fallback_echo ()
                   17504: {
                   17505:   eval 'cat <<_LTECHO_EOF
                   17506: \$1
                   17507: _LTECHO_EOF'
                   17508: }
                   17509: 
                   17510: # Quote evaled strings.
1.36      moko     17511: for var in AS \
                   17512: DLLTOOL \
                   17513: OBJDUMP \
                   17514: SHELL \
1.35      moko     17515: ECHO \
                   17516: PATH_SEPARATOR \
                   17517: SED \
                   17518: GREP \
                   17519: EGREP \
                   17520: FGREP \
                   17521: LD \
                   17522: NM \
                   17523: LN_S \
                   17524: lt_SP2NL \
                   17525: lt_NL2SP \
                   17526: reload_flag \
                   17527: deplibs_check_method \
                   17528: file_magic_cmd \
                   17529: file_magic_glob \
                   17530: want_nocaseglob \
                   17531: sharedlib_from_linklib_cmd \
                   17532: AR \
                   17533: AR_FLAGS \
                   17534: archiver_list_spec \
                   17535: STRIP \
                   17536: RANLIB \
                   17537: CC \
                   17538: CFLAGS \
                   17539: compiler \
                   17540: lt_cv_sys_global_symbol_pipe \
                   17541: lt_cv_sys_global_symbol_to_cdecl \
                   17542: lt_cv_sys_global_symbol_to_c_name_address \
                   17543: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
                   17544: nm_file_list_spec \
                   17545: lt_prog_compiler_no_builtin_flag \
                   17546: lt_prog_compiler_pic \
                   17547: lt_prog_compiler_wl \
                   17548: lt_prog_compiler_static \
                   17549: lt_cv_prog_compiler_c_o \
                   17550: need_locks \
                   17551: MANIFEST_TOOL \
                   17552: DSYMUTIL \
                   17553: NMEDIT \
                   17554: LIPO \
                   17555: OTOOL \
                   17556: OTOOL64 \
                   17557: shrext_cmds \
                   17558: export_dynamic_flag_spec \
                   17559: whole_archive_flag_spec \
                   17560: compiler_needs_object \
                   17561: with_gnu_ld \
                   17562: allow_undefined_flag \
                   17563: no_undefined_flag \
                   17564: hardcode_libdir_flag_spec \
                   17565: hardcode_libdir_separator \
                   17566: exclude_expsyms \
                   17567: include_expsyms \
                   17568: file_list_spec \
                   17569: variables_saved_for_relink \
                   17570: libname_spec \
                   17571: library_names_spec \
                   17572: soname_spec \
                   17573: install_override_mode \
                   17574: finish_eval \
                   17575: old_striplib \
                   17576: striplib \
                   17577: compiler_lib_search_dirs \
                   17578: predep_objects \
                   17579: postdep_objects \
                   17580: predeps \
                   17581: postdeps \
                   17582: compiler_lib_search_path \
                   17583: LD_CXX \
                   17584: reload_flag_CXX \
                   17585: compiler_CXX \
                   17586: lt_prog_compiler_no_builtin_flag_CXX \
                   17587: lt_prog_compiler_pic_CXX \
                   17588: lt_prog_compiler_wl_CXX \
                   17589: lt_prog_compiler_static_CXX \
                   17590: lt_cv_prog_compiler_c_o_CXX \
                   17591: export_dynamic_flag_spec_CXX \
                   17592: whole_archive_flag_spec_CXX \
                   17593: compiler_needs_object_CXX \
                   17594: with_gnu_ld_CXX \
                   17595: allow_undefined_flag_CXX \
                   17596: no_undefined_flag_CXX \
                   17597: hardcode_libdir_flag_spec_CXX \
                   17598: hardcode_libdir_separator_CXX \
                   17599: exclude_expsyms_CXX \
                   17600: include_expsyms_CXX \
                   17601: file_list_spec_CXX \
                   17602: compiler_lib_search_dirs_CXX \
                   17603: predep_objects_CXX \
                   17604: postdep_objects_CXX \
                   17605: predeps_CXX \
                   17606: postdeps_CXX \
                   17607: compiler_lib_search_path_CXX; do
                   17608:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   17609:     *[\\\\\\\`\\"\\\$]*)
                   17610:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
                   17611:       ;;
                   17612:     *)
                   17613:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   17614:       ;;
                   17615:     esac
                   17616: done
                   17617: 
                   17618: # Double-quote double-evaled strings.
                   17619: for var in reload_cmds \
                   17620: old_postinstall_cmds \
                   17621: old_postuninstall_cmds \
                   17622: old_archive_cmds \
                   17623: extract_expsyms_cmds \
                   17624: old_archive_from_new_cmds \
                   17625: old_archive_from_expsyms_cmds \
                   17626: archive_cmds \
                   17627: archive_expsym_cmds \
                   17628: module_cmds \
                   17629: module_expsym_cmds \
                   17630: export_symbols_cmds \
                   17631: prelink_cmds \
                   17632: postlink_cmds \
                   17633: postinstall_cmds \
                   17634: postuninstall_cmds \
                   17635: finish_cmds \
                   17636: sys_lib_search_path_spec \
                   17637: sys_lib_dlsearch_path_spec \
                   17638: reload_cmds_CXX \
                   17639: old_archive_cmds_CXX \
                   17640: old_archive_from_new_cmds_CXX \
                   17641: old_archive_from_expsyms_cmds_CXX \
                   17642: archive_cmds_CXX \
                   17643: archive_expsym_cmds_CXX \
                   17644: module_cmds_CXX \
                   17645: module_expsym_cmds_CXX \
                   17646: export_symbols_cmds_CXX \
                   17647: prelink_cmds_CXX \
                   17648: postlink_cmds_CXX; do
                   17649:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   17650:     *[\\\\\\\`\\"\\\$]*)
                   17651:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
                   17652:       ;;
                   17653:     *)
                   17654:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   17655:       ;;
                   17656:     esac
                   17657: done
                   17658: 
                   17659: ac_aux_dir='$ac_aux_dir'
                   17660: xsi_shell='$xsi_shell'
                   17661: lt_shell_append='$lt_shell_append'
                   17662: 
                   17663: # See if we are running on zsh, and set the options which allow our
                   17664: # commands through without removal of \ escapes INIT.
                   17665: if test -n "\${ZSH_VERSION+set}" ; then
                   17666:    setopt NO_GLOB_SUBST
                   17667: fi
                   17668: 
                   17669: 
                   17670:     PACKAGE='$PACKAGE'
                   17671:     VERSION='$VERSION'
                   17672:     TIMESTAMP='$TIMESTAMP'
                   17673:     RM='$RM'
                   17674:     ofile='$ofile'
                   17675: 
                   17676: 
                   17677: 
                   17678: 
                   17679: 
                   17680: 
                   17681: _ACEOF
                   17682: 
1.43      moko     17683: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.35      moko     17684: 
1.43      moko     17685: # Handling of arguments.
1.35      moko     17686: for ac_config_target in $ac_config_targets
                   17687: do
1.43      moko     17688:   case $ac_config_target in
                   17689:     "config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS config_auto.h" ;;
                   17690:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   17691:     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
                   17692:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   17693: 
                   17694:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
1.35      moko     17695:   esac
                   17696: done
                   17697: 
1.43      moko     17698: 
1.35      moko     17699: # If the user did not use the arguments to specify the items to instantiate,
                   17700: # then the envvar interface is used.  Set only those that are not.
                   17701: # We use the long form for the default assignment because of an extremely
                   17702: # bizarre bug on SunOS 4.1.3.
                   17703: if $ac_need_defaults; then
                   17704:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   17705:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   17706:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   17707: fi
                   17708: 
                   17709: # Have a temporary directory for convenience.  Make it in the build tree
1.43      moko     17710: # simply because there is no reason against having it here, and in addition,
1.35      moko     17711: # creating and moving files from /tmp can sometimes cause problems.
1.43      moko     17712: # Hook for its removal unless debugging.
                   17713: # Note that there is a small window in which the directory will not be cleaned:
                   17714: # after its creation but before its name has been assigned to `$tmp'.
1.35      moko     17715: $debug ||
                   17716: {
1.43      moko     17717:   tmp= ac_tmp=
                   17718:   trap 'exit_status=$?
                   17719:   : "${ac_tmp:=$tmp}"
                   17720:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
                   17721: ' 0
                   17722:   trap 'as_fn_exit 1' 1 2 13 15
1.35      moko     17723: }
                   17724: # Create a (secure) tmp directory for tmp files.
                   17725: 
                   17726: {
1.43      moko     17727:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
                   17728:   test -d "$tmp"
1.35      moko     17729: }  ||
                   17730: {
1.43      moko     17731:   tmp=./conf$$-$RANDOM
                   17732:   (umask 077 && mkdir "$tmp")
                   17733: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
                   17734: ac_tmp=$tmp
                   17735: 
                   17736: # Set up the scripts for CONFIG_FILES section.
                   17737: # No need to generate them if there are no CONFIG_FILES.
                   17738: # This happens for instance with `./config.status config.h'.
                   17739: if test -n "$CONFIG_FILES"; then
                   17740: 
                   17741: 
                   17742: ac_cr=`echo X | tr X '\015'`
                   17743: # On cygwin, bash can eat \r inside `` if the user requested igncr.
                   17744: # But we know of no other shell where ac_cr would be empty at this
                   17745: # point, so we can use a bashism as a fallback.
                   17746: if test "x$ac_cr" = x; then
                   17747:   eval ac_cr=\$\'\\r\'
                   17748: fi
                   17749: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   17750: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
                   17751:   ac_cs_awk_cr='\\r'
                   17752: else
                   17753:   ac_cs_awk_cr=$ac_cr
                   17754: fi
                   17755: 
                   17756: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
                   17757: _ACEOF
                   17758: 
                   17759: 
                   17760: {
                   17761:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   17762:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   17763:   echo "_ACEOF"
                   17764: } >conf$$subs.sh ||
                   17765:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   17766: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
                   17767: ac_delim='%!_!# '
                   17768: for ac_last_try in false false false false false :; do
                   17769:   . ./conf$$subs.sh ||
                   17770:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   17771: 
                   17772:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   17773:   if test $ac_delim_n = $ac_delim_num; then
                   17774:     break
                   17775:   elif $ac_last_try; then
                   17776:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   17777:   else
                   17778:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   17779:   fi
                   17780: done
                   17781: rm -f conf$$subs.sh
                   17782: 
                   17783: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   17784: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
                   17785: _ACEOF
                   17786: sed -n '
                   17787: h
                   17788: s/^/S["/; s/!.*/"]=/
                   17789: p
                   17790: g
                   17791: s/^[^!]*!//
                   17792: :repl
                   17793: t repl
                   17794: s/'"$ac_delim"'$//
                   17795: t delim
                   17796: :nl
                   17797: h
                   17798: s/\(.\{148\}\)..*/\1/
                   17799: t more1
                   17800: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   17801: p
                   17802: n
                   17803: b repl
                   17804: :more1
                   17805: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   17806: p
                   17807: g
                   17808: s/.\{148\}//
                   17809: t nl
                   17810: :delim
                   17811: h
                   17812: s/\(.\{148\}\)..*/\1/
                   17813: t more2
                   17814: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   17815: p
                   17816: b
                   17817: :more2
                   17818: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   17819: p
                   17820: g
                   17821: s/.\{148\}//
                   17822: t delim
                   17823: ' <conf$$subs.awk | sed '
                   17824: /^[^""]/{
                   17825:   N
                   17826:   s/\n//
                   17827: }
                   17828: ' >>$CONFIG_STATUS || ac_write_fail=1
                   17829: rm -f conf$$subs.awk
                   17830: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   17831: _ACAWK
                   17832: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
                   17833:   for (key in S) S_is_set[key] = 1
                   17834:   FS = ""
                   17835: 
                   17836: }
1.35      moko     17837: {
1.43      moko     17838:   line = $ 0
                   17839:   nfields = split(line, field, "@")
                   17840:   substed = 0
                   17841:   len = length(field[1])
                   17842:   for (i = 2; i < nfields; i++) {
                   17843:     key = field[i]
                   17844:     keylen = length(key)
                   17845:     if (S_is_set[key]) {
                   17846:       value = S[key]
                   17847:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   17848:       len += length(value) + length(field[++i])
                   17849:       substed = 1
                   17850:     } else
                   17851:       len += 1 + keylen
                   17852:   }
                   17853: 
                   17854:   print line
1.35      moko     17855: }
                   17856: 
1.43      moko     17857: _ACAWK
                   17858: _ACEOF
                   17859: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   17860: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   17861:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
                   17862: else
                   17863:   cat
                   17864: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
                   17865:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
1.35      moko     17866: _ACEOF
                   17867: 
1.43      moko     17868: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
                   17869: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
                   17870: # trailing colons and then remove the whole line if VPATH becomes empty
                   17871: # (actually we leave an empty line to preserve line numbers).
                   17872: if test "x$srcdir" = x.; then
                   17873:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
                   17874: h
                   17875: s///
                   17876: s/^/:/
                   17877: s/[     ]*$/:/
                   17878: s/:\$(srcdir):/:/g
                   17879: s/:\${srcdir}:/:/g
                   17880: s/:@srcdir@:/:/g
                   17881: s/^:*//
                   17882: s/:*$//
                   17883: x
                   17884: s/\(=[  ]*\).*/\1/
                   17885: G
                   17886: s/\n//
                   17887: s/^[^=]*=[      ]*$//
                   17888: }'
                   17889: fi
1.35      moko     17890: 
1.43      moko     17891: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   17892: fi # test -n "$CONFIG_FILES"
1.35      moko     17893: 
1.43      moko     17894: # Set up the scripts for CONFIG_HEADERS section.
                   17895: # No need to generate them if there are no CONFIG_HEADERS.
                   17896: # This happens for instance with `./config.status Makefile'.
                   17897: if test -n "$CONFIG_HEADERS"; then
                   17898: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
                   17899: BEGIN {
                   17900: _ACEOF
                   17901: 
                   17902: # Transform confdefs.h into an awk script `defines.awk', embedded as
                   17903: # here-document in config.status, that substitutes the proper values into
                   17904: # config.h.in to produce config.h.
                   17905: 
                   17906: # Create a delimiter string that does not exist in confdefs.h, to ease
                   17907: # handling of long lines.
                   17908: ac_delim='%!_!# '
                   17909: for ac_last_try in false false :; do
                   17910:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
                   17911:   if test -z "$ac_tt"; then
                   17912:     break
                   17913:   elif $ac_last_try; then
                   17914:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
                   17915:   else
                   17916:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
1.35      moko     17917:   fi
1.43      moko     17918: done
1.35      moko     17919: 
1.43      moko     17920: # For the awk script, D is an array of macro values keyed by name,
                   17921: # likewise P contains macro parameters if any.  Preserve backslash
                   17922: # newline sequences.
                   17923: 
                   17924: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
                   17925: sed -n '
                   17926: s/.\{148\}/&'"$ac_delim"'/g
                   17927: t rset
                   17928: :rset
                   17929: s/^[    ]*#[    ]*define[       ][      ]*/ /
                   17930: t def
                   17931: d
                   17932: :def
                   17933: s/\\$//
                   17934: t bsnl
                   17935: s/["\\]/\\&/g
                   17936: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   17937: D["\1"]=" \3"/p
                   17938: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
                   17939: d
                   17940: :bsnl
                   17941: s/["\\]/\\&/g
                   17942: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   17943: D["\1"]=" \3\\\\\\n"\\/p
                   17944: t cont
                   17945: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
                   17946: t cont
                   17947: d
                   17948: :cont
                   17949: n
                   17950: s/.\{148\}/&'"$ac_delim"'/g
                   17951: t clear
                   17952: :clear
                   17953: s/\\$//
                   17954: t bsnlc
                   17955: s/["\\]/\\&/g; s/^/"/; s/$/"/p
                   17956: d
                   17957: :bsnlc
                   17958: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
                   17959: b cont
                   17960: ' <confdefs.h | sed '
                   17961: s/'"$ac_delim"'/"\\\
                   17962: "/g' >>$CONFIG_STATUS || ac_write_fail=1
                   17963: 
                   17964: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   17965:   for (key in D) D_is_set[key] = 1
                   17966:   FS = ""
                   17967: }
                   17968: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
                   17969:   line = \$ 0
                   17970:   split(line, arg, " ")
                   17971:   if (arg[1] == "#") {
                   17972:     defundef = arg[2]
                   17973:     mac1 = arg[3]
                   17974:   } else {
                   17975:     defundef = substr(arg[1], 2)
                   17976:     mac1 = arg[2]
                   17977:   }
                   17978:   split(mac1, mac2, "(") #)
                   17979:   macro = mac2[1]
                   17980:   prefix = substr(line, 1, index(line, defundef) - 1)
                   17981:   if (D_is_set[macro]) {
                   17982:     # Preserve the white space surrounding the "#".
                   17983:     print prefix "define", macro P[macro] D[macro]
                   17984:     next
                   17985:   } else {
                   17986:     # Replace #undef with comments.  This is necessary, for example,
                   17987:     # in the case of _POSIX_SOURCE, which is predefined and required
                   17988:     # on some systems where configure will not decide to define it.
                   17989:     if (defundef == "undef") {
                   17990:       print "/*", prefix defundef, macro, "*/"
                   17991:       next
                   17992:     }
                   17993:   }
                   17994: }
                   17995: { print }
                   17996: _ACAWK
1.35      moko     17997: _ACEOF
1.43      moko     17998: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   17999:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
                   18000: fi # test -n "$CONFIG_HEADERS"
                   18001: 
                   18002: 
                   18003: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
                   18004: shift
                   18005: for ac_tag
                   18006: do
                   18007:   case $ac_tag in
                   18008:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   18009:   esac
                   18010:   case $ac_mode$ac_tag in
                   18011:   :[FHL]*:*);;
                   18012:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
                   18013:   :[FH]-) ac_tag=-:-;;
                   18014:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   18015:   esac
                   18016:   ac_save_IFS=$IFS
                   18017:   IFS=:
                   18018:   set x $ac_tag
                   18019:   IFS=$ac_save_IFS
                   18020:   shift
                   18021:   ac_file=$1
                   18022:   shift
                   18023: 
                   18024:   case $ac_mode in
                   18025:   :L) ac_source=$1;;
                   18026:   :[FH])
                   18027:     ac_file_inputs=
                   18028:     for ac_f
                   18029:     do
                   18030:       case $ac_f in
                   18031:       -) ac_f="$ac_tmp/stdin";;
                   18032:       *) # Look for the file first in the build tree, then in the source tree
                   18033:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
                   18034:         # because $ac_f cannot contain `:'.
                   18035:         test -f "$ac_f" ||
                   18036:           case $ac_f in
                   18037:           [\\/$]*) false;;
                   18038:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   18039:           esac ||
                   18040:           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
                   18041:       esac
                   18042:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
                   18043:       as_fn_append ac_file_inputs " '$ac_f'"
                   18044:     done
                   18045: 
                   18046:     # Let's still pretend it is `configure' which instantiates (i.e., don't
                   18047:     # use $as_me), people would be surprised to read:
                   18048:     #    /* config.h.  Generated by config.status.  */
                   18049:     configure_input='Generated from '`
                   18050:          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
                   18051:        `' by configure.'
                   18052:     if test x"$ac_file" != x-; then
                   18053:       configure_input="$ac_file.  $configure_input"
                   18054:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
                   18055: $as_echo "$as_me: creating $ac_file" >&6;}
                   18056:     fi
                   18057:     # Neutralize special characters interpreted by sed in replacement strings.
                   18058:     case $configure_input in #(
                   18059:     *\&* | *\|* | *\\* )
                   18060:        ac_sed_conf_input=`$as_echo "$configure_input" |
                   18061:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   18062:     *) ac_sed_conf_input=$configure_input;;
                   18063:     esac
                   18064: 
                   18065:     case $ac_tag in
                   18066:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
                   18067:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
                   18068:     esac
                   18069:     ;;
1.35      moko     18070:   esac
                   18071: 
1.43      moko     18072:   ac_dir=`$as_dirname -- "$ac_file" ||
1.35      moko     18073: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   18074:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   18075:         X"$ac_file" : 'X\(//\)$' \| \
1.43      moko     18076:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
                   18077: $as_echo X"$ac_file" |
                   18078:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   18079:            s//\1/
                   18080:            q
                   18081:          }
                   18082:          /^X\(\/\/\)[^/].*/{
                   18083:            s//\1/
                   18084:            q
                   18085:          }
                   18086:          /^X\(\/\/\)$/{
                   18087:            s//\1/
                   18088:            q
                   18089:          }
                   18090:          /^X\(\/\).*/{
                   18091:            s//\1/
                   18092:            q
                   18093:          }
                   18094:          s/.*/./; q'`
                   18095:   as_dir="$ac_dir"; as_fn_mkdir_p
1.35      moko     18096:   ac_builddir=.
                   18097: 
1.43      moko     18098: case "$ac_dir" in
                   18099: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   18100: *)
                   18101:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   18102:   # A ".." for each directory in $ac_dir_suffix.
                   18103:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   18104:   case $ac_top_builddir_sub in
                   18105:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   18106:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   18107:   esac ;;
                   18108: esac
                   18109: ac_abs_top_builddir=$ac_pwd
                   18110: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   18111: # for backward compatibility:
                   18112: ac_top_builddir=$ac_top_build_prefix
1.35      moko     18113: 
                   18114: case $srcdir in
1.43      moko     18115:   .)  # We are building in place.
1.35      moko     18116:     ac_srcdir=.
1.43      moko     18117:     ac_top_srcdir=$ac_top_builddir_sub
                   18118:     ac_abs_top_srcdir=$ac_pwd ;;
                   18119:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.35      moko     18120:     ac_srcdir=$srcdir$ac_dir_suffix;
1.43      moko     18121:     ac_top_srcdir=$srcdir
                   18122:     ac_abs_top_srcdir=$srcdir ;;
                   18123:   *) # Relative name.
                   18124:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   18125:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   18126:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.35      moko     18127: esac
1.43      moko     18128: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.35      moko     18129: 
                   18130: 
1.43      moko     18131:   case $ac_mode in
                   18132:   :F)
                   18133:   #
                   18134:   # CONFIG_FILE
                   18135:   #
1.35      moko     18136: 
                   18137:   case $INSTALL in
                   18138:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1.43      moko     18139:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
                   18140:   esac
                   18141:   ac_MKDIR_P=$MKDIR_P
                   18142:   case $MKDIR_P in
                   18143:   [\\/$]* | ?:[\\/]* ) ;;
                   18144:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
1.35      moko     18145:   esac
1.43      moko     18146: _ACEOF
1.35      moko     18147: 
1.43      moko     18148: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   18149: # If the template does not know about datarootdir, expand it.
                   18150: # FIXME: This hack should be removed a few years after 2.60.
                   18151: ac_datarootdir_hack=; ac_datarootdir_seen=
                   18152: ac_sed_dataroot='
                   18153: /datarootdir/ {
                   18154:   p
                   18155:   q
                   18156: }
                   18157: /@datadir@/p
                   18158: /@docdir@/p
                   18159: /@infodir@/p
                   18160: /@localedir@/p
                   18161: /@mandir@/p'
                   18162: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
                   18163: *datarootdir*) ac_datarootdir_seen=yes;;
                   18164: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
                   18165:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
                   18166: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
                   18167: _ACEOF
                   18168: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   18169:   ac_datarootdir_hack='
                   18170:   s&@datadir@&$datadir&g
                   18171:   s&@docdir@&$docdir&g
                   18172:   s&@infodir@&$infodir&g
                   18173:   s&@localedir@&$localedir&g
                   18174:   s&@mandir@&$mandir&g
                   18175:   s&\\\${datarootdir}&$datarootdir&g' ;;
                   18176: esac
                   18177: _ACEOF
1.35      moko     18178: 
1.43      moko     18179: # Neutralize VPATH when `$srcdir' = `.'.
                   18180: # Shell code in configure.ac might set extrasub.
                   18181: # FIXME: do we really want to maintain this feature?
                   18182: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   18183: ac_sed_extra="$ac_vpsub
1.35      moko     18184: $extrasub
                   18185: _ACEOF
1.43      moko     18186: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.35      moko     18187: :t
                   18188: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1.43      moko     18189: s|@configure_input@|$ac_sed_conf_input|;t t
                   18190: s&@top_builddir@&$ac_top_builddir_sub&;t t
                   18191: s&@top_build_prefix@&$ac_top_build_prefix&;t t
                   18192: s&@srcdir@&$ac_srcdir&;t t
                   18193: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   18194: s&@top_srcdir@&$ac_top_srcdir&;t t
                   18195: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   18196: s&@builddir@&$ac_builddir&;t t
                   18197: s&@abs_builddir@&$ac_abs_builddir&;t t
                   18198: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
                   18199: s&@INSTALL@&$ac_INSTALL&;t t
                   18200: s&@MKDIR_P@&$ac_MKDIR_P&;t t
                   18201: $ac_datarootdir_hack
                   18202: "
                   18203: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
                   18204:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   18205: 
                   18206: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
                   18207:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
                   18208:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
                   18209:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
                   18210:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   18211: which seems to be undefined.  Please make sure it is defined" >&5
                   18212: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   18213: which seems to be undefined.  Please make sure it is defined" >&2;}
1.35      moko     18214: 
1.43      moko     18215:   rm -f "$ac_tmp/stdin"
1.35      moko     18216:   case $ac_file in
1.43      moko     18217:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
                   18218:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
                   18219:   esac \
                   18220:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   18221:  ;;
                   18222:   :H)
                   18223:   #
                   18224:   # CONFIG_HEADER
                   18225:   #
1.35      moko     18226:   if test x"$ac_file" != x-; then
1.43      moko     18227:     {
                   18228:       $as_echo "/* $configure_input  */" \
                   18229:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
                   18230:     } >"$ac_tmp/config.h" \
                   18231:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   18232:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
                   18233:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
                   18234: $as_echo "$as_me: $ac_file is unchanged" >&6;}
1.35      moko     18235:     else
1.43      moko     18236:       rm -f "$ac_file"
                   18237:       mv "$ac_tmp/config.h" "$ac_file" \
                   18238:        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.35      moko     18239:     fi
                   18240:   else
1.43      moko     18241:     $as_echo "/* $configure_input  */" \
                   18242:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
                   18243:       || as_fn_error $? "could not create -" "$LINENO" 5
1.35      moko     18244:   fi
1.43      moko     18245: # Compute "$ac_file"'s index in $config_headers.
                   18246: _am_arg="$ac_file"
1.35      moko     18247: _am_stamp_count=1
                   18248: for _am_header in $config_headers :; do
                   18249:   case $_am_header in
1.43      moko     18250:     $_am_arg | $_am_arg:* )
1.35      moko     18251:       break ;;
                   18252:     * )
                   18253:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   18254:   esac
                   18255: done
1.43      moko     18256: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
                   18257: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   18258:         X"$_am_arg" : 'X\(//\)[^/]' \| \
                   18259:         X"$_am_arg" : 'X\(//\)$' \| \
                   18260:         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
                   18261: $as_echo X"$_am_arg" |
                   18262:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   18263:            s//\1/
                   18264:            q
                   18265:          }
                   18266:          /^X\(\/\/\)[^/].*/{
                   18267:            s//\1/
                   18268:            q
                   18269:          }
                   18270:          /^X\(\/\/\)$/{
                   18271:            s//\1/
                   18272:            q
                   18273:          }
                   18274:          /^X\(\/\).*/{
                   18275:            s//\1/
                   18276:            q
                   18277:          }
                   18278:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   18279:  ;;
1.35      moko     18280: 
1.43      moko     18281:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
                   18282: $as_echo "$as_me: executing $ac_file commands" >&6;}
                   18283:  ;;
                   18284:   esac
1.35      moko     18285: 
                   18286: 
1.43      moko     18287:   case $ac_file$ac_mode in
                   18288:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
                   18289:   # Autoconf 2.62 quotes --file arguments for eval, but not when files
                   18290:   # are listed without --file.  Let's play safe and only enable the eval
                   18291:   # if we detect the quoting.
                   18292:   case $CONFIG_FILES in
                   18293:   *\'*) eval set x "$CONFIG_FILES" ;;
                   18294:   *)   set x $CONFIG_FILES ;;
                   18295:   esac
                   18296:   shift
                   18297:   for mf
                   18298:   do
                   18299:     # Strip MF so we end up with the name of the file.
                   18300:     mf=`echo "$mf" | sed -e 's/:.*$//'`
                   18301:     # Check whether this is an Automake generated Makefile or not.
                   18302:     # We used to match only the files named `Makefile.in', but
                   18303:     # some people rename them; so instead we look at the file content.
                   18304:     # Grep'ing the first line is not enough: some people post-process
                   18305:     # each Makefile.in and add a new line on top of each file to say so.
                   18306:     # Grep'ing the whole file is not good either: AIX grep has a line
                   18307:     # limit of 2048, but all sed's we know have understand at least 4000.
                   18308:     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
                   18309:       dirpart=`$as_dirname -- "$mf" ||
1.35      moko     18310: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   18311:         X"$mf" : 'X\(//\)[^/]' \| \
                   18312:         X"$mf" : 'X\(//\)$' \| \
1.43      moko     18313:         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
                   18314: $as_echo X"$mf" |
                   18315:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   18316:            s//\1/
                   18317:            q
                   18318:          }
                   18319:          /^X\(\/\/\)[^/].*/{
                   18320:            s//\1/
                   18321:            q
                   18322:          }
                   18323:          /^X\(\/\/\)$/{
                   18324:            s//\1/
                   18325:            q
                   18326:          }
                   18327:          /^X\(\/\).*/{
                   18328:            s//\1/
                   18329:            q
                   18330:          }
                   18331:          s/.*/./; q'`
                   18332:     else
                   18333:       continue
                   18334:     fi
                   18335:     # Extract the definition of DEPDIR, am__include, and am__quote
                   18336:     # from the Makefile without running `make'.
                   18337:     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
                   18338:     test -z "$DEPDIR" && continue
                   18339:     am__include=`sed -n 's/^am__include = //p' < "$mf"`
                   18340:     test -z "am__include" && continue
                   18341:     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
                   18342:     # When using ansi2knr, U may be empty or an underscore; expand it
                   18343:     U=`sed -n 's/^U = //p' < "$mf"`
                   18344:     # Find all dependency output files, they are included files with
                   18345:     # $(DEPDIR) in their names.  We invoke sed twice because it is the
                   18346:     # simplest approach to changing $(DEPDIR) to its actual value in the
                   18347:     # expansion.
                   18348:     for file in `sed -n "
                   18349:       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
                   18350:         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
                   18351:       # Make sure the directory exists.
                   18352:       test -f "$dirpart/$file" && continue
                   18353:       fdir=`$as_dirname -- "$file" ||
1.35      moko     18354: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   18355:         X"$file" : 'X\(//\)[^/]' \| \
                   18356:         X"$file" : 'X\(//\)$' \| \
1.43      moko     18357:         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
                   18358: $as_echo X"$file" |
                   18359:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   18360:            s//\1/
                   18361:            q
                   18362:          }
                   18363:          /^X\(\/\/\)[^/].*/{
                   18364:            s//\1/
                   18365:            q
                   18366:          }
                   18367:          /^X\(\/\/\)$/{
                   18368:            s//\1/
                   18369:            q
                   18370:          }
                   18371:          /^X\(\/\).*/{
                   18372:            s//\1/
                   18373:            q
                   18374:          }
                   18375:          s/.*/./; q'`
                   18376:       as_dir=$dirpart/$fdir; as_fn_mkdir_p
                   18377:       # echo "creating $dirpart/$file"
                   18378:       echo '# dummy' > "$dirpart/$file"
1.35      moko     18379:     done
                   18380:   done
1.43      moko     18381: }
1.35      moko     18382:  ;;
1.43      moko     18383:     "libtool":C)
1.35      moko     18384: 
                   18385:     # See if we are running on zsh, and set the options which allow our
                   18386:     # commands through without removal of \ escapes.
                   18387:     if test -n "${ZSH_VERSION+set}" ; then
                   18388:       setopt NO_GLOB_SUBST
                   18389:     fi
                   18390: 
                   18391:     cfgfile="${ofile}T"
                   18392:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
                   18393:     $RM "$cfgfile"
                   18394: 
                   18395:     cat <<_LT_EOF >> "$cfgfile"
                   18396: #! $SHELL
                   18397: 
                   18398: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
                   18399: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
                   18400: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
                   18401: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
                   18402: #
                   18403: #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
                   18404: #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
                   18405: #                 Foundation, Inc.
                   18406: #   Written by Gordon Matzigkeit, 1996
                   18407: #
                   18408: #   This file is part of GNU Libtool.
                   18409: #
                   18410: # GNU Libtool is free software; you can redistribute it and/or
                   18411: # modify it under the terms of the GNU General Public License as
                   18412: # published by the Free Software Foundation; either version 2 of
                   18413: # the License, or (at your option) any later version.
                   18414: #
                   18415: # As a special exception to the GNU General Public License,
                   18416: # if you distribute this file as part of a program or library that
                   18417: # is built using GNU Libtool, you may include this file under the
                   18418: # same distribution terms that you use for the rest of that program.
                   18419: #
                   18420: # GNU Libtool is distributed in the hope that it will be useful,
                   18421: # but WITHOUT ANY WARRANTY; without even the implied warranty of
                   18422: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   18423: # GNU General Public License for more details.
                   18424: #
                   18425: # You should have received a copy of the GNU General Public License
                   18426: # along with GNU Libtool; see the file COPYING.  If not, a copy
                   18427: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
                   18428: # obtained by writing to the Free Software Foundation, Inc.,
                   18429: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
                   18430: 
                   18431: 
                   18432: # The names of the tagged configurations supported by this script.
                   18433: available_tags="CXX "
                   18434: 
                   18435: # ### BEGIN LIBTOOL CONFIG
                   18436: 
                   18437: # Which release of libtool.m4 was used?
                   18438: macro_version=$macro_version
                   18439: macro_revision=$macro_revision
                   18440: 
1.42      moko     18441: # Whether or not to build static libraries.
                   18442: build_old_libs=$enable_static
                   18443: 
1.36      moko     18444: # Assembler program.
                   18445: AS=$lt_AS
                   18446: 
                   18447: # DLL creation program.
                   18448: DLLTOOL=$lt_DLLTOOL
                   18449: 
                   18450: # Object dumper program.
                   18451: OBJDUMP=$lt_OBJDUMP
                   18452: 
1.35      moko     18453: # Whether or not to build shared libraries.
                   18454: build_libtool_libs=$enable_shared
                   18455: 
                   18456: # What type of objects to build.
                   18457: pic_mode=$pic_mode
                   18458: 
                   18459: # Whether or not to optimize for fast installation.
                   18460: fast_install=$enable_fast_install
                   18461: 
                   18462: # Shell to use when invoking shell scripts.
                   18463: SHELL=$lt_SHELL
                   18464: 
                   18465: # An echo program that protects backslashes.
                   18466: ECHO=$lt_ECHO
                   18467: 
                   18468: # The PATH separator for the build system.
                   18469: PATH_SEPARATOR=$lt_PATH_SEPARATOR
                   18470: 
                   18471: # The host system.
                   18472: host_alias=$host_alias
                   18473: host=$host
                   18474: host_os=$host_os
                   18475: 
                   18476: # The build system.
                   18477: build_alias=$build_alias
                   18478: build=$build
                   18479: build_os=$build_os
                   18480: 
                   18481: # A sed program that does not truncate output.
                   18482: SED=$lt_SED
                   18483: 
                   18484: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   18485: Xsed="\$SED -e 1s/^X//"
                   18486: 
                   18487: # A grep program that handles long lines.
                   18488: GREP=$lt_GREP
                   18489: 
                   18490: # An ERE matcher.
                   18491: EGREP=$lt_EGREP
                   18492: 
                   18493: # A literal string matcher.
                   18494: FGREP=$lt_FGREP
                   18495: 
                   18496: # A BSD- or MS-compatible name lister.
                   18497: NM=$lt_NM
                   18498: 
                   18499: # Whether we need soft or hard links.
                   18500: LN_S=$lt_LN_S
                   18501: 
                   18502: # What is the maximum length of a command?
                   18503: max_cmd_len=$max_cmd_len
                   18504: 
                   18505: # Object file suffix (normally "o").
                   18506: objext=$ac_objext
                   18507: 
                   18508: # Executable file suffix (normally "").
                   18509: exeext=$exeext
                   18510: 
                   18511: # whether the shell understands "unset".
                   18512: lt_unset=$lt_unset
                   18513: 
                   18514: # turn spaces into newlines.
                   18515: SP2NL=$lt_lt_SP2NL
                   18516: 
                   18517: # turn newlines into spaces.
                   18518: NL2SP=$lt_lt_NL2SP
                   18519: 
                   18520: # convert \$build file names to \$host format.
                   18521: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   18522: 
                   18523: # convert \$build files to toolchain format.
                   18524: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   18525: 
                   18526: # Method to check whether dependent libraries are shared objects.
                   18527: deplibs_check_method=$lt_deplibs_check_method
                   18528: 
                   18529: # Command to use when deplibs_check_method = "file_magic".
                   18530: file_magic_cmd=$lt_file_magic_cmd
                   18531: 
                   18532: # How to find potential files when deplibs_check_method = "file_magic".
                   18533: file_magic_glob=$lt_file_magic_glob
                   18534: 
                   18535: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
                   18536: want_nocaseglob=$lt_want_nocaseglob
                   18537: 
                   18538: # Command to associate shared and link libraries.
                   18539: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
                   18540: 
                   18541: # The archiver.
                   18542: AR=$lt_AR
                   18543: 
                   18544: # Flags to create an archive.
                   18545: AR_FLAGS=$lt_AR_FLAGS
                   18546: 
                   18547: # How to feed a file listing to the archiver.
                   18548: archiver_list_spec=$lt_archiver_list_spec
                   18549: 
                   18550: # A symbol stripping program.
                   18551: STRIP=$lt_STRIP
                   18552: 
                   18553: # Commands used to install an old-style archive.
                   18554: RANLIB=$lt_RANLIB
                   18555: old_postinstall_cmds=$lt_old_postinstall_cmds
                   18556: old_postuninstall_cmds=$lt_old_postuninstall_cmds
                   18557: 
                   18558: # Whether to use a lock for old archive extraction.
                   18559: lock_old_archive_extraction=$lock_old_archive_extraction
                   18560: 
                   18561: # A C compiler.
                   18562: LTCC=$lt_CC
                   18563: 
                   18564: # LTCC compiler flags.
                   18565: LTCFLAGS=$lt_CFLAGS
                   18566: 
                   18567: # Take the output of nm and produce a listing of raw symbols and C names.
                   18568: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
                   18569: 
                   18570: # Transform the output of nm in a proper C declaration.
                   18571: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
                   18572: 
                   18573: # Transform the output of nm in a C name address pair.
                   18574: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
                   18575: 
                   18576: # Transform the output of nm in a C name address pair when lib prefix is needed.
                   18577: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
                   18578: 
                   18579: # Specify filename containing input files for \$NM.
                   18580: nm_file_list_spec=$lt_nm_file_list_spec
                   18581: 
                   18582: # The root where to search for dependent libraries,and in which our libraries should be installed.
                   18583: lt_sysroot=$lt_sysroot
                   18584: 
                   18585: # The name of the directory that contains temporary libtool files.
                   18586: objdir=$objdir
                   18587: 
                   18588: # Used to examine libraries when file_magic_cmd begins with "file".
                   18589: MAGIC_CMD=$MAGIC_CMD
                   18590: 
                   18591: # Must we lock files when doing compilation?
                   18592: need_locks=$lt_need_locks
                   18593: 
                   18594: # Manifest tool.
                   18595: MANIFEST_TOOL=$lt_MANIFEST_TOOL
                   18596: 
                   18597: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
                   18598: DSYMUTIL=$lt_DSYMUTIL
                   18599: 
                   18600: # Tool to change global to local symbols on Mac OS X.
                   18601: NMEDIT=$lt_NMEDIT
                   18602: 
                   18603: # Tool to manipulate fat objects and archives on Mac OS X.
                   18604: LIPO=$lt_LIPO
                   18605: 
                   18606: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
                   18607: OTOOL=$lt_OTOOL
                   18608: 
                   18609: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
                   18610: OTOOL64=$lt_OTOOL64
                   18611: 
                   18612: # Old archive suffix (normally "a").
                   18613: libext=$libext
                   18614: 
                   18615: # Shared library suffix (normally ".so").
                   18616: shrext_cmds=$lt_shrext_cmds
                   18617: 
                   18618: # The commands to extract the exported symbol list from a shared archive.
                   18619: extract_expsyms_cmds=$lt_extract_expsyms_cmds
                   18620: 
                   18621: # Variables whose values should be saved in libtool wrapper scripts and
                   18622: # restored at link time.
                   18623: variables_saved_for_relink=$lt_variables_saved_for_relink
                   18624: 
                   18625: # Do we need the "lib" prefix for modules?
                   18626: need_lib_prefix=$need_lib_prefix
                   18627: 
                   18628: # Do we need a version for libraries?
                   18629: need_version=$need_version
                   18630: 
                   18631: # Library versioning type.
                   18632: version_type=$version_type
                   18633: 
                   18634: # Shared library runtime path variable.
                   18635: runpath_var=$runpath_var
                   18636: 
                   18637: # Shared library path variable.
                   18638: shlibpath_var=$shlibpath_var
                   18639: 
                   18640: # Is shlibpath searched before the hard-coded library search path?
                   18641: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
                   18642: 
                   18643: # Format of library name prefix.
                   18644: libname_spec=$lt_libname_spec
                   18645: 
                   18646: # List of archive names.  First name is the real one, the rest are links.
                   18647: # The last name is the one that the linker finds with -lNAME
                   18648: library_names_spec=$lt_library_names_spec
                   18649: 
                   18650: # The coded name of the library, if different from the real name.
                   18651: soname_spec=$lt_soname_spec
                   18652: 
                   18653: # Permission mode override for installation of shared libraries.
                   18654: install_override_mode=$lt_install_override_mode
                   18655: 
                   18656: # Command to use after installation of a shared archive.
                   18657: postinstall_cmds=$lt_postinstall_cmds
                   18658: 
                   18659: # Command to use after uninstallation of a shared archive.
                   18660: postuninstall_cmds=$lt_postuninstall_cmds
                   18661: 
                   18662: # Commands used to finish a libtool library installation in a directory.
                   18663: finish_cmds=$lt_finish_cmds
                   18664: 
                   18665: # As "finish_cmds", except a single script fragment to be evaled but
                   18666: # not shown.
                   18667: finish_eval=$lt_finish_eval
                   18668: 
                   18669: # Whether we should hardcode library paths into libraries.
                   18670: hardcode_into_libs=$hardcode_into_libs
                   18671: 
                   18672: # Compile-time system search path for libraries.
                   18673: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
                   18674: 
                   18675: # Run-time system search path for libraries.
                   18676: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
                   18677: 
                   18678: # Whether dlopen is supported.
                   18679: dlopen_support=$enable_dlopen
                   18680: 
                   18681: # Whether dlopen of programs is supported.
                   18682: dlopen_self=$enable_dlopen_self
                   18683: 
                   18684: # Whether dlopen of statically linked programs is supported.
                   18685: dlopen_self_static=$enable_dlopen_self_static
                   18686: 
                   18687: # Commands to strip libraries.
                   18688: old_striplib=$lt_old_striplib
                   18689: striplib=$lt_striplib
                   18690: 
                   18691: 
                   18692: # The linker used to build libraries.
                   18693: LD=$lt_LD
                   18694: 
                   18695: # How to create reloadable object files.
                   18696: reload_flag=$lt_reload_flag
                   18697: reload_cmds=$lt_reload_cmds
                   18698: 
                   18699: # Commands used to build an old-style archive.
                   18700: old_archive_cmds=$lt_old_archive_cmds
                   18701: 
                   18702: # A language specific compiler.
                   18703: CC=$lt_compiler
                   18704: 
                   18705: # Is the compiler the GNU compiler?
                   18706: with_gcc=$GCC
                   18707: 
                   18708: # Compiler flag to turn off builtin functions.
                   18709: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
                   18710: 
                   18711: # Additional compiler flags for building library objects.
                   18712: pic_flag=$lt_lt_prog_compiler_pic
                   18713: 
                   18714: # How to pass a linker flag through the compiler.
                   18715: wl=$lt_lt_prog_compiler_wl
                   18716: 
                   18717: # Compiler flag to prevent dynamic linking.
                   18718: link_static_flag=$lt_lt_prog_compiler_static
                   18719: 
                   18720: # Does compiler simultaneously support -c and -o options?
                   18721: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
                   18722: 
                   18723: # Whether or not to add -lc for building shared libraries.
                   18724: build_libtool_need_lc=$archive_cmds_need_lc
                   18725: 
                   18726: # Whether or not to disallow shared libs when runtime libs are static.
                   18727: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
                   18728: 
                   18729: # Compiler flag to allow reflexive dlopens.
                   18730: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
                   18731: 
                   18732: # Compiler flag to generate shared objects directly from archives.
                   18733: whole_archive_flag_spec=$lt_whole_archive_flag_spec
                   18734: 
                   18735: # Whether the compiler copes with passing no objects directly.
                   18736: compiler_needs_object=$lt_compiler_needs_object
                   18737: 
                   18738: # Create an old-style archive from a shared archive.
                   18739: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
                   18740: 
                   18741: # Create a temporary old-style archive to link instead of a shared archive.
                   18742: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
                   18743: 
                   18744: # Commands used to build a shared archive.
                   18745: archive_cmds=$lt_archive_cmds
                   18746: archive_expsym_cmds=$lt_archive_expsym_cmds
                   18747: 
                   18748: # Commands used to build a loadable module if different from building
                   18749: # a shared archive.
                   18750: module_cmds=$lt_module_cmds
                   18751: module_expsym_cmds=$lt_module_expsym_cmds
                   18752: 
                   18753: # Whether we are building with GNU ld or not.
                   18754: with_gnu_ld=$lt_with_gnu_ld
                   18755: 
                   18756: # Flag that allows shared libraries with undefined symbols to be built.
                   18757: allow_undefined_flag=$lt_allow_undefined_flag
                   18758: 
                   18759: # Flag that enforces no undefined symbols.
                   18760: no_undefined_flag=$lt_no_undefined_flag
                   18761: 
                   18762: # Flag to hardcode \$libdir into a binary during linking.
                   18763: # This must work even if \$libdir does not exist
                   18764: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
                   18765: 
                   18766: # Whether we need a single "-rpath" flag with a separated argument.
                   18767: hardcode_libdir_separator=$lt_hardcode_libdir_separator
                   18768: 
                   18769: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   18770: # DIR into the resulting binary.
                   18771: hardcode_direct=$hardcode_direct
                   18772: 
                   18773: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   18774: # DIR into the resulting binary and the resulting library dependency is
                   18775: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   18776: # library is relocated.
                   18777: hardcode_direct_absolute=$hardcode_direct_absolute
                   18778: 
                   18779: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   18780: # into the resulting binary.
                   18781: hardcode_minus_L=$hardcode_minus_L
                   18782: 
                   18783: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   18784: # into the resulting binary.
                   18785: hardcode_shlibpath_var=$hardcode_shlibpath_var
                   18786: 
                   18787: # Set to "yes" if building a shared library automatically hardcodes DIR
                   18788: # into the library and all subsequent libraries and executables linked
                   18789: # against it.
                   18790: hardcode_automatic=$hardcode_automatic
                   18791: 
                   18792: # Set to yes if linker adds runtime paths of dependent libraries
                   18793: # to runtime path list.
                   18794: inherit_rpath=$inherit_rpath
                   18795: 
                   18796: # Whether libtool must link a program against all its dependency libraries.
                   18797: link_all_deplibs=$link_all_deplibs
                   18798: 
                   18799: # Set to "yes" if exported symbols are required.
                   18800: always_export_symbols=$always_export_symbols
                   18801: 
                   18802: # The commands to list exported symbols.
                   18803: export_symbols_cmds=$lt_export_symbols_cmds
                   18804: 
                   18805: # Symbols that should not be listed in the preloaded symbols.
                   18806: exclude_expsyms=$lt_exclude_expsyms
                   18807: 
                   18808: # Symbols that must always be exported.
                   18809: include_expsyms=$lt_include_expsyms
                   18810: 
                   18811: # Commands necessary for linking programs (against libraries) with templates.
                   18812: prelink_cmds=$lt_prelink_cmds
                   18813: 
                   18814: # Commands necessary for finishing linking programs.
                   18815: postlink_cmds=$lt_postlink_cmds
                   18816: 
                   18817: # Specify filename containing input files.
                   18818: file_list_spec=$lt_file_list_spec
                   18819: 
                   18820: # How to hardcode a shared library path into an executable.
                   18821: hardcode_action=$hardcode_action
                   18822: 
                   18823: # The directories searched by this compiler when creating a shared library.
                   18824: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
                   18825: 
                   18826: # Dependencies to place before and after the objects being linked to
                   18827: # create a shared library.
                   18828: predep_objects=$lt_predep_objects
                   18829: postdep_objects=$lt_postdep_objects
                   18830: predeps=$lt_predeps
                   18831: postdeps=$lt_postdeps
                   18832: 
                   18833: # The library search path used internally by the compiler when linking
                   18834: # a shared library.
                   18835: compiler_lib_search_path=$lt_compiler_lib_search_path
                   18836: 
                   18837: # ### END LIBTOOL CONFIG
                   18838: 
                   18839: _LT_EOF
                   18840: 
                   18841:   case $host_os in
                   18842:   aix3*)
                   18843:     cat <<\_LT_EOF >> "$cfgfile"
                   18844: # AIX sometimes has problems with the GCC collect2 program.  For some
                   18845: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   18846: # vanish in a puff of smoke.
                   18847: if test "X${COLLECT_NAMES+set}" != Xset; then
                   18848:   COLLECT_NAMES=
                   18849:   export COLLECT_NAMES
                   18850: fi
                   18851: _LT_EOF
                   18852:     ;;
                   18853:   esac
                   18854: 
                   18855: 
                   18856: ltmain="$ac_aux_dir/ltmain.sh"
                   18857: 
                   18858: 
                   18859:   # We use sed instead of cat because bash on DJGPP gets confused if
                   18860:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   18861:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   18862:   # is reportedly fixed, but why not run on old versions too?
                   18863:   sed '$q' "$ltmain" >> "$cfgfile" \
                   18864:      || (rm -f "$cfgfile"; exit 1)
                   18865: 
                   18866:   if test x"$xsi_shell" = xyes; then
                   18867:   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
                   18868: func_dirname ()\
                   18869: {\
                   18870: \    case ${1} in\
                   18871: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   18872: \      *  ) func_dirname_result="${3}" ;;\
                   18873: \    esac\
                   18874: } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
                   18875:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   18876:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   18877: test 0 -eq $? || _lt_function_replace_fail=:
                   18878: 
                   18879: 
                   18880:   sed -e '/^func_basename ()$/,/^} # func_basename /c\
                   18881: func_basename ()\
                   18882: {\
                   18883: \    func_basename_result="${1##*/}"\
                   18884: } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   18885:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   18886:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   18887: test 0 -eq $? || _lt_function_replace_fail=:
                   18888: 
                   18889: 
                   18890:   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
                   18891: func_dirname_and_basename ()\
                   18892: {\
                   18893: \    case ${1} in\
                   18894: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   18895: \      *  ) func_dirname_result="${3}" ;;\
                   18896: \    esac\
                   18897: \    func_basename_result="${1##*/}"\
                   18898: } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   18899:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   18900:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   18901: test 0 -eq $? || _lt_function_replace_fail=:
                   18902: 
                   18903: 
                   18904:   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
                   18905: func_stripname ()\
                   18906: {\
                   18907: \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
                   18908: \    # positional parameters, so assign one to ordinary parameter first.\
                   18909: \    func_stripname_result=${3}\
                   18910: \    func_stripname_result=${func_stripname_result#"${1}"}\
                   18911: \    func_stripname_result=${func_stripname_result%"${2}"}\
                   18912: } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
                   18913:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   18914:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   18915: test 0 -eq $? || _lt_function_replace_fail=:
                   18916: 
                   18917: 
                   18918:   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
                   18919: func_split_long_opt ()\
                   18920: {\
                   18921: \    func_split_long_opt_name=${1%%=*}\
                   18922: \    func_split_long_opt_arg=${1#*=}\
                   18923: } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   18924:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   18925:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   18926: test 0 -eq $? || _lt_function_replace_fail=:
                   18927: 
                   18928: 
                   18929:   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
                   18930: func_split_short_opt ()\
                   18931: {\
                   18932: \    func_split_short_opt_arg=${1#??}\
                   18933: \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
                   18934: } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   18935:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   18936:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   18937: test 0 -eq $? || _lt_function_replace_fail=:
                   18938: 
                   18939: 
                   18940:   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
                   18941: func_lo2o ()\
                   18942: {\
                   18943: \    case ${1} in\
                   18944: \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
                   18945: \      *)    func_lo2o_result=${1} ;;\
                   18946: \    esac\
                   18947: } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
                   18948:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   18949:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   18950: test 0 -eq $? || _lt_function_replace_fail=:
                   18951: 
                   18952: 
                   18953:   sed -e '/^func_xform ()$/,/^} # func_xform /c\
                   18954: func_xform ()\
                   18955: {\
                   18956:     func_xform_result=${1%.*}.lo\
                   18957: } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
                   18958:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   18959:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   18960: test 0 -eq $? || _lt_function_replace_fail=:
                   18961: 
                   18962: 
                   18963:   sed -e '/^func_arith ()$/,/^} # func_arith /c\
                   18964: func_arith ()\
                   18965: {\
                   18966:     func_arith_result=$(( $* ))\
                   18967: } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
                   18968:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   18969:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   18970: test 0 -eq $? || _lt_function_replace_fail=:
                   18971: 
                   18972: 
                   18973:   sed -e '/^func_len ()$/,/^} # func_len /c\
                   18974: func_len ()\
                   18975: {\
                   18976:     func_len_result=${#1}\
                   18977: } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
                   18978:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   18979:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   18980: test 0 -eq $? || _lt_function_replace_fail=:
                   18981: 
                   18982: fi
                   18983: 
                   18984: if test x"$lt_shell_append" = xyes; then
                   18985:   sed -e '/^func_append ()$/,/^} # func_append /c\
                   18986: func_append ()\
                   18987: {\
                   18988:     eval "${1}+=\\${2}"\
                   18989: } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
                   18990:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   18991:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   18992: test 0 -eq $? || _lt_function_replace_fail=:
                   18993: 
                   18994: 
                   18995:   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
                   18996: func_append_quoted ()\
                   18997: {\
                   18998: \    func_quote_for_eval "${2}"\
                   18999: \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
                   19000: } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
                   19001:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   19002:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   19003: test 0 -eq $? || _lt_function_replace_fail=:
                   19004: 
                   19005: 
                   19006:   # Save a `func_append' function call where possible by direct use of '+='
                   19007:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
                   19008:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   19009:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   19010:   test 0 -eq $? || _lt_function_replace_fail=:
                   19011: else
                   19012:   # Save a `func_append' function call even when '+=' is not available
                   19013:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
                   19014:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   19015:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   19016:   test 0 -eq $? || _lt_function_replace_fail=:
                   19017: fi
                   19018: 
                   19019: if test x"$_lt_function_replace_fail" = x":"; then
1.43      moko     19020:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
                   19021: $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
1.35      moko     19022: fi
                   19023: 
                   19024: 
                   19025:    mv -f "$cfgfile" "$ofile" ||
                   19026:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
                   19027:   chmod +x "$ofile"
                   19028: 
                   19029: 
                   19030:     cat <<_LT_EOF >> "$ofile"
                   19031: 
                   19032: # ### BEGIN LIBTOOL TAG CONFIG: CXX
                   19033: 
                   19034: # The linker used to build libraries.
                   19035: LD=$lt_LD_CXX
                   19036: 
                   19037: # How to create reloadable object files.
                   19038: reload_flag=$lt_reload_flag_CXX
                   19039: reload_cmds=$lt_reload_cmds_CXX
                   19040: 
                   19041: # Commands used to build an old-style archive.
                   19042: old_archive_cmds=$lt_old_archive_cmds_CXX
                   19043: 
                   19044: # A language specific compiler.
                   19045: CC=$lt_compiler_CXX
                   19046: 
                   19047: # Is the compiler the GNU compiler?
                   19048: with_gcc=$GCC_CXX
                   19049: 
                   19050: # Compiler flag to turn off builtin functions.
                   19051: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
                   19052: 
                   19053: # Additional compiler flags for building library objects.
                   19054: pic_flag=$lt_lt_prog_compiler_pic_CXX
                   19055: 
                   19056: # How to pass a linker flag through the compiler.
                   19057: wl=$lt_lt_prog_compiler_wl_CXX
                   19058: 
                   19059: # Compiler flag to prevent dynamic linking.
                   19060: link_static_flag=$lt_lt_prog_compiler_static_CXX
                   19061: 
                   19062: # Does compiler simultaneously support -c and -o options?
                   19063: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
                   19064: 
                   19065: # Whether or not to add -lc for building shared libraries.
                   19066: build_libtool_need_lc=$archive_cmds_need_lc_CXX
                   19067: 
                   19068: # Whether or not to disallow shared libs when runtime libs are static.
                   19069: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
                   19070: 
                   19071: # Compiler flag to allow reflexive dlopens.
                   19072: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
                   19073: 
                   19074: # Compiler flag to generate shared objects directly from archives.
                   19075: whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
                   19076: 
                   19077: # Whether the compiler copes with passing no objects directly.
                   19078: compiler_needs_object=$lt_compiler_needs_object_CXX
                   19079: 
                   19080: # Create an old-style archive from a shared archive.
                   19081: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
                   19082: 
                   19083: # Create a temporary old-style archive to link instead of a shared archive.
                   19084: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
                   19085: 
                   19086: # Commands used to build a shared archive.
                   19087: archive_cmds=$lt_archive_cmds_CXX
                   19088: archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
                   19089: 
                   19090: # Commands used to build a loadable module if different from building
                   19091: # a shared archive.
                   19092: module_cmds=$lt_module_cmds_CXX
                   19093: module_expsym_cmds=$lt_module_expsym_cmds_CXX
                   19094: 
                   19095: # Whether we are building with GNU ld or not.
                   19096: with_gnu_ld=$lt_with_gnu_ld_CXX
                   19097: 
                   19098: # Flag that allows shared libraries with undefined symbols to be built.
                   19099: allow_undefined_flag=$lt_allow_undefined_flag_CXX
                   19100: 
                   19101: # Flag that enforces no undefined symbols.
                   19102: no_undefined_flag=$lt_no_undefined_flag_CXX
                   19103: 
                   19104: # Flag to hardcode \$libdir into a binary during linking.
                   19105: # This must work even if \$libdir does not exist
                   19106: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
                   19107: 
                   19108: # Whether we need a single "-rpath" flag with a separated argument.
                   19109: hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
                   19110: 
                   19111: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   19112: # DIR into the resulting binary.
                   19113: hardcode_direct=$hardcode_direct_CXX
                   19114: 
                   19115: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   19116: # DIR into the resulting binary and the resulting library dependency is
                   19117: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   19118: # library is relocated.
                   19119: hardcode_direct_absolute=$hardcode_direct_absolute_CXX
                   19120: 
                   19121: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   19122: # into the resulting binary.
                   19123: hardcode_minus_L=$hardcode_minus_L_CXX
                   19124: 
                   19125: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   19126: # into the resulting binary.
                   19127: hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
                   19128: 
                   19129: # Set to "yes" if building a shared library automatically hardcodes DIR
                   19130: # into the library and all subsequent libraries and executables linked
                   19131: # against it.
                   19132: hardcode_automatic=$hardcode_automatic_CXX
                   19133: 
                   19134: # Set to yes if linker adds runtime paths of dependent libraries
                   19135: # to runtime path list.
                   19136: inherit_rpath=$inherit_rpath_CXX
                   19137: 
                   19138: # Whether libtool must link a program against all its dependency libraries.
                   19139: link_all_deplibs=$link_all_deplibs_CXX
                   19140: 
                   19141: # Set to "yes" if exported symbols are required.
                   19142: always_export_symbols=$always_export_symbols_CXX
                   19143: 
                   19144: # The commands to list exported symbols.
                   19145: export_symbols_cmds=$lt_export_symbols_cmds_CXX
                   19146: 
                   19147: # Symbols that should not be listed in the preloaded symbols.
                   19148: exclude_expsyms=$lt_exclude_expsyms_CXX
                   19149: 
                   19150: # Symbols that must always be exported.
                   19151: include_expsyms=$lt_include_expsyms_CXX
                   19152: 
                   19153: # Commands necessary for linking programs (against libraries) with templates.
                   19154: prelink_cmds=$lt_prelink_cmds_CXX
                   19155: 
                   19156: # Commands necessary for finishing linking programs.
                   19157: postlink_cmds=$lt_postlink_cmds_CXX
                   19158: 
                   19159: # Specify filename containing input files.
                   19160: file_list_spec=$lt_file_list_spec_CXX
                   19161: 
                   19162: # How to hardcode a shared library path into an executable.
                   19163: hardcode_action=$hardcode_action_CXX
                   19164: 
                   19165: # The directories searched by this compiler when creating a shared library.
                   19166: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
                   19167: 
                   19168: # Dependencies to place before and after the objects being linked to
                   19169: # create a shared library.
                   19170: predep_objects=$lt_predep_objects_CXX
                   19171: postdep_objects=$lt_postdep_objects_CXX
                   19172: predeps=$lt_predeps_CXX
                   19173: postdeps=$lt_postdeps_CXX
                   19174: 
                   19175: # The library search path used internally by the compiler when linking
                   19176: # a shared library.
                   19177: compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
                   19178: 
                   19179: # ### END LIBTOOL TAG CONFIG: CXX
                   19180: _LT_EOF
1.1       parser   19181: 
1.15      paf      19182:  ;;
1.43      moko     19183: 
1.15      paf      19184:   esac
1.43      moko     19185: done # for ac_tag
1.1       parser   19186: 
                   19187: 
1.43      moko     19188: as_fn_exit 0
1.15      paf      19189: _ACEOF
                   19190: ac_clean_files=$ac_clean_files_save
                   19191: 
1.43      moko     19192: test $ac_write_fail = 0 ||
                   19193:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
                   19194: 
1.15      paf      19195: 
                   19196: # configure is writing to config.log, and then calls config.status.
                   19197: # config.status does its own redirection, appending to config.log.
                   19198: # Unfortunately, on DOS this fails, as config.log is still kept open
                   19199: # by configure, so config.status won't be able to write to it; its
                   19200: # output is simply discarded.  So we exec the FD to /dev/null,
                   19201: # effectively closing config.log, so it can be properly (re)opened and
                   19202: # appended to by config.status.  When coming back to configure, we
                   19203: # need to make the FD available again.
                   19204: if test "$no_create" != yes; then
                   19205:   ac_cs_success=:
                   19206:   ac_config_status_args=
                   19207:   test "$silent" = yes &&
                   19208:     ac_config_status_args="$ac_config_status_args --quiet"
                   19209:   exec 5>/dev/null
                   19210:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   19211:   exec 5>>config.log
                   19212:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   19213:   # would make configure fail if this is the last instruction.
1.43      moko     19214:   $ac_cs_success || as_fn_exit 1
1.15      paf      19215: fi
1.1       parser   19216: 
1.15      paf      19217: #
                   19218: # CONFIG_SUBDIRS section.
                   19219: #
1.1       parser   19220: if test "$no_recursion" != yes; then
                   19221: 
1.43      moko     19222:   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
                   19223:   # so they do not pile up.
1.1       parser   19224:   ac_sub_configure_args=
                   19225:   ac_prev=
1.43      moko     19226:   eval "set x $ac_configure_args"
                   19227:   shift
                   19228:   for ac_arg
                   19229:   do
1.1       parser   19230:     if test -n "$ac_prev"; then
                   19231:       ac_prev=
                   19232:       continue
                   19233:     fi
1.15      paf      19234:     case $ac_arg in
1.1       parser   19235:     -cache-file | --cache-file | --cache-fil | --cache-fi \
                   19236:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                   19237:       ac_prev=cache_file ;;
                   19238:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1.15      paf      19239:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
                   19240:     | --c=*)
                   19241:       ;;
                   19242:     --config-cache | -C)
1.1       parser   19243:       ;;
                   19244:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   19245:       ac_prev=srcdir ;;
                   19246:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   19247:       ;;
1.15      paf      19248:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   19249:       ac_prev=prefix ;;
                   19250:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   19251:       ;;
1.43      moko     19252:     --disable-option-checking)
                   19253:       ;;
                   19254:     *)
                   19255:       case $ac_arg in
                   19256:       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   19257:       esac
                   19258:       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
1.1       parser   19259:     esac
                   19260:   done
                   19261: 
1.15      paf      19262:   # Always prepend --prefix to ensure using the same prefix
                   19263:   # in subdir configurations.
1.43      moko     19264:   ac_arg="--prefix=$prefix"
                   19265:   case $ac_arg in
                   19266:   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   19267:   esac
                   19268:   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
                   19269: 
                   19270:   # Pass --silent
                   19271:   if test "$silent" = yes; then
                   19272:     ac_sub_configure_args="--silent $ac_sub_configure_args"
                   19273:   fi
                   19274: 
                   19275:   # Always prepend --disable-option-checking to silence warnings, since
                   19276:   # different subdirs can have different --enable and --with options.
                   19277:   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
1.15      paf      19278: 
                   19279:   ac_popdir=`pwd`
                   19280:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
1.1       parser   19281: 
                   19282:     # Do not complain, so a configure script can configure whichever
                   19283:     # parts of a large source tree are present.
1.43      moko     19284:     test -d "$srcdir/$ac_dir" || continue
1.15      paf      19285: 
1.43      moko     19286:     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
                   19287:     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
                   19288:     $as_echo "$ac_msg" >&6
                   19289:     as_dir="$ac_dir"; as_fn_mkdir_p
1.15      paf      19290:     ac_builddir=.
                   19291: 
1.43      moko     19292: case "$ac_dir" in
                   19293: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   19294: *)
                   19295:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   19296:   # A ".." for each directory in $ac_dir_suffix.
                   19297:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   19298:   case $ac_top_builddir_sub in
                   19299:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   19300:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   19301:   esac ;;
                   19302: esac
                   19303: ac_abs_top_builddir=$ac_pwd
                   19304: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   19305: # for backward compatibility:
                   19306: ac_top_builddir=$ac_top_build_prefix
1.15      paf      19307: 
                   19308: case $srcdir in
1.43      moko     19309:   .)  # We are building in place.
1.15      paf      19310:     ac_srcdir=.
1.43      moko     19311:     ac_top_srcdir=$ac_top_builddir_sub
                   19312:     ac_abs_top_srcdir=$ac_pwd ;;
                   19313:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.15      paf      19314:     ac_srcdir=$srcdir$ac_dir_suffix;
1.43      moko     19315:     ac_top_srcdir=$srcdir
                   19316:     ac_abs_top_srcdir=$srcdir ;;
                   19317:   *) # Relative name.
                   19318:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   19319:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   19320:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.25      paf      19321: esac
1.43      moko     19322: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.1       parser   19323: 
                   19324: 
1.43      moko     19325:     cd "$ac_dir"
1.1       parser   19326: 
                   19327:     # Check for guested configure; otherwise get Cygnus style configure.
1.43      moko     19328:     if test -f "$ac_srcdir/configure.gnu"; then
                   19329:       ac_sub_configure=$ac_srcdir/configure.gnu
                   19330:     elif test -f "$ac_srcdir/configure"; then
                   19331:       ac_sub_configure=$ac_srcdir/configure
                   19332:     elif test -f "$ac_srcdir/configure.in"; then
                   19333:       # This should be Cygnus configure.
                   19334:       ac_sub_configure=$ac_aux_dir/configure
1.1       parser   19335:     else
1.43      moko     19336:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
                   19337: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
1.1       parser   19338:       ac_sub_configure=
                   19339:     fi
                   19340: 
                   19341:     # The recursion is here.
                   19342:     if test -n "$ac_sub_configure"; then
                   19343:       # Make the cache file name correct relative to the subdirectory.
1.15      paf      19344:       case $cache_file in
                   19345:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
1.43      moko     19346:       *) # Relative name.
                   19347:        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
1.1       parser   19348:       esac
                   19349: 
1.43      moko     19350:       { $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
                   19351: $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       parser   19352:       # The eval makes quoting arguments work.
1.43      moko     19353:       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
                   19354:           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
                   19355:        as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
1.1       parser   19356:     fi
                   19357: 
1.43      moko     19358:     cd "$ac_popdir"
1.1       parser   19359:   done
                   19360: fi
1.43      moko     19361: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
                   19362:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
                   19363: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
                   19364: fi
1.1       parser   19365: 

E-mail: