Annotation of sql/mysql/configure, revision 1.56

1.1       parser      1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.54      moko        3: # Generated by GNU Autoconf 2.69 for parser3mysql 10.9.
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.54      moko      594: PACKAGE_VERSION='10.9'
                    595: PACKAGE_STRING='parser3mysql 10.9'
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.54      moko     1348: \`configure' configures parser3mysql 10.9 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.54      moko     1418:      short | recursive ) echo "Configuration of parser3mysql 10.9:";;
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.54      moko     1527: parser3mysql configure 10.9
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.54      moko     2113: It was created by parser3mysql $as_me 10.9, 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.54      moko     2932:  VERSION='10.9'
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 \
1.56    ! moko     2993:                /usr/include/mariadb \
1.8       paf      2994:                /usr/include/mysql ; do
1.15      paf      2995: 
1.8       paf      2996:        if test -r "$d/mysql.h"; then
                   2997:                MYSQL_INC=$d
                   2998:        fi
                   2999: 
                   3000:        done
                   3001: 
1.33      misha    3002:        if test -z "$MYSQL_INC"; then
1.43      moko     3003:                as_fn_error $? "use --with-mysql-inc=DIR to specify MySQL includes directory" "$LINENO" 5
1.33      misha    3004:        fi
1.8       paf      3005: 
1.43      moko     3006:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MYSQL_INC" >&5
                   3007: $as_echo "$MYSQL_INC" >&6; }
1.1       parser   3008: 
1.43      moko     3009: fi
1.3       parser   3010: 
1.1       parser   3011: 
                   3012: 
1.15      paf      3013: 
1.1       parser   3014: 
1.43      moko     3015: ac_ext=cpp
1.15      paf      3016: ac_cpp='$CXXCPP $CPPFLAGS'
                   3017: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3018: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3019: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.43      moko     3020: if test -z "$CXX"; then
                   3021:   if test -n "$CCC"; then
                   3022:     CXX=$CCC
                   3023:   else
                   3024:     if test -n "$ac_tool_prefix"; then
                   3025:   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1.15      paf      3026:   do
                   3027:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3028: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.43      moko     3029: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3030: $as_echo_n "checking for $ac_word... " >&6; }
                   3031: if ${ac_cv_prog_CXX+:} false; then :
                   3032:   $as_echo_n "(cached) " >&6
1.1       parser   3033: else
                   3034:   if test -n "$CXX"; then
                   3035:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
                   3036: else
1.15      paf      3037: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3038: for as_dir in $PATH
                   3039: do
                   3040:   IFS=$as_save_IFS
                   3041:   test -z "$as_dir" && as_dir=.
1.43      moko     3042:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     3043:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.15      paf      3044:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1.43      moko     3045:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.15      paf      3046:     break 2
                   3047:   fi
                   3048: done
1.43      moko     3049:   done
                   3050: IFS=$as_save_IFS
1.15      paf      3051: 
1.1       parser   3052: fi
                   3053: fi
1.15      paf      3054: CXX=$ac_cv_prog_CXX
1.1       parser   3055: if test -n "$CXX"; then
1.43      moko     3056:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
                   3057: $as_echo "$CXX" >&6; }
1.1       parser   3058: else
1.43      moko     3059:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3060: $as_echo "no" >&6; }
1.1       parser   3061: fi
                   3062: 
1.43      moko     3063: 
1.15      paf      3064:     test -n "$CXX" && break
                   3065:   done
                   3066: fi
                   3067: if test -z "$CXX"; then
                   3068:   ac_ct_CXX=$CXX
1.43      moko     3069:   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1.15      paf      3070: do
                   3071:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3072: set dummy $ac_prog; ac_word=$2
1.43      moko     3073: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3074: $as_echo_n "checking for $ac_word... " >&6; }
                   3075: if ${ac_cv_prog_ac_ct_CXX+:} false; then :
                   3076:   $as_echo_n "(cached) " >&6
1.15      paf      3077: else
                   3078:   if test -n "$ac_ct_CXX"; then
                   3079:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
                   3080: else
                   3081: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3082: for as_dir in $PATH
                   3083: do
                   3084:   IFS=$as_save_IFS
                   3085:   test -z "$as_dir" && as_dir=.
1.43      moko     3086:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     3087:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.15      paf      3088:     ac_cv_prog_ac_ct_CXX="$ac_prog"
1.43      moko     3089:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.15      paf      3090:     break 2
                   3091:   fi
                   3092: done
1.43      moko     3093:   done
                   3094: IFS=$as_save_IFS
1.1       parser   3095: 
1.15      paf      3096: fi
                   3097: fi
                   3098: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
                   3099: if test -n "$ac_ct_CXX"; then
1.43      moko     3100:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
                   3101: $as_echo "$ac_ct_CXX" >&6; }
1.15      paf      3102: else
1.43      moko     3103:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3104: $as_echo "no" >&6; }
1.15      paf      3105: fi
1.1       parser   3106: 
1.43      moko     3107: 
1.15      paf      3108:   test -n "$ac_ct_CXX" && break
                   3109: done
1.1       parser   3110: 
1.43      moko     3111:   if test "x$ac_ct_CXX" = x; then
                   3112:     CXX="g++"
                   3113:   else
                   3114:     case $cross_compiling:$ac_tool_warned in
                   3115: yes:)
                   3116: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3117: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3118: ac_tool_warned=yes ;;
                   3119: esac
                   3120:     CXX=$ac_ct_CXX
                   3121:   fi
1.15      paf      3122: fi
1.1       parser   3123: 
1.43      moko     3124:   fi
                   3125: fi
1.15      paf      3126: # Provide some information about the compiler.
1.43      moko     3127: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
                   3128: set X $ac_compile
                   3129: ac_compiler=$2
                   3130: for ac_option in --version -v -V -qversion; do
                   3131:   { { ac_try="$ac_compiler $ac_option >&5"
                   3132: case "(($ac_try" in
                   3133:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3134:   *) ac_try_echo=$ac_try;;
                   3135: esac
                   3136: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3137: $as_echo "$ac_try_echo"; } >&5
                   3138:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.15      paf      3139:   ac_status=$?
1.43      moko     3140:   if test -s conftest.err; then
                   3141:     sed '10a\
                   3142: ... rest of stderr output deleted ...
                   3143:          10q' conftest.err >conftest.er1
                   3144:     cat conftest.er1 >&5
                   3145:   fi
                   3146:   rm -f conftest.er1 conftest.err
                   3147:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3148:   test $ac_status = 0; }
                   3149: done
1.15      paf      3150: 
1.43      moko     3151: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.15      paf      3152: /* end confdefs.h.  */
                   3153: 
                   3154: int
                   3155: main ()
                   3156: {
                   3157: 
                   3158:   ;
                   3159:   return 0;
                   3160: }
                   3161: _ACEOF
                   3162: ac_clean_files_save=$ac_clean_files
1.43      moko     3163: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
1.15      paf      3164: # Try to create an executable without -o first, disregard a.out.
                   3165: # It will help us diagnose broken compilers, and finding out an intuition
                   3166: # of exeext.
1.43      moko     3167: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
                   3168: $as_echo_n "checking whether the C++ compiler works... " >&6; }
                   3169: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   3170: 
                   3171: # The possible output files:
                   3172: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
                   3173: 
                   3174: ac_rmfiles=
                   3175: for ac_file in $ac_files
                   3176: do
                   3177:   case $ac_file in
                   3178:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3179:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
                   3180:   esac
                   3181: done
                   3182: rm -f $ac_rmfiles
                   3183: 
                   3184: if { { ac_try="$ac_link_default"
                   3185: case "(($ac_try" in
                   3186:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3187:   *) ac_try_echo=$ac_try;;
                   3188: esac
                   3189: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3190: $as_echo "$ac_try_echo"; } >&5
                   3191:   (eval "$ac_link_default") 2>&5
                   3192:   ac_status=$?
                   3193:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3194:   test $ac_status = 0; }; then :
                   3195:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
                   3196: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
                   3197: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
                   3198: # so that the user can short-circuit this test for compilers unknown to
                   3199: # Autoconf.
                   3200: for ac_file in $ac_files ''
1.15      paf      3201: do
                   3202:   test -f "$ac_file" || continue
                   3203:   case $ac_file in
1.43      moko     3204:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
1.25      paf      3205:        ;;
1.15      paf      3206:     [ab].out )
1.25      paf      3207:        # We found the default executable, but exeext='' is most
                   3208:        # certainly right.
                   3209:        break;;
1.15      paf      3210:     *.* )
1.43      moko     3211:        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
                   3212:        then :; else
                   3213:           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3214:        fi
                   3215:        # We set ac_cv_exeext here because the later test for it is not
                   3216:        # safe: cross compilers may not add the suffix if given an `-o'
                   3217:        # argument, so we may need to know it at that point already.
                   3218:        # Even if this section looks crufty: it has the advantage of
                   3219:        # actually working.
1.25      paf      3220:        break;;
1.15      paf      3221:     * )
1.25      paf      3222:        break;;
1.15      paf      3223:   esac
                   3224: done
1.43      moko     3225: test "$ac_cv_exeext" = no && ac_cv_exeext=
                   3226: 
1.15      paf      3227: else
1.43      moko     3228:   ac_file=''
                   3229: fi
                   3230: if test -z "$ac_file"; then :
                   3231:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3232: $as_echo "no" >&6; }
                   3233: $as_echo "$as_me: failed program was:" >&5
1.15      paf      3234: sed 's/^/| /' conftest.$ac_ext >&5
1.1       parser   3235: 
1.43      moko     3236: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3237: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3238: as_fn_error 77 "C++ compiler cannot create executables
                   3239: See \`config.log' for more details" "$LINENO" 5; }
                   3240: else
                   3241:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3242: $as_echo "yes" >&6; }
                   3243: fi
                   3244: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
                   3245: $as_echo_n "checking for C++ compiler default output file name... " >&6; }
                   3246: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
                   3247: $as_echo "$ac_file" >&6; }
1.15      paf      3248: ac_exeext=$ac_cv_exeext
                   3249: 
1.43      moko     3250: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
1.15      paf      3251: ac_clean_files=$ac_clean_files_save
1.43      moko     3252: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
                   3253: $as_echo_n "checking for suffix of executables... " >&6; }
                   3254: if { { ac_try="$ac_link"
                   3255: case "(($ac_try" in
                   3256:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3257:   *) ac_try_echo=$ac_try;;
                   3258: esac
                   3259: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3260: $as_echo "$ac_try_echo"; } >&5
                   3261:   (eval "$ac_link") 2>&5
1.15      paf      3262:   ac_status=$?
1.43      moko     3263:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3264:   test $ac_status = 0; }; then :
1.15      paf      3265:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   3266: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   3267: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   3268: # `rm'.
                   3269: for ac_file in conftest.exe conftest conftest.*; do
                   3270:   test -f "$ac_file" || continue
                   3271:   case $ac_file in
1.43      moko     3272:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
1.15      paf      3273:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.25      paf      3274:          break;;
1.15      paf      3275:     * ) break;;
                   3276:   esac
                   3277: done
1.1       parser   3278: else
1.43      moko     3279:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3280: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3281: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
                   3282: See \`config.log' for more details" "$LINENO" 5; }
                   3283: fi
                   3284: rm -f conftest conftest$ac_cv_exeext
                   3285: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
                   3286: $as_echo "$ac_cv_exeext" >&6; }
1.15      paf      3287: 
                   3288: rm -f conftest.$ac_ext
                   3289: EXEEXT=$ac_cv_exeext
                   3290: ac_exeext=$EXEEXT
1.43      moko     3291: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3292: /* end confdefs.h.  */
                   3293: #include <stdio.h>
                   3294: int
                   3295: main ()
                   3296: {
                   3297: FILE *f = fopen ("conftest.out", "w");
                   3298:  return ferror (f) || fclose (f) != 0;
                   3299: 
                   3300:   ;
                   3301:   return 0;
                   3302: }
                   3303: _ACEOF
                   3304: ac_clean_files="$ac_clean_files conftest.out"
                   3305: # Check that the compiler produces executables we can run.  If not, either
                   3306: # the compiler is broken, or we cross compile.
                   3307: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
                   3308: $as_echo_n "checking whether we are cross compiling... " >&6; }
                   3309: if test "$cross_compiling" != yes; then
                   3310:   { { ac_try="$ac_link"
                   3311: case "(($ac_try" in
                   3312:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3313:   *) ac_try_echo=$ac_try;;
                   3314: esac
                   3315: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3316: $as_echo "$ac_try_echo"; } >&5
                   3317:   (eval "$ac_link") 2>&5
                   3318:   ac_status=$?
                   3319:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3320:   test $ac_status = 0; }
                   3321:   if { ac_try='./conftest$ac_cv_exeext'
                   3322:   { { case "(($ac_try" in
                   3323:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3324:   *) ac_try_echo=$ac_try;;
                   3325: esac
                   3326: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3327: $as_echo "$ac_try_echo"; } >&5
                   3328:   (eval "$ac_try") 2>&5
                   3329:   ac_status=$?
                   3330:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3331:   test $ac_status = 0; }; }; then
                   3332:     cross_compiling=no
                   3333:   else
                   3334:     if test "$cross_compiling" = maybe; then
                   3335:        cross_compiling=yes
                   3336:     else
                   3337:        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3338: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3339: as_fn_error $? "cannot run C++ compiled programs.
                   3340: If you meant to cross compile, use \`--host'.
                   3341: See \`config.log' for more details" "$LINENO" 5; }
                   3342:     fi
                   3343:   fi
                   3344: fi
                   3345: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
                   3346: $as_echo "$cross_compiling" >&6; }
                   3347: 
                   3348: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
                   3349: ac_clean_files=$ac_clean_files_save
                   3350: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
                   3351: $as_echo_n "checking for suffix of object files... " >&6; }
                   3352: if ${ac_cv_objext+:} false; then :
                   3353:   $as_echo_n "(cached) " >&6
1.15      paf      3354: else
1.43      moko     3355:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.15      paf      3356: /* end confdefs.h.  */
                   3357: 
                   3358: int
                   3359: main ()
                   3360: {
                   3361: 
                   3362:   ;
                   3363:   return 0;
                   3364: }
                   3365: _ACEOF
                   3366: rm -f conftest.o conftest.obj
1.43      moko     3367: if { { ac_try="$ac_compile"
                   3368: case "(($ac_try" in
                   3369:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3370:   *) ac_try_echo=$ac_try;;
                   3371: esac
                   3372: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3373: $as_echo "$ac_try_echo"; } >&5
                   3374:   (eval "$ac_compile") 2>&5
                   3375:   ac_status=$?
                   3376:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3377:   test $ac_status = 0; }; then :
                   3378:   for ac_file in conftest.o conftest.obj conftest.*; do
                   3379:   test -f "$ac_file" || continue;
1.15      paf      3380:   case $ac_file in
1.43      moko     3381:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
1.15      paf      3382:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   3383:        break;;
                   3384:   esac
                   3385: done
1.1       parser   3386: else
1.43      moko     3387:   $as_echo "$as_me: failed program was:" >&5
1.15      paf      3388: sed 's/^/| /' conftest.$ac_ext >&5
1.1       parser   3389: 
1.43      moko     3390: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3391: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3392: as_fn_error $? "cannot compute suffix of object files: cannot compile
                   3393: See \`config.log' for more details" "$LINENO" 5; }
1.15      paf      3394: fi
                   3395: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   3396: fi
1.43      moko     3397: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
                   3398: $as_echo "$ac_cv_objext" >&6; }
1.15      paf      3399: OBJEXT=$ac_cv_objext
                   3400: ac_objext=$OBJEXT
1.43      moko     3401: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
                   3402: $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
                   3403: if ${ac_cv_cxx_compiler_gnu+:} false; then :
                   3404:   $as_echo_n "(cached) " >&6
1.15      paf      3405: else
1.43      moko     3406:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.15      paf      3407: /* end confdefs.h.  */
                   3408: 
                   3409: int
                   3410: main ()
                   3411: {
                   3412: #ifndef __GNUC__
                   3413:        choke me
                   3414: #endif
1.1       parser   3415: 
1.15      paf      3416:   ;
                   3417:   return 0;
                   3418: }
                   3419: _ACEOF
1.43      moko     3420: if ac_fn_cxx_try_compile "$LINENO"; then :
1.15      paf      3421:   ac_compiler_gnu=yes
                   3422: else
1.43      moko     3423:   ac_compiler_gnu=no
1.15      paf      3424: fi
1.43      moko     3425: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.15      paf      3426: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
                   3427: 
                   3428: fi
1.43      moko     3429: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
                   3430: $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
                   3431: if test $ac_compiler_gnu = yes; then
                   3432:   GXX=yes
                   3433: else
                   3434:   GXX=
                   3435: fi
1.15      paf      3436: ac_test_CXXFLAGS=${CXXFLAGS+set}
                   3437: ac_save_CXXFLAGS=$CXXFLAGS
1.43      moko     3438: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
                   3439: $as_echo_n "checking whether $CXX accepts -g... " >&6; }
                   3440: if ${ac_cv_prog_cxx_g+:} false; then :
                   3441:   $as_echo_n "(cached) " >&6
                   3442: else
                   3443:   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
                   3444:    ac_cxx_werror_flag=yes
                   3445:    ac_cv_prog_cxx_g=no
                   3446:    CXXFLAGS="-g"
                   3447:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.15      paf      3448: /* end confdefs.h.  */
                   3449: 
                   3450: int
                   3451: main ()
                   3452: {
                   3453: 
                   3454:   ;
                   3455:   return 0;
                   3456: }
                   3457: _ACEOF
1.43      moko     3458: if ac_fn_cxx_try_compile "$LINENO"; then :
1.15      paf      3459:   ac_cv_prog_cxx_g=yes
1.1       parser   3460: else
1.43      moko     3461:   CXXFLAGS=""
                   3462:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3463: /* end confdefs.h.  */
1.1       parser   3464: 
1.15      paf      3465: int
                   3466: main ()
                   3467: {
1.43      moko     3468: 
1.15      paf      3469:   ;
                   3470:   return 0;
                   3471: }
                   3472: _ACEOF
1.43      moko     3473: if ac_fn_cxx_try_compile "$LINENO"; then :
                   3474: 
1.15      paf      3475: else
1.43      moko     3476:   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
                   3477:         CXXFLAGS="-g"
                   3478:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.15      paf      3479: /* end confdefs.h.  */
1.43      moko     3480: 
1.15      paf      3481: int
                   3482: main ()
                   3483: {
1.43      moko     3484: 
1.15      paf      3485:   ;
                   3486:   return 0;
                   3487: }
                   3488: _ACEOF
1.43      moko     3489: if ac_fn_cxx_try_compile "$LINENO"; then :
                   3490:   ac_cv_prog_cxx_g=yes
                   3491: fi
                   3492: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3493: fi
                   3494: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3495: fi
                   3496: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3497:    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
                   3498: fi
                   3499: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
                   3500: $as_echo "$ac_cv_prog_cxx_g" >&6; }
                   3501: if test "$ac_test_CXXFLAGS" = set; then
                   3502:   CXXFLAGS=$ac_save_CXXFLAGS
                   3503: elif test $ac_cv_prog_cxx_g = yes; then
                   3504:   if test "$GXX" = yes; then
                   3505:     CXXFLAGS="-g -O2"
                   3506:   else
                   3507:     CXXFLAGS="-g"
                   3508:   fi
1.15      paf      3509: else
1.43      moko     3510:   if test "$GXX" = yes; then
                   3511:     CXXFLAGS="-O2"
                   3512:   else
                   3513:     CXXFLAGS=
                   3514:   fi
1.15      paf      3515: fi
1.24      paf      3516: ac_ext=c
                   3517: ac_cpp='$CPP $CPPFLAGS'
                   3518: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3519: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3520: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.25      paf      3521: DEPDIR="${am__leading_dot}deps"
1.15      paf      3522: 
1.43      moko     3523: ac_config_commands="$ac_config_commands depfiles"
1.15      paf      3524: 
                   3525: 
                   3526: am_make=${MAKE-make}
                   3527: cat > confinc << 'END'
1.25      paf      3528: am__doit:
1.43      moko     3529:        @echo this is the am__doit target
1.25      paf      3530: .PHONY: am__doit
1.15      paf      3531: END
                   3532: # If we don't find an include directive, just comment out the code.
1.43      moko     3533: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
                   3534: $as_echo_n "checking for style of include used by $am_make... " >&6; }
1.15      paf      3535: am__include="#"
                   3536: am__quote=
                   3537: _am_result=none
                   3538: # First try GNU make style include.
                   3539: echo "include confinc" > confmf
1.43      moko     3540: # Ignore all kinds of additional output from `make'.
                   3541: case `$am_make -s -f confmf 2> /dev/null` in #(
                   3542: *the\ am__doit\ target*)
                   3543:   am__include=include
                   3544:   am__quote=
                   3545:   _am_result=GNU
                   3546:   ;;
                   3547: esac
1.15      paf      3548: # Now try BSD make style include.
                   3549: if test "$am__include" = "#"; then
                   3550:    echo '.include "confinc"' > confmf
1.43      moko     3551:    case `$am_make -s -f confmf 2> /dev/null` in #(
                   3552:    *the\ am__doit\ target*)
                   3553:      am__include=.include
                   3554:      am__quote="\""
                   3555:      _am_result=BSD
                   3556:      ;;
                   3557:    esac
1.15      paf      3558: fi
                   3559: 
                   3560: 
1.43      moko     3561: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
                   3562: $as_echo "$_am_result" >&6; }
1.15      paf      3563: rm -f confinc confmf
                   3564: 
1.43      moko     3565: # Check whether --enable-dependency-tracking was given.
                   3566: if test "${enable_dependency_tracking+set}" = set; then :
                   3567:   enableval=$enable_dependency_tracking;
                   3568: fi
1.15      paf      3569: 
                   3570: if test "x$enable_dependency_tracking" != xno; then
                   3571:   am_depcomp="$ac_aux_dir/depcomp"
                   3572:   AMDEPBACKSLASH='\'
                   3573: fi
1.43      moko     3574:  if test "x$enable_dependency_tracking" != xno; then
1.15      paf      3575:   AMDEP_TRUE=
                   3576:   AMDEP_FALSE='#'
                   3577: else
                   3578:   AMDEP_TRUE='#'
                   3579:   AMDEP_FALSE=
                   3580: fi
                   3581: 
                   3582: 
                   3583: 
                   3584: depcc="$CXX"  am_compiler_list=
                   3585: 
1.43      moko     3586: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   3587: $as_echo_n "checking dependency style of $depcc... " >&6; }
                   3588: if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
                   3589:   $as_echo_n "(cached) " >&6
1.15      paf      3590: else
                   3591:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   3592:   # We make a subdir and do the tests there.  Otherwise we can end up
                   3593:   # making bogus files that we don't know about and never remove.  For
                   3594:   # instance it was reported that on HP-UX the gcc test will end up
                   3595:   # making a dummy file named `D' -- because `-MD' means `put the output
                   3596:   # in D'.
                   3597:   mkdir conftest.dir
                   3598:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   3599:   # using a relative directory.
                   3600:   cp "$am_depcomp" conftest.dir
                   3601:   cd conftest.dir
1.25      paf      3602:   # We will build objects and dependencies in a subdirectory because
                   3603:   # it helps to detect inapplicable dependency modes.  For instance
                   3604:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   3605:   # side effect of compilation, but ICC will put the dependencies in
                   3606:   # the current directory while Tru64 will put them in the object
                   3607:   # directory.
                   3608:   mkdir sub
1.15      paf      3609: 
                   3610:   am_cv_CXX_dependencies_compiler_type=none
                   3611:   if test "$am_compiler_list" = ""; then
                   3612:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   3613:   fi
1.43      moko     3614:   am__universal=false
                   3615:   case " $depcc " in #(
                   3616:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   3617:      esac
                   3618: 
1.15      paf      3619:   for depmode in $am_compiler_list; do
1.25      paf      3620:     # Setup a source with many dependencies, because some compilers
                   3621:     # like to wrap large dependency lists on column 80 (with \), and
                   3622:     # we should not choose a depcomp mode which is confused by this.
                   3623:     #
1.15      paf      3624:     # We need to recreate these files for each test, as the compiler may
                   3625:     # overwrite some of them when testing with obscure command lines.
                   3626:     # This happens at least with the AIX C compiler.
1.25      paf      3627:     : > sub/conftest.c
                   3628:     for i in 1 2 3 4 5 6; do
                   3629:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   3630:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   3631:       # Solaris 8's {/usr,}/bin/sh.
                   3632:       touch sub/conftst$i.h
                   3633:     done
                   3634:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.15      paf      3635: 
1.43      moko     3636:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   3637:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   3638:     # handle `-M -o', and we need to detect this.  Also, some Intel
                   3639:     # versions had trouble with output in subdirs
                   3640:     am__obj=sub/conftest.${OBJEXT-o}
                   3641:     am__minus_obj="-o $am__obj"
1.15      paf      3642:     case $depmode in
1.43      moko     3643:     gcc)
                   3644:       # This depmode causes a compiler race in universal mode.
                   3645:       test "$am__universal" = false || continue
                   3646:       ;;
1.15      paf      3647:     nosideeffect)
                   3648:       # after this tag, mechanisms are not by side-effect, so they'll
                   3649:       # only be used when explicitly requested
                   3650:       if test "x$enable_dependency_tracking" = xyes; then
                   3651:        continue
                   3652:       else
                   3653:        break
                   3654:       fi
                   3655:       ;;
1.43      moko     3656:     msvisualcpp | msvcmsys)
                   3657:       # This compiler won't grok `-c -o', but also, the minuso test has
                   3658:       # not run yet.  These depmodes are late enough in the game, and
                   3659:       # so weak that their functioning should not be impacted.
                   3660:       am__obj=conftest.${OBJEXT-o}
                   3661:       am__minus_obj=
                   3662:       ;;
1.15      paf      3663:     none) break ;;
                   3664:     esac
                   3665:     if depmode=$depmode \
1.43      moko     3666:        source=sub/conftest.c object=$am__obj \
1.25      paf      3667:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.43      moko     3668:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1.25      paf      3669:          >/dev/null 2>conftest.err &&
1.43      moko     3670:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1.25      paf      3671:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.43      moko     3672:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1.15      paf      3673:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.25      paf      3674:       # icc doesn't choke on unknown options, it will just issue warnings
                   3675:       # or remarks (even with -Werror).  So we grep stderr for any message
                   3676:       # that says an option was ignored or not supported.
                   3677:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   3678:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   3679:       # The diagnosis changed in icc 8.0:
                   3680:       #   icc: Command line remark: option '-MP' not supported
                   3681:       if (grep 'ignoring option' conftest.err ||
                   3682:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   3683:         am_cv_CXX_dependencies_compiler_type=$depmode
                   3684:         break
                   3685:       fi
1.15      paf      3686:     fi
                   3687:   done
                   3688: 
                   3689:   cd ..
                   3690:   rm -rf conftest.dir
                   3691: else
                   3692:   am_cv_CXX_dependencies_compiler_type=none
                   3693: fi
                   3694: 
                   3695: fi
1.43      moko     3696: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
                   3697: $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
1.15      paf      3698: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
                   3699: 
1.43      moko     3700:  if
1.15      paf      3701:   test "x$enable_dependency_tracking" != xno \
                   3702:   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
                   3703:   am__fastdepCXX_TRUE=
                   3704:   am__fastdepCXX_FALSE='#'
                   3705: else
                   3706:   am__fastdepCXX_TRUE='#'
                   3707:   am__fastdepCXX_FALSE=
                   3708: fi
                   3709: 
1.1       parser   3710: 
1.15      paf      3711: ac_ext=c
                   3712: ac_cpp='$CPP $CPPFLAGS'
                   3713: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3714: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3715: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3716: if test -n "$ac_tool_prefix"; then
                   3717:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   3718: set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.43      moko     3719: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3720: $as_echo_n "checking for $ac_word... " >&6; }
                   3721: if ${ac_cv_prog_CC+:} false; then :
                   3722:   $as_echo_n "(cached) " >&6
1.15      paf      3723: else
                   3724:   if test -n "$CC"; then
                   3725:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3726: else
                   3727: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3728: for as_dir in $PATH
                   3729: do
                   3730:   IFS=$as_save_IFS
                   3731:   test -z "$as_dir" && as_dir=.
1.43      moko     3732:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     3733:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.15      paf      3734:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.43      moko     3735:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.15      paf      3736:     break 2
                   3737:   fi
                   3738: done
1.43      moko     3739:   done
                   3740: IFS=$as_save_IFS
1.1       parser   3741: 
1.15      paf      3742: fi
                   3743: fi
                   3744: CC=$ac_cv_prog_CC
                   3745: if test -n "$CC"; then
1.43      moko     3746:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3747: $as_echo "$CC" >&6; }
1.15      paf      3748: else
1.43      moko     3749:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3750: $as_echo "no" >&6; }
1.15      paf      3751: fi
1.1       parser   3752: 
1.43      moko     3753: 
1.15      paf      3754: fi
                   3755: if test -z "$ac_cv_prog_CC"; then
                   3756:   ac_ct_CC=$CC
                   3757:   # Extract the first word of "gcc", so it can be a program name with args.
                   3758: set dummy gcc; ac_word=$2
1.43      moko     3759: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3760: $as_echo_n "checking for $ac_word... " >&6; }
                   3761: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   3762:   $as_echo_n "(cached) " >&6
1.1       parser   3763: else
1.15      paf      3764:   if test -n "$ac_ct_CC"; then
                   3765:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.1       parser   3766: else
1.15      paf      3767: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3768: for as_dir in $PATH
                   3769: do
                   3770:   IFS=$as_save_IFS
                   3771:   test -z "$as_dir" && as_dir=.
1.43      moko     3772:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     3773:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.15      paf      3774:     ac_cv_prog_ac_ct_CC="gcc"
1.43      moko     3775:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.15      paf      3776:     break 2
                   3777:   fi
                   3778: done
1.43      moko     3779:   done
                   3780: IFS=$as_save_IFS
1.15      paf      3781: 
                   3782: fi
1.1       parser   3783: fi
1.15      paf      3784: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3785: if test -n "$ac_ct_CC"; then
1.43      moko     3786:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   3787: $as_echo "$ac_ct_CC" >&6; }
1.15      paf      3788: else
1.43      moko     3789:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3790: $as_echo "no" >&6; }
1.1       parser   3791: fi
1.15      paf      3792: 
1.43      moko     3793:   if test "x$ac_ct_CC" = x; then
                   3794:     CC=""
                   3795:   else
                   3796:     case $cross_compiling:$ac_tool_warned in
                   3797: yes:)
                   3798: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3799: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3800: ac_tool_warned=yes ;;
                   3801: esac
                   3802:     CC=$ac_ct_CC
                   3803:   fi
1.1       parser   3804: else
1.15      paf      3805:   CC="$ac_cv_prog_CC"
1.1       parser   3806: fi
                   3807: 
1.15      paf      3808: if test -z "$CC"; then
1.43      moko     3809:           if test -n "$ac_tool_prefix"; then
                   3810:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1.15      paf      3811: set dummy ${ac_tool_prefix}cc; ac_word=$2
1.43      moko     3812: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3813: $as_echo_n "checking for $ac_word... " >&6; }
                   3814: if ${ac_cv_prog_CC+:} false; then :
                   3815:   $as_echo_n "(cached) " >&6
1.1       parser   3816: else
                   3817:   if test -n "$CC"; then
                   3818:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3819: else
1.15      paf      3820: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3821: for as_dir in $PATH
                   3822: do
                   3823:   IFS=$as_save_IFS
                   3824:   test -z "$as_dir" && as_dir=.
1.43      moko     3825:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     3826:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.15      paf      3827:     ac_cv_prog_CC="${ac_tool_prefix}cc"
1.43      moko     3828:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.15      paf      3829:     break 2
                   3830:   fi
                   3831: done
1.43      moko     3832:   done
                   3833: IFS=$as_save_IFS
1.15      paf      3834: 
1.1       parser   3835: fi
                   3836: fi
1.15      paf      3837: CC=$ac_cv_prog_CC
1.1       parser   3838: if test -n "$CC"; then
1.43      moko     3839:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3840: $as_echo "$CC" >&6; }
1.15      paf      3841: else
1.43      moko     3842:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3843: $as_echo "no" >&6; }
1.15      paf      3844: fi
                   3845: 
1.43      moko     3846: 
1.15      paf      3847:   fi
                   3848: fi
1.1       parser   3849: if test -z "$CC"; then
                   3850:   # Extract the first word of "cc", so it can be a program name with args.
                   3851: set dummy cc; ac_word=$2
1.43      moko     3852: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3853: $as_echo_n "checking for $ac_word... " >&6; }
                   3854: if ${ac_cv_prog_CC+:} false; then :
                   3855:   $as_echo_n "(cached) " >&6
1.1       parser   3856: else
                   3857:   if test -n "$CC"; then
                   3858:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3859: else
                   3860:   ac_prog_rejected=no
1.15      paf      3861: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3862: for as_dir in $PATH
                   3863: do
                   3864:   IFS=$as_save_IFS
                   3865:   test -z "$as_dir" && as_dir=.
1.43      moko     3866:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     3867:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.15      paf      3868:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   3869:        ac_prog_rejected=yes
                   3870:        continue
                   3871:      fi
                   3872:     ac_cv_prog_CC="cc"
1.43      moko     3873:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.15      paf      3874:     break 2
                   3875:   fi
                   3876: done
1.43      moko     3877:   done
                   3878: IFS=$as_save_IFS
1.15      paf      3879: 
1.1       parser   3880: if test $ac_prog_rejected = yes; then
                   3881:   # We found a bogon in the path, so make sure we never use it.
                   3882:   set dummy $ac_cv_prog_CC
                   3883:   shift
1.15      paf      3884:   if test $# != 0; then
1.1       parser   3885:     # We chose a different compiler from the bogus one.
                   3886:     # However, it has the same basename, so the bogon will be chosen
                   3887:     # first if we set CC to just the basename; use the full file name.
                   3888:     shift
1.15      paf      3889:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1.1       parser   3890:   fi
                   3891: fi
                   3892: fi
                   3893: fi
1.15      paf      3894: CC=$ac_cv_prog_CC
1.1       parser   3895: if test -n "$CC"; then
1.43      moko     3896:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3897: $as_echo "$CC" >&6; }
1.1       parser   3898: else
1.43      moko     3899:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3900: $as_echo "no" >&6; }
1.1       parser   3901: fi
                   3902: 
1.43      moko     3903: 
1.15      paf      3904: fi
                   3905: if test -z "$CC"; then
                   3906:   if test -n "$ac_tool_prefix"; then
1.43      moko     3907:   for ac_prog in cl.exe
1.15      paf      3908:   do
                   3909:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3910: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.43      moko     3911: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3912: $as_echo_n "checking for $ac_word... " >&6; }
                   3913: if ${ac_cv_prog_CC+:} false; then :
                   3914:   $as_echo_n "(cached) " >&6
1.1       parser   3915: else
                   3916:   if test -n "$CC"; then
                   3917:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3918: else
1.15      paf      3919: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3920: for as_dir in $PATH
                   3921: do
                   3922:   IFS=$as_save_IFS
                   3923:   test -z "$as_dir" && as_dir=.
1.43      moko     3924:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     3925:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.15      paf      3926:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.43      moko     3927:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.15      paf      3928:     break 2
                   3929:   fi
                   3930: done
1.43      moko     3931:   done
                   3932: IFS=$as_save_IFS
1.15      paf      3933: 
1.1       parser   3934: fi
                   3935: fi
1.15      paf      3936: CC=$ac_cv_prog_CC
1.1       parser   3937: if test -n "$CC"; then
1.43      moko     3938:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3939: $as_echo "$CC" >&6; }
1.1       parser   3940: else
1.43      moko     3941:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3942: $as_echo "no" >&6; }
1.15      paf      3943: fi
                   3944: 
1.43      moko     3945: 
1.15      paf      3946:     test -n "$CC" && break
                   3947:   done
1.1       parser   3948: fi
1.15      paf      3949: if test -z "$CC"; then
                   3950:   ac_ct_CC=$CC
1.43      moko     3951:   for ac_prog in cl.exe
1.15      paf      3952: do
                   3953:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3954: set dummy $ac_prog; ac_word=$2
1.43      moko     3955: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3956: $as_echo_n "checking for $ac_word... " >&6; }
                   3957: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   3958:   $as_echo_n "(cached) " >&6
1.15      paf      3959: else
                   3960:   if test -n "$ac_ct_CC"; then
                   3961:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3962: else
                   3963: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3964: for as_dir in $PATH
                   3965: do
                   3966:   IFS=$as_save_IFS
                   3967:   test -z "$as_dir" && as_dir=.
1.43      moko     3968:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     3969:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.15      paf      3970:     ac_cv_prog_ac_ct_CC="$ac_prog"
1.43      moko     3971:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.15      paf      3972:     break 2
1.1       parser   3973:   fi
1.15      paf      3974: done
1.43      moko     3975:   done
                   3976: IFS=$as_save_IFS
1.15      paf      3977: 
                   3978: fi
                   3979: fi
                   3980: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3981: if test -n "$ac_ct_CC"; then
1.43      moko     3982:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   3983: $as_echo "$ac_ct_CC" >&6; }
1.15      paf      3984: else
1.43      moko     3985:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3986: $as_echo "no" >&6; }
1.1       parser   3987: fi
                   3988: 
1.43      moko     3989: 
1.15      paf      3990:   test -n "$ac_ct_CC" && break
                   3991: done
1.1       parser   3992: 
1.43      moko     3993:   if test "x$ac_ct_CC" = x; then
                   3994:     CC=""
                   3995:   else
                   3996:     case $cross_compiling:$ac_tool_warned in
                   3997: yes:)
                   3998: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3999: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   4000: ac_tool_warned=yes ;;
                   4001: esac
                   4002:     CC=$ac_ct_CC
                   4003:   fi
1.15      paf      4004: fi
1.1       parser   4005: 
1.15      paf      4006: fi
1.1       parser   4007: 
                   4008: 
1.43      moko     4009: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   4010: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   4011: as_fn_error $? "no acceptable C compiler found in \$PATH
                   4012: See \`config.log' for more details" "$LINENO" 5; }
1.15      paf      4013: 
                   4014: # Provide some information about the compiler.
1.43      moko     4015: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
                   4016: set X $ac_compile
                   4017: ac_compiler=$2
                   4018: for ac_option in --version -v -V -qversion; do
                   4019:   { { ac_try="$ac_compiler $ac_option >&5"
                   4020: case "(($ac_try" in
                   4021:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4022:   *) ac_try_echo=$ac_try;;
                   4023: esac
                   4024: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4025: $as_echo "$ac_try_echo"; } >&5
                   4026:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.15      paf      4027:   ac_status=$?
1.43      moko     4028:   if test -s conftest.err; then
                   4029:     sed '10a\
                   4030: ... rest of stderr output deleted ...
                   4031:          10q' conftest.err >conftest.er1
                   4032:     cat conftest.er1 >&5
                   4033:   fi
                   4034:   rm -f conftest.er1 conftest.err
                   4035:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4036:   test $ac_status = 0; }
                   4037: done
                   4038: 
                   4039: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
                   4040: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
                   4041: if ${ac_cv_c_compiler_gnu+:} false; then :
                   4042:   $as_echo_n "(cached) " >&6
1.15      paf      4043: else
1.43      moko     4044:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.15      paf      4045: /* end confdefs.h.  */
                   4046: 
                   4047: int
                   4048: main ()
                   4049: {
                   4050: #ifndef __GNUC__
                   4051:        choke me
1.1       parser   4052: #endif
                   4053: 
1.15      paf      4054:   ;
                   4055:   return 0;
                   4056: }
                   4057: _ACEOF
1.43      moko     4058: if ac_fn_c_try_compile "$LINENO"; then :
1.15      paf      4059:   ac_compiler_gnu=yes
                   4060: else
1.43      moko     4061:   ac_compiler_gnu=no
1.15      paf      4062: fi
1.43      moko     4063: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.15      paf      4064: ac_cv_c_compiler_gnu=$ac_compiler_gnu
                   4065: 
                   4066: fi
1.43      moko     4067: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
                   4068: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
                   4069: if test $ac_compiler_gnu = yes; then
                   4070:   GCC=yes
                   4071: else
                   4072:   GCC=
                   4073: fi
1.15      paf      4074: ac_test_CFLAGS=${CFLAGS+set}
                   4075: ac_save_CFLAGS=$CFLAGS
1.43      moko     4076: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
                   4077: $as_echo_n "checking whether $CC accepts -g... " >&6; }
                   4078: if ${ac_cv_prog_cc_g+:} false; then :
                   4079:   $as_echo_n "(cached) " >&6
                   4080: else
                   4081:   ac_save_c_werror_flag=$ac_c_werror_flag
                   4082:    ac_c_werror_flag=yes
                   4083:    ac_cv_prog_cc_g=no
                   4084:    CFLAGS="-g"
                   4085:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4086: /* end confdefs.h.  */
                   4087: 
                   4088: int
                   4089: main ()
                   4090: {
                   4091: 
                   4092:   ;
                   4093:   return 0;
                   4094: }
                   4095: _ACEOF
                   4096: if ac_fn_c_try_compile "$LINENO"; then :
                   4097:   ac_cv_prog_cc_g=yes
1.15      paf      4098: else
1.43      moko     4099:   CFLAGS=""
                   4100:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4101: /* end confdefs.h.  */
                   4102: 
                   4103: int
                   4104: main ()
                   4105: {
                   4106: 
                   4107:   ;
                   4108:   return 0;
                   4109: }
1.15      paf      4110: _ACEOF
1.43      moko     4111: if ac_fn_c_try_compile "$LINENO"; then :
                   4112: 
                   4113: else
                   4114:   ac_c_werror_flag=$ac_save_c_werror_flag
                   4115:         CFLAGS="-g"
                   4116:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.15      paf      4117: /* end confdefs.h.  */
                   4118: 
                   4119: int
                   4120: main ()
                   4121: {
                   4122: 
                   4123:   ;
                   4124:   return 0;
                   4125: }
                   4126: _ACEOF
1.43      moko     4127: if ac_fn_c_try_compile "$LINENO"; then :
1.15      paf      4128:   ac_cv_prog_cc_g=yes
1.1       parser   4129: fi
1.43      moko     4130: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4131: fi
                   4132: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4133: fi
                   4134: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4135:    ac_c_werror_flag=$ac_save_c_werror_flag
1.1       parser   4136: fi
1.43      moko     4137: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
                   4138: $as_echo "$ac_cv_prog_cc_g" >&6; }
1.1       parser   4139: if test "$ac_test_CFLAGS" = set; then
1.15      paf      4140:   CFLAGS=$ac_save_CFLAGS
1.1       parser   4141: elif test $ac_cv_prog_cc_g = yes; then
                   4142:   if test "$GCC" = yes; then
                   4143:     CFLAGS="-g -O2"
                   4144:   else
                   4145:     CFLAGS="-g"
                   4146:   fi
                   4147: else
                   4148:   if test "$GCC" = yes; then
                   4149:     CFLAGS="-O2"
                   4150:   else
                   4151:     CFLAGS=
                   4152:   fi
                   4153: fi
1.43      moko     4154: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
                   4155: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
                   4156: if ${ac_cv_prog_cc_c89+:} false; then :
                   4157:   $as_echo_n "(cached) " >&6
1.15      paf      4158: else
1.43      moko     4159:   ac_cv_prog_cc_c89=no
1.15      paf      4160: ac_save_CC=$CC
1.43      moko     4161: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.15      paf      4162: /* end confdefs.h.  */
                   4163: #include <stdarg.h>
                   4164: #include <stdio.h>
1.49      moko     4165: struct stat;
1.15      paf      4166: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   4167: struct buf { int x; };
                   4168: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   4169: static char *e (p, i)
                   4170:      char **p;
                   4171:      int i;
                   4172: {
                   4173:   return p[i];
                   4174: }
                   4175: static char *f (char * (*g) (char **, int), char **p, ...)
                   4176: {
                   4177:   char *s;
                   4178:   va_list v;
                   4179:   va_start (v,p);
                   4180:   s = g (p, va_arg (v,int));
                   4181:   va_end (v);
                   4182:   return s;
                   4183: }
1.25      paf      4184: 
                   4185: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   4186:    function prototypes and stuff, but not '\xHH' hex character constants.
                   4187:    These don't provoke an error unfortunately, instead are silently treated
1.43      moko     4188:    as 'x'.  The following induces an error, until -std is added to get
1.25      paf      4189:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   4190:    array size at least.  It's necessary to write '\x00'==0 to get something
1.43      moko     4191:    that's true only with -std.  */
1.25      paf      4192: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   4193: 
1.43      moko     4194: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
                   4195:    inside strings and character constants.  */
                   4196: #define FOO(x) 'x'
                   4197: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
                   4198: 
1.15      paf      4199: int test (int i, double x);
                   4200: struct s1 {int (*f) (int a);};
                   4201: struct s2 {int (*f) (double a);};
                   4202: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   4203: int argc;
                   4204: char **argv;
                   4205: int
                   4206: main ()
                   4207: {
                   4208: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   4209:   ;
                   4210:   return 0;
                   4211: }
                   4212: _ACEOF
1.43      moko     4213: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
                   4214:        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.15      paf      4215: do
                   4216:   CC="$ac_save_CC $ac_arg"
1.43      moko     4217:   if ac_fn_c_try_compile "$LINENO"; then :
                   4218:   ac_cv_prog_cc_c89=$ac_arg
1.15      paf      4219: fi
1.43      moko     4220: rm -f core conftest.err conftest.$ac_objext
                   4221:   test "x$ac_cv_prog_cc_c89" != "xno" && break
1.15      paf      4222: done
1.43      moko     4223: rm -f conftest.$ac_ext
1.15      paf      4224: CC=$ac_save_CC
                   4225: 
                   4226: fi
1.43      moko     4227: # AC_CACHE_VAL
                   4228: case "x$ac_cv_prog_cc_c89" in
                   4229:   x)
                   4230:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   4231: $as_echo "none needed" >&6; } ;;
                   4232:   xno)
                   4233:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   4234: $as_echo "unsupported" >&6; } ;;
1.15      paf      4235:   *)
1.43      moko     4236:     CC="$CC $ac_cv_prog_cc_c89"
                   4237:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
                   4238: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
1.15      paf      4239: esac
1.43      moko     4240: if test "x$ac_cv_prog_cc_c89" != xno; then :
1.15      paf      4241: 
                   4242: fi
                   4243: 
1.24      paf      4244: ac_ext=c
                   4245: ac_cpp='$CPP $CPPFLAGS'
                   4246: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4247: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4248: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.15      paf      4249: 
                   4250: depcc="$CC"   am_compiler_list=
                   4251: 
1.43      moko     4252: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   4253: $as_echo_n "checking dependency style of $depcc... " >&6; }
                   4254: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
                   4255:   $as_echo_n "(cached) " >&6
1.15      paf      4256: else
                   4257:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   4258:   # We make a subdir and do the tests there.  Otherwise we can end up
                   4259:   # making bogus files that we don't know about and never remove.  For
                   4260:   # instance it was reported that on HP-UX the gcc test will end up
                   4261:   # making a dummy file named `D' -- because `-MD' means `put the output
                   4262:   # in D'.
                   4263:   mkdir conftest.dir
                   4264:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   4265:   # using a relative directory.
                   4266:   cp "$am_depcomp" conftest.dir
                   4267:   cd conftest.dir
1.25      paf      4268:   # We will build objects and dependencies in a subdirectory because
                   4269:   # it helps to detect inapplicable dependency modes.  For instance
                   4270:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   4271:   # side effect of compilation, but ICC will put the dependencies in
                   4272:   # the current directory while Tru64 will put them in the object
                   4273:   # directory.
                   4274:   mkdir sub
1.15      paf      4275: 
                   4276:   am_cv_CC_dependencies_compiler_type=none
                   4277:   if test "$am_compiler_list" = ""; then
                   4278:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   4279:   fi
1.43      moko     4280:   am__universal=false
                   4281:   case " $depcc " in #(
                   4282:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   4283:      esac
                   4284: 
1.15      paf      4285:   for depmode in $am_compiler_list; do
1.25      paf      4286:     # Setup a source with many dependencies, because some compilers
                   4287:     # like to wrap large dependency lists on column 80 (with \), and
                   4288:     # we should not choose a depcomp mode which is confused by this.
                   4289:     #
1.15      paf      4290:     # We need to recreate these files for each test, as the compiler may
                   4291:     # overwrite some of them when testing with obscure command lines.
                   4292:     # This happens at least with the AIX C compiler.
1.25      paf      4293:     : > sub/conftest.c
                   4294:     for i in 1 2 3 4 5 6; do
                   4295:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   4296:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   4297:       # Solaris 8's {/usr,}/bin/sh.
                   4298:       touch sub/conftst$i.h
                   4299:     done
                   4300:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.15      paf      4301: 
1.43      moko     4302:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   4303:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   4304:     # handle `-M -o', and we need to detect this.  Also, some Intel
                   4305:     # versions had trouble with output in subdirs
                   4306:     am__obj=sub/conftest.${OBJEXT-o}
                   4307:     am__minus_obj="-o $am__obj"
1.15      paf      4308:     case $depmode in
1.43      moko     4309:     gcc)
                   4310:       # This depmode causes a compiler race in universal mode.
                   4311:       test "$am__universal" = false || continue
                   4312:       ;;
1.15      paf      4313:     nosideeffect)
                   4314:       # after this tag, mechanisms are not by side-effect, so they'll
                   4315:       # only be used when explicitly requested
                   4316:       if test "x$enable_dependency_tracking" = xyes; then
                   4317:        continue
                   4318:       else
                   4319:        break
                   4320:       fi
                   4321:       ;;
1.43      moko     4322:     msvisualcpp | msvcmsys)
                   4323:       # This compiler won't grok `-c -o', but also, the minuso test has
                   4324:       # not run yet.  These depmodes are late enough in the game, and
                   4325:       # so weak that their functioning should not be impacted.
                   4326:       am__obj=conftest.${OBJEXT-o}
                   4327:       am__minus_obj=
                   4328:       ;;
1.15      paf      4329:     none) break ;;
                   4330:     esac
                   4331:     if depmode=$depmode \
1.43      moko     4332:        source=sub/conftest.c object=$am__obj \
1.25      paf      4333:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.43      moko     4334:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1.25      paf      4335:          >/dev/null 2>conftest.err &&
1.43      moko     4336:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1.25      paf      4337:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.43      moko     4338:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1.15      paf      4339:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.25      paf      4340:       # icc doesn't choke on unknown options, it will just issue warnings
                   4341:       # or remarks (even with -Werror).  So we grep stderr for any message
                   4342:       # that says an option was ignored or not supported.
                   4343:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   4344:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   4345:       # The diagnosis changed in icc 8.0:
                   4346:       #   icc: Command line remark: option '-MP' not supported
                   4347:       if (grep 'ignoring option' conftest.err ||
                   4348:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   4349:         am_cv_CC_dependencies_compiler_type=$depmode
                   4350:         break
                   4351:       fi
1.15      paf      4352:     fi
                   4353:   done
                   4354: 
                   4355:   cd ..
                   4356:   rm -rf conftest.dir
                   4357: else
                   4358:   am_cv_CC_dependencies_compiler_type=none
                   4359: fi
                   4360: 
                   4361: fi
1.43      moko     4362: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
                   4363: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
1.15      paf      4364: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   4365: 
1.43      moko     4366:  if
1.15      paf      4367:   test "x$enable_dependency_tracking" != xno \
                   4368:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   4369:   am__fastdepCC_TRUE=
                   4370:   am__fastdepCC_FALSE='#'
                   4371: else
                   4372:   am__fastdepCC_TRUE='#'
                   4373:   am__fastdepCC_FALSE=
                   4374: fi
                   4375: 
                   4376: 
1.24      paf      4377: 
1.35      moko     4378: 
1.36      moko     4379: 
                   4380: 
                   4381: 
                   4382: 
                   4383: 
                   4384: 
1.35      moko     4385: case `pwd` in
                   4386:   *\ * | *\    *)
1.43      moko     4387:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
                   4388: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
1.35      moko     4389: esac
                   4390: 
                   4391: 
                   4392: 
                   4393: macro_version='2.4.2'
                   4394: macro_revision='1.3337'
                   4395: 
                   4396: 
                   4397: 
                   4398: 
                   4399: 
                   4400: 
                   4401: 
1.24      paf      4402: 
                   4403: 
                   4404: 
                   4405: 
                   4406: 
                   4407: 
1.35      moko     4408: ltmain="$ac_aux_dir/ltmain.sh"
1.24      paf      4409: 
                   4410: # Make sure we can run config.sub.
1.43      moko     4411: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
                   4412:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1.24      paf      4413: 
1.43      moko     4414: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
                   4415: $as_echo_n "checking build system type... " >&6; }
                   4416: if ${ac_cv_build+:} false; then :
                   4417:   $as_echo_n "(cached) " >&6
                   4418: else
                   4419:   ac_build_alias=$build_alias
                   4420: test "x$ac_build_alias" = x &&
                   4421:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
                   4422: test "x$ac_build_alias" = x &&
                   4423:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
                   4424: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
                   4425:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
                   4426: 
                   4427: fi
                   4428: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
                   4429: $as_echo "$ac_cv_build" >&6; }
                   4430: case $ac_cv_build in
                   4431: *-*-*) ;;
                   4432: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
                   4433: esac
                   4434: build=$ac_cv_build
                   4435: ac_save_IFS=$IFS; IFS='-'
                   4436: set x $ac_cv_build
                   4437: shift
                   4438: build_cpu=$1
                   4439: build_vendor=$2
                   4440: shift; shift
                   4441: # Remember, the first character of IFS is used to create $*,
                   4442: # except with old shells:
                   4443: build_os=$*
                   4444: IFS=$ac_save_IFS
                   4445: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
                   4446: 
                   4447: 
                   4448: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
                   4449: $as_echo_n "checking host system type... " >&6; }
                   4450: if ${ac_cv_host+:} false; then :
                   4451:   $as_echo_n "(cached) " >&6
                   4452: else
                   4453:   if test "x$host_alias" = x; then
                   4454:   ac_cv_host=$ac_cv_build
                   4455: else
                   4456:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
                   4457:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1.24      paf      4458: fi
                   4459: 
                   4460: fi
1.43      moko     4461: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
                   4462: $as_echo "$ac_cv_host" >&6; }
                   4463: case $ac_cv_host in
                   4464: *-*-*) ;;
                   4465: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
                   4466: esac
1.24      paf      4467: host=$ac_cv_host
1.43      moko     4468: ac_save_IFS=$IFS; IFS='-'
                   4469: set x $ac_cv_host
                   4470: shift
                   4471: host_cpu=$1
                   4472: host_vendor=$2
                   4473: shift; shift
                   4474: # Remember, the first character of IFS is used to create $*,
                   4475: # except with old shells:
                   4476: host_os=$*
                   4477: IFS=$ac_save_IFS
                   4478: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1.24      paf      4479: 
                   4480: 
1.35      moko     4481: # Backslashify metacharacters that are still active within
                   4482: # double-quoted strings.
                   4483: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
                   4484: 
                   4485: # Same as above, but do not quote variable references.
                   4486: double_quote_subst='s/\(["`\\]\)/\\\1/g'
                   4487: 
                   4488: # Sed substitution to delay expansion of an escaped shell variable in a
                   4489: # double_quote_subst'ed string.
                   4490: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
                   4491: 
                   4492: # Sed substitution to delay expansion of an escaped single quote.
                   4493: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
1.15      paf      4494: 
1.35      moko     4495: # Sed substitution to avoid accidental globbing in evaled expressions
                   4496: no_glob_subst='s/\*/\\\*/g'
1.1       parser   4497: 
1.35      moko     4498: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   4499: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
                   4500: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
                   4501: 
1.43      moko     4502: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
                   4503: $as_echo_n "checking how to print strings... " >&6; }
1.35      moko     4504: # Test print first, because it will be a builtin if present.
                   4505: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
                   4506:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
                   4507:   ECHO='print -r --'
                   4508: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
                   4509:   ECHO='printf %s\n'
1.1       parser   4510: else
1.35      moko     4511:   # Use this function as a fallback that always works.
                   4512:   func_fallback_echo ()
                   4513:   {
                   4514:     eval 'cat <<_LTECHO_EOF
                   4515: $1
                   4516: _LTECHO_EOF'
                   4517:   }
                   4518:   ECHO='func_fallback_echo'
1.1       parser   4519: fi
1.35      moko     4520: 
                   4521: # func_echo_all arg...
                   4522: # Invoke $ECHO with all args, space-separated.
                   4523: func_echo_all ()
                   4524: {
                   4525:     $ECHO ""
                   4526: }
                   4527: 
                   4528: case "$ECHO" in
1.43      moko     4529:   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
                   4530: $as_echo "printf" >&6; } ;;
                   4531:   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
                   4532: $as_echo "print -r" >&6; } ;;
                   4533:   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
                   4534: $as_echo "cat" >&6; } ;;
1.35      moko     4535: esac
                   4536: 
                   4537: 
                   4538: 
                   4539: 
                   4540: 
                   4541: 
                   4542: 
                   4543: 
                   4544: 
                   4545: 
                   4546: 
                   4547: 
                   4548: 
                   4549: 
1.43      moko     4550: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
                   4551: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
                   4552: if ${ac_cv_path_SED+:} false; then :
                   4553:   $as_echo_n "(cached) " >&6
                   4554: else
                   4555:             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
                   4556:      for ac_i in 1 2 3 4 5 6 7; do
                   4557:        ac_script="$ac_script$as_nl$ac_script"
                   4558:      done
                   4559:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
                   4560:      { ac_script=; unset ac_script;}
                   4561:      if test -z "$SED"; then
                   4562:   ac_path_SED_found=false
                   4563:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4564:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.35      moko     4565: for as_dir in $PATH
                   4566: do
                   4567:   IFS=$as_save_IFS
                   4568:   test -z "$as_dir" && as_dir=.
1.43      moko     4569:     for ac_prog in sed gsed; do
1.35      moko     4570:     for ac_exec_ext in '' $ac_executable_extensions; do
1.43      moko     4571:       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
1.49      moko     4572:       as_fn_executable_p "$ac_path_SED" || continue
1.43      moko     4573: # Check for GNU ac_path_SED and select it if it is found.
                   4574:   # Check for GNU $ac_path_SED
                   4575: case `"$ac_path_SED" --version 2>&1` in
                   4576: *GNU*)
                   4577:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
                   4578: *)
                   4579:   ac_count=0
                   4580:   $as_echo_n 0123456789 >"conftest.in"
                   4581:   while :
                   4582:   do
                   4583:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4584:     mv "conftest.tmp" "conftest.in"
                   4585:     cp "conftest.in" "conftest.nl"
                   4586:     $as_echo '' >> "conftest.nl"
                   4587:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4588:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4589:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4590:     if test $ac_count -gt ${ac_path_SED_max-0}; then
                   4591:       # Best one so far, save it but keep looking for a better one
                   4592:       ac_cv_path_SED="$ac_path_SED"
                   4593:       ac_path_SED_max=$ac_count
                   4594:     fi
                   4595:     # 10*(2^10) chars as input seems more than enough
                   4596:     test $ac_count -gt 10 && break
                   4597:   done
                   4598:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4599: esac
                   4600: 
                   4601:       $ac_path_SED_found && break 3
1.35      moko     4602:     done
                   4603:   done
1.43      moko     4604:   done
1.35      moko     4605: IFS=$as_save_IFS
1.43      moko     4606:   if test -z "$ac_cv_path_SED"; then
                   4607:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
1.35      moko     4608:   fi
1.43      moko     4609: else
                   4610:   ac_cv_path_SED=$SED
                   4611: fi
1.35      moko     4612: 
                   4613: fi
1.43      moko     4614: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
                   4615: $as_echo "$ac_cv_path_SED" >&6; }
                   4616:  SED="$ac_cv_path_SED"
                   4617:   rm -f conftest.sed
1.35      moko     4618: 
                   4619: test -z "$SED" && SED=sed
                   4620: Xsed="$SED -e 1s/^X//"
                   4621: 
                   4622: 
                   4623: 
                   4624: 
                   4625: 
                   4626: 
                   4627: 
                   4628: 
                   4629: 
                   4630: 
                   4631: 
1.43      moko     4632: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
                   4633: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
                   4634: if ${ac_cv_path_GREP+:} false; then :
                   4635:   $as_echo_n "(cached) " >&6
                   4636: else
                   4637:   if test -z "$GREP"; then
                   4638:   ac_path_GREP_found=false
                   4639:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4640:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4641: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   4642: do
                   4643:   IFS=$as_save_IFS
                   4644:   test -z "$as_dir" && as_dir=.
                   4645:     for ac_prog in grep ggrep; do
                   4646:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4647:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
1.49      moko     4648:       as_fn_executable_p "$ac_path_GREP" || continue
1.43      moko     4649: # Check for GNU ac_path_GREP and select it if it is found.
                   4650:   # Check for GNU $ac_path_GREP
                   4651: case `"$ac_path_GREP" --version 2>&1` in
                   4652: *GNU*)
                   4653:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
                   4654: *)
                   4655:   ac_count=0
                   4656:   $as_echo_n 0123456789 >"conftest.in"
                   4657:   while :
                   4658:   do
                   4659:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4660:     mv "conftest.tmp" "conftest.in"
                   4661:     cp "conftest.in" "conftest.nl"
                   4662:     $as_echo 'GREP' >> "conftest.nl"
                   4663:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4664:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4665:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4666:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
                   4667:       # Best one so far, save it but keep looking for a better one
                   4668:       ac_cv_path_GREP="$ac_path_GREP"
                   4669:       ac_path_GREP_max=$ac_count
1.35      moko     4670:     fi
1.43      moko     4671:     # 10*(2^10) chars as input seems more than enough
                   4672:     test $ac_count -gt 10 && break
                   4673:   done
                   4674:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4675: esac
                   4676: 
                   4677:       $ac_path_GREP_found && break 3
                   4678:     done
                   4679:   done
                   4680:   done
                   4681: IFS=$as_save_IFS
                   4682:   if test -z "$ac_cv_path_GREP"; then
                   4683:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   4684:   fi
                   4685: else
                   4686:   ac_cv_path_GREP=$GREP
                   4687: fi
                   4688: 
1.35      moko     4689: fi
1.43      moko     4690: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
                   4691: $as_echo "$ac_cv_path_GREP" >&6; }
                   4692:  GREP="$ac_cv_path_GREP"
                   4693: 
                   4694: 
                   4695: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
                   4696: $as_echo_n "checking for egrep... " >&6; }
                   4697: if ${ac_cv_path_EGREP+:} false; then :
                   4698:   $as_echo_n "(cached) " >&6
                   4699: else
                   4700:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
                   4701:    then ac_cv_path_EGREP="$GREP -E"
                   4702:    else
                   4703:      if test -z "$EGREP"; then
                   4704:   ac_path_EGREP_found=false
                   4705:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4706:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4707: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   4708: do
                   4709:   IFS=$as_save_IFS
                   4710:   test -z "$as_dir" && as_dir=.
                   4711:     for ac_prog in egrep; do
                   4712:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4713:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
1.49      moko     4714:       as_fn_executable_p "$ac_path_EGREP" || continue
1.43      moko     4715: # Check for GNU ac_path_EGREP and select it if it is found.
                   4716:   # Check for GNU $ac_path_EGREP
                   4717: case `"$ac_path_EGREP" --version 2>&1` in
                   4718: *GNU*)
                   4719:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
                   4720: *)
                   4721:   ac_count=0
                   4722:   $as_echo_n 0123456789 >"conftest.in"
                   4723:   while :
                   4724:   do
                   4725:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4726:     mv "conftest.tmp" "conftest.in"
                   4727:     cp "conftest.in" "conftest.nl"
                   4728:     $as_echo 'EGREP' >> "conftest.nl"
                   4729:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4730:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4731:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4732:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
                   4733:       # Best one so far, save it but keep looking for a better one
                   4734:       ac_cv_path_EGREP="$ac_path_EGREP"
                   4735:       ac_path_EGREP_max=$ac_count
                   4736:     fi
                   4737:     # 10*(2^10) chars as input seems more than enough
                   4738:     test $ac_count -gt 10 && break
                   4739:   done
                   4740:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4741: esac
1.35      moko     4742: 
1.43      moko     4743:       $ac_path_EGREP_found && break 3
                   4744:     done
                   4745:   done
                   4746:   done
                   4747: IFS=$as_save_IFS
                   4748:   if test -z "$ac_cv_path_EGREP"; then
                   4749:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   4750:   fi
                   4751: else
                   4752:   ac_cv_path_EGREP=$EGREP
                   4753: fi
1.35      moko     4754: 
1.43      moko     4755:    fi
                   4756: fi
                   4757: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
                   4758: $as_echo "$ac_cv_path_EGREP" >&6; }
                   4759:  EGREP="$ac_cv_path_EGREP"
                   4760: 
                   4761: 
                   4762: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
                   4763: $as_echo_n "checking for fgrep... " >&6; }
                   4764: if ${ac_cv_path_FGREP+:} false; then :
                   4765:   $as_echo_n "(cached) " >&6
                   4766: else
                   4767:   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
                   4768:    then ac_cv_path_FGREP="$GREP -F"
                   4769:    else
                   4770:      if test -z "$FGREP"; then
                   4771:   ac_path_FGREP_found=false
                   4772:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4773:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4774: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   4775: do
                   4776:   IFS=$as_save_IFS
                   4777:   test -z "$as_dir" && as_dir=.
                   4778:     for ac_prog in fgrep; do
                   4779:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4780:       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
1.49      moko     4781:       as_fn_executable_p "$ac_path_FGREP" || continue
1.43      moko     4782: # Check for GNU ac_path_FGREP and select it if it is found.
                   4783:   # Check for GNU $ac_path_FGREP
                   4784: case `"$ac_path_FGREP" --version 2>&1` in
                   4785: *GNU*)
                   4786:   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
                   4787: *)
                   4788:   ac_count=0
                   4789:   $as_echo_n 0123456789 >"conftest.in"
                   4790:   while :
                   4791:   do
                   4792:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4793:     mv "conftest.tmp" "conftest.in"
                   4794:     cp "conftest.in" "conftest.nl"
                   4795:     $as_echo 'FGREP' >> "conftest.nl"
                   4796:     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4797:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4798:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4799:     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
                   4800:       # Best one so far, save it but keep looking for a better one
                   4801:       ac_cv_path_FGREP="$ac_path_FGREP"
                   4802:       ac_path_FGREP_max=$ac_count
1.35      moko     4803:     fi
1.43      moko     4804:     # 10*(2^10) chars as input seems more than enough
                   4805:     test $ac_count -gt 10 && break
                   4806:   done
                   4807:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4808: esac
                   4809: 
                   4810:       $ac_path_FGREP_found && break 3
                   4811:     done
                   4812:   done
                   4813:   done
                   4814: IFS=$as_save_IFS
                   4815:   if test -z "$ac_cv_path_FGREP"; then
                   4816:     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   4817:   fi
                   4818: else
                   4819:   ac_cv_path_FGREP=$FGREP
                   4820: fi
                   4821: 
                   4822:    fi
1.35      moko     4823: fi
1.43      moko     4824: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
                   4825: $as_echo "$ac_cv_path_FGREP" >&6; }
                   4826:  FGREP="$ac_cv_path_FGREP"
1.35      moko     4827: 
                   4828: 
                   4829: test -z "$GREP" && GREP=grep
                   4830: 
                   4831: 
                   4832: 
                   4833: 
                   4834: 
                   4835: 
                   4836: 
                   4837: 
                   4838: 
                   4839: 
                   4840: 
                   4841: 
                   4842: 
                   4843: 
                   4844: 
                   4845: 
                   4846: 
                   4847: 
                   4848: 
1.43      moko     4849: # Check whether --with-gnu-ld was given.
                   4850: if test "${with_gnu_ld+set}" = set; then :
                   4851:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
1.35      moko     4852: else
                   4853:   with_gnu_ld=no
1.43      moko     4854: fi
                   4855: 
1.35      moko     4856: ac_prog=ld
                   4857: if test "$GCC" = yes; then
                   4858:   # Check if gcc -print-prog-name=ld gives a path.
1.43      moko     4859:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   4860: $as_echo_n "checking for ld used by $CC... " >&6; }
1.35      moko     4861:   case $host in
                   4862:   *-*-mingw*)
                   4863:     # gcc leaves a trailing carriage return which upsets mingw
                   4864:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   4865:   *)
                   4866:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   4867:   esac
                   4868:   case $ac_prog in
                   4869:     # Accept absolute paths.
                   4870:     [\\/]* | ?:[\\/]*)
                   4871:       re_direlt='/[^/][^/]*/\.\./'
                   4872:       # Canonicalize the pathname of ld
                   4873:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   4874:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   4875:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   4876:       done
                   4877:       test -z "$LD" && LD="$ac_prog"
                   4878:       ;;
                   4879:   "")
                   4880:     # If it fails, then pretend we aren't using GCC.
                   4881:     ac_prog=ld
                   4882:     ;;
                   4883:   *)
                   4884:     # If it is relative, then search for the first ld in PATH.
                   4885:     with_gnu_ld=unknown
                   4886:     ;;
                   4887:   esac
                   4888: elif test "$with_gnu_ld" = yes; then
1.43      moko     4889:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   4890: $as_echo_n "checking for GNU ld... " >&6; }
1.35      moko     4891: else
1.43      moko     4892:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   4893: $as_echo_n "checking for non-GNU ld... " >&6; }
1.35      moko     4894: fi
1.43      moko     4895: if ${lt_cv_path_LD+:} false; then :
                   4896:   $as_echo_n "(cached) " >&6
1.1       parser   4897: else
                   4898:   if test -z "$LD"; then
1.35      moko     4899:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1.1       parser   4900:   for ac_dir in $PATH; do
1.35      moko     4901:     IFS="$lt_save_ifs"
1.1       parser   4902:     test -z "$ac_dir" && ac_dir=.
                   4903:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1.15      paf      4904:       lt_cv_path_LD="$ac_dir/$ac_prog"
1.1       parser   4905:       # Check to see if the program is GNU ld.  I'd rather use --version,
1.35      moko     4906:       # but apparently some variants of GNU ld only accept -v.
1.1       parser   4907:       # Break only if it was the GNU/non-GNU ld that we prefer.
1.35      moko     4908:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   4909:       *GNU* | *'with BFD'*)
1.1       parser   4910:        test "$with_gnu_ld" != no && break
1.35      moko     4911:        ;;
                   4912:       *)
1.1       parser   4913:        test "$with_gnu_ld" != yes && break
1.35      moko     4914:        ;;
                   4915:       esac
1.1       parser   4916:     fi
                   4917:   done
1.35      moko     4918:   IFS="$lt_save_ifs"
1.1       parser   4919: else
1.15      paf      4920:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
1.1       parser   4921: fi
                   4922: fi
                   4923: 
1.15      paf      4924: LD="$lt_cv_path_LD"
1.1       parser   4925: if test -n "$LD"; then
1.43      moko     4926:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   4927: $as_echo "$LD" >&6; }
1.1       parser   4928: else
1.43      moko     4929:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4930: $as_echo "no" >&6; }
1.1       parser   4931: fi
1.43      moko     4932: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
                   4933: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   4934: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
                   4935: if ${lt_cv_prog_gnu_ld+:} false; then :
                   4936:   $as_echo_n "(cached) " >&6
1.1       parser   4937: else
1.35      moko     4938:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   4939: case `$LD -v 2>&1 </dev/null` in
                   4940: *GNU* | *'with BFD'*)
1.15      paf      4941:   lt_cv_prog_gnu_ld=yes
1.35      moko     4942:   ;;
                   4943: *)
1.15      paf      4944:   lt_cv_prog_gnu_ld=no
1.35      moko     4945:   ;;
                   4946: esac
1.1       parser   4947: fi
1.43      moko     4948: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   4949: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
1.15      paf      4950: with_gnu_ld=$lt_cv_prog_gnu_ld
1.1       parser   4951: 
                   4952: 
                   4953: 
1.35      moko     4954: 
                   4955: 
                   4956: 
                   4957: 
                   4958: 
                   4959: 
1.43      moko     4960: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
                   4961: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
                   4962: if ${lt_cv_path_NM+:} false; then :
                   4963:   $as_echo_n "(cached) " >&6
1.1       parser   4964: else
                   4965:   if test -n "$NM"; then
                   4966:   # Let the user override the test.
1.15      paf      4967:   lt_cv_path_NM="$NM"
1.1       parser   4968: else
1.35      moko     4969:   lt_nm_to_check="${ac_tool_prefix}nm"
                   4970:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
                   4971:     lt_nm_to_check="$lt_nm_to_check nm"
                   4972:   fi
                   4973:   for lt_tmp_nm in $lt_nm_to_check; do
                   4974:     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   4975:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
                   4976:       IFS="$lt_save_ifs"
                   4977:       test -z "$ac_dir" && ac_dir=.
                   4978:       tmp_nm="$ac_dir/$lt_tmp_nm"
                   4979:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
                   4980:        # Check to see if the nm accepts a BSD-compat flag.
                   4981:        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
                   4982:        #   nm: unknown option "B" ignored
                   4983:        # Tru64's nm complains that /dev/null is an invalid object file
                   4984:        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
                   4985:        */dev/null* | *'Invalid file or object type'*)
                   4986:          lt_cv_path_NM="$tmp_nm -B"
                   4987:          break
                   4988:          ;;
                   4989:        *)
                   4990:          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
                   4991:          */dev/null*)
                   4992:            lt_cv_path_NM="$tmp_nm -p"
                   4993:            break
                   4994:            ;;
                   4995:          *)
                   4996:            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
                   4997:            continue # so that we can try to find one that supports BSD flags
                   4998:            ;;
                   4999:          esac
                   5000:          ;;
                   5001:        esac
1.1       parser   5002:       fi
1.35      moko     5003:     done
                   5004:     IFS="$lt_save_ifs"
1.1       parser   5005:   done
1.35      moko     5006:   : ${lt_cv_path_NM=no}
1.1       parser   5007: fi
                   5008: fi
1.43      moko     5009: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
                   5010: $as_echo "$lt_cv_path_NM" >&6; }
1.35      moko     5011: if test "$lt_cv_path_NM" != "no"; then
                   5012:   NM="$lt_cv_path_NM"
                   5013: else
                   5014:   # Didn't find any BSD compatible name lister, look for dumpbin.
                   5015:   if test -n "$DUMPBIN"; then :
                   5016:     # Let the user override the test.
                   5017:   else
                   5018:     if test -n "$ac_tool_prefix"; then
                   5019:   for ac_prog in dumpbin "link -dump"
                   5020:   do
                   5021:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   5022: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.43      moko     5023: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5024: $as_echo_n "checking for $ac_word... " >&6; }
                   5025: if ${ac_cv_prog_DUMPBIN+:} false; then :
                   5026:   $as_echo_n "(cached) " >&6
1.1       parser   5027: else
1.35      moko     5028:   if test -n "$DUMPBIN"; then
                   5029:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
                   5030: else
1.15      paf      5031: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5032: for as_dir in $PATH
                   5033: do
                   5034:   IFS=$as_save_IFS
                   5035:   test -z "$as_dir" && as_dir=.
1.43      moko     5036:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     5037:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     5038:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
1.43      moko     5039:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     5040:     break 2
                   5041:   fi
                   5042: done
1.43      moko     5043:   done
                   5044: IFS=$as_save_IFS
1.15      paf      5045: 
1.35      moko     5046: fi
                   5047: fi
                   5048: DUMPBIN=$ac_cv_prog_DUMPBIN
                   5049: if test -n "$DUMPBIN"; then
1.43      moko     5050:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
                   5051: $as_echo "$DUMPBIN" >&6; }
1.35      moko     5052: else
1.43      moko     5053:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5054: $as_echo "no" >&6; }
1.35      moko     5055: fi
1.15      paf      5056: 
1.43      moko     5057: 
1.35      moko     5058:     test -n "$DUMPBIN" && break
1.15      paf      5059:   done
1.35      moko     5060: fi
                   5061: if test -z "$DUMPBIN"; then
                   5062:   ac_ct_DUMPBIN=$DUMPBIN
                   5063:   for ac_prog in dumpbin "link -dump"
                   5064: do
                   5065:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   5066: set dummy $ac_prog; ac_word=$2
1.43      moko     5067: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5068: $as_echo_n "checking for $ac_word... " >&6; }
                   5069: if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
                   5070:   $as_echo_n "(cached) " >&6
1.35      moko     5071: else
                   5072:   if test -n "$ac_ct_DUMPBIN"; then
                   5073:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
                   5074: else
                   5075: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5076: for as_dir in $PATH
                   5077: do
                   5078:   IFS=$as_save_IFS
                   5079:   test -z "$as_dir" && as_dir=.
1.43      moko     5080:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     5081:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     5082:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
1.43      moko     5083:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     5084:     break 2
                   5085:   fi
                   5086: done
1.43      moko     5087:   done
                   5088: IFS=$as_save_IFS
1.15      paf      5089: 
1.1       parser   5090: fi
1.35      moko     5091: fi
                   5092: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
                   5093: if test -n "$ac_ct_DUMPBIN"; then
1.43      moko     5094:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
                   5095: $as_echo "$ac_ct_DUMPBIN" >&6; }
1.11      paf      5096: else
1.43      moko     5097:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5098: $as_echo "no" >&6; }
1.11      paf      5099: fi
1.15      paf      5100: 
1.43      moko     5101: 
1.35      moko     5102:   test -n "$ac_ct_DUMPBIN" && break
                   5103: done
                   5104: 
1.43      moko     5105:   if test "x$ac_ct_DUMPBIN" = x; then
                   5106:     DUMPBIN=":"
                   5107:   else
                   5108:     case $cross_compiling:$ac_tool_warned in
                   5109: yes:)
                   5110: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5111: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5112: ac_tool_warned=yes ;;
                   5113: esac
                   5114:     DUMPBIN=$ac_ct_DUMPBIN
                   5115:   fi
1.15      paf      5116: fi
                   5117: 
1.35      moko     5118:     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
                   5119:     *COFF*)
                   5120:       DUMPBIN="$DUMPBIN -symbols"
                   5121:       ;;
                   5122:     *)
                   5123:       DUMPBIN=:
                   5124:       ;;
                   5125:     esac
                   5126:   fi
                   5127: 
                   5128:   if test "$DUMPBIN" != ":"; then
                   5129:     NM="$DUMPBIN"
                   5130:   fi
                   5131: fi
                   5132: test -z "$NM" && NM=nm
                   5133: 
                   5134: 
                   5135: 
                   5136: 
                   5137: 
                   5138: 
1.43      moko     5139: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
                   5140: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
                   5141: if ${lt_cv_nm_interface+:} false; then :
                   5142:   $as_echo_n "(cached) " >&6
1.35      moko     5143: else
                   5144:   lt_cv_nm_interface="BSD nm"
                   5145:   echo "int some_variable = 0;" > conftest.$ac_ext
                   5146:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
                   5147:   (eval "$ac_compile" 2>conftest.err)
                   5148:   cat conftest.err >&5
                   5149:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
                   5150:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
                   5151:   cat conftest.err >&5
                   5152:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
                   5153:   cat conftest.out >&5
                   5154:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
                   5155:     lt_cv_nm_interface="MS dumpbin"
                   5156:   fi
                   5157:   rm -f conftest*
                   5158: fi
1.43      moko     5159: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
                   5160: $as_echo "$lt_cv_nm_interface" >&6; }
1.35      moko     5161: 
1.43      moko     5162: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
                   5163: $as_echo_n "checking whether ln -s works... " >&6; }
1.35      moko     5164: LN_S=$as_ln_s
                   5165: if test "$LN_S" = "ln -s"; then
1.43      moko     5166:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5167: $as_echo "yes" >&6; }
1.35      moko     5168: else
1.43      moko     5169:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
                   5170: $as_echo "no, using $LN_S" >&6; }
1.35      moko     5171: fi
                   5172: 
                   5173: # find the maximum length of command line arguments
1.43      moko     5174: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
                   5175: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
                   5176: if ${lt_cv_sys_max_cmd_len+:} false; then :
                   5177:   $as_echo_n "(cached) " >&6
1.35      moko     5178: else
                   5179:     i=0
                   5180:   teststring="ABCD"
                   5181: 
                   5182:   case $build_os in
                   5183:   msdosdjgpp*)
                   5184:     # On DJGPP, this test can blow up pretty badly due to problems in libc
                   5185:     # (any single argument exceeding 2000 bytes causes a buffer overrun
                   5186:     # during glob expansion).  Even if it were fixed, the result of this
                   5187:     # check would be larger than it should be.
                   5188:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
                   5189:     ;;
                   5190: 
                   5191:   gnu*)
                   5192:     # Under GNU Hurd, this test is not required because there is
                   5193:     # no limit to the length of command line arguments.
                   5194:     # Libtool will interpret -1 as no limit whatsoever
                   5195:     lt_cv_sys_max_cmd_len=-1;
                   5196:     ;;
                   5197: 
                   5198:   cygwin* | mingw* | cegcc*)
                   5199:     # On Win9x/ME, this test blows up -- it succeeds, but takes
                   5200:     # about 5 minutes as the teststring grows exponentially.
                   5201:     # Worse, since 9x/ME are not pre-emptively multitasking,
                   5202:     # you end up with a "frozen" computer, even though with patience
                   5203:     # the test eventually succeeds (with a max line length of 256k).
                   5204:     # Instead, let's just punt: use the minimum linelength reported by
                   5205:     # all of the supported platforms: 8192 (on NT/2K/XP).
                   5206:     lt_cv_sys_max_cmd_len=8192;
                   5207:     ;;
                   5208: 
                   5209:   mint*)
                   5210:     # On MiNT this can take a long time and run out of memory.
                   5211:     lt_cv_sys_max_cmd_len=8192;
                   5212:     ;;
                   5213: 
                   5214:   amigaos*)
                   5215:     # On AmigaOS with pdksh, this test takes hours, literally.
                   5216:     # So we just punt and use a minimum line length of 8192.
                   5217:     lt_cv_sys_max_cmd_len=8192;
                   5218:     ;;
                   5219: 
                   5220:   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
                   5221:     # This has been around since 386BSD, at least.  Likely further.
                   5222:     if test -x /sbin/sysctl; then
                   5223:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
                   5224:     elif test -x /usr/sbin/sysctl; then
                   5225:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
                   5226:     else
                   5227:       lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
                   5228:     fi
                   5229:     # And add a safety zone
                   5230:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   5231:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   5232:     ;;
                   5233: 
                   5234:   interix*)
                   5235:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
                   5236:     lt_cv_sys_max_cmd_len=196608
                   5237:     ;;
                   5238: 
                   5239:   os2*)
                   5240:     # The test takes a long time on OS/2.
                   5241:     lt_cv_sys_max_cmd_len=8192
                   5242:     ;;
                   5243: 
                   5244:   osf*)
                   5245:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
                   5246:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
                   5247:     # nice to cause kernel panics so lets avoid the loop below.
                   5248:     # First set a reasonable default.
                   5249:     lt_cv_sys_max_cmd_len=16384
                   5250:     #
                   5251:     if test -x /sbin/sysconfig; then
                   5252:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
                   5253:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
                   5254:       esac
                   5255:     fi
                   5256:     ;;
                   5257:   sco3.2v5*)
                   5258:     lt_cv_sys_max_cmd_len=102400
                   5259:     ;;
                   5260:   sysv5* | sco5v6* | sysv4.2uw2*)
                   5261:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
                   5262:     if test -n "$kargmax"; then
                   5263:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
                   5264:     else
                   5265:       lt_cv_sys_max_cmd_len=32768
                   5266:     fi
                   5267:     ;;
                   5268:   *)
                   5269:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
                   5270:     if test -n "$lt_cv_sys_max_cmd_len"; then
                   5271:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   5272:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   5273:     else
                   5274:       # Make teststring a little bigger before we do anything with it.
                   5275:       # a 1K string should be a reasonable start.
                   5276:       for i in 1 2 3 4 5 6 7 8 ; do
                   5277:         teststring=$teststring$teststring
                   5278:       done
                   5279:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
                   5280:       # If test is not a shell built-in, we'll probably end up computing a
                   5281:       # maximum length that is only half of the actual maximum length, but
                   5282:       # we can't tell.
                   5283:       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
                   5284:                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
                   5285:              test $i != 17 # 1/2 MB should be enough
                   5286:       do
                   5287:         i=`expr $i + 1`
                   5288:         teststring=$teststring$teststring
                   5289:       done
                   5290:       # Only check the string length outside the loop.
                   5291:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
                   5292:       teststring=
                   5293:       # Add a significant safety factor because C++ compilers can tack on
                   5294:       # massive amounts of additional arguments before passing them to the
                   5295:       # linker.  It appears as though 1/2 is a usable value.
                   5296:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
                   5297:     fi
                   5298:     ;;
                   5299:   esac
                   5300: 
                   5301: fi
                   5302: 
                   5303: if test -n $lt_cv_sys_max_cmd_len ; then
1.43      moko     5304:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
                   5305: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
1.35      moko     5306: else
1.43      moko     5307:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
                   5308: $as_echo "none" >&6; }
1.35      moko     5309: fi
                   5310: max_cmd_len=$lt_cv_sys_max_cmd_len
                   5311: 
                   5312: 
                   5313: 
                   5314: 
                   5315: 
                   5316: 
                   5317: : ${CP="cp -f"}
                   5318: : ${MV="mv -f"}
                   5319: : ${RM="rm -f"}
                   5320: 
1.43      moko     5321: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
                   5322: $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
1.35      moko     5323: # Try some XSI features
                   5324: xsi_shell=no
                   5325: ( _lt_dummy="a/b/c"
                   5326:   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
                   5327:       = c,a/b,b/c, \
                   5328:     && eval 'test $(( 1 + 1 )) -eq 2 \
                   5329:     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
                   5330:   && xsi_shell=yes
1.43      moko     5331: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
                   5332: $as_echo "$xsi_shell" >&6; }
1.35      moko     5333: 
                   5334: 
1.43      moko     5335: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
                   5336: $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
1.35      moko     5337: lt_shell_append=no
                   5338: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
                   5339:     >/dev/null 2>&1 \
                   5340:   && lt_shell_append=yes
1.43      moko     5341: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
                   5342: $as_echo "$lt_shell_append" >&6; }
1.35      moko     5343: 
                   5344: 
                   5345: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                   5346:   lt_unset=unset
                   5347: else
                   5348:   lt_unset=false
                   5349: fi
                   5350: 
                   5351: 
                   5352: 
                   5353: 
                   5354: 
                   5355: # test EBCDIC or ASCII
                   5356: case `echo X|tr X '\101'` in
                   5357:  A) # ASCII based system
                   5358:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
                   5359:   lt_SP2NL='tr \040 \012'
                   5360:   lt_NL2SP='tr \015\012 \040\040'
                   5361:   ;;
                   5362:  *) # EBCDIC based system
                   5363:   lt_SP2NL='tr \100 \n'
                   5364:   lt_NL2SP='tr \r\n \100\100'
                   5365:   ;;
                   5366: esac
                   5367: 
                   5368: 
                   5369: 
                   5370: 
                   5371: 
                   5372: 
                   5373: 
                   5374: 
                   5375: 
1.43      moko     5376: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
                   5377: $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
                   5378: if ${lt_cv_to_host_file_cmd+:} false; then :
                   5379:   $as_echo_n "(cached) " >&6
1.35      moko     5380: else
                   5381:   case $host in
                   5382:   *-*-mingw* )
                   5383:     case $build in
                   5384:       *-*-mingw* ) # actually msys
                   5385:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
                   5386:         ;;
                   5387:       *-*-cygwin* )
                   5388:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
                   5389:         ;;
                   5390:       * ) # otherwise, assume *nix
                   5391:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
                   5392:         ;;
                   5393:     esac
                   5394:     ;;
                   5395:   *-*-cygwin* )
                   5396:     case $build in
                   5397:       *-*-mingw* ) # actually msys
                   5398:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
                   5399:         ;;
                   5400:       *-*-cygwin* )
                   5401:         lt_cv_to_host_file_cmd=func_convert_file_noop
                   5402:         ;;
                   5403:       * ) # otherwise, assume *nix
                   5404:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
                   5405:         ;;
                   5406:     esac
                   5407:     ;;
                   5408:   * ) # unhandled hosts (and "normal" native builds)
                   5409:     lt_cv_to_host_file_cmd=func_convert_file_noop
                   5410:     ;;
                   5411: esac
                   5412: 
                   5413: fi
                   5414: 
                   5415: to_host_file_cmd=$lt_cv_to_host_file_cmd
1.43      moko     5416: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
                   5417: $as_echo "$lt_cv_to_host_file_cmd" >&6; }
1.35      moko     5418: 
                   5419: 
                   5420: 
                   5421: 
                   5422: 
1.43      moko     5423: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
                   5424: $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
                   5425: if ${lt_cv_to_tool_file_cmd+:} false; then :
                   5426:   $as_echo_n "(cached) " >&6
1.35      moko     5427: else
                   5428:   #assume ordinary cross tools, or native build.
                   5429: lt_cv_to_tool_file_cmd=func_convert_file_noop
                   5430: case $host in
                   5431:   *-*-mingw* )
                   5432:     case $build in
                   5433:       *-*-mingw* ) # actually msys
                   5434:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
                   5435:         ;;
                   5436:     esac
                   5437:     ;;
                   5438: esac
                   5439: 
                   5440: fi
                   5441: 
                   5442: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
1.43      moko     5443: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
                   5444: $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
1.35      moko     5445: 
                   5446: 
                   5447: 
                   5448: 
                   5449: 
1.43      moko     5450: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
                   5451: $as_echo_n "checking for $LD option to reload object files... " >&6; }
                   5452: if ${lt_cv_ld_reload_flag+:} false; then :
                   5453:   $as_echo_n "(cached) " >&6
1.35      moko     5454: else
                   5455:   lt_cv_ld_reload_flag='-r'
                   5456: fi
1.43      moko     5457: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
                   5458: $as_echo "$lt_cv_ld_reload_flag" >&6; }
1.35      moko     5459: reload_flag=$lt_cv_ld_reload_flag
                   5460: case $reload_flag in
                   5461: "" | " "*) ;;
                   5462: *) reload_flag=" $reload_flag" ;;
                   5463: esac
                   5464: reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   5465: case $host_os in
                   5466:   cygwin* | mingw* | pw32* | cegcc*)
                   5467:     if test "$GCC" != yes; then
                   5468:       reload_cmds=false
                   5469:     fi
                   5470:     ;;
                   5471:   darwin*)
                   5472:     if test "$GCC" = yes; then
                   5473:       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
                   5474:     else
                   5475:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   5476:     fi
                   5477:     ;;
                   5478: esac
                   5479: 
                   5480: 
                   5481: 
                   5482: 
                   5483: 
                   5484: 
                   5485: 
                   5486: 
                   5487: 
                   5488: if test -n "$ac_tool_prefix"; then
                   5489:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   5490: set dummy ${ac_tool_prefix}objdump; ac_word=$2
1.43      moko     5491: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5492: $as_echo_n "checking for $ac_word... " >&6; }
                   5493: if ${ac_cv_prog_OBJDUMP+:} false; then :
                   5494:   $as_echo_n "(cached) " >&6
1.35      moko     5495: else
                   5496:   if test -n "$OBJDUMP"; then
                   5497:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   5498: else
                   5499: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5500: for as_dir in $PATH
                   5501: do
                   5502:   IFS=$as_save_IFS
                   5503:   test -z "$as_dir" && as_dir=.
1.43      moko     5504:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     5505:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     5506:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1.43      moko     5507:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     5508:     break 2
                   5509:   fi
                   5510: done
1.43      moko     5511:   done
                   5512: IFS=$as_save_IFS
1.35      moko     5513: 
                   5514: fi
                   5515: fi
                   5516: OBJDUMP=$ac_cv_prog_OBJDUMP
                   5517: if test -n "$OBJDUMP"; then
1.43      moko     5518:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   5519: $as_echo "$OBJDUMP" >&6; }
1.35      moko     5520: else
1.43      moko     5521:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5522: $as_echo "no" >&6; }
1.35      moko     5523: fi
                   5524: 
1.43      moko     5525: 
1.35      moko     5526: fi
                   5527: if test -z "$ac_cv_prog_OBJDUMP"; then
                   5528:   ac_ct_OBJDUMP=$OBJDUMP
                   5529:   # Extract the first word of "objdump", so it can be a program name with args.
                   5530: set dummy objdump; ac_word=$2
1.43      moko     5531: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5532: $as_echo_n "checking for $ac_word... " >&6; }
                   5533: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
                   5534:   $as_echo_n "(cached) " >&6
1.35      moko     5535: else
                   5536:   if test -n "$ac_ct_OBJDUMP"; then
                   5537:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   5538: else
                   5539: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5540: for as_dir in $PATH
                   5541: do
                   5542:   IFS=$as_save_IFS
                   5543:   test -z "$as_dir" && as_dir=.
1.43      moko     5544:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     5545:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     5546:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.43      moko     5547:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     5548:     break 2
                   5549:   fi
                   5550: done
1.43      moko     5551:   done
                   5552: IFS=$as_save_IFS
1.35      moko     5553: 
                   5554: fi
                   5555: fi
                   5556: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   5557: if test -n "$ac_ct_OBJDUMP"; then
1.43      moko     5558:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   5559: $as_echo "$ac_ct_OBJDUMP" >&6; }
1.35      moko     5560: else
1.43      moko     5561:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5562: $as_echo "no" >&6; }
1.35      moko     5563: fi
                   5564: 
1.43      moko     5565:   if test "x$ac_ct_OBJDUMP" = x; then
                   5566:     OBJDUMP="false"
                   5567:   else
                   5568:     case $cross_compiling:$ac_tool_warned in
                   5569: yes:)
                   5570: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5571: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5572: ac_tool_warned=yes ;;
                   5573: esac
                   5574:     OBJDUMP=$ac_ct_OBJDUMP
                   5575:   fi
1.35      moko     5576: else
                   5577:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   5578: fi
                   5579: 
                   5580: test -z "$OBJDUMP" && OBJDUMP=objdump
                   5581: 
                   5582: 
                   5583: 
                   5584: 
                   5585: 
                   5586: 
1.43      moko     5587: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
                   5588: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
                   5589: if ${lt_cv_deplibs_check_method+:} false; then :
                   5590:   $as_echo_n "(cached) " >&6
1.15      paf      5591: else
                   5592:   lt_cv_file_magic_cmd='$MAGIC_CMD'
                   5593: lt_cv_file_magic_test_file=
                   5594: lt_cv_deplibs_check_method='unknown'
                   5595: # Need to set the preceding variable on all platforms that support
                   5596: # interlibrary dependencies.
                   5597: # 'none' -- dependencies not supported.
                   5598: # `unknown' -- same as none, but documents that we really don't know.
                   5599: # 'pass_all' -- all dependencies passed with no checks.
                   5600: # 'test_compile' -- check by making test program.
                   5601: # 'file_magic [[regex]]' -- check by looking for files in library path
1.35      moko     5602: # which responds to the $file_magic_cmd with a given extended regex.
1.15      paf      5603: # If you have `file' or equivalent on your system and you're not sure
                   5604: # whether `pass_all' will *always* work, you probably want this one.
                   5605: 
                   5606: case $host_os in
1.35      moko     5607: aix[4-9]*)
1.15      paf      5608:   lt_cv_deplibs_check_method=pass_all
                   5609:   ;;
1.11      paf      5610: 
1.15      paf      5611: beos*)
                   5612:   lt_cv_deplibs_check_method=pass_all
                   5613:   ;;
1.1       parser   5614: 
1.35      moko     5615: bsdi[45]*)
1.15      paf      5616:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
                   5617:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   5618:   lt_cv_file_magic_test_file=/shlib/libc.so
                   5619:   ;;
1.1       parser   5620: 
1.35      moko     5621: cygwin*)
                   5622:   # func_win32_libid is a shell function defined in ltmain.sh
                   5623:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   5624:   lt_cv_file_magic_cmd='func_win32_libid'
                   5625:   ;;
                   5626: 
                   5627: mingw* | pw32*)
                   5628:   # Base MSYS/MinGW do not provide the 'file' command needed by
                   5629:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
                   5630:   # unless we find 'file', for example because we are cross-compiling.
                   5631:   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
                   5632:   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
                   5633:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   5634:     lt_cv_file_magic_cmd='func_win32_libid'
                   5635:   else
                   5636:     # Keep this pattern in sync with the one in func_win32_libid.
                   5637:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
                   5638:     lt_cv_file_magic_cmd='$OBJDUMP -f'
                   5639:   fi
                   5640:   ;;
                   5641: 
                   5642: cegcc*)
                   5643:   # use the weaker test based on 'objdump'. See mingw*.
                   5644:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
1.15      paf      5645:   lt_cv_file_magic_cmd='$OBJDUMP -f'
                   5646:   ;;
1.1       parser   5647: 
1.15      paf      5648: darwin* | rhapsody*)
1.35      moko     5649:   lt_cv_deplibs_check_method=pass_all
1.15      paf      5650:   ;;
1.1       parser   5651: 
1.35      moko     5652: freebsd* | dragonfly*)
                   5653:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
1.15      paf      5654:     case $host_cpu in
                   5655:     i*86 )
                   5656:       # Not sure whether the presence of OpenBSD here was a mistake.
                   5657:       # Let's accept both of them until this is cleared up.
1.35      moko     5658:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
1.15      paf      5659:       lt_cv_file_magic_cmd=/usr/bin/file
                   5660:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1.1       parser   5661:       ;;
                   5662:     esac
1.15      paf      5663:   else
                   5664:     lt_cv_deplibs_check_method=pass_all
1.1       parser   5665:   fi
                   5666:   ;;
                   5667: 
1.15      paf      5668: gnu*)
                   5669:   lt_cv_deplibs_check_method=pass_all
                   5670:   ;;
1.1       parser   5671: 
1.35      moko     5672: haiku*)
                   5673:   lt_cv_deplibs_check_method=pass_all
1.15      paf      5674:   ;;
1.1       parser   5675: 
1.35      moko     5676: hpux10.20* | hpux11*)
                   5677:   lt_cv_file_magic_cmd=/usr/bin/file
                   5678:   case $host_cpu in
                   5679:   ia64*)
                   5680:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
                   5681:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
                   5682:     ;;
                   5683:   hppa*64*)
                   5684:     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]'
                   5685:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
1.15      paf      5686:     ;;
                   5687:   *)
1.35      moko     5688:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
                   5689:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
1.15      paf      5690:     ;;
                   5691:   esac
1.35      moko     5692:   ;;
                   5693: 
                   5694: interix[3-9]*)
                   5695:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
                   5696:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
                   5697:   ;;
                   5698: 
                   5699: irix5* | irix6* | nonstopux*)
                   5700:   case $LD in
                   5701:   *-32|*"-32 ") libmagic=32-bit;;
                   5702:   *-n32|*"-n32 ") libmagic=N32;;
                   5703:   *-64|*"-64 ") libmagic=64-bit;;
                   5704:   *) libmagic=never-match;;
                   5705:   esac
1.15      paf      5706:   lt_cv_deplibs_check_method=pass_all
                   5707:   ;;
                   5708: 
1.35      moko     5709: # This must be glibc/ELF.
                   5710: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   5711:   lt_cv_deplibs_check_method=pass_all
1.15      paf      5712:   ;;
                   5713: 
                   5714: netbsd*)
1.35      moko     5715:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   5716:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
1.15      paf      5717:   else
1.35      moko     5718:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
1.15      paf      5719:   fi
                   5720:   ;;
                   5721: 
                   5722: newos6*)
                   5723:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
                   5724:   lt_cv_file_magic_cmd=/usr/bin/file
                   5725:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
                   5726:   ;;
1.1       parser   5727: 
1.35      moko     5728: *nto* | *qnx*)
                   5729:   lt_cv_deplibs_check_method=pass_all
                   5730:   ;;
                   5731: 
1.15      paf      5732: openbsd*)
1.35      moko     5733:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   5734:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
1.15      paf      5735:   else
1.35      moko     5736:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
1.1       parser   5737:   fi
                   5738:   ;;
                   5739: 
1.15      paf      5740: osf3* | osf4* | osf5*)
                   5741:   lt_cv_deplibs_check_method=pass_all
                   5742:   ;;
                   5743: 
1.35      moko     5744: rdos*)
1.15      paf      5745:   lt_cv_deplibs_check_method=pass_all
                   5746:   ;;
                   5747: 
                   5748: solaris*)
                   5749:   lt_cv_deplibs_check_method=pass_all
                   5750:   ;;
                   5751: 
1.35      moko     5752: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
1.15      paf      5753:   lt_cv_deplibs_check_method=pass_all
                   5754:   ;;
                   5755: 
1.35      moko     5756: sysv4 | sysv4.3*)
1.15      paf      5757:   case $host_vendor in
                   5758:   motorola)
                   5759:     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]'
                   5760:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
                   5761:     ;;
                   5762:   ncr)
                   5763:     lt_cv_deplibs_check_method=pass_all
                   5764:     ;;
                   5765:   sequent)
                   5766:     lt_cv_file_magic_cmd='/bin/file'
                   5767:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
                   5768:     ;;
                   5769:   sni)
                   5770:     lt_cv_file_magic_cmd='/bin/file'
                   5771:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
                   5772:     lt_cv_file_magic_test_file=/lib/libc.so
                   5773:     ;;
                   5774:   siemens)
                   5775:     lt_cv_deplibs_check_method=pass_all
                   5776:     ;;
1.35      moko     5777:   pc)
                   5778:     lt_cv_deplibs_check_method=pass_all
                   5779:     ;;
1.15      paf      5780:   esac
                   5781:   ;;
1.35      moko     5782: 
                   5783: tpf*)
                   5784:   lt_cv_deplibs_check_method=pass_all
                   5785:   ;;
1.15      paf      5786: esac
                   5787: 
                   5788: fi
1.43      moko     5789: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
                   5790: $as_echo "$lt_cv_deplibs_check_method" >&6; }
1.35      moko     5791: 
                   5792: file_magic_glob=
                   5793: want_nocaseglob=no
                   5794: if test "$build" = "$host"; then
                   5795:   case $host_os in
                   5796:   mingw* | pw32*)
                   5797:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
                   5798:       want_nocaseglob=yes
                   5799:     else
                   5800:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
                   5801:     fi
                   5802:     ;;
                   5803:   esac
                   5804: fi
                   5805: 
1.15      paf      5806: file_magic_cmd=$lt_cv_file_magic_cmd
                   5807: deplibs_check_method=$lt_cv_deplibs_check_method
1.35      moko     5808: test -z "$deplibs_check_method" && deplibs_check_method=unknown
                   5809: 
                   5810: 
1.15      paf      5811: 
                   5812: 
                   5813: 
                   5814: 
                   5815: 
                   5816: 
                   5817: 
                   5818: 
1.35      moko     5819: 
                   5820: 
                   5821: 
                   5822: 
                   5823: 
                   5824: 
                   5825: 
                   5826: 
                   5827: 
                   5828: 
                   5829: 
                   5830: 
                   5831: if test -n "$ac_tool_prefix"; then
                   5832:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   5833: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1.43      moko     5834: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5835: $as_echo_n "checking for $ac_word... " >&6; }
                   5836: if ${ac_cv_prog_DLLTOOL+:} false; then :
                   5837:   $as_echo_n "(cached) " >&6
1.35      moko     5838: else
                   5839:   if test -n "$DLLTOOL"; then
                   5840:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   5841: else
                   5842: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5843: for as_dir in $PATH
                   5844: do
                   5845:   IFS=$as_save_IFS
                   5846:   test -z "$as_dir" && as_dir=.
1.43      moko     5847:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     5848:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     5849:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
1.43      moko     5850:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     5851:     break 2
                   5852:   fi
                   5853: done
1.43      moko     5854:   done
                   5855: IFS=$as_save_IFS
1.35      moko     5856: 
                   5857: fi
                   5858: fi
                   5859: DLLTOOL=$ac_cv_prog_DLLTOOL
                   5860: if test -n "$DLLTOOL"; then
1.43      moko     5861:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
                   5862: $as_echo "$DLLTOOL" >&6; }
1.35      moko     5863: else
1.43      moko     5864:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5865: $as_echo "no" >&6; }
1.35      moko     5866: fi
                   5867: 
1.43      moko     5868: 
1.35      moko     5869: fi
                   5870: if test -z "$ac_cv_prog_DLLTOOL"; then
                   5871:   ac_ct_DLLTOOL=$DLLTOOL
                   5872:   # Extract the first word of "dlltool", so it can be a program name with args.
                   5873: set dummy dlltool; ac_word=$2
1.43      moko     5874: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5875: $as_echo_n "checking for $ac_word... " >&6; }
                   5876: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
                   5877:   $as_echo_n "(cached) " >&6
1.11      paf      5878: else
1.35      moko     5879:   if test -n "$ac_ct_DLLTOOL"; then
                   5880:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   5881: else
                   5882: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5883: for as_dir in $PATH
                   5884: do
                   5885:   IFS=$as_save_IFS
                   5886:   test -z "$as_dir" && as_dir=.
1.43      moko     5887:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     5888:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     5889:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
1.43      moko     5890:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     5891:     break 2
                   5892:   fi
                   5893: done
1.43      moko     5894:   done
                   5895: IFS=$as_save_IFS
1.35      moko     5896: 
                   5897: fi
                   5898: fi
                   5899: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   5900: if test -n "$ac_ct_DLLTOOL"; then
1.43      moko     5901:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
                   5902: $as_echo "$ac_ct_DLLTOOL" >&6; }
1.35      moko     5903: else
1.43      moko     5904:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5905: $as_echo "no" >&6; }
1.35      moko     5906: fi
                   5907: 
1.43      moko     5908:   if test "x$ac_ct_DLLTOOL" = x; then
                   5909:     DLLTOOL="false"
                   5910:   else
                   5911:     case $cross_compiling:$ac_tool_warned in
                   5912: yes:)
                   5913: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5914: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5915: ac_tool_warned=yes ;;
                   5916: esac
                   5917:     DLLTOOL=$ac_ct_DLLTOOL
                   5918:   fi
1.35      moko     5919: else
                   5920:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   5921: fi
                   5922: 
                   5923: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   5924: 
                   5925: 
                   5926: 
                   5927: 
1.15      paf      5928: 
                   5929: 
                   5930: 
1.43      moko     5931: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
                   5932: $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
                   5933: if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
                   5934:   $as_echo_n "(cached) " >&6
1.35      moko     5935: else
                   5936:   lt_cv_sharedlib_from_linklib_cmd='unknown'
1.15      paf      5937: 
                   5938: case $host_os in
1.35      moko     5939: cygwin* | mingw* | pw32* | cegcc*)
                   5940:   # two different shell functions defined in ltmain.sh
                   5941:   # decide which to use based on capabilities of $DLLTOOL
                   5942:   case `$DLLTOOL --help 2>&1` in
                   5943:   *--identify-strict*)
                   5944:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
                   5945:     ;;
                   5946:   *)
                   5947:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
                   5948:     ;;
                   5949:   esac
1.15      paf      5950:   ;;
1.35      moko     5951: *)
                   5952:   # fallback: assume linklib IS sharedlib
                   5953:   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
1.15      paf      5954:   ;;
                   5955: esac
                   5956: 
                   5957: fi
1.43      moko     5958: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
                   5959: $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
1.35      moko     5960: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
                   5961: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
1.15      paf      5962: 
                   5963: 
                   5964: 
                   5965: 
                   5966: 
                   5967: 
                   5968: 
                   5969: 
1.35      moko     5970: if test -n "$ac_tool_prefix"; then
                   5971:   for ac_prog in ar
                   5972:   do
                   5973:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   5974: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.43      moko     5975: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5976: $as_echo_n "checking for $ac_word... " >&6; }
                   5977: if ${ac_cv_prog_AR+:} false; then :
                   5978:   $as_echo_n "(cached) " >&6
1.35      moko     5979: else
                   5980:   if test -n "$AR"; then
                   5981:   ac_cv_prog_AR="$AR" # Let the user override the test.
                   5982: else
                   5983: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5984: for as_dir in $PATH
                   5985: do
                   5986:   IFS=$as_save_IFS
                   5987:   test -z "$as_dir" && as_dir=.
1.43      moko     5988:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     5989:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     5990:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
1.43      moko     5991:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     5992:     break 2
1.15      paf      5993:   fi
1.35      moko     5994: done
1.43      moko     5995:   done
                   5996: IFS=$as_save_IFS
1.15      paf      5997: 
1.11      paf      5998: fi
                   5999: fi
1.35      moko     6000: AR=$ac_cv_prog_AR
                   6001: if test -n "$AR"; then
1.43      moko     6002:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
                   6003: $as_echo "$AR" >&6; }
1.11      paf      6004: else
1.43      moko     6005:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6006: $as_echo "no" >&6; }
1.11      paf      6007: fi
                   6008: 
1.43      moko     6009: 
1.35      moko     6010:     test -n "$AR" && break
                   6011:   done
1.24      paf      6012: fi
1.35      moko     6013: if test -z "$AR"; then
                   6014:   ac_ct_AR=$AR
                   6015:   for ac_prog in ar
                   6016: do
                   6017:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   6018: set dummy $ac_prog; ac_word=$2
1.43      moko     6019: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6020: $as_echo_n "checking for $ac_word... " >&6; }
                   6021: if ${ac_cv_prog_ac_ct_AR+:} false; then :
                   6022:   $as_echo_n "(cached) " >&6
1.11      paf      6023: else
1.35      moko     6024:   if test -n "$ac_ct_AR"; then
                   6025:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
                   6026: else
                   6027: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6028: for as_dir in $PATH
1.15      paf      6029: do
1.35      moko     6030:   IFS=$as_save_IFS
                   6031:   test -z "$as_dir" && as_dir=.
1.43      moko     6032:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     6033:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     6034:     ac_cv_prog_ac_ct_AR="$ac_prog"
1.43      moko     6035:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     6036:     break 2
1.15      paf      6037:   fi
1.35      moko     6038: done
1.43      moko     6039:   done
                   6040: IFS=$as_save_IFS
1.15      paf      6041: 
1.11      paf      6042: fi
                   6043: fi
1.35      moko     6044: ac_ct_AR=$ac_cv_prog_ac_ct_AR
                   6045: if test -n "$ac_ct_AR"; then
1.43      moko     6046:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
                   6047: $as_echo "$ac_ct_AR" >&6; }
1.15      paf      6048: else
1.43      moko     6049:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6050: $as_echo "no" >&6; }
1.11      paf      6051: fi
                   6052: 
1.43      moko     6053: 
1.35      moko     6054:   test -n "$ac_ct_AR" && break
1.15      paf      6055: done
1.35      moko     6056: 
1.43      moko     6057:   if test "x$ac_ct_AR" = x; then
                   6058:     AR="false"
                   6059:   else
                   6060:     case $cross_compiling:$ac_tool_warned in
                   6061: yes:)
                   6062: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6063: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6064: ac_tool_warned=yes ;;
                   6065: esac
                   6066:     AR=$ac_ct_AR
                   6067:   fi
1.11      paf      6068: fi
1.15      paf      6069: 
1.35      moko     6070: : ${AR=ar}
                   6071: : ${AR_FLAGS=cru}
                   6072: 
1.15      paf      6073: 
                   6074: 
1.11      paf      6075: 
1.15      paf      6076: 
1.11      paf      6077: 
                   6078: 
1.15      paf      6079: 
1.11      paf      6080: 
1.15      paf      6081: 
                   6082: 
1.43      moko     6083: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
                   6084: $as_echo_n "checking for archiver @FILE support... " >&6; }
                   6085: if ${lt_cv_ar_at_file+:} false; then :
                   6086:   $as_echo_n "(cached) " >&6
1.15      paf      6087: else
1.35      moko     6088:   lt_cv_ar_at_file=no
1.43      moko     6089:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.15      paf      6090: /* end confdefs.h.  */
                   6091: 
                   6092: int
                   6093: main ()
                   6094: {
                   6095: 
                   6096:   ;
                   6097:   return 0;
                   6098: }
                   6099: _ACEOF
1.43      moko     6100: if ac_fn_c_try_compile "$LINENO"; then :
1.35      moko     6101:   echo conftest.$ac_objext > conftest.lst
                   6102:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
1.43      moko     6103:       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
1.35      moko     6104:   (eval $lt_ar_try) 2>&5
                   6105:   ac_status=$?
1.43      moko     6106:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6107:   test $ac_status = 0; }
1.35      moko     6108:       if test "$ac_status" -eq 0; then
                   6109:        # Ensure the archiver fails upon bogus file names.
                   6110:        rm -f conftest.$ac_objext libconftest.a
1.43      moko     6111:        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
1.35      moko     6112:   (eval $lt_ar_try) 2>&5
                   6113:   ac_status=$?
1.43      moko     6114:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6115:   test $ac_status = 0; }
1.35      moko     6116:        if test "$ac_status" -ne 0; then
                   6117:           lt_cv_ar_at_file=@
                   6118:         fi
                   6119:       fi
                   6120:       rm -f conftest.* libconftest.a
                   6121: 
1.11      paf      6122: fi
1.43      moko     6123: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.15      paf      6124: 
1.35      moko     6125: fi
1.43      moko     6126: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
                   6127: $as_echo "$lt_cv_ar_at_file" >&6; }
1.35      moko     6128: 
                   6129: if test "x$lt_cv_ar_at_file" = xno; then
                   6130:   archiver_list_spec=
1.11      paf      6131: else
1.35      moko     6132:   archiver_list_spec=$lt_cv_ar_at_file
1.11      paf      6133: fi
1.15      paf      6134: 
1.11      paf      6135: 
1.1       parser   6136: 
1.35      moko     6137: 
                   6138: 
                   6139: 
                   6140: 
                   6141: if test -n "$ac_tool_prefix"; then
                   6142:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   6143: set dummy ${ac_tool_prefix}strip; ac_word=$2
1.43      moko     6144: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6145: $as_echo_n "checking for $ac_word... " >&6; }
                   6146: if ${ac_cv_prog_STRIP+:} false; then :
                   6147:   $as_echo_n "(cached) " >&6
1.35      moko     6148: else
                   6149:   if test -n "$STRIP"; then
                   6150:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   6151: else
                   6152: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6153: for as_dir in $PATH
                   6154: do
                   6155:   IFS=$as_save_IFS
                   6156:   test -z "$as_dir" && as_dir=.
1.43      moko     6157:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     6158:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     6159:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1.43      moko     6160:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     6161:     break 2
                   6162:   fi
                   6163: done
1.43      moko     6164:   done
                   6165: IFS=$as_save_IFS
1.35      moko     6166: 
                   6167: fi
                   6168: fi
                   6169: STRIP=$ac_cv_prog_STRIP
                   6170: if test -n "$STRIP"; then
1.43      moko     6171:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   6172: $as_echo "$STRIP" >&6; }
1.1       parser   6173: else
1.43      moko     6174:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6175: $as_echo "no" >&6; }
1.1       parser   6176: fi
                   6177: 
1.43      moko     6178: 
1.15      paf      6179: fi
1.35      moko     6180: if test -z "$ac_cv_prog_STRIP"; then
                   6181:   ac_ct_STRIP=$STRIP
                   6182:   # Extract the first word of "strip", so it can be a program name with args.
                   6183: set dummy strip; ac_word=$2
1.43      moko     6184: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6185: $as_echo_n "checking for $ac_word... " >&6; }
                   6186: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
                   6187:   $as_echo_n "(cached) " >&6
1.15      paf      6188: else
1.35      moko     6189:   if test -n "$ac_ct_STRIP"; then
                   6190:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1.1       parser   6191: else
1.35      moko     6192: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6193: for as_dir in $PATH
                   6194: do
                   6195:   IFS=$as_save_IFS
                   6196:   test -z "$as_dir" && as_dir=.
1.43      moko     6197:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     6198:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     6199:     ac_cv_prog_ac_ct_STRIP="strip"
1.43      moko     6200:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     6201:     break 2
                   6202:   fi
                   6203: done
1.43      moko     6204:   done
                   6205: IFS=$as_save_IFS
1.15      paf      6206: 
1.1       parser   6207: fi
1.15      paf      6208: fi
1.35      moko     6209: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   6210: if test -n "$ac_ct_STRIP"; then
1.43      moko     6211:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   6212: $as_echo "$ac_ct_STRIP" >&6; }
1.35      moko     6213: else
1.43      moko     6214:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6215: $as_echo "no" >&6; }
1.15      paf      6216: fi
1.1       parser   6217: 
1.43      moko     6218:   if test "x$ac_ct_STRIP" = x; then
                   6219:     STRIP=":"
                   6220:   else
                   6221:     case $cross_compiling:$ac_tool_warned in
                   6222: yes:)
                   6223: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6224: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6225: ac_tool_warned=yes ;;
                   6226: esac
                   6227:     STRIP=$ac_ct_STRIP
                   6228:   fi
1.35      moko     6229: else
                   6230:   STRIP="$ac_cv_prog_STRIP"
1.15      paf      6231: fi
1.1       parser   6232: 
1.35      moko     6233: test -z "$STRIP" && STRIP=:
1.1       parser   6234: 
                   6235: 
                   6236: 
                   6237: 
                   6238: 
                   6239: 
1.35      moko     6240: if test -n "$ac_tool_prefix"; then
                   6241:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   6242: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1.43      moko     6243: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6244: $as_echo_n "checking for $ac_word... " >&6; }
                   6245: if ${ac_cv_prog_RANLIB+:} false; then :
                   6246:   $as_echo_n "(cached) " >&6
1.15      paf      6247: else
1.35      moko     6248:   if test -n "$RANLIB"; then
                   6249:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1.15      paf      6250: else
1.35      moko     6251: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6252: for as_dir in $PATH
                   6253: do
                   6254:   IFS=$as_save_IFS
                   6255:   test -z "$as_dir" && as_dir=.
1.43      moko     6256:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     6257:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     6258:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1.43      moko     6259:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     6260:     break 2
                   6261:   fi
                   6262: done
1.43      moko     6263:   done
                   6264: IFS=$as_save_IFS
1.15      paf      6265: 
                   6266: fi
                   6267: fi
1.35      moko     6268: RANLIB=$ac_cv_prog_RANLIB
                   6269: if test -n "$RANLIB"; then
1.43      moko     6270:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
                   6271: $as_echo "$RANLIB" >&6; }
1.35      moko     6272: else
1.43      moko     6273:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6274: $as_echo "no" >&6; }
1.35      moko     6275: fi
1.15      paf      6276: 
1.43      moko     6277: 
1.15      paf      6278: fi
1.35      moko     6279: if test -z "$ac_cv_prog_RANLIB"; then
                   6280:   ac_ct_RANLIB=$RANLIB
                   6281:   # Extract the first word of "ranlib", so it can be a program name with args.
                   6282: set dummy ranlib; ac_word=$2
1.43      moko     6283: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6284: $as_echo_n "checking for $ac_word... " >&6; }
                   6285: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
                   6286:   $as_echo_n "(cached) " >&6
1.35      moko     6287: else
                   6288:   if test -n "$ac_ct_RANLIB"; then
                   6289:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   6290: else
                   6291: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6292: for as_dir in $PATH
                   6293: do
                   6294:   IFS=$as_save_IFS
                   6295:   test -z "$as_dir" && as_dir=.
1.43      moko     6296:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     6297:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     6298:     ac_cv_prog_ac_ct_RANLIB="ranlib"
1.43      moko     6299:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     6300:     break 2
                   6301:   fi
                   6302: done
1.43      moko     6303:   done
                   6304: IFS=$as_save_IFS
1.15      paf      6305: 
1.35      moko     6306: fi
1.15      paf      6307: fi
1.35      moko     6308: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   6309: if test -n "$ac_ct_RANLIB"; then
1.43      moko     6310:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
                   6311: $as_echo "$ac_ct_RANLIB" >&6; }
1.15      paf      6312: else
1.43      moko     6313:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6314: $as_echo "no" >&6; }
1.15      paf      6315: fi
                   6316: 
1.43      moko     6317:   if test "x$ac_ct_RANLIB" = x; then
                   6318:     RANLIB=":"
                   6319:   else
                   6320:     case $cross_compiling:$ac_tool_warned in
                   6321: yes:)
                   6322: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6323: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6324: ac_tool_warned=yes ;;
                   6325: esac
                   6326:     RANLIB=$ac_ct_RANLIB
                   6327:   fi
1.15      paf      6328: else
1.35      moko     6329:   RANLIB="$ac_cv_prog_RANLIB"
1.15      paf      6330: fi
                   6331: 
1.35      moko     6332: test -z "$RANLIB" && RANLIB=:
                   6333: 
                   6334: 
                   6335: 
                   6336: 
                   6337: 
                   6338: 
                   6339: # Determine commands to create old-style static archives.
                   6340: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
                   6341: old_postinstall_cmds='chmod 644 $oldlib'
                   6342: old_postuninstall_cmds=
1.15      paf      6343: 
1.35      moko     6344: if test -n "$RANLIB"; then
                   6345:   case $host_os in
                   6346:   openbsd*)
                   6347:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
1.15      paf      6348:     ;;
1.35      moko     6349:   *)
                   6350:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
1.15      paf      6351:     ;;
1.35      moko     6352:   esac
                   6353:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
                   6354: fi
                   6355: 
                   6356: case $host_os in
                   6357:   darwin*)
                   6358:     lock_old_archive_extraction=yes ;;
                   6359:   *)
                   6360:     lock_old_archive_extraction=no ;;
1.15      paf      6361: esac
                   6362: 
                   6363: 
                   6364: 
                   6365: 
                   6366: 
                   6367: 
                   6368: 
                   6369: 
                   6370: 
                   6371: 
                   6372: 
                   6373: 
                   6374: 
                   6375: 
                   6376: 
                   6377: 
                   6378: 
1.1       parser   6379: 
                   6380: 
1.15      paf      6381: 
                   6382: 
                   6383: 
                   6384: 
                   6385: 
                   6386: 
1.1       parser   6387: 
                   6388: 
                   6389: 
1.15      paf      6390: 
                   6391: 
                   6392: 
                   6393: 
                   6394: 
                   6395: 
1.35      moko     6396: 
                   6397: 
                   6398: 
                   6399: 
                   6400: 
                   6401: # If no C compiler was specified, use CC.
                   6402: LTCC=${LTCC-"$CC"}
                   6403: 
                   6404: # If no C compiler flags were specified, use CFLAGS.
                   6405: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   6406: 
                   6407: # Allow CC to be a program name with arguments.
                   6408: compiler=$CC
                   6409: 
                   6410: 
                   6411: # Check for command to grab the raw symbol name followed by C symbol from nm.
1.43      moko     6412: { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
                   6413: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
                   6414: if ${lt_cv_sys_global_symbol_pipe+:} false; then :
                   6415:   $as_echo_n "(cached) " >&6
1.1       parser   6416: else
                   6417: 
1.35      moko     6418: # These are sane defaults that work on at least a few old systems.
                   6419: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
1.15      paf      6420: 
1.35      moko     6421: # Character class describing NM global symbol codes.
                   6422: symcode='[BCDEGRST]'
1.15      paf      6423: 
1.35      moko     6424: # Regexp to match symbols that can be accessed directly from C.
                   6425: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
1.15      paf      6426: 
1.35      moko     6427: # Define system-specific variables.
                   6428: case $host_os in
                   6429: aix*)
                   6430:   symcode='[BCDT]'
                   6431:   ;;
                   6432: cygwin* | mingw* | pw32* | cegcc*)
                   6433:   symcode='[ABCDGISTW]'
                   6434:   ;;
                   6435: hpux*)
                   6436:   if test "$host_cpu" = ia64; then
                   6437:     symcode='[ABCDEGRST]'
                   6438:   fi
                   6439:   ;;
                   6440: irix* | nonstopux*)
                   6441:   symcode='[BCDEGRST]'
                   6442:   ;;
                   6443: osf*)
                   6444:   symcode='[BCDEGQRST]'
                   6445:   ;;
                   6446: solaris*)
                   6447:   symcode='[BDRT]'
                   6448:   ;;
                   6449: sco3.2v5*)
                   6450:   symcode='[DT]'
                   6451:   ;;
                   6452: sysv4.2uw2*)
                   6453:   symcode='[DT]'
                   6454:   ;;
                   6455: sysv5* | sco5v6* | unixware* | OpenUNIX*)
                   6456:   symcode='[ABDT]'
                   6457:   ;;
                   6458: sysv4)
                   6459:   symcode='[DFNSTU]'
                   6460:   ;;
                   6461: esac
                   6462: 
                   6463: # If we're using GNU nm, then use its standard symbol codes.
                   6464: case `$NM -V 2>&1` in
                   6465: *GNU* | *'with BFD'*)
                   6466:   symcode='[ABCDGIRSTW]' ;;
                   6467: esac
                   6468: 
                   6469: # Transform an extracted symbol line into a proper C declaration.
                   6470: # Some systems (esp. on ia64) link data and code symbols differently,
                   6471: # so use this general approach.
                   6472: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
                   6473: 
                   6474: # Transform an extracted symbol line into symbol name and symbol address
                   6475: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
                   6476: 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'"
                   6477: 
                   6478: # Handle CRLF in mingw tool chain
                   6479: opt_cr=
                   6480: case $build_os in
                   6481: mingw*)
                   6482:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
                   6483:   ;;
                   6484: esac
                   6485: 
                   6486: # Try without a prefix underscore, then with it.
                   6487: for ac_symprfx in "" "_"; do
                   6488: 
                   6489:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
                   6490:   symxfrm="\\1 $ac_symprfx\\2 \\2"
                   6491: 
                   6492:   # Write the raw and C identifiers.
                   6493:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   6494:     # Fake it for dumpbin and say T for any non-static function
                   6495:     # and D for any global variable.
                   6496:     # Also find C++ and __fastcall symbols from MSVC++,
                   6497:     # which start with @ or ?.
                   6498:     lt_cv_sys_global_symbol_pipe="$AWK '"\
                   6499: "     {last_section=section; section=\$ 3};"\
                   6500: "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
                   6501: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
                   6502: "     \$ 0!~/External *\|/{next};"\
                   6503: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
                   6504: "     {if(hide[section]) next};"\
                   6505: "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
                   6506: "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
                   6507: "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
                   6508: "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
                   6509: "     ' prfx=^$ac_symprfx"
                   6510:   else
                   6511:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
                   6512:   fi
                   6513:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
                   6514: 
                   6515:   # Check to see that the pipe works correctly.
                   6516:   pipe_works=no
1.15      paf      6517: 
1.35      moko     6518:   rm -f conftest*
                   6519:   cat > conftest.$ac_ext <<_LT_EOF
                   6520: #ifdef __cplusplus
                   6521: extern "C" {
                   6522: #endif
                   6523: char nm_test_var;
                   6524: void nm_test_func(void);
                   6525: void nm_test_func(void){}
                   6526: #ifdef __cplusplus
1.15      paf      6527: }
1.35      moko     6528: #endif
                   6529: int main(){nm_test_var='a';nm_test_func();return(0);}
                   6530: _LT_EOF
                   6531: 
1.43      moko     6532:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.35      moko     6533:   (eval $ac_compile) 2>&5
1.15      paf      6534:   ac_status=$?
1.43      moko     6535:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6536:   test $ac_status = 0; }; then
1.35      moko     6537:     # Now try to grab the symbols.
                   6538:     nlist=conftest.nm
1.43      moko     6539:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
1.35      moko     6540:   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
1.25      paf      6541:   ac_status=$?
1.43      moko     6542:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6543:   test $ac_status = 0; } && test -s "$nlist"; then
1.35      moko     6544:       # Try sorting and uniquifying the output.
                   6545:       if sort "$nlist" | uniq > "$nlist"T; then
                   6546:        mv -f "$nlist"T "$nlist"
                   6547:       else
                   6548:        rm -f "$nlist"T
                   6549:       fi
                   6550: 
                   6551:       # Make sure that we snagged all the symbols we need.
                   6552:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
                   6553:        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
                   6554:          cat <<_LT_EOF > conftest.$ac_ext
                   6555: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
                   6556: #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
                   6557: /* DATA imports from DLLs on WIN32 con't be const, because runtime
                   6558:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
                   6559: # define LT_DLSYM_CONST
                   6560: #elif defined(__osf__)
                   6561: /* This system does not cope well with relocations in const data.  */
                   6562: # define LT_DLSYM_CONST
                   6563: #else
                   6564: # define LT_DLSYM_CONST const
                   6565: #endif
                   6566: 
                   6567: #ifdef __cplusplus
                   6568: extern "C" {
                   6569: #endif
                   6570: 
                   6571: _LT_EOF
                   6572:          # Now generate the symbol file.
                   6573:          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
                   6574: 
                   6575:          cat <<_LT_EOF >> conftest.$ac_ext
                   6576: 
                   6577: /* The mapping between symbol names and symbols.  */
                   6578: LT_DLSYM_CONST struct {
                   6579:   const char *name;
                   6580:   void       *address;
                   6581: }
                   6582: lt__PROGRAM__LTX_preloaded_symbols[] =
                   6583: {
                   6584:   { "@PROGRAM@", (void *) 0 },
                   6585: _LT_EOF
                   6586:          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
                   6587:          cat <<\_LT_EOF >> conftest.$ac_ext
                   6588:   {0, (void *) 0}
                   6589: };
                   6590: 
                   6591: /* This works around a problem in FreeBSD linker */
                   6592: #ifdef FREEBSD_WORKAROUND
                   6593: static const void *lt_preloaded_setup() {
                   6594:   return lt__PROGRAM__LTX_preloaded_symbols;
                   6595: }
                   6596: #endif
                   6597: 
                   6598: #ifdef __cplusplus
                   6599: }
                   6600: #endif
                   6601: _LT_EOF
                   6602:          # Now try linking the two files.
                   6603:          mv conftest.$ac_objext conftstm.$ac_objext
                   6604:          lt_globsym_save_LIBS=$LIBS
                   6605:          lt_globsym_save_CFLAGS=$CFLAGS
                   6606:          LIBS="conftstm.$ac_objext"
                   6607:          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
1.43      moko     6608:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.35      moko     6609:   (eval $ac_link) 2>&5
1.15      paf      6610:   ac_status=$?
1.43      moko     6611:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6612:   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
1.35      moko     6613:            pipe_works=yes
                   6614:          fi
                   6615:          LIBS=$lt_globsym_save_LIBS
                   6616:          CFLAGS=$lt_globsym_save_CFLAGS
                   6617:        else
                   6618:          echo "cannot find nm_test_func in $nlist" >&5
                   6619:        fi
                   6620:       else
                   6621:        echo "cannot find nm_test_var in $nlist" >&5
                   6622:       fi
                   6623:     else
                   6624:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   6625:     fi
                   6626:   else
                   6627:     echo "$progname: failed program was:" >&5
                   6628:     cat conftest.$ac_ext >&5
                   6629:   fi
                   6630:   rm -rf conftest* conftst*
                   6631: 
                   6632:   # Do not use the global_symbol_pipe unless it works.
                   6633:   if test "$pipe_works" = yes; then
                   6634:     break
                   6635:   else
                   6636:     lt_cv_sys_global_symbol_pipe=
                   6637:   fi
                   6638: done
                   6639: 
                   6640: fi
                   6641: 
                   6642: if test -z "$lt_cv_sys_global_symbol_pipe"; then
                   6643:   lt_cv_sys_global_symbol_to_cdecl=
                   6644: fi
                   6645: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
1.43      moko     6646:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
                   6647: $as_echo "failed" >&6; }
1.1       parser   6648: else
1.43      moko     6649:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
                   6650: $as_echo "ok" >&6; }
1.35      moko     6651: fi
1.15      paf      6652: 
1.35      moko     6653: # Response file support.
                   6654: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   6655:   nm_file_list_spec='@'
                   6656: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
                   6657:   nm_file_list_spec='@'
1.1       parser   6658: fi
                   6659: 
1.15      paf      6660: 
                   6661: 
                   6662: 
                   6663: 
                   6664: 
                   6665: 
                   6666: 
                   6667: 
                   6668: 
                   6669: 
1.1       parser   6670: 
                   6671: 
1.15      paf      6672: 
                   6673: 
                   6674: 
1.1       parser   6675: 
1.15      paf      6676: 
                   6677: 
                   6678: 
                   6679: 
1.35      moko     6680: 
                   6681: 
                   6682: 
                   6683: 
                   6684: 
                   6685: 
1.43      moko     6686: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
                   6687: $as_echo_n "checking for sysroot... " >&6; }
1.35      moko     6688: 
1.43      moko     6689: # Check whether --with-sysroot was given.
                   6690: if test "${with_sysroot+set}" = set; then :
                   6691:   withval=$with_sysroot;
1.15      paf      6692: else
1.35      moko     6693:   with_sysroot=no
1.43      moko     6694: fi
                   6695: 
1.15      paf      6696: 
1.35      moko     6697: lt_sysroot=
                   6698: case ${with_sysroot} in #(
                   6699:  yes)
                   6700:    if test "$GCC" = yes; then
                   6701:      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
                   6702:    fi
                   6703:    ;; #(
                   6704:  /*)
                   6705:    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
                   6706:    ;; #(
                   6707:  no|'')
                   6708:    ;; #(
                   6709:  *)
1.43      moko     6710:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
                   6711: $as_echo "${with_sysroot}" >&6; }
                   6712:    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
1.35      moko     6713:    ;;
                   6714: esac
                   6715: 
1.43      moko     6716:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
                   6717: $as_echo "${lt_sysroot:-no}" >&6; }
1.35      moko     6718: 
                   6719: 
                   6720: 
                   6721: 
                   6722: 
1.43      moko     6723: # Check whether --enable-libtool-lock was given.
                   6724: if test "${enable_libtool_lock+set}" = set; then :
                   6725:   enableval=$enable_libtool_lock;
                   6726: fi
1.15      paf      6727: 
1.35      moko     6728: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
1.1       parser   6729: 
1.35      moko     6730: # Some flags need to be propagated to the compiler or linker for good
                   6731: # libtool support.
                   6732: case $host in
                   6733: ia64-*-hpux*)
                   6734:   # Find out which ABI we are using.
                   6735:   echo 'int i;' > conftest.$ac_ext
1.43      moko     6736:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.35      moko     6737:   (eval $ac_compile) 2>&5
                   6738:   ac_status=$?
1.43      moko     6739:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6740:   test $ac_status = 0; }; then
1.35      moko     6741:     case `/usr/bin/file conftest.$ac_objext` in
                   6742:       *ELF-32*)
                   6743:        HPUX_IA64_MODE="32"
                   6744:        ;;
                   6745:       *ELF-64*)
                   6746:        HPUX_IA64_MODE="64"
                   6747:        ;;
1.15      paf      6748:     esac
                   6749:   fi
1.35      moko     6750:   rm -rf conftest*
                   6751:   ;;
                   6752: *-*-irix6*)
                   6753:   # Find out which ABI we are using.
                   6754:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
1.43      moko     6755:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.35      moko     6756:   (eval $ac_compile) 2>&5
1.15      paf      6757:   ac_status=$?
1.43      moko     6758:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6759:   test $ac_status = 0; }; then
1.35      moko     6760:     if test "$lt_cv_prog_gnu_ld" = yes; then
                   6761:       case `/usr/bin/file conftest.$ac_objext` in
                   6762:        *32-bit*)
                   6763:          LD="${LD-ld} -melf32bsmip"
                   6764:          ;;
                   6765:        *N32*)
                   6766:          LD="${LD-ld} -melf32bmipn32"
                   6767:          ;;
                   6768:        *64-bit*)
                   6769:          LD="${LD-ld} -melf64bmip"
                   6770:        ;;
                   6771:       esac
                   6772:     else
                   6773:       case `/usr/bin/file conftest.$ac_objext` in
                   6774:        *32-bit*)
                   6775:          LD="${LD-ld} -32"
                   6776:          ;;
                   6777:        *N32*)
                   6778:          LD="${LD-ld} -n32"
                   6779:          ;;
                   6780:        *64-bit*)
                   6781:          LD="${LD-ld} -64"
                   6782:          ;;
                   6783:       esac
                   6784:     fi
                   6785:   fi
                   6786:   rm -rf conftest*
                   6787:   ;;
                   6788: 
                   6789: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
                   6790: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
                   6791:   # Find out which ABI we are using.
                   6792:   echo 'int i;' > conftest.$ac_ext
1.43      moko     6793:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.35      moko     6794:   (eval $ac_compile) 2>&5
1.25      paf      6795:   ac_status=$?
1.43      moko     6796:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6797:   test $ac_status = 0; }; then
1.35      moko     6798:     case `/usr/bin/file conftest.o` in
                   6799:       *32-bit*)
                   6800:        case $host in
                   6801:          x86_64-*kfreebsd*-gnu)
                   6802:            LD="${LD-ld} -m elf_i386_fbsd"
                   6803:            ;;
                   6804:          x86_64-*linux*)
                   6805:            LD="${LD-ld} -m elf_i386"
                   6806:            ;;
                   6807:          ppc64-*linux*|powerpc64-*linux*)
                   6808:            LD="${LD-ld} -m elf32ppclinux"
                   6809:            ;;
                   6810:          s390x-*linux*)
                   6811:            LD="${LD-ld} -m elf_s390"
                   6812:            ;;
                   6813:          sparc64-*linux*)
                   6814:            LD="${LD-ld} -m elf32_sparc"
                   6815:            ;;
                   6816:        esac
1.15      paf      6817:        ;;
1.35      moko     6818:       *64-bit*)
                   6819:        case $host in
                   6820:          x86_64-*kfreebsd*-gnu)
                   6821:            LD="${LD-ld} -m elf_x86_64_fbsd"
                   6822:            ;;
                   6823:          x86_64-*linux*)
                   6824:            LD="${LD-ld} -m elf_x86_64"
                   6825:            ;;
                   6826:          ppc*-*linux*|powerpc*-*linux*)
                   6827:            LD="${LD-ld} -m elf64ppc"
                   6828:            ;;
                   6829:          s390*-*linux*|s390*-*tpf*)
                   6830:            LD="${LD-ld} -m elf64_s390"
                   6831:            ;;
                   6832:          sparc*-*linux*)
                   6833:            LD="${LD-ld} -m elf64_sparc"
                   6834:            ;;
                   6835:        esac
1.15      paf      6836:        ;;
1.35      moko     6837:     esac
1.15      paf      6838:   fi
1.35      moko     6839:   rm -rf conftest*
                   6840:   ;;
1.15      paf      6841: 
1.35      moko     6842: *-*-sco3.2v5*)
                   6843:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
                   6844:   SAVE_CFLAGS="$CFLAGS"
                   6845:   CFLAGS="$CFLAGS -belf"
1.43      moko     6846:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
                   6847: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
                   6848: if ${lt_cv_cc_needs_belf+:} false; then :
                   6849:   $as_echo_n "(cached) " >&6
1.15      paf      6850: else
1.35      moko     6851:   ac_ext=c
                   6852: ac_cpp='$CPP $CPPFLAGS'
                   6853: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   6854: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   6855: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   6856: 
1.43      moko     6857:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.15      paf      6858: /* end confdefs.h.  */
                   6859: 
                   6860: int
                   6861: main ()
                   6862: {
                   6863: 
                   6864:   ;
                   6865:   return 0;
                   6866: }
                   6867: _ACEOF
1.43      moko     6868: if ac_fn_c_try_link "$LINENO"; then :
1.35      moko     6869:   lt_cv_cc_needs_belf=yes
1.15      paf      6870: else
1.43      moko     6871:   lt_cv_cc_needs_belf=no
1.15      paf      6872: fi
1.43      moko     6873: rm -f core conftest.err conftest.$ac_objext \
                   6874:     conftest$ac_exeext conftest.$ac_ext
1.35      moko     6875:      ac_ext=c
                   6876: ac_cpp='$CPP $CPPFLAGS'
                   6877: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   6878: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   6879: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.15      paf      6880: 
                   6881: fi
1.43      moko     6882: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
                   6883: $as_echo "$lt_cv_cc_needs_belf" >&6; }
1.35      moko     6884:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
                   6885:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
                   6886:     CFLAGS="$SAVE_CFLAGS"
                   6887:   fi
                   6888:   ;;
                   6889: *-*solaris*)
                   6890:   # Find out which ABI we are using.
                   6891:   echo 'int i;' > conftest.$ac_ext
1.43      moko     6892:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.35      moko     6893:   (eval $ac_compile) 2>&5
                   6894:   ac_status=$?
1.43      moko     6895:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6896:   test $ac_status = 0; }; then
1.35      moko     6897:     case `/usr/bin/file conftest.o` in
                   6898:     *64-bit*)
                   6899:       case $lt_cv_prog_gnu_ld in
                   6900:       yes*)
                   6901:         case $host in
                   6902:         i?86-*-solaris*)
                   6903:           LD="${LD-ld} -m elf_x86_64"
                   6904:           ;;
                   6905:         sparc*-*-solaris*)
                   6906:           LD="${LD-ld} -m elf64_sparc"
                   6907:           ;;
                   6908:         esac
                   6909:         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
                   6910:         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
                   6911:           LD="${LD-ld}_sol2"
                   6912:         fi
                   6913:         ;;
                   6914:       *)
                   6915:        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
                   6916:          LD="${LD-ld} -64"
                   6917:        fi
                   6918:        ;;
                   6919:       esac
                   6920:       ;;
                   6921:     esac
                   6922:   fi
                   6923:   rm -rf conftest*
                   6924:   ;;
                   6925: esac
1.15      paf      6926: 
1.35      moko     6927: need_locks="$enable_libtool_lock"
1.15      paf      6928: 
1.35      moko     6929: if test -n "$ac_tool_prefix"; then
                   6930:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
                   6931: set dummy ${ac_tool_prefix}mt; ac_word=$2
1.43      moko     6932: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6933: $as_echo_n "checking for $ac_word... " >&6; }
                   6934: if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
                   6935:   $as_echo_n "(cached) " >&6
1.15      paf      6936: else
1.35      moko     6937:   if test -n "$MANIFEST_TOOL"; then
                   6938:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
                   6939: else
                   6940: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6941: for as_dir in $PATH
                   6942: do
                   6943:   IFS=$as_save_IFS
                   6944:   test -z "$as_dir" && as_dir=.
1.43      moko     6945:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     6946:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     6947:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
1.43      moko     6948:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     6949:     break 2
                   6950:   fi
                   6951: done
1.43      moko     6952:   done
                   6953: IFS=$as_save_IFS
1.15      paf      6954: 
1.35      moko     6955: fi
                   6956: fi
                   6957: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
                   6958: if test -n "$MANIFEST_TOOL"; then
1.43      moko     6959:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
                   6960: $as_echo "$MANIFEST_TOOL" >&6; }
1.15      paf      6961: else
1.43      moko     6962:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6963: $as_echo "no" >&6; }
1.15      paf      6964: fi
                   6965: 
1.43      moko     6966: 
1.15      paf      6967: fi
1.35      moko     6968: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
                   6969:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
                   6970:   # Extract the first word of "mt", so it can be a program name with args.
                   6971: set dummy mt; ac_word=$2
1.43      moko     6972: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6973: $as_echo_n "checking for $ac_word... " >&6; }
                   6974: if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
                   6975:   $as_echo_n "(cached) " >&6
1.35      moko     6976: else
                   6977:   if test -n "$ac_ct_MANIFEST_TOOL"; then
                   6978:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
                   6979: else
                   6980: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6981: for as_dir in $PATH
                   6982: do
                   6983:   IFS=$as_save_IFS
                   6984:   test -z "$as_dir" && as_dir=.
1.43      moko     6985:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     6986:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     6987:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
1.43      moko     6988:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     6989:     break 2
                   6990:   fi
                   6991: done
1.43      moko     6992:   done
                   6993: IFS=$as_save_IFS
1.15      paf      6994: 
1.35      moko     6995: fi
                   6996: fi
                   6997: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
                   6998: if test -n "$ac_ct_MANIFEST_TOOL"; then
1.43      moko     6999:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
                   7000: $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
1.35      moko     7001: else
1.43      moko     7002:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7003: $as_echo "no" >&6; }
1.35      moko     7004: fi
                   7005: 
1.43      moko     7006:   if test "x$ac_ct_MANIFEST_TOOL" = x; then
                   7007:     MANIFEST_TOOL=":"
                   7008:   else
                   7009:     case $cross_compiling:$ac_tool_warned in
                   7010: yes:)
                   7011: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7012: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7013: ac_tool_warned=yes ;;
                   7014: esac
                   7015:     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
                   7016:   fi
1.35      moko     7017: else
                   7018:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
                   7019: fi
1.15      paf      7020: 
1.35      moko     7021: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
1.43      moko     7022: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
                   7023: $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
                   7024: if ${lt_cv_path_mainfest_tool+:} false; then :
                   7025:   $as_echo_n "(cached) " >&6
1.15      paf      7026: else
1.35      moko     7027:   lt_cv_path_mainfest_tool=no
                   7028:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
                   7029:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
                   7030:   cat conftest.err >&5
                   7031:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
                   7032:     lt_cv_path_mainfest_tool=yes
                   7033:   fi
                   7034:   rm -f conftest*
                   7035: fi
1.43      moko     7036: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
                   7037: $as_echo "$lt_cv_path_mainfest_tool" >&6; }
1.35      moko     7038: if test "x$lt_cv_path_mainfest_tool" != xyes; then
                   7039:   MANIFEST_TOOL=:
                   7040: fi
                   7041: 
                   7042: 
                   7043: 
1.15      paf      7044: 
                   7045: 
                   7046: 
1.35      moko     7047:   case $host_os in
                   7048:     rhapsody* | darwin*)
                   7049:     if test -n "$ac_tool_prefix"; then
                   7050:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
                   7051: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
1.43      moko     7052: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7053: $as_echo_n "checking for $ac_word... " >&6; }
                   7054: if ${ac_cv_prog_DSYMUTIL+:} false; then :
                   7055:   $as_echo_n "(cached) " >&6
1.15      paf      7056: else
1.35      moko     7057:   if test -n "$DSYMUTIL"; then
                   7058:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
                   7059: else
                   7060: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7061: for as_dir in $PATH
                   7062: do
                   7063:   IFS=$as_save_IFS
                   7064:   test -z "$as_dir" && as_dir=.
1.43      moko     7065:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     7066:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     7067:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
1.43      moko     7068:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     7069:     break 2
                   7070:   fi
                   7071: done
1.43      moko     7072:   done
                   7073: IFS=$as_save_IFS
1.15      paf      7074: 
                   7075: fi
1.35      moko     7076: fi
                   7077: DSYMUTIL=$ac_cv_prog_DSYMUTIL
                   7078: if test -n "$DSYMUTIL"; then
1.43      moko     7079:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
                   7080: $as_echo "$DSYMUTIL" >&6; }
1.35      moko     7081: else
1.43      moko     7082:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7083: $as_echo "no" >&6; }
1.35      moko     7084: fi
1.15      paf      7085: 
1.43      moko     7086: 
1.15      paf      7087: fi
1.35      moko     7088: if test -z "$ac_cv_prog_DSYMUTIL"; then
                   7089:   ac_ct_DSYMUTIL=$DSYMUTIL
                   7090:   # Extract the first word of "dsymutil", so it can be a program name with args.
                   7091: set dummy dsymutil; ac_word=$2
1.43      moko     7092: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7093: $as_echo_n "checking for $ac_word... " >&6; }
                   7094: if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
                   7095:   $as_echo_n "(cached) " >&6
1.35      moko     7096: else
                   7097:   if test -n "$ac_ct_DSYMUTIL"; then
                   7098:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
                   7099: else
                   7100: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7101: for as_dir in $PATH
                   7102: do
                   7103:   IFS=$as_save_IFS
                   7104:   test -z "$as_dir" && as_dir=.
1.43      moko     7105:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     7106:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     7107:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
1.43      moko     7108:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     7109:     break 2
                   7110:   fi
                   7111: done
1.43      moko     7112:   done
                   7113: IFS=$as_save_IFS
1.15      paf      7114: 
1.35      moko     7115: fi
                   7116: fi
                   7117: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
                   7118: if test -n "$ac_ct_DSYMUTIL"; then
1.43      moko     7119:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
                   7120: $as_echo "$ac_ct_DSYMUTIL" >&6; }
1.15      paf      7121: else
1.43      moko     7122:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7123: $as_echo "no" >&6; }
1.15      paf      7124: fi
                   7125: 
1.43      moko     7126:   if test "x$ac_ct_DSYMUTIL" = x; then
                   7127:     DSYMUTIL=":"
                   7128:   else
                   7129:     case $cross_compiling:$ac_tool_warned in
                   7130: yes:)
                   7131: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7132: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7133: ac_tool_warned=yes ;;
                   7134: esac
                   7135:     DSYMUTIL=$ac_ct_DSYMUTIL
                   7136:   fi
1.15      paf      7137: else
1.35      moko     7138:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
1.15      paf      7139: fi
                   7140: 
1.35      moko     7141:     if test -n "$ac_tool_prefix"; then
                   7142:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
                   7143: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
1.43      moko     7144: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7145: $as_echo_n "checking for $ac_word... " >&6; }
                   7146: if ${ac_cv_prog_NMEDIT+:} false; then :
                   7147:   $as_echo_n "(cached) " >&6
1.35      moko     7148: else
                   7149:   if test -n "$NMEDIT"; then
                   7150:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
                   7151: else
                   7152: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7153: for as_dir in $PATH
                   7154: do
                   7155:   IFS=$as_save_IFS
                   7156:   test -z "$as_dir" && as_dir=.
1.43      moko     7157:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     7158:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     7159:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
1.43      moko     7160:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     7161:     break 2
                   7162:   fi
                   7163: done
1.43      moko     7164:   done
                   7165: IFS=$as_save_IFS
1.15      paf      7166: 
1.35      moko     7167: fi
                   7168: fi
                   7169: NMEDIT=$ac_cv_prog_NMEDIT
                   7170: if test -n "$NMEDIT"; then
1.43      moko     7171:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
                   7172: $as_echo "$NMEDIT" >&6; }
1.35      moko     7173: else
1.43      moko     7174:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7175: $as_echo "no" >&6; }
1.35      moko     7176: fi
1.15      paf      7177: 
1.43      moko     7178: 
1.35      moko     7179: fi
                   7180: if test -z "$ac_cv_prog_NMEDIT"; then
                   7181:   ac_ct_NMEDIT=$NMEDIT
                   7182:   # Extract the first word of "nmedit", so it can be a program name with args.
                   7183: set dummy nmedit; ac_word=$2
1.43      moko     7184: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7185: $as_echo_n "checking for $ac_word... " >&6; }
                   7186: if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
                   7187:   $as_echo_n "(cached) " >&6
1.35      moko     7188: else
                   7189:   if test -n "$ac_ct_NMEDIT"; then
                   7190:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
1.15      paf      7191: else
1.35      moko     7192: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7193: for as_dir in $PATH
                   7194: do
                   7195:   IFS=$as_save_IFS
                   7196:   test -z "$as_dir" && as_dir=.
1.43      moko     7197:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     7198:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     7199:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
1.43      moko     7200:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     7201:     break 2
                   7202:   fi
                   7203: done
1.43      moko     7204:   done
                   7205: IFS=$as_save_IFS
1.15      paf      7206: 
1.35      moko     7207: fi
                   7208: fi
                   7209: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
                   7210: if test -n "$ac_ct_NMEDIT"; then
1.43      moko     7211:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
                   7212: $as_echo "$ac_ct_NMEDIT" >&6; }
1.35      moko     7213: else
1.43      moko     7214:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7215: $as_echo "no" >&6; }
1.15      paf      7216: fi
                   7217: 
1.43      moko     7218:   if test "x$ac_ct_NMEDIT" = x; then
                   7219:     NMEDIT=":"
                   7220:   else
                   7221:     case $cross_compiling:$ac_tool_warned in
                   7222: yes:)
                   7223: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7224: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7225: ac_tool_warned=yes ;;
                   7226: esac
                   7227:     NMEDIT=$ac_ct_NMEDIT
                   7228:   fi
1.35      moko     7229: else
                   7230:   NMEDIT="$ac_cv_prog_NMEDIT"
1.15      paf      7231: fi
                   7232: 
1.35      moko     7233:     if test -n "$ac_tool_prefix"; then
                   7234:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
                   7235: set dummy ${ac_tool_prefix}lipo; ac_word=$2
1.43      moko     7236: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7237: $as_echo_n "checking for $ac_word... " >&6; }
                   7238: if ${ac_cv_prog_LIPO+:} false; then :
                   7239:   $as_echo_n "(cached) " >&6
1.35      moko     7240: else
                   7241:   if test -n "$LIPO"; then
                   7242:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
                   7243: else
                   7244: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7245: for as_dir in $PATH
                   7246: do
                   7247:   IFS=$as_save_IFS
                   7248:   test -z "$as_dir" && as_dir=.
1.43      moko     7249:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     7250:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     7251:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
1.43      moko     7252:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     7253:     break 2
                   7254:   fi
                   7255: done
1.43      moko     7256:   done
                   7257: IFS=$as_save_IFS
1.15      paf      7258: 
1.35      moko     7259: fi
                   7260: fi
                   7261: LIPO=$ac_cv_prog_LIPO
                   7262: if test -n "$LIPO"; then
1.43      moko     7263:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
                   7264: $as_echo "$LIPO" >&6; }
1.35      moko     7265: else
1.43      moko     7266:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7267: $as_echo "no" >&6; }
1.35      moko     7268: fi
1.15      paf      7269: 
1.43      moko     7270: 
1.35      moko     7271: fi
                   7272: if test -z "$ac_cv_prog_LIPO"; then
                   7273:   ac_ct_LIPO=$LIPO
                   7274:   # Extract the first word of "lipo", so it can be a program name with args.
                   7275: set dummy lipo; ac_word=$2
1.43      moko     7276: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7277: $as_echo_n "checking for $ac_word... " >&6; }
                   7278: if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
                   7279:   $as_echo_n "(cached) " >&6
1.35      moko     7280: else
                   7281:   if test -n "$ac_ct_LIPO"; then
                   7282:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
                   7283: else
                   7284: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7285: for as_dir in $PATH
                   7286: do
                   7287:   IFS=$as_save_IFS
                   7288:   test -z "$as_dir" && as_dir=.
1.43      moko     7289:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     7290:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     7291:     ac_cv_prog_ac_ct_LIPO="lipo"
1.43      moko     7292:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     7293:     break 2
1.15      paf      7294:   fi
1.35      moko     7295: done
1.43      moko     7296:   done
                   7297: IFS=$as_save_IFS
1.35      moko     7298: 
                   7299: fi
                   7300: fi
                   7301: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
                   7302: if test -n "$ac_ct_LIPO"; then
1.43      moko     7303:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
                   7304: $as_echo "$ac_ct_LIPO" >&6; }
1.35      moko     7305: else
1.43      moko     7306:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7307: $as_echo "no" >&6; }
1.35      moko     7308: fi
                   7309: 
1.43      moko     7310:   if test "x$ac_ct_LIPO" = x; then
                   7311:     LIPO=":"
                   7312:   else
                   7313:     case $cross_compiling:$ac_tool_warned in
                   7314: yes:)
                   7315: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7316: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7317: ac_tool_warned=yes ;;
                   7318: esac
                   7319:     LIPO=$ac_ct_LIPO
                   7320:   fi
1.35      moko     7321: else
                   7322:   LIPO="$ac_cv_prog_LIPO"
                   7323: fi
1.15      paf      7324: 
1.35      moko     7325:     if test -n "$ac_tool_prefix"; then
                   7326:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
                   7327: set dummy ${ac_tool_prefix}otool; ac_word=$2
1.43      moko     7328: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7329: $as_echo_n "checking for $ac_word... " >&6; }
                   7330: if ${ac_cv_prog_OTOOL+:} false; then :
                   7331:   $as_echo_n "(cached) " >&6
1.35      moko     7332: else
                   7333:   if test -n "$OTOOL"; then
                   7334:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
                   7335: else
                   7336: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7337: for as_dir in $PATH
                   7338: do
                   7339:   IFS=$as_save_IFS
                   7340:   test -z "$as_dir" && as_dir=.
1.43      moko     7341:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     7342:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     7343:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
1.43      moko     7344:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     7345:     break 2
                   7346:   fi
                   7347: done
1.43      moko     7348:   done
                   7349: IFS=$as_save_IFS
1.15      paf      7350: 
1.35      moko     7351: fi
                   7352: fi
                   7353: OTOOL=$ac_cv_prog_OTOOL
                   7354: if test -n "$OTOOL"; then
1.43      moko     7355:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
                   7356: $as_echo "$OTOOL" >&6; }
1.35      moko     7357: else
1.43      moko     7358:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7359: $as_echo "no" >&6; }
1.35      moko     7360: fi
1.15      paf      7361: 
1.43      moko     7362: 
1.35      moko     7363: fi
                   7364: if test -z "$ac_cv_prog_OTOOL"; then
                   7365:   ac_ct_OTOOL=$OTOOL
                   7366:   # Extract the first word of "otool", so it can be a program name with args.
                   7367: set dummy otool; ac_word=$2
1.43      moko     7368: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7369: $as_echo_n "checking for $ac_word... " >&6; }
                   7370: if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
                   7371:   $as_echo_n "(cached) " >&6
1.35      moko     7372: else
                   7373:   if test -n "$ac_ct_OTOOL"; then
                   7374:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
                   7375: else
                   7376: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7377: for as_dir in $PATH
                   7378: do
                   7379:   IFS=$as_save_IFS
                   7380:   test -z "$as_dir" && as_dir=.
1.43      moko     7381:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     7382:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     7383:     ac_cv_prog_ac_ct_OTOOL="otool"
1.43      moko     7384:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     7385:     break 2
                   7386:   fi
                   7387: done
1.43      moko     7388:   done
                   7389: IFS=$as_save_IFS
1.15      paf      7390: 
1.35      moko     7391: fi
                   7392: fi
                   7393: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
                   7394: if test -n "$ac_ct_OTOOL"; then
1.43      moko     7395:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
                   7396: $as_echo "$ac_ct_OTOOL" >&6; }
1.35      moko     7397: else
1.43      moko     7398:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7399: $as_echo "no" >&6; }
1.35      moko     7400: fi
1.15      paf      7401: 
1.43      moko     7402:   if test "x$ac_ct_OTOOL" = x; then
                   7403:     OTOOL=":"
                   7404:   else
                   7405:     case $cross_compiling:$ac_tool_warned in
                   7406: yes:)
                   7407: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7408: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7409: ac_tool_warned=yes ;;
                   7410: esac
                   7411:     OTOOL=$ac_ct_OTOOL
                   7412:   fi
1.35      moko     7413: else
                   7414:   OTOOL="$ac_cv_prog_OTOOL"
                   7415: fi
1.15      paf      7416: 
1.35      moko     7417:     if test -n "$ac_tool_prefix"; then
                   7418:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
                   7419: set dummy ${ac_tool_prefix}otool64; ac_word=$2
1.43      moko     7420: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7421: $as_echo_n "checking for $ac_word... " >&6; }
                   7422: if ${ac_cv_prog_OTOOL64+:} false; then :
                   7423:   $as_echo_n "(cached) " >&6
1.35      moko     7424: else
                   7425:   if test -n "$OTOOL64"; then
                   7426:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
                   7427: else
                   7428: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7429: for as_dir in $PATH
                   7430: do
                   7431:   IFS=$as_save_IFS
                   7432:   test -z "$as_dir" && as_dir=.
1.43      moko     7433:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     7434:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     7435:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
1.43      moko     7436:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     7437:     break 2
                   7438:   fi
                   7439: done
1.43      moko     7440:   done
                   7441: IFS=$as_save_IFS
1.15      paf      7442: 
1.35      moko     7443: fi
                   7444: fi
                   7445: OTOOL64=$ac_cv_prog_OTOOL64
                   7446: if test -n "$OTOOL64"; then
1.43      moko     7447:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
                   7448: $as_echo "$OTOOL64" >&6; }
1.35      moko     7449: else
1.43      moko     7450:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7451: $as_echo "no" >&6; }
1.35      moko     7452: fi
1.15      paf      7453: 
1.43      moko     7454: 
1.35      moko     7455: fi
                   7456: if test -z "$ac_cv_prog_OTOOL64"; then
                   7457:   ac_ct_OTOOL64=$OTOOL64
                   7458:   # Extract the first word of "otool64", so it can be a program name with args.
                   7459: set dummy otool64; ac_word=$2
1.43      moko     7460: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7461: $as_echo_n "checking for $ac_word... " >&6; }
                   7462: if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
                   7463:   $as_echo_n "(cached) " >&6
1.35      moko     7464: else
                   7465:   if test -n "$ac_ct_OTOOL64"; then
                   7466:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
                   7467: else
                   7468: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7469: for as_dir in $PATH
                   7470: do
                   7471:   IFS=$as_save_IFS
                   7472:   test -z "$as_dir" && as_dir=.
1.43      moko     7473:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     7474:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.35      moko     7475:     ac_cv_prog_ac_ct_OTOOL64="otool64"
1.43      moko     7476:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.35      moko     7477:     break 2
                   7478:   fi
                   7479: done
1.43      moko     7480:   done
                   7481: IFS=$as_save_IFS
1.15      paf      7482: 
1.35      moko     7483: fi
                   7484: fi
                   7485: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
                   7486: if test -n "$ac_ct_OTOOL64"; then
1.43      moko     7487:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
                   7488: $as_echo "$ac_ct_OTOOL64" >&6; }
1.35      moko     7489: else
1.43      moko     7490:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7491: $as_echo "no" >&6; }
1.35      moko     7492: fi
1.15      paf      7493: 
1.43      moko     7494:   if test "x$ac_ct_OTOOL64" = x; then
                   7495:     OTOOL64=":"
                   7496:   else
                   7497:     case $cross_compiling:$ac_tool_warned in
                   7498: yes:)
                   7499: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7500: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7501: ac_tool_warned=yes ;;
                   7502: esac
                   7503:     OTOOL64=$ac_ct_OTOOL64
                   7504:   fi
1.35      moko     7505: else
                   7506:   OTOOL64="$ac_cv_prog_OTOOL64"
                   7507: fi
1.15      paf      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: 
                   7534: 
1.43      moko     7535:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
                   7536: $as_echo_n "checking for -single_module linker flag... " >&6; }
                   7537: if ${lt_cv_apple_cc_single_mod+:} false; then :
                   7538:   $as_echo_n "(cached) " >&6
1.35      moko     7539: else
                   7540:   lt_cv_apple_cc_single_mod=no
                   7541:       if test -z "${LT_MULTI_MODULE}"; then
                   7542:        # By default we will add the -single_module flag. You can override
                   7543:        # by either setting the environment variable LT_MULTI_MODULE
                   7544:        # non-empty at configure time, or by adding -multi_module to the
                   7545:        # link flags.
                   7546:        rm -rf libconftest.dylib*
                   7547:        echo "int foo(void){return 1;}" > conftest.c
                   7548:        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   7549: -dynamiclib -Wl,-single_module conftest.c" >&5
                   7550:        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   7551:          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
                   7552:         _lt_result=$?
                   7553:        # If there is a non-empty error log, and "single_module"
                   7554:        # appears in it, assume the flag caused a linker warning
                   7555:         if test -s conftest.err && $GREP single_module conftest.err; then
                   7556:          cat conftest.err >&5
                   7557:        # Otherwise, if the output was created with a 0 exit code from
                   7558:        # the compiler, it worked.
                   7559:        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
                   7560:          lt_cv_apple_cc_single_mod=yes
                   7561:        else
                   7562:          cat conftest.err >&5
                   7563:        fi
                   7564:        rm -rf libconftest.dylib*
                   7565:        rm -f conftest.*
                   7566:       fi
                   7567: fi
1.43      moko     7568: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
                   7569: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
1.15      paf      7570: 
1.43      moko     7571:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
                   7572: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
                   7573: if ${lt_cv_ld_exported_symbols_list+:} false; then :
                   7574:   $as_echo_n "(cached) " >&6
1.35      moko     7575: else
                   7576:   lt_cv_ld_exported_symbols_list=no
                   7577:       save_LDFLAGS=$LDFLAGS
                   7578:       echo "_main" > conftest.sym
                   7579:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
1.43      moko     7580:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     7581: /* end confdefs.h.  */
1.15      paf      7582: 
1.35      moko     7583: int
                   7584: main ()
                   7585: {
1.15      paf      7586: 
1.35      moko     7587:   ;
                   7588:   return 0;
                   7589: }
                   7590: _ACEOF
1.43      moko     7591: if ac_fn_c_try_link "$LINENO"; then :
1.35      moko     7592:   lt_cv_ld_exported_symbols_list=yes
                   7593: else
1.43      moko     7594:   lt_cv_ld_exported_symbols_list=no
1.35      moko     7595: fi
1.43      moko     7596: rm -f core conftest.err conftest.$ac_objext \
                   7597:     conftest$ac_exeext conftest.$ac_ext
1.35      moko     7598:        LDFLAGS="$save_LDFLAGS"
1.15      paf      7599: 
1.35      moko     7600: fi
1.43      moko     7601: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
                   7602: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
1.15      paf      7603: 
1.43      moko     7604:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
                   7605: $as_echo_n "checking for -force_load linker flag... " >&6; }
                   7606: if ${lt_cv_ld_force_load+:} false; then :
                   7607:   $as_echo_n "(cached) " >&6
1.35      moko     7608: else
                   7609:   lt_cv_ld_force_load=no
                   7610:       cat > conftest.c << _LT_EOF
                   7611: int forced_loaded() { return 2;}
                   7612: _LT_EOF
                   7613:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
                   7614:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
                   7615:       echo "$AR cru libconftest.a conftest.o" >&5
                   7616:       $AR cru libconftest.a conftest.o 2>&5
                   7617:       echo "$RANLIB libconftest.a" >&5
                   7618:       $RANLIB libconftest.a 2>&5
                   7619:       cat > conftest.c << _LT_EOF
                   7620: int main() { return 0;}
                   7621: _LT_EOF
                   7622:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
                   7623:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
                   7624:       _lt_result=$?
                   7625:       if test -s conftest.err && $GREP force_load conftest.err; then
                   7626:        cat conftest.err >&5
                   7627:       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
                   7628:        lt_cv_ld_force_load=yes
                   7629:       else
                   7630:        cat conftest.err >&5
                   7631:       fi
                   7632:         rm -f conftest.err libconftest.a conftest conftest.c
                   7633:         rm -rf conftest.dSYM
1.15      paf      7634: 
1.35      moko     7635: fi
1.43      moko     7636: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
                   7637: $as_echo "$lt_cv_ld_force_load" >&6; }
1.35      moko     7638:     case $host_os in
                   7639:     rhapsody* | darwin1.[012])
                   7640:       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
                   7641:     darwin1.*)
                   7642:       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   7643:     darwin*) # darwin 5.x on
                   7644:       # if running on 10.5 or later, the deployment target defaults
                   7645:       # to the OS version, if on x86, and 10.4, the deployment
                   7646:       # target defaults to 10.4. Don't you love it?
                   7647:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
                   7648:        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
                   7649:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   7650:        10.[012]*)
                   7651:          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   7652:        10.*)
                   7653:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   7654:       esac
1.15      paf      7655:     ;;
1.35      moko     7656:   esac
                   7657:     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
                   7658:       _lt_dar_single_mod='$single_module'
                   7659:     fi
                   7660:     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
                   7661:       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
                   7662:     else
                   7663:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
1.15      paf      7664:     fi
1.35      moko     7665:     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
                   7666:       _lt_dsymutil='~$DSYMUTIL $lib || :'
1.15      paf      7667:     else
1.35      moko     7668:       _lt_dsymutil=
1.15      paf      7669:     fi
                   7670:     ;;
1.35      moko     7671:   esac
1.15      paf      7672: 
1.35      moko     7673: ac_ext=c
                   7674: ac_cpp='$CPP $CPPFLAGS'
                   7675: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7676: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7677: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.43      moko     7678: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
                   7679: $as_echo_n "checking how to run the C preprocessor... " >&6; }
1.35      moko     7680: # On Suns, sometimes $CPP names a directory.
                   7681: if test -n "$CPP" && test -d "$CPP"; then
                   7682:   CPP=
                   7683: fi
                   7684: if test -z "$CPP"; then
1.43      moko     7685:   if ${ac_cv_prog_CPP+:} false; then :
                   7686:   $as_echo_n "(cached) " >&6
1.35      moko     7687: else
                   7688:       # Double quotes because CPP needs to be expanded
                   7689:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   7690:     do
                   7691:       ac_preproc_ok=false
                   7692: for ac_c_preproc_warn_flag in '' yes
                   7693: do
                   7694:   # Use a header file that comes with gcc, so configuring glibc
                   7695:   # with a fresh cross-compiler works.
                   7696:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   7697:   # <limits.h> exists even on freestanding compilers.
                   7698:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   7699:   # not just through cpp. "Syntax error" is here to catch this case.
1.43      moko     7700:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     7701: /* end confdefs.h.  */
                   7702: #ifdef __STDC__
                   7703: # include <limits.h>
                   7704: #else
                   7705: # include <assert.h>
                   7706: #endif
                   7707:                     Syntax error
                   7708: _ACEOF
1.43      moko     7709: if ac_fn_c_try_cpp "$LINENO"; then :
                   7710: 
1.35      moko     7711: else
                   7712:   # Broken: fails on valid input.
                   7713: continue
                   7714: fi
1.43      moko     7715: rm -f conftest.err conftest.i conftest.$ac_ext
1.15      paf      7716: 
1.43      moko     7717:   # OK, works on sane cases.  Now check whether nonexistent headers
1.35      moko     7718:   # can be detected and how.
1.43      moko     7719:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     7720: /* end confdefs.h.  */
                   7721: #include <ac_nonexistent.h>
                   7722: _ACEOF
1.43      moko     7723: if ac_fn_c_try_cpp "$LINENO"; then :
1.35      moko     7724:   # Broken: success on invalid input.
                   7725: continue
                   7726: else
                   7727:   # Passes both tests.
                   7728: ac_preproc_ok=:
                   7729: break
1.15      paf      7730: fi
1.43      moko     7731: rm -f conftest.err conftest.i conftest.$ac_ext
1.15      paf      7732: 
1.35      moko     7733: done
                   7734: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.43      moko     7735: rm -f conftest.i conftest.err conftest.$ac_ext
                   7736: if $ac_preproc_ok; then :
1.35      moko     7737:   break
1.15      paf      7738: fi
                   7739: 
1.35      moko     7740:     done
                   7741:     ac_cv_prog_CPP=$CPP
1.15      paf      7742: 
1.35      moko     7743: fi
                   7744:   CPP=$ac_cv_prog_CPP
                   7745: else
                   7746:   ac_cv_prog_CPP=$CPP
                   7747: fi
1.43      moko     7748: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
                   7749: $as_echo "$CPP" >&6; }
1.35      moko     7750: ac_preproc_ok=false
                   7751: for ac_c_preproc_warn_flag in '' yes
                   7752: do
                   7753:   # Use a header file that comes with gcc, so configuring glibc
                   7754:   # with a fresh cross-compiler works.
                   7755:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   7756:   # <limits.h> exists even on freestanding compilers.
                   7757:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   7758:   # not just through cpp. "Syntax error" is here to catch this case.
1.43      moko     7759:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     7760: /* end confdefs.h.  */
                   7761: #ifdef __STDC__
                   7762: # include <limits.h>
                   7763: #else
                   7764: # include <assert.h>
                   7765: #endif
                   7766:                     Syntax error
                   7767: _ACEOF
1.43      moko     7768: if ac_fn_c_try_cpp "$LINENO"; then :
                   7769: 
1.35      moko     7770: else
                   7771:   # Broken: fails on valid input.
                   7772: continue
                   7773: fi
1.43      moko     7774: rm -f conftest.err conftest.i conftest.$ac_ext
1.15      paf      7775: 
1.43      moko     7776:   # OK, works on sane cases.  Now check whether nonexistent headers
1.35      moko     7777:   # can be detected and how.
1.43      moko     7778:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     7779: /* end confdefs.h.  */
                   7780: #include <ac_nonexistent.h>
                   7781: _ACEOF
1.43      moko     7782: if ac_fn_c_try_cpp "$LINENO"; then :
1.35      moko     7783:   # Broken: success on invalid input.
                   7784: continue
                   7785: else
                   7786:   # Passes both tests.
                   7787: ac_preproc_ok=:
                   7788: break
                   7789: fi
1.43      moko     7790: rm -f conftest.err conftest.i conftest.$ac_ext
1.35      moko     7791: 
                   7792: done
                   7793: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.43      moko     7794: rm -f conftest.i conftest.err conftest.$ac_ext
                   7795: if $ac_preproc_ok; then :
                   7796: 
1.35      moko     7797: else
1.43      moko     7798:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   7799: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   7800: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
                   7801: See \`config.log' for more details" "$LINENO" 5; }
1.35      moko     7802: fi
1.15      paf      7803: 
1.35      moko     7804: ac_ext=c
                   7805: ac_cpp='$CPP $CPPFLAGS'
                   7806: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7807: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7808: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.15      paf      7809: 
                   7810: 
1.43      moko     7811: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   7812: $as_echo_n "checking for ANSI C header files... " >&6; }
                   7813: if ${ac_cv_header_stdc+:} false; then :
                   7814:   $as_echo_n "(cached) " >&6
1.35      moko     7815: else
1.43      moko     7816:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     7817: /* end confdefs.h.  */
                   7818: #include <stdlib.h>
                   7819: #include <stdarg.h>
                   7820: #include <string.h>
                   7821: #include <float.h>
1.15      paf      7822: 
1.35      moko     7823: int
                   7824: main ()
                   7825: {
1.15      paf      7826: 
1.35      moko     7827:   ;
                   7828:   return 0;
                   7829: }
                   7830: _ACEOF
1.43      moko     7831: if ac_fn_c_try_compile "$LINENO"; then :
1.35      moko     7832:   ac_cv_header_stdc=yes
                   7833: else
1.43      moko     7834:   ac_cv_header_stdc=no
1.35      moko     7835: fi
1.43      moko     7836: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.15      paf      7837: 
1.35      moko     7838: if test $ac_cv_header_stdc = yes; then
                   7839:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.43      moko     7840:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     7841: /* end confdefs.h.  */
                   7842: #include <string.h>
                   7843: 
                   7844: _ACEOF
                   7845: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.43      moko     7846:   $EGREP "memchr" >/dev/null 2>&1; then :
                   7847: 
1.35      moko     7848: else
                   7849:   ac_cv_header_stdc=no
                   7850: fi
                   7851: rm -f conftest*
                   7852: 
                   7853: fi
                   7854: 
                   7855: if test $ac_cv_header_stdc = yes; then
                   7856:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.43      moko     7857:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     7858: /* end confdefs.h.  */
                   7859: #include <stdlib.h>
                   7860: 
                   7861: _ACEOF
                   7862: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.43      moko     7863:   $EGREP "free" >/dev/null 2>&1; then :
                   7864: 
1.35      moko     7865: else
                   7866:   ac_cv_header_stdc=no
                   7867: fi
                   7868: rm -f conftest*
                   7869: 
                   7870: fi
1.15      paf      7871: 
1.35      moko     7872: if test $ac_cv_header_stdc = yes; then
                   7873:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.43      moko     7874:   if test "$cross_compiling" = yes; then :
1.35      moko     7875:   :
                   7876: else
1.43      moko     7877:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     7878: /* end confdefs.h.  */
                   7879: #include <ctype.h>
1.43      moko     7880: #include <stdlib.h>
1.35      moko     7881: #if ((' ' & 0x0FF) == 0x020)
                   7882: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   7883: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   7884: #else
                   7885: # define ISLOWER(c) \
                   7886:                   (('a' <= (c) && (c) <= 'i') \
                   7887:                     || ('j' <= (c) && (c) <= 'r') \
                   7888:                     || ('s' <= (c) && (c) <= 'z'))
                   7889: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   7890: #endif
1.15      paf      7891: 
1.35      moko     7892: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   7893: int
                   7894: main ()
                   7895: {
                   7896:   int i;
                   7897:   for (i = 0; i < 256; i++)
                   7898:     if (XOR (islower (i), ISLOWER (i))
                   7899:        || toupper (i) != TOUPPER (i))
1.43      moko     7900:       return 2;
                   7901:   return 0;
1.35      moko     7902: }
                   7903: _ACEOF
1.43      moko     7904: if ac_fn_c_try_run "$LINENO"; then :
                   7905: 
1.35      moko     7906: else
1.43      moko     7907:   ac_cv_header_stdc=no
1.35      moko     7908: fi
1.43      moko     7909: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   7910:   conftest.$ac_objext conftest.beam conftest.$ac_ext
1.35      moko     7911: fi
1.43      moko     7912: 
1.35      moko     7913: fi
                   7914: fi
1.43      moko     7915: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   7916: $as_echo "$ac_cv_header_stdc" >&6; }
1.35      moko     7917: if test $ac_cv_header_stdc = yes; then
1.15      paf      7918: 
1.43      moko     7919: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
1.15      paf      7920: 
1.35      moko     7921: fi
1.15      paf      7922: 
1.35      moko     7923: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
                   7924: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   7925:                  inttypes.h stdint.h unistd.h
1.43      moko     7926: do :
                   7927:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   7928: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   7929: "
                   7930: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1.35      moko     7931:   cat >>confdefs.h <<_ACEOF
1.43      moko     7932: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.35      moko     7933: _ACEOF
                   7934: 
1.15      paf      7935: fi
1.35      moko     7936: 
                   7937: done
                   7938: 
                   7939: 
                   7940: for ac_header in dlfcn.h
1.43      moko     7941: do :
                   7942:   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
                   7943: "
                   7944: if test "x$ac_cv_header_dlfcn_h" = xyes; then :
1.35      moko     7945:   cat >>confdefs.h <<_ACEOF
1.43      moko     7946: #define HAVE_DLFCN_H 1
1.15      paf      7947: _ACEOF
1.25      paf      7948: 
1.35      moko     7949: fi
                   7950: 
                   7951: done
1.25      paf      7952: 
                   7953: 
                   7954: 
1.35      moko     7955: 
                   7956: func_stripname_cnf ()
1.15      paf      7957: {
1.35      moko     7958:   case ${2} in
                   7959:   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
                   7960:   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
                   7961:   esac
                   7962: } # func_stripname_cnf
                   7963: 
                   7964: 
                   7965: 
                   7966: 
                   7967: 
                   7968: # Set options
1.43      moko     7969: # Check whether --enable-static was given.
                   7970: if test "${enable_static+set}" = set; then :
                   7971:   enableval=$enable_static; p=${PACKAGE-default}
1.42      moko     7972:     case $enableval in
                   7973:     yes) enable_static=yes ;;
                   7974:     no) enable_static=no ;;
                   7975:     *)
                   7976:      enable_static=no
                   7977:       # Look at the argument we got.  We use all the common list separators.
                   7978:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   7979:       for pkg in $enableval; do
                   7980:        IFS="$lt_save_ifs"
                   7981:        if test "X$pkg" = "X$p"; then
                   7982:          enable_static=yes
                   7983:        fi
                   7984:       done
                   7985:       IFS="$lt_save_ifs"
                   7986:       ;;
                   7987:     esac
                   7988: else
                   7989:   enable_static=no
1.43      moko     7990: fi
                   7991: 
1.42      moko     7992: 
                   7993: 
                   7994: 
                   7995: 
                   7996: 
                   7997: 
1.35      moko     7998: enable_dlopen=yes
1.36      moko     7999: enable_win32_dll=yes
1.35      moko     8000: 
1.36      moko     8001: case $host in
                   8002: *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
                   8003:   if test -n "$ac_tool_prefix"; then
                   8004:   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
                   8005: set dummy ${ac_tool_prefix}as; ac_word=$2
1.43      moko     8006: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8007: $as_echo_n "checking for $ac_word... " >&6; }
                   8008: if ${ac_cv_prog_AS+:} false; then :
                   8009:   $as_echo_n "(cached) " >&6
1.36      moko     8010: else
                   8011:   if test -n "$AS"; then
                   8012:   ac_cv_prog_AS="$AS" # Let the user override the test.
                   8013: else
                   8014: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8015: for as_dir in $PATH
                   8016: do
                   8017:   IFS=$as_save_IFS
                   8018:   test -z "$as_dir" && as_dir=.
1.43      moko     8019:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     8020:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.36      moko     8021:     ac_cv_prog_AS="${ac_tool_prefix}as"
1.43      moko     8022:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.36      moko     8023:     break 2
                   8024:   fi
                   8025: done
1.43      moko     8026:   done
                   8027: IFS=$as_save_IFS
1.35      moko     8028: 
1.36      moko     8029: fi
                   8030: fi
                   8031: AS=$ac_cv_prog_AS
                   8032: if test -n "$AS"; then
1.43      moko     8033:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
                   8034: $as_echo "$AS" >&6; }
1.36      moko     8035: else
1.43      moko     8036:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8037: $as_echo "no" >&6; }
1.36      moko     8038: fi
1.35      moko     8039: 
1.43      moko     8040: 
1.36      moko     8041: fi
                   8042: if test -z "$ac_cv_prog_AS"; then
                   8043:   ac_ct_AS=$AS
                   8044:   # Extract the first word of "as", so it can be a program name with args.
                   8045: set dummy as; ac_word=$2
1.43      moko     8046: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8047: $as_echo_n "checking for $ac_word... " >&6; }
                   8048: if ${ac_cv_prog_ac_ct_AS+:} false; then :
                   8049:   $as_echo_n "(cached) " >&6
1.36      moko     8050: else
                   8051:   if test -n "$ac_ct_AS"; then
                   8052:   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
                   8053: else
                   8054: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8055: for as_dir in $PATH
                   8056: do
                   8057:   IFS=$as_save_IFS
                   8058:   test -z "$as_dir" && as_dir=.
1.43      moko     8059:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     8060:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.36      moko     8061:     ac_cv_prog_ac_ct_AS="as"
1.43      moko     8062:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.36      moko     8063:     break 2
                   8064:   fi
                   8065: done
1.43      moko     8066:   done
                   8067: IFS=$as_save_IFS
1.35      moko     8068: 
1.36      moko     8069: fi
                   8070: fi
                   8071: ac_ct_AS=$ac_cv_prog_ac_ct_AS
                   8072: if test -n "$ac_ct_AS"; then
1.43      moko     8073:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
                   8074: $as_echo "$ac_ct_AS" >&6; }
1.36      moko     8075: else
1.43      moko     8076:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8077: $as_echo "no" >&6; }
1.36      moko     8078: fi
1.35      moko     8079: 
1.43      moko     8080:   if test "x$ac_ct_AS" = x; then
                   8081:     AS="false"
                   8082:   else
                   8083:     case $cross_compiling:$ac_tool_warned in
                   8084: yes:)
                   8085: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8086: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8087: ac_tool_warned=yes ;;
                   8088: esac
                   8089:     AS=$ac_ct_AS
                   8090:   fi
1.36      moko     8091: else
                   8092:   AS="$ac_cv_prog_AS"
                   8093: fi
1.15      paf      8094: 
1.36      moko     8095:   if test -n "$ac_tool_prefix"; then
                   8096:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   8097: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1.43      moko     8098: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8099: $as_echo_n "checking for $ac_word... " >&6; }
                   8100: if ${ac_cv_prog_DLLTOOL+:} false; then :
                   8101:   $as_echo_n "(cached) " >&6
1.36      moko     8102: else
                   8103:   if test -n "$DLLTOOL"; then
                   8104:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
1.15      paf      8105: else
1.36      moko     8106: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8107: for as_dir in $PATH
                   8108: do
                   8109:   IFS=$as_save_IFS
                   8110:   test -z "$as_dir" && as_dir=.
1.43      moko     8111:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     8112:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.36      moko     8113:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
1.43      moko     8114:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.36      moko     8115:     break 2
                   8116:   fi
                   8117: done
1.43      moko     8118:   done
                   8119: IFS=$as_save_IFS
1.36      moko     8120: 
                   8121: fi
                   8122: fi
                   8123: DLLTOOL=$ac_cv_prog_DLLTOOL
                   8124: if test -n "$DLLTOOL"; then
1.43      moko     8125:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
                   8126: $as_echo "$DLLTOOL" >&6; }
1.36      moko     8127: else
1.43      moko     8128:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8129: $as_echo "no" >&6; }
1.36      moko     8130: fi
                   8131: 
1.43      moko     8132: 
1.36      moko     8133: fi
                   8134: if test -z "$ac_cv_prog_DLLTOOL"; then
                   8135:   ac_ct_DLLTOOL=$DLLTOOL
                   8136:   # Extract the first word of "dlltool", so it can be a program name with args.
                   8137: set dummy dlltool; ac_word=$2
1.43      moko     8138: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8139: $as_echo_n "checking for $ac_word... " >&6; }
                   8140: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
                   8141:   $as_echo_n "(cached) " >&6
1.36      moko     8142: else
                   8143:   if test -n "$ac_ct_DLLTOOL"; then
                   8144:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   8145: else
                   8146: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8147: for as_dir in $PATH
                   8148: do
                   8149:   IFS=$as_save_IFS
                   8150:   test -z "$as_dir" && as_dir=.
1.43      moko     8151:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     8152:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.36      moko     8153:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
1.43      moko     8154:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.36      moko     8155:     break 2
                   8156:   fi
                   8157: done
1.43      moko     8158:   done
                   8159: IFS=$as_save_IFS
1.36      moko     8160: 
                   8161: fi
                   8162: fi
                   8163: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   8164: if test -n "$ac_ct_DLLTOOL"; then
1.43      moko     8165:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
                   8166: $as_echo "$ac_ct_DLLTOOL" >&6; }
1.36      moko     8167: else
1.43      moko     8168:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8169: $as_echo "no" >&6; }
1.36      moko     8170: fi
                   8171: 
1.43      moko     8172:   if test "x$ac_ct_DLLTOOL" = x; then
                   8173:     DLLTOOL="false"
                   8174:   else
                   8175:     case $cross_compiling:$ac_tool_warned in
                   8176: yes:)
                   8177: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8178: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8179: ac_tool_warned=yes ;;
                   8180: esac
                   8181:     DLLTOOL=$ac_ct_DLLTOOL
                   8182:   fi
1.36      moko     8183: else
                   8184:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   8185: fi
                   8186: 
                   8187:   if test -n "$ac_tool_prefix"; then
                   8188:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   8189: set dummy ${ac_tool_prefix}objdump; ac_word=$2
1.43      moko     8190: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8191: $as_echo_n "checking for $ac_word... " >&6; }
                   8192: if ${ac_cv_prog_OBJDUMP+:} false; then :
                   8193:   $as_echo_n "(cached) " >&6
1.36      moko     8194: else
                   8195:   if test -n "$OBJDUMP"; then
                   8196:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   8197: else
                   8198: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8199: for as_dir in $PATH
                   8200: do
                   8201:   IFS=$as_save_IFS
                   8202:   test -z "$as_dir" && as_dir=.
1.43      moko     8203:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     8204:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.36      moko     8205:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1.43      moko     8206:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.36      moko     8207:     break 2
                   8208:   fi
                   8209: done
1.43      moko     8210:   done
                   8211: IFS=$as_save_IFS
1.36      moko     8212: 
                   8213: fi
                   8214: fi
                   8215: OBJDUMP=$ac_cv_prog_OBJDUMP
                   8216: if test -n "$OBJDUMP"; then
1.43      moko     8217:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   8218: $as_echo "$OBJDUMP" >&6; }
1.36      moko     8219: else
1.43      moko     8220:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8221: $as_echo "no" >&6; }
1.36      moko     8222: fi
                   8223: 
1.43      moko     8224: 
1.36      moko     8225: fi
                   8226: if test -z "$ac_cv_prog_OBJDUMP"; then
                   8227:   ac_ct_OBJDUMP=$OBJDUMP
                   8228:   # Extract the first word of "objdump", so it can be a program name with args.
                   8229: set dummy objdump; ac_word=$2
1.43      moko     8230: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8231: $as_echo_n "checking for $ac_word... " >&6; }
                   8232: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
                   8233:   $as_echo_n "(cached) " >&6
1.36      moko     8234: else
                   8235:   if test -n "$ac_ct_OBJDUMP"; then
                   8236:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   8237: else
                   8238: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8239: for as_dir in $PATH
                   8240: do
                   8241:   IFS=$as_save_IFS
                   8242:   test -z "$as_dir" && as_dir=.
1.43      moko     8243:     for ac_exec_ext in '' $ac_executable_extensions; do
1.49      moko     8244:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.36      moko     8245:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.43      moko     8246:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.36      moko     8247:     break 2
                   8248:   fi
                   8249: done
1.43      moko     8250:   done
                   8251: IFS=$as_save_IFS
1.36      moko     8252: 
                   8253: fi
                   8254: fi
                   8255: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   8256: if test -n "$ac_ct_OBJDUMP"; then
1.43      moko     8257:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   8258: $as_echo "$ac_ct_OBJDUMP" >&6; }
1.36      moko     8259: else
1.43      moko     8260:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8261: $as_echo "no" >&6; }
1.36      moko     8262: fi
                   8263: 
1.43      moko     8264:   if test "x$ac_ct_OBJDUMP" = x; then
                   8265:     OBJDUMP="false"
                   8266:   else
                   8267:     case $cross_compiling:$ac_tool_warned in
                   8268: yes:)
                   8269: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8270: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8271: ac_tool_warned=yes ;;
                   8272: esac
                   8273:     OBJDUMP=$ac_ct_OBJDUMP
                   8274:   fi
1.36      moko     8275: else
                   8276:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   8277: fi
                   8278: 
                   8279:   ;;
                   8280: esac
                   8281: 
                   8282: test -z "$AS" && AS=as
                   8283: 
                   8284: 
                   8285: 
                   8286: 
                   8287: 
                   8288: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   8289: 
                   8290: 
                   8291: 
                   8292: 
                   8293: 
                   8294: test -z "$OBJDUMP" && OBJDUMP=objdump
                   8295: 
                   8296: 
                   8297: 
                   8298: 
                   8299: 
                   8300: 
                   8301: 
                   8302: 
                   8303: 
1.43      moko     8304:             # Check whether --enable-shared was given.
                   8305: if test "${enable_shared+set}" = set; then :
                   8306:   enableval=$enable_shared; p=${PACKAGE-default}
1.36      moko     8307:     case $enableval in
                   8308:     yes) enable_shared=yes ;;
                   8309:     no) enable_shared=no ;;
                   8310:     *)
                   8311:       enable_shared=no
                   8312:       # Look at the argument we got.  We use all the common list separators.
                   8313:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8314:       for pkg in $enableval; do
                   8315:        IFS="$lt_save_ifs"
                   8316:        if test "X$pkg" = "X$p"; then
                   8317:          enable_shared=yes
                   8318:        fi
                   8319:       done
                   8320:       IFS="$lt_save_ifs"
                   8321:       ;;
                   8322:     esac
                   8323: else
                   8324:   enable_shared=yes
1.43      moko     8325: fi
                   8326: 
1.35      moko     8327: 
                   8328: 
                   8329: 
                   8330: 
                   8331: 
                   8332: 
                   8333: 
1.15      paf      8334: 
1.35      moko     8335: 
                   8336: 
1.43      moko     8337: # Check whether --with-pic was given.
                   8338: if test "${with_pic+set}" = set; then :
                   8339:   withval=$with_pic; lt_p=${PACKAGE-default}
1.35      moko     8340:     case $withval in
                   8341:     yes|no) pic_mode=$withval ;;
                   8342:     *)
                   8343:       pic_mode=default
                   8344:       # Look at the argument we got.  We use all the common list separators.
                   8345:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8346:       for lt_pkg in $withval; do
                   8347:        IFS="$lt_save_ifs"
                   8348:        if test "X$lt_pkg" = "X$lt_p"; then
                   8349:          pic_mode=yes
                   8350:        fi
                   8351:       done
                   8352:       IFS="$lt_save_ifs"
                   8353:       ;;
                   8354:     esac
1.15      paf      8355: else
1.35      moko     8356:   pic_mode=default
1.43      moko     8357: fi
                   8358: 
1.35      moko     8359: 
                   8360: test -z "$pic_mode" && pic_mode=default
                   8361: 
                   8362: 
                   8363: 
                   8364: 
                   8365: 
                   8366: 
1.15      paf      8367: 
1.43      moko     8368:   # Check whether --enable-fast-install was given.
                   8369: if test "${enable_fast_install+set}" = set; then :
                   8370:   enableval=$enable_fast_install; p=${PACKAGE-default}
1.35      moko     8371:     case $enableval in
                   8372:     yes) enable_fast_install=yes ;;
                   8373:     no) enable_fast_install=no ;;
                   8374:     *)
                   8375:       enable_fast_install=no
                   8376:       # Look at the argument we got.  We use all the common list separators.
                   8377:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8378:       for pkg in $enableval; do
                   8379:        IFS="$lt_save_ifs"
                   8380:        if test "X$pkg" = "X$p"; then
                   8381:          enable_fast_install=yes
                   8382:        fi
                   8383:       done
                   8384:       IFS="$lt_save_ifs"
                   8385:       ;;
                   8386:     esac
1.15      paf      8387: else
1.35      moko     8388:   enable_fast_install=yes
1.43      moko     8389: fi
                   8390: 
1.35      moko     8391: 
                   8392: 
                   8393: 
                   8394: 
                   8395: 
                   8396: 
                   8397: 
                   8398: 
                   8399: 
                   8400: 
                   8401: # This can be used to rebuild libtool when needed
                   8402: LIBTOOL_DEPS="$ltmain"
                   8403: 
                   8404: # Always use our own libtool.
                   8405: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
                   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: 
                   8436: test -z "$LN_S" && LN_S="ln -s"
                   8437: 
                   8438: 
                   8439: 
                   8440: 
                   8441: 
                   8442: 
                   8443: 
                   8444: 
                   8445: 
                   8446: 
                   8447: 
                   8448: 
                   8449: 
1.15      paf      8450: 
1.35      moko     8451: if test -n "${ZSH_VERSION+set}" ; then
                   8452:    setopt NO_GLOB_SUBST
1.15      paf      8453: fi
1.35      moko     8454: 
1.43      moko     8455: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
                   8456: $as_echo_n "checking for objdir... " >&6; }
                   8457: if ${lt_cv_objdir+:} false; then :
                   8458:   $as_echo_n "(cached) " >&6
1.35      moko     8459: else
                   8460:   rm -f .libs 2>/dev/null
                   8461: mkdir .libs 2>/dev/null
                   8462: if test -d .libs; then
                   8463:   lt_cv_objdir=.libs
                   8464: else
                   8465:   # MS-DOS does not allow filenames that begin with a dot.
                   8466:   lt_cv_objdir=_libs
1.15      paf      8467: fi
1.35      moko     8468: rmdir .libs 2>/dev/null
                   8469: fi
1.43      moko     8470: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
                   8471: $as_echo "$lt_cv_objdir" >&6; }
1.35      moko     8472: objdir=$lt_cv_objdir
1.15      paf      8473: 
                   8474: 
                   8475: 
                   8476: 
                   8477: 
1.35      moko     8478: cat >>confdefs.h <<_ACEOF
                   8479: #define LT_OBJDIR "$lt_cv_objdir/"
                   8480: _ACEOF
1.15      paf      8481: 
                   8482: 
                   8483: 
                   8484: 
1.35      moko     8485: case $host_os in
                   8486: aix3*)
                   8487:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   8488:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   8489:   # vanish in a puff of smoke.
                   8490:   if test "X${COLLECT_NAMES+set}" != Xset; then
                   8491:     COLLECT_NAMES=
                   8492:     export COLLECT_NAMES
                   8493:   fi
                   8494:   ;;
                   8495: esac
1.15      paf      8496: 
1.35      moko     8497: # Global variables:
                   8498: ofile=libtool
                   8499: can_build_shared=yes
1.15      paf      8500: 
1.35      moko     8501: # All known linkers require a `.a' archive for static linking (except MSVC,
                   8502: # which needs '.lib').
                   8503: libext=a
1.15      paf      8504: 
1.35      moko     8505: with_gnu_ld="$lt_cv_prog_gnu_ld"
1.15      paf      8506: 
1.35      moko     8507: old_CC="$CC"
                   8508: old_CFLAGS="$CFLAGS"
1.15      paf      8509: 
1.35      moko     8510: # Set sane defaults for various variables
                   8511: test -z "$CC" && CC=cc
                   8512: test -z "$LTCC" && LTCC=$CC
                   8513: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
                   8514: test -z "$LD" && LD=ld
                   8515: test -z "$ac_objext" && ac_objext=o
1.15      paf      8516: 
1.35      moko     8517: for cc_temp in $compiler""; do
                   8518:   case $cc_temp in
                   8519:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   8520:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   8521:     \-*) ;;
                   8522:     *) break;;
1.15      paf      8523:   esac
1.35      moko     8524: done
                   8525: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
1.15      paf      8526: 
                   8527: 
1.35      moko     8528: # Only perform the check for file, if the check method requires it
                   8529: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   8530: case $deplibs_check_method in
                   8531: file_magic*)
                   8532:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1.43      moko     8533:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
                   8534: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
                   8535: if ${lt_cv_path_MAGIC_CMD+:} false; then :
                   8536:   $as_echo_n "(cached) " >&6
1.35      moko     8537: else
                   8538:   case $MAGIC_CMD in
                   8539: [\\/*] |  ?:[\\/]*)
                   8540:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   8541:   ;;
                   8542: *)
                   8543:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   8544:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   8545:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   8546:   for ac_dir in $ac_dummy; do
                   8547:     IFS="$lt_save_ifs"
                   8548:     test -z "$ac_dir" && ac_dir=.
                   8549:     if test -f $ac_dir/${ac_tool_prefix}file; then
                   8550:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
                   8551:       if test -n "$file_magic_test_file"; then
                   8552:        case $deplibs_check_method in
                   8553:        "file_magic "*)
                   8554:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   8555:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   8556:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   8557:            $EGREP "$file_magic_regex" > /dev/null; then
                   8558:            :
                   8559:          else
                   8560:            cat <<_LT_EOF 1>&2
1.15      paf      8561: 
1.35      moko     8562: *** Warning: the command libtool uses to detect shared libraries,
                   8563: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   8564: *** The result is that libtool may fail to recognize shared libraries
                   8565: *** as such.  This will affect the creation of libtool libraries that
                   8566: *** depend on shared libraries, but programs linked with such libtool
                   8567: *** libraries will work regardless of this problem.  Nevertheless, you
                   8568: *** may want to report the problem to your system manager and/or to
                   8569: *** bug-libtool@gnu.org
1.15      paf      8570: 
1.35      moko     8571: _LT_EOF
                   8572:          fi ;;
                   8573:        esac
                   8574:       fi
                   8575:       break
                   8576:     fi
                   8577:   done
                   8578:   IFS="$lt_save_ifs"
                   8579:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   8580:   ;;
                   8581: esac
                   8582: fi
1.15      paf      8583: 
1.35      moko     8584: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   8585: if test -n "$MAGIC_CMD"; then
1.43      moko     8586:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   8587: $as_echo "$MAGIC_CMD" >&6; }
1.15      paf      8588: else
1.43      moko     8589:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8590: $as_echo "no" >&6; }
1.35      moko     8591: fi
                   8592: 
1.15      paf      8593: 
                   8594: 
                   8595: 
                   8596: 
1.35      moko     8597: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   8598:   if test -n "$ac_tool_prefix"; then
1.43      moko     8599:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
                   8600: $as_echo_n "checking for file... " >&6; }
                   8601: if ${lt_cv_path_MAGIC_CMD+:} false; then :
                   8602:   $as_echo_n "(cached) " >&6
1.35      moko     8603: else
                   8604:   case $MAGIC_CMD in
                   8605: [\\/*] |  ?:[\\/]*)
                   8606:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   8607:   ;;
                   8608: *)
                   8609:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   8610:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   8611:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   8612:   for ac_dir in $ac_dummy; do
                   8613:     IFS="$lt_save_ifs"
                   8614:     test -z "$ac_dir" && ac_dir=.
                   8615:     if test -f $ac_dir/file; then
                   8616:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
                   8617:       if test -n "$file_magic_test_file"; then
                   8618:        case $deplibs_check_method in
                   8619:        "file_magic "*)
                   8620:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   8621:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   8622:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   8623:            $EGREP "$file_magic_regex" > /dev/null; then
                   8624:            :
                   8625:          else
                   8626:            cat <<_LT_EOF 1>&2
                   8627: 
                   8628: *** Warning: the command libtool uses to detect shared libraries,
                   8629: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   8630: *** The result is that libtool may fail to recognize shared libraries
                   8631: *** as such.  This will affect the creation of libtool libraries that
                   8632: *** depend on shared libraries, but programs linked with such libtool
                   8633: *** libraries will work regardless of this problem.  Nevertheless, you
                   8634: *** may want to report the problem to your system manager and/or to
                   8635: *** bug-libtool@gnu.org
1.15      paf      8636: 
1.35      moko     8637: _LT_EOF
                   8638:          fi ;;
                   8639:        esac
                   8640:       fi
                   8641:       break
                   8642:     fi
                   8643:   done
                   8644:   IFS="$lt_save_ifs"
                   8645:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   8646:   ;;
                   8647: esac
                   8648: fi
1.15      paf      8649: 
1.35      moko     8650: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   8651: if test -n "$MAGIC_CMD"; then
1.43      moko     8652:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   8653: $as_echo "$MAGIC_CMD" >&6; }
1.35      moko     8654: else
1.43      moko     8655:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8656: $as_echo "no" >&6; }
1.35      moko     8657: fi
1.15      paf      8658: 
                   8659: 
1.35      moko     8660:   else
                   8661:     MAGIC_CMD=:
1.15      paf      8662:   fi
                   8663: fi
1.35      moko     8664: 
                   8665:   fi
                   8666:   ;;
                   8667: esac
                   8668: 
                   8669: # Use C for the default configuration in the libtool script
                   8670: 
                   8671: lt_save_CC="$CC"
                   8672: ac_ext=c
                   8673: ac_cpp='$CPP $CPPFLAGS'
                   8674: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   8675: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   8676: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   8677: 
                   8678: 
                   8679: # Source file extension for C test sources.
                   8680: ac_ext=c
                   8681: 
                   8682: # Object file extension for compiled C test sources.
                   8683: objext=o
                   8684: objext=$objext
                   8685: 
                   8686: # Code to be used in simple compile tests
                   8687: lt_simple_compile_test_code="int some_variable = 0;"
                   8688: 
                   8689: # Code to be used in simple link tests
                   8690: lt_simple_link_test_code='int main(){return(0);}'
1.15      paf      8691: 
                   8692: 
                   8693: 
                   8694: 
                   8695: 
                   8696: 
                   8697: 
1.35      moko     8698: # If no C compiler was specified, use CC.
                   8699: LTCC=${LTCC-"$CC"}
1.15      paf      8700: 
1.35      moko     8701: # If no C compiler flags were specified, use CFLAGS.
                   8702: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
1.15      paf      8703: 
1.35      moko     8704: # Allow CC to be a program name with arguments.
                   8705: compiler=$CC
1.15      paf      8706: 
1.35      moko     8707: # Save the default compiler, since it gets overwritten when the other
                   8708: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
                   8709: compiler_DEFAULT=$CC
1.15      paf      8710: 
1.35      moko     8711: # save warnings/boilerplate of simple test code
                   8712: ac_outfile=conftest.$ac_objext
                   8713: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   8714: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   8715: _lt_compiler_boilerplate=`cat conftest.err`
                   8716: $RM conftest*
1.15      paf      8717: 
1.35      moko     8718: ac_outfile=conftest.$ac_objext
                   8719: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   8720: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   8721: _lt_linker_boilerplate=`cat conftest.err`
                   8722: $RM -r conftest*
1.15      paf      8723: 
                   8724: 
1.36      moko     8725: ## CAVEAT EMPTOR:
                   8726: ## There is no encapsulation within the following macros, do not change
                   8727: ## the running order or otherwise move them around unless you know exactly
                   8728: ## what you are doing...
1.35      moko     8729: if test -n "$compiler"; then
1.15      paf      8730: 
1.35      moko     8731: lt_prog_compiler_no_builtin_flag=
1.15      paf      8732: 
1.35      moko     8733: if test "$GCC" = yes; then
                   8734:   case $cc_basename in
                   8735:   nvcc*)
                   8736:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
                   8737:   *)
                   8738:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
1.15      paf      8739:   esac
                   8740: 
1.43      moko     8741:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
                   8742: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
                   8743: if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
                   8744:   $as_echo_n "(cached) " >&6
1.15      paf      8745: else
1.35      moko     8746:   lt_cv_prog_compiler_rtti_exceptions=no
                   8747:    ac_outfile=conftest.$ac_objext
                   8748:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8749:    lt_compiler_flag="-fno-rtti -fno-exceptions"
                   8750:    # Insert the option either (1) after the last *FLAGS variable, or
                   8751:    # (2) before a word containing "conftest.", or (3) at the end.
                   8752:    # Note that $ac_compile itself does not contain backslashes and begins
                   8753:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8754:    # The option is referenced via a variable to avoid confusing sed.
                   8755:    lt_compile=`echo "$ac_compile" | $SED \
                   8756:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8757:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8758:    -e 's:$: $lt_compiler_flag:'`
                   8759:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8760:    (eval "$lt_compile" 2>conftest.err)
                   8761:    ac_status=$?
                   8762:    cat conftest.err >&5
                   8763:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8764:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   8765:      # The compiler can only warn and ignore the option if not recognized
                   8766:      # So say no if there are warnings other than the usual output.
                   8767:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   8768:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8769:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   8770:        lt_cv_prog_compiler_rtti_exceptions=yes
                   8771:      fi
                   8772:    fi
                   8773:    $RM conftest*
1.15      paf      8774: 
                   8775: fi
1.43      moko     8776: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
                   8777: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
1.15      paf      8778: 
1.35      moko     8779: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
                   8780:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
                   8781: else
                   8782:     :
1.15      paf      8783: fi
                   8784: 
1.35      moko     8785: fi
1.15      paf      8786: 
                   8787: 
                   8788: 
                   8789: 
                   8790: 
                   8791: 
1.35      moko     8792:   lt_prog_compiler_wl=
                   8793: lt_prog_compiler_pic=
                   8794: lt_prog_compiler_static=
1.15      paf      8795: 
                   8796: 
1.35      moko     8797:   if test "$GCC" = yes; then
                   8798:     lt_prog_compiler_wl='-Wl,'
                   8799:     lt_prog_compiler_static='-static'
1.15      paf      8800: 
1.35      moko     8801:     case $host_os in
                   8802:       aix*)
                   8803:       # All AIX code is PIC.
                   8804:       if test "$host_cpu" = ia64; then
                   8805:        # AIX 5 now supports IA64 processor
                   8806:        lt_prog_compiler_static='-Bstatic'
                   8807:       fi
                   8808:       ;;
1.15      paf      8809: 
1.35      moko     8810:     amigaos*)
                   8811:       case $host_cpu in
                   8812:       powerpc)
                   8813:             # see comment about AmigaOS4 .so support
                   8814:             lt_prog_compiler_pic='-fPIC'
                   8815:         ;;
                   8816:       m68k)
                   8817:             # FIXME: we need at least 68020 code to build shared libraries, but
                   8818:             # adding the `-m68020' flag to GCC prevents building anything better,
                   8819:             # like `-m68040'.
                   8820:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
                   8821:         ;;
                   8822:       esac
                   8823:       ;;
1.15      paf      8824: 
1.35      moko     8825:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   8826:       # PIC is the default for these OSes.
                   8827:       ;;
1.15      paf      8828: 
1.35      moko     8829:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   8830:       # This hack is so that the source file can tell whether it is being
                   8831:       # built for inclusion in a dll (and should export symbols for example).
                   8832:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   8833:       # (--disable-auto-import) libraries
                   8834:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   8835:       ;;
1.15      paf      8836: 
1.35      moko     8837:     darwin* | rhapsody*)
                   8838:       # PIC is the default on this platform
                   8839:       # Common symbols not allowed in MH_DYLIB files
                   8840:       lt_prog_compiler_pic='-fno-common'
                   8841:       ;;
1.15      paf      8842: 
1.35      moko     8843:     haiku*)
                   8844:       # PIC is the default for Haiku.
                   8845:       # The "-static" flag exists, but is broken.
                   8846:       lt_prog_compiler_static=
                   8847:       ;;
1.15      paf      8848: 
1.35      moko     8849:     hpux*)
                   8850:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   8851:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   8852:       # sets the default TLS model and affects inlining.
                   8853:       case $host_cpu in
                   8854:       hppa*64*)
                   8855:        # +Z the default
                   8856:        ;;
                   8857:       *)
                   8858:        lt_prog_compiler_pic='-fPIC'
                   8859:        ;;
                   8860:       esac
                   8861:       ;;
1.15      paf      8862: 
1.35      moko     8863:     interix[3-9]*)
                   8864:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   8865:       # Instead, we relocate shared libraries at runtime.
                   8866:       ;;
1.15      paf      8867: 
1.35      moko     8868:     msdosdjgpp*)
                   8869:       # Just because we use GCC doesn't mean we suddenly get shared libraries
                   8870:       # on systems that don't support them.
                   8871:       lt_prog_compiler_can_build_shared=no
                   8872:       enable_shared=no
                   8873:       ;;
1.15      paf      8874: 
1.35      moko     8875:     *nto* | *qnx*)
                   8876:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   8877:       # it will coredump.
                   8878:       lt_prog_compiler_pic='-fPIC -shared'
                   8879:       ;;
1.15      paf      8880: 
1.35      moko     8881:     sysv4*MP*)
                   8882:       if test -d /usr/nec; then
                   8883:        lt_prog_compiler_pic=-Kconform_pic
                   8884:       fi
                   8885:       ;;
1.15      paf      8886: 
1.35      moko     8887:     *)
                   8888:       lt_prog_compiler_pic='-fPIC'
                   8889:       ;;
                   8890:     esac
1.15      paf      8891: 
1.35      moko     8892:     case $cc_basename in
                   8893:     nvcc*) # Cuda Compiler Driver 2.2
                   8894:       lt_prog_compiler_wl='-Xlinker '
                   8895:       if test -n "$lt_prog_compiler_pic"; then
                   8896:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
                   8897:       fi
                   8898:       ;;
                   8899:     esac
                   8900:   else
                   8901:     # PORTME Check for flag to pass linker flags through the system compiler.
                   8902:     case $host_os in
                   8903:     aix*)
                   8904:       lt_prog_compiler_wl='-Wl,'
                   8905:       if test "$host_cpu" = ia64; then
                   8906:        # AIX 5 now supports IA64 processor
                   8907:        lt_prog_compiler_static='-Bstatic'
                   8908:       else
                   8909:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
                   8910:       fi
                   8911:       ;;
1.15      paf      8912: 
1.35      moko     8913:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   8914:       # This hack is so that the source file can tell whether it is being
                   8915:       # built for inclusion in a dll (and should export symbols for example).
                   8916:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   8917:       ;;
1.15      paf      8918: 
1.35      moko     8919:     hpux9* | hpux10* | hpux11*)
                   8920:       lt_prog_compiler_wl='-Wl,'
                   8921:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
                   8922:       # not for PA HP-UX.
                   8923:       case $host_cpu in
                   8924:       hppa*64*|ia64*)
                   8925:        # +Z the default
                   8926:        ;;
                   8927:       *)
                   8928:        lt_prog_compiler_pic='+Z'
                   8929:        ;;
                   8930:       esac
                   8931:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
                   8932:       lt_prog_compiler_static='${wl}-a ${wl}archive'
                   8933:       ;;
1.15      paf      8934: 
1.35      moko     8935:     irix5* | irix6* | nonstopux*)
                   8936:       lt_prog_compiler_wl='-Wl,'
                   8937:       # PIC (with -KPIC) is the default.
                   8938:       lt_prog_compiler_static='-non_shared'
                   8939:       ;;
1.15      paf      8940: 
1.35      moko     8941:     linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   8942:       case $cc_basename in
                   8943:       # old Intel for x86_64 which still supported -KPIC.
                   8944:       ecc*)
                   8945:        lt_prog_compiler_wl='-Wl,'
                   8946:        lt_prog_compiler_pic='-KPIC'
                   8947:        lt_prog_compiler_static='-static'
                   8948:         ;;
                   8949:       # icc used to be incompatible with GCC.
                   8950:       # ICC 10 doesn't accept -KPIC any more.
                   8951:       icc* | ifort*)
                   8952:        lt_prog_compiler_wl='-Wl,'
                   8953:        lt_prog_compiler_pic='-fPIC'
                   8954:        lt_prog_compiler_static='-static'
                   8955:         ;;
                   8956:       # Lahey Fortran 8.1.
                   8957:       lf95*)
                   8958:        lt_prog_compiler_wl='-Wl,'
                   8959:        lt_prog_compiler_pic='--shared'
                   8960:        lt_prog_compiler_static='--static'
                   8961:        ;;
                   8962:       nagfor*)
                   8963:        # NAG Fortran compiler
                   8964:        lt_prog_compiler_wl='-Wl,-Wl,,'
                   8965:        lt_prog_compiler_pic='-PIC'
                   8966:        lt_prog_compiler_static='-Bstatic'
                   8967:        ;;
                   8968:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
                   8969:         # Portland Group compilers (*not* the Pentium gcc compiler,
                   8970:        # which looks to be a dead project)
                   8971:        lt_prog_compiler_wl='-Wl,'
                   8972:        lt_prog_compiler_pic='-fpic'
                   8973:        lt_prog_compiler_static='-Bstatic'
                   8974:         ;;
                   8975:       ccc*)
                   8976:         lt_prog_compiler_wl='-Wl,'
                   8977:         # All Alpha code is PIC.
                   8978:         lt_prog_compiler_static='-non_shared'
                   8979:         ;;
                   8980:       xl* | bgxl* | bgf* | mpixl*)
                   8981:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
                   8982:        lt_prog_compiler_wl='-Wl,'
                   8983:        lt_prog_compiler_pic='-qpic'
                   8984:        lt_prog_compiler_static='-qstaticlink'
                   8985:        ;;
                   8986:       *)
                   8987:        case `$CC -V 2>&1 | sed 5q` in
                   8988:        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
                   8989:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
                   8990:          lt_prog_compiler_pic='-KPIC'
                   8991:          lt_prog_compiler_static='-Bstatic'
                   8992:          lt_prog_compiler_wl=''
                   8993:          ;;
                   8994:        *Sun\ F* | *Sun*Fortran*)
                   8995:          lt_prog_compiler_pic='-KPIC'
                   8996:          lt_prog_compiler_static='-Bstatic'
                   8997:          lt_prog_compiler_wl='-Qoption ld '
                   8998:          ;;
                   8999:        *Sun\ C*)
                   9000:          # Sun C 5.9
                   9001:          lt_prog_compiler_pic='-KPIC'
                   9002:          lt_prog_compiler_static='-Bstatic'
                   9003:          lt_prog_compiler_wl='-Wl,'
                   9004:          ;;
                   9005:         *Intel*\ [CF]*Compiler*)
                   9006:          lt_prog_compiler_wl='-Wl,'
                   9007:          lt_prog_compiler_pic='-fPIC'
                   9008:          lt_prog_compiler_static='-static'
                   9009:          ;;
                   9010:        *Portland\ Group*)
                   9011:          lt_prog_compiler_wl='-Wl,'
                   9012:          lt_prog_compiler_pic='-fpic'
                   9013:          lt_prog_compiler_static='-Bstatic'
                   9014:          ;;
                   9015:        esac
                   9016:        ;;
                   9017:       esac
                   9018:       ;;
1.15      paf      9019: 
1.35      moko     9020:     newsos6)
                   9021:       lt_prog_compiler_pic='-KPIC'
                   9022:       lt_prog_compiler_static='-Bstatic'
                   9023:       ;;
1.15      paf      9024: 
1.35      moko     9025:     *nto* | *qnx*)
                   9026:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   9027:       # it will coredump.
                   9028:       lt_prog_compiler_pic='-fPIC -shared'
                   9029:       ;;
1.15      paf      9030: 
1.35      moko     9031:     osf3* | osf4* | osf5*)
                   9032:       lt_prog_compiler_wl='-Wl,'
                   9033:       # All OSF/1 code is PIC.
                   9034:       lt_prog_compiler_static='-non_shared'
                   9035:       ;;
1.15      paf      9036: 
1.35      moko     9037:     rdos*)
                   9038:       lt_prog_compiler_static='-non_shared'
                   9039:       ;;
1.15      paf      9040: 
1.35      moko     9041:     solaris*)
                   9042:       lt_prog_compiler_pic='-KPIC'
                   9043:       lt_prog_compiler_static='-Bstatic'
                   9044:       case $cc_basename in
                   9045:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
                   9046:        lt_prog_compiler_wl='-Qoption ld ';;
                   9047:       *)
                   9048:        lt_prog_compiler_wl='-Wl,';;
                   9049:       esac
                   9050:       ;;
1.15      paf      9051: 
1.35      moko     9052:     sunos4*)
                   9053:       lt_prog_compiler_wl='-Qoption ld '
                   9054:       lt_prog_compiler_pic='-PIC'
                   9055:       lt_prog_compiler_static='-Bstatic'
                   9056:       ;;
1.15      paf      9057: 
1.35      moko     9058:     sysv4 | sysv4.2uw2* | sysv4.3*)
                   9059:       lt_prog_compiler_wl='-Wl,'
                   9060:       lt_prog_compiler_pic='-KPIC'
                   9061:       lt_prog_compiler_static='-Bstatic'
                   9062:       ;;
1.15      paf      9063: 
1.35      moko     9064:     sysv4*MP*)
                   9065:       if test -d /usr/nec ;then
                   9066:        lt_prog_compiler_pic='-Kconform_pic'
                   9067:        lt_prog_compiler_static='-Bstatic'
                   9068:       fi
                   9069:       ;;
1.15      paf      9070: 
1.35      moko     9071:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   9072:       lt_prog_compiler_wl='-Wl,'
                   9073:       lt_prog_compiler_pic='-KPIC'
                   9074:       lt_prog_compiler_static='-Bstatic'
                   9075:       ;;
1.15      paf      9076: 
1.35      moko     9077:     unicos*)
                   9078:       lt_prog_compiler_wl='-Wl,'
                   9079:       lt_prog_compiler_can_build_shared=no
                   9080:       ;;
1.15      paf      9081: 
1.35      moko     9082:     uts4*)
                   9083:       lt_prog_compiler_pic='-pic'
                   9084:       lt_prog_compiler_static='-Bstatic'
                   9085:       ;;
1.15      paf      9086: 
1.35      moko     9087:     *)
                   9088:       lt_prog_compiler_can_build_shared=no
                   9089:       ;;
                   9090:     esac
                   9091:   fi
1.15      paf      9092: 
1.35      moko     9093: case $host_os in
                   9094:   # For platforms which do not support PIC, -DPIC is meaningless:
                   9095:   *djgpp*)
                   9096:     lt_prog_compiler_pic=
                   9097:     ;;
                   9098:   *)
                   9099:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
                   9100:     ;;
                   9101: esac
1.15      paf      9102: 
1.43      moko     9103: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   9104: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
                   9105: if ${lt_cv_prog_compiler_pic+:} false; then :
                   9106:   $as_echo_n "(cached) " >&6
1.35      moko     9107: else
                   9108:   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
                   9109: fi
1.43      moko     9110: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
                   9111: $as_echo "$lt_cv_prog_compiler_pic" >&6; }
1.35      moko     9112: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
1.15      paf      9113: 
1.35      moko     9114: #
                   9115: # Check to make sure the PIC flag actually works.
                   9116: #
                   9117: if test -n "$lt_prog_compiler_pic"; then
1.43      moko     9118:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
                   9119: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
                   9120: if ${lt_cv_prog_compiler_pic_works+:} false; then :
                   9121:   $as_echo_n "(cached) " >&6
1.35      moko     9122: else
                   9123:   lt_cv_prog_compiler_pic_works=no
                   9124:    ac_outfile=conftest.$ac_objext
                   9125:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9126:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
                   9127:    # Insert the option either (1) after the last *FLAGS variable, or
                   9128:    # (2) before a word containing "conftest.", or (3) at the end.
                   9129:    # Note that $ac_compile itself does not contain backslashes and begins
                   9130:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9131:    # The option is referenced via a variable to avoid confusing sed.
                   9132:    lt_compile=`echo "$ac_compile" | $SED \
                   9133:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9134:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9135:    -e 's:$: $lt_compiler_flag:'`
                   9136:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9137:    (eval "$lt_compile" 2>conftest.err)
                   9138:    ac_status=$?
                   9139:    cat conftest.err >&5
                   9140:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9141:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   9142:      # The compiler can only warn and ignore the option if not recognized
                   9143:      # So say no if there are warnings other than the usual output.
                   9144:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   9145:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9146:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   9147:        lt_cv_prog_compiler_pic_works=yes
                   9148:      fi
                   9149:    fi
                   9150:    $RM conftest*
1.15      paf      9151: 
1.35      moko     9152: fi
1.43      moko     9153: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
                   9154: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
1.15      paf      9155: 
1.35      moko     9156: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
                   9157:     case $lt_prog_compiler_pic in
                   9158:      "" | " "*) ;;
                   9159:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
                   9160:      esac
                   9161: else
                   9162:     lt_prog_compiler_pic=
                   9163:      lt_prog_compiler_can_build_shared=no
                   9164: fi
1.15      paf      9165: 
1.35      moko     9166: fi
1.15      paf      9167: 
                   9168: 
                   9169: 
                   9170: 
                   9171: 
                   9172: 
                   9173: 
                   9174: 
                   9175: 
                   9176: 
                   9177: 
1.35      moko     9178: #
                   9179: # Check to make sure the static flag actually works.
                   9180: #
                   9181: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
1.43      moko     9182: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   9183: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   9184: if ${lt_cv_prog_compiler_static_works+:} false; then :
                   9185:   $as_echo_n "(cached) " >&6
1.35      moko     9186: else
                   9187:   lt_cv_prog_compiler_static_works=no
                   9188:    save_LDFLAGS="$LDFLAGS"
                   9189:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   9190:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   9191:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   9192:      # The linker can only warn and ignore the option if not recognized
                   9193:      # So say no if there are warnings
                   9194:      if test -s conftest.err; then
                   9195:        # Append any errors to the config.log.
                   9196:        cat conftest.err 1>&5
                   9197:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   9198:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9199:        if diff conftest.exp conftest.er2 >/dev/null; then
                   9200:          lt_cv_prog_compiler_static_works=yes
                   9201:        fi
                   9202:      else
                   9203:        lt_cv_prog_compiler_static_works=yes
                   9204:      fi
                   9205:    fi
                   9206:    $RM -r conftest*
                   9207:    LDFLAGS="$save_LDFLAGS"
1.15      paf      9208: 
1.35      moko     9209: fi
1.43      moko     9210: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
                   9211: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
1.15      paf      9212: 
1.35      moko     9213: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
                   9214:     :
                   9215: else
                   9216:     lt_prog_compiler_static=
                   9217: fi
1.15      paf      9218: 
                   9219: 
                   9220: 
                   9221: 
                   9222: 
                   9223: 
                   9224: 
1.43      moko     9225:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   9226: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   9227: if ${lt_cv_prog_compiler_c_o+:} false; then :
                   9228:   $as_echo_n "(cached) " >&6
1.35      moko     9229: else
                   9230:   lt_cv_prog_compiler_c_o=no
                   9231:    $RM -r conftest 2>/dev/null
                   9232:    mkdir conftest
                   9233:    cd conftest
                   9234:    mkdir out
                   9235:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9236: 
                   9237:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   9238:    # Insert the option either (1) after the last *FLAGS variable, or
                   9239:    # (2) before a word containing "conftest.", or (3) at the end.
                   9240:    # Note that $ac_compile itself does not contain backslashes and begins
                   9241:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9242:    lt_compile=`echo "$ac_compile" | $SED \
                   9243:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9244:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9245:    -e 's:$: $lt_compiler_flag:'`
                   9246:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9247:    (eval "$lt_compile" 2>out/conftest.err)
                   9248:    ac_status=$?
                   9249:    cat out/conftest.err >&5
                   9250:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9251:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   9252:    then
                   9253:      # The compiler can only warn and ignore the option if not recognized
                   9254:      # So say no if there are warnings
                   9255:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   9256:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   9257:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   9258:        lt_cv_prog_compiler_c_o=yes
                   9259:      fi
                   9260:    fi
                   9261:    chmod u+w . 2>&5
                   9262:    $RM conftest*
                   9263:    # SGI C++ compiler will create directory out/ii_files/ for
                   9264:    # template instantiation
                   9265:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   9266:    $RM out/* && rmdir out
                   9267:    cd ..
                   9268:    $RM -r conftest
                   9269:    $RM conftest*
1.15      paf      9270: 
1.35      moko     9271: fi
1.43      moko     9272: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   9273: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
1.15      paf      9274: 
                   9275: 
                   9276: 
                   9277: 
                   9278: 
                   9279: 
1.43      moko     9280:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   9281: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   9282: if ${lt_cv_prog_compiler_c_o+:} false; then :
                   9283:   $as_echo_n "(cached) " >&6
1.35      moko     9284: else
                   9285:   lt_cv_prog_compiler_c_o=no
                   9286:    $RM -r conftest 2>/dev/null
                   9287:    mkdir conftest
                   9288:    cd conftest
                   9289:    mkdir out
                   9290:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9291: 
                   9292:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   9293:    # Insert the option either (1) after the last *FLAGS variable, or
                   9294:    # (2) before a word containing "conftest.", or (3) at the end.
                   9295:    # Note that $ac_compile itself does not contain backslashes and begins
                   9296:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9297:    lt_compile=`echo "$ac_compile" | $SED \
                   9298:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9299:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9300:    -e 's:$: $lt_compiler_flag:'`
                   9301:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9302:    (eval "$lt_compile" 2>out/conftest.err)
                   9303:    ac_status=$?
                   9304:    cat out/conftest.err >&5
                   9305:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9306:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   9307:    then
                   9308:      # The compiler can only warn and ignore the option if not recognized
                   9309:      # So say no if there are warnings
                   9310:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   9311:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   9312:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   9313:        lt_cv_prog_compiler_c_o=yes
                   9314:      fi
                   9315:    fi
                   9316:    chmod u+w . 2>&5
                   9317:    $RM conftest*
                   9318:    # SGI C++ compiler will create directory out/ii_files/ for
                   9319:    # template instantiation
                   9320:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   9321:    $RM out/* && rmdir out
                   9322:    cd ..
                   9323:    $RM -r conftest
                   9324:    $RM conftest*
1.15      paf      9325: 
1.35      moko     9326: fi
1.43      moko     9327: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   9328: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
1.15      paf      9329: 
                   9330: 
                   9331: 
                   9332: 
1.35      moko     9333: hard_links="nottested"
                   9334: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
                   9335:   # do not overwrite the value of need_locks provided by the user
1.43      moko     9336:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   9337: $as_echo_n "checking if we can lock with hard links... " >&6; }
1.35      moko     9338:   hard_links=yes
                   9339:   $RM conftest*
                   9340:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   9341:   touch conftest.a
                   9342:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   9343:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.43      moko     9344:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   9345: $as_echo "$hard_links" >&6; }
1.35      moko     9346:   if test "$hard_links" = no; then
1.43      moko     9347:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   9348: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.35      moko     9349:     need_locks=warn
                   9350:   fi
                   9351: else
                   9352:   need_locks=no
                   9353: fi
1.15      paf      9354: 
                   9355: 
                   9356: 
                   9357: 
                   9358: 
                   9359: 
1.43      moko     9360:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   9361: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.15      paf      9362: 
1.35      moko     9363:   runpath_var=
                   9364:   allow_undefined_flag=
                   9365:   always_export_symbols=no
                   9366:   archive_cmds=
                   9367:   archive_expsym_cmds=
                   9368:   compiler_needs_object=no
                   9369:   enable_shared_with_static_runtimes=no
                   9370:   export_dynamic_flag_spec=
                   9371:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   9372:   hardcode_automatic=no
                   9373:   hardcode_direct=no
                   9374:   hardcode_direct_absolute=no
                   9375:   hardcode_libdir_flag_spec=
                   9376:   hardcode_libdir_separator=
                   9377:   hardcode_minus_L=no
                   9378:   hardcode_shlibpath_var=unsupported
                   9379:   inherit_rpath=no
                   9380:   link_all_deplibs=unknown
                   9381:   module_cmds=
                   9382:   module_expsym_cmds=
                   9383:   old_archive_from_new_cmds=
                   9384:   old_archive_from_expsyms_cmds=
                   9385:   thread_safe_flag_spec=
                   9386:   whole_archive_flag_spec=
                   9387:   # include_expsyms should be a list of space-separated symbols to be *always*
                   9388:   # included in the symbol list
                   9389:   include_expsyms=
                   9390:   # exclude_expsyms can be an extended regexp of symbols to exclude
                   9391:   # it will be wrapped by ` (' and `)$', so one must not match beginning or
                   9392:   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
                   9393:   # as well as any symbol that contains `d'.
                   9394:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   9395:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   9396:   # platforms (ab)use it in PIC code, but their linkers get confused if
                   9397:   # the symbol is explicitly referenced.  Since portable code cannot
                   9398:   # rely on this symbol name, it's probably fine to never include it in
                   9399:   # preloaded symbol tables.
                   9400:   # Exclude shared library initialization/finalization symbols.
                   9401:   extract_expsyms_cmds=
1.15      paf      9402: 
                   9403:   case $host_os in
1.35      moko     9404:   cygwin* | mingw* | pw32* | cegcc*)
                   9405:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
                   9406:     # When not using gcc, we currently assume that we are using
                   9407:     # Microsoft Visual C++.
                   9408:     if test "$GCC" != yes; then
                   9409:       with_gnu_ld=no
                   9410:     fi
                   9411:     ;;
                   9412:   interix*)
                   9413:     # we just hope/assume this is gcc and not c89 (= MSVC++)
                   9414:     with_gnu_ld=yes
                   9415:     ;;
                   9416:   openbsd*)
                   9417:     with_gnu_ld=no
1.15      paf      9418:     ;;
                   9419:   esac
                   9420: 
1.35      moko     9421:   ld_shlibs=yes
1.15      paf      9422: 
1.35      moko     9423:   # On some targets, GNU ld is compatible enough with the native linker
                   9424:   # that we're better off using the native interface for both.
                   9425:   lt_use_gnu_ld_interface=no
                   9426:   if test "$with_gnu_ld" = yes; then
                   9427:     case $host_os in
                   9428:       aix*)
                   9429:        # The AIX port of GNU ld has always aspired to compatibility
                   9430:        # with the native linker.  However, as the warning in the GNU ld
                   9431:        # block says, versions before 2.19.5* couldn't really create working
                   9432:        # shared libraries, regardless of the interface used.
                   9433:        case `$LD -v 2>&1` in
                   9434:          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
                   9435:          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
                   9436:          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
                   9437:          *)
                   9438:            lt_use_gnu_ld_interface=yes
                   9439:            ;;
                   9440:        esac
                   9441:        ;;
                   9442:       *)
                   9443:        lt_use_gnu_ld_interface=yes
                   9444:        ;;
                   9445:     esac
                   9446:   fi
1.15      paf      9447: 
1.35      moko     9448:   if test "$lt_use_gnu_ld_interface" = yes; then
                   9449:     # If archive_cmds runs LD, not CC, wlarc should be empty
                   9450:     wlarc='${wl}'
                   9451: 
                   9452:     # Set some defaults for GNU ld with shared library support. These
                   9453:     # are reset later if shared libraries are not supported. Putting them
                   9454:     # here allows them to be overridden if necessary.
                   9455:     runpath_var=LD_RUN_PATH
                   9456:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9457:     export_dynamic_flag_spec='${wl}--export-dynamic'
                   9458:     # ancient GNU ld didn't support --whole-archive et. al.
                   9459:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
                   9460:       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   9461:     else
                   9462:       whole_archive_flag_spec=
                   9463:     fi
                   9464:     supports_anon_versioning=no
                   9465:     case `$LD -v 2>&1` in
                   9466:       *GNU\ gold*) supports_anon_versioning=yes ;;
                   9467:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
                   9468:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
                   9469:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
                   9470:       *\ 2.11.*) ;; # other 2.11 versions
                   9471:       *) supports_anon_versioning=yes ;;
                   9472:     esac
1.15      paf      9473: 
1.35      moko     9474:     # See if GNU ld supports shared libraries.
                   9475:     case $host_os in
                   9476:     aix[3-9]*)
                   9477:       # On AIX/PPC, the GNU linker is very broken
                   9478:       if test "$host_cpu" != ia64; then
                   9479:        ld_shlibs=no
                   9480:        cat <<_LT_EOF 1>&2
1.15      paf      9481: 
1.35      moko     9482: *** Warning: the GNU linker, at least up to release 2.19, is reported
                   9483: *** to be unable to reliably create shared libraries on AIX.
                   9484: *** Therefore, libtool is disabling shared libraries support.  If you
                   9485: *** really care for shared libraries, you may want to install binutils
                   9486: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
                   9487: *** You will then need to restart the configuration process.
1.15      paf      9488: 
1.35      moko     9489: _LT_EOF
                   9490:       fi
                   9491:       ;;
1.15      paf      9492: 
1.35      moko     9493:     amigaos*)
                   9494:       case $host_cpu in
                   9495:       powerpc)
                   9496:             # see comment about AmigaOS4 .so support
                   9497:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9498:             archive_expsym_cmds=''
                   9499:         ;;
                   9500:       m68k)
                   9501:             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)'
                   9502:             hardcode_libdir_flag_spec='-L$libdir'
                   9503:             hardcode_minus_L=yes
                   9504:         ;;
                   9505:       esac
                   9506:       ;;
1.15      paf      9507: 
1.35      moko     9508:     beos*)
                   9509:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   9510:        allow_undefined_flag=unsupported
                   9511:        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   9512:        # support --undefined.  This deserves some investigation.  FIXME
                   9513:        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9514:       else
                   9515:        ld_shlibs=no
                   9516:       fi
                   9517:       ;;
1.15      paf      9518: 
1.35      moko     9519:     cygwin* | mingw* | pw32* | cegcc*)
                   9520:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
                   9521:       # as there is no search path for DLLs.
                   9522:       hardcode_libdir_flag_spec='-L$libdir'
                   9523:       export_dynamic_flag_spec='${wl}--export-all-symbols'
                   9524:       allow_undefined_flag=unsupported
                   9525:       always_export_symbols=no
                   9526:       enable_shared_with_static_runtimes=yes
                   9527:       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'
                   9528:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   9529: 
                   9530:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   9531:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   9532:        # If the export-symbols file already is a .def file (1st line
                   9533:        # is EXPORTS), use it as is; otherwise, prepend...
                   9534:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   9535:          cp $export_symbols $output_objdir/$soname.def;
                   9536:        else
                   9537:          echo EXPORTS > $output_objdir/$soname.def;
                   9538:          cat $export_symbols >> $output_objdir/$soname.def;
                   9539:        fi~
                   9540:        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   9541:       else
                   9542:        ld_shlibs=no
                   9543:       fi
                   9544:       ;;
1.15      paf      9545: 
1.35      moko     9546:     haiku*)
                   9547:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9548:       link_all_deplibs=yes
                   9549:       ;;
1.15      paf      9550: 
1.35      moko     9551:     interix[3-9]*)
                   9552:       hardcode_direct=no
                   9553:       hardcode_shlibpath_var=no
                   9554:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   9555:       export_dynamic_flag_spec='${wl}-E'
                   9556:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   9557:       # Instead, shared libraries are loaded at an image base (0x10000000 by
                   9558:       # default) and relocated if they conflict, which is a slow very memory
                   9559:       # consuming and fragmenting process.  To avoid this, we pick a random,
                   9560:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   9561:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   9562:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   9563:       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'
                   9564:       ;;
1.15      paf      9565: 
1.35      moko     9566:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
                   9567:       tmp_diet=no
                   9568:       if test "$host_os" = linux-dietlibc; then
                   9569:        case $cc_basename in
                   9570:          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
                   9571:        esac
                   9572:       fi
                   9573:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
                   9574:         && test "$tmp_diet" = no
                   9575:       then
                   9576:        tmp_addflag=' $pic_flag'
                   9577:        tmp_sharedflag='-shared'
                   9578:        case $cc_basename,$host_cpu in
                   9579:         pgcc*)                         # Portland Group C compiler
                   9580:          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'
                   9581:          tmp_addflag=' $pic_flag'
                   9582:          ;;
                   9583:        pgf77* | pgf90* | pgf95* | pgfortran*)
                   9584:                                        # Portland Group f77 and f90 compilers
                   9585:          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'
                   9586:          tmp_addflag=' $pic_flag -Mnomain' ;;
                   9587:        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
                   9588:          tmp_addflag=' -i_dynamic' ;;
                   9589:        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
                   9590:          tmp_addflag=' -i_dynamic -nofor_main' ;;
                   9591:        ifc* | ifort*)                  # Intel Fortran compiler
                   9592:          tmp_addflag=' -nofor_main' ;;
                   9593:        lf95*)                          # Lahey Fortran 8.1
                   9594:          whole_archive_flag_spec=
                   9595:          tmp_sharedflag='--shared' ;;
                   9596:        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
                   9597:          tmp_sharedflag='-qmkshrobj'
                   9598:          tmp_addflag= ;;
                   9599:        nvcc*)  # Cuda Compiler Driver 2.2
                   9600:          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'
                   9601:          compiler_needs_object=yes
                   9602:          ;;
                   9603:        esac
                   9604:        case `$CC -V 2>&1 | sed 5q` in
                   9605:        *Sun\ C*)                       # Sun C 5.9
                   9606:          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'
                   9607:          compiler_needs_object=yes
                   9608:          tmp_sharedflag='-G' ;;
                   9609:        *Sun\ F*)                       # Sun Fortran 8.3
                   9610:          tmp_sharedflag='-G' ;;
                   9611:        esac
                   9612:        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.15      paf      9613: 
1.35      moko     9614:         if test "x$supports_anon_versioning" = xyes; then
                   9615:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   9616:            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   9617:            echo "local: *; };" >> $output_objdir/$libname.ver~
                   9618:            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   9619:         fi
                   9620: 
                   9621:        case $cc_basename in
                   9622:        xlf* | bgf* | bgxlf* | mpixlf*)
                   9623:          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
                   9624:          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
                   9625:          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9626:          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
                   9627:          if test "x$supports_anon_versioning" = xyes; then
                   9628:            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   9629:              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   9630:              echo "local: *; };" >> $output_objdir/$libname.ver~
                   9631:              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
                   9632:          fi
                   9633:          ;;
                   9634:        esac
                   9635:       else
                   9636:         ld_shlibs=no
                   9637:       fi
                   9638:       ;;
1.15      paf      9639: 
1.35      moko     9640:     netbsd*)
                   9641:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   9642:        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   9643:        wlarc=
                   9644:       else
                   9645:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9646:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   9647:       fi
                   9648:       ;;
1.15      paf      9649: 
1.35      moko     9650:     solaris*)
                   9651:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
                   9652:        ld_shlibs=no
                   9653:        cat <<_LT_EOF 1>&2
1.15      paf      9654: 
1.35      moko     9655: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   9656: *** create shared libraries on Solaris systems.  Therefore, libtool
                   9657: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   9658: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   9659: *** your PATH or compiler configuration so that the native linker is
                   9660: *** used, and then restart.
1.15      paf      9661: 
1.35      moko     9662: _LT_EOF
                   9663:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   9664:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9665:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   9666:       else
                   9667:        ld_shlibs=no
                   9668:       fi
                   9669:       ;;
1.15      paf      9670: 
1.35      moko     9671:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
                   9672:       case `$LD -v 2>&1` in
                   9673:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
                   9674:        ld_shlibs=no
                   9675:        cat <<_LT_EOF 1>&2
1.31      misha    9676: 
1.35      moko     9677: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
                   9678: *** reliably create shared libraries on SCO systems.  Therefore, libtool
                   9679: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   9680: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
                   9681: *** your PATH or compiler configuration so that the native linker is
                   9682: *** used, and then restart.
1.31      misha    9683: 
1.35      moko     9684: _LT_EOF
                   9685:        ;;
                   9686:        *)
                   9687:          # For security reasons, it is highly recommended that you always
                   9688:          # use absolute paths for naming shared libraries, and exclude the
                   9689:          # DT_RUNPATH tag from executables and libraries.  But doing so
                   9690:          # requires that you compile everything twice, which is a pain.
                   9691:          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   9692:            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9693:            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9694:            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   9695:          else
                   9696:            ld_shlibs=no
                   9697:          fi
                   9698:        ;;
                   9699:       esac
                   9700:       ;;
1.31      misha    9701: 
1.35      moko     9702:     sunos4*)
                   9703:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   9704:       wlarc=
                   9705:       hardcode_direct=yes
                   9706:       hardcode_shlibpath_var=no
                   9707:       ;;
1.15      paf      9708: 
1.35      moko     9709:     *)
                   9710:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   9711:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9712:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   9713:       else
                   9714:        ld_shlibs=no
                   9715:       fi
                   9716:       ;;
                   9717:     esac
1.15      paf      9718: 
1.35      moko     9719:     if test "$ld_shlibs" = no; then
                   9720:       runpath_var=
                   9721:       hardcode_libdir_flag_spec=
                   9722:       export_dynamic_flag_spec=
                   9723:       whole_archive_flag_spec=
                   9724:     fi
                   9725:   else
                   9726:     # PORTME fill in a description of your system's linker (not GNU ld)
                   9727:     case $host_os in
                   9728:     aix3*)
                   9729:       allow_undefined_flag=unsupported
                   9730:       always_export_symbols=yes
                   9731:       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'
                   9732:       # Note: this linker hardcodes the directories in LIBPATH if there
                   9733:       # are no directories specified by -L.
                   9734:       hardcode_minus_L=yes
                   9735:       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
                   9736:        # Neither direct hardcoding nor static linking is supported with a
                   9737:        # broken collect2.
                   9738:        hardcode_direct=unsupported
                   9739:       fi
                   9740:       ;;
1.15      paf      9741: 
1.35      moko     9742:     aix[4-9]*)
                   9743:       if test "$host_cpu" = ia64; then
                   9744:        # On IA64, the linker does run time linking by default, so we don't
                   9745:        # have to do anything special.
                   9746:        aix_use_runtimelinking=no
                   9747:        exp_sym_flag='-Bexport'
                   9748:        no_entry_flag=""
                   9749:       else
                   9750:        # If we're using GNU nm, then we don't want the "-C" option.
                   9751:        # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   9752:        # Also, AIX nm treats weak defined symbols like other global
                   9753:        # defined symbols, whereas GNU nm marks them as "W".
                   9754:        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   9755:          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'
                   9756:        else
                   9757:          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'
                   9758:        fi
                   9759:        aix_use_runtimelinking=no
1.15      paf      9760: 
1.35      moko     9761:        # Test if we are trying to use run time linking or normal
                   9762:        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   9763:        # need to do runtime linking.
                   9764:        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   9765:          for ld_flag in $LDFLAGS; do
                   9766:          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
                   9767:            aix_use_runtimelinking=yes
                   9768:            break
                   9769:          fi
                   9770:          done
                   9771:          ;;
                   9772:        esac
1.15      paf      9773: 
1.35      moko     9774:        exp_sym_flag='-bexport'
                   9775:        no_entry_flag='-bnoentry'
                   9776:       fi
1.23      paf      9777: 
1.35      moko     9778:       # When large executables or shared objects are built, AIX ld can
                   9779:       # have problems creating the table of contents.  If linking a library
                   9780:       # or program results in "error TOC overflow" add -mminimal-toc to
                   9781:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   9782:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   9783: 
                   9784:       archive_cmds=''
                   9785:       hardcode_direct=yes
                   9786:       hardcode_direct_absolute=yes
                   9787:       hardcode_libdir_separator=':'
                   9788:       link_all_deplibs=yes
                   9789:       file_list_spec='${wl}-f,'
                   9790: 
                   9791:       if test "$GCC" = yes; then
                   9792:        case $host_os in aix4.[012]|aix4.[012].*)
                   9793:        # We only want to do this on AIX 4.2 and lower, the check
                   9794:        # below for broken collect2 doesn't work under 4.3+
                   9795:          collect2name=`${CC} -print-prog-name=collect2`
                   9796:          if test -f "$collect2name" &&
                   9797:           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   9798:          then
                   9799:          # We have reworked collect2
                   9800:          :
                   9801:          else
                   9802:          # We have old collect2
                   9803:          hardcode_direct=unsupported
                   9804:          # It fails to find uninstalled libraries when the uninstalled
                   9805:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   9806:          # to unsupported forces relinking
                   9807:          hardcode_minus_L=yes
                   9808:          hardcode_libdir_flag_spec='-L$libdir'
                   9809:          hardcode_libdir_separator=
                   9810:          fi
                   9811:          ;;
                   9812:        esac
                   9813:        shared_flag='-shared'
                   9814:        if test "$aix_use_runtimelinking" = yes; then
                   9815:          shared_flag="$shared_flag "'${wl}-G'
                   9816:        fi
                   9817:       else
                   9818:        # not using gcc
                   9819:        if test "$host_cpu" = ia64; then
                   9820:        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   9821:        # chokes on -Wl,-G. The following line is correct:
                   9822:          shared_flag='-G'
                   9823:        else
                   9824:          if test "$aix_use_runtimelinking" = yes; then
                   9825:            shared_flag='${wl}-G'
                   9826:          else
                   9827:            shared_flag='${wl}-bM:SRE'
                   9828:          fi
                   9829:        fi
                   9830:       fi
1.15      paf      9831: 
1.35      moko     9832:       export_dynamic_flag_spec='${wl}-bexpall'
                   9833:       # It seems that -bexpall does not export symbols beginning with
                   9834:       # underscore (_), so it is better to generate a list of symbols to export.
                   9835:       always_export_symbols=yes
                   9836:       if test "$aix_use_runtimelinking" = yes; then
                   9837:        # Warning - without using the other runtime loading flags (-brtl),
                   9838:        # -berok will link without error, but may produce a broken library.
                   9839:        allow_undefined_flag='-berok'
                   9840:         # Determine the default libpath from the value encoded in an
                   9841:         # empty executable.
                   9842:         if test "${lt_cv_aix_libpath+set}" = set; then
                   9843:   aix_libpath=$lt_cv_aix_libpath
                   9844: else
1.43      moko     9845:   if ${lt_cv_aix_libpath_+:} false; then :
                   9846:   $as_echo_n "(cached) " >&6
1.15      paf      9847: else
1.43      moko     9848:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.15      paf      9849: /* end confdefs.h.  */
1.35      moko     9850: 
                   9851: int
                   9852: main ()
                   9853: {
                   9854: 
                   9855:   ;
                   9856:   return 0;
                   9857: }
1.15      paf      9858: _ACEOF
1.43      moko     9859: if ac_fn_c_try_link "$LINENO"; then :
1.35      moko     9860: 
                   9861:   lt_aix_libpath_sed='
                   9862:       /Import File Strings/,/^$/ {
                   9863:          /^0/ {
                   9864:              s/^0  *\([^ ]*\) *$/\1/
                   9865:              p
                   9866:          }
                   9867:       }'
                   9868:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9869:   # Check for a 64-bit object if we didn't find anything.
                   9870:   if test -z "$lt_cv_aix_libpath_"; then
                   9871:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9872:   fi
1.15      paf      9873: fi
1.43      moko     9874: rm -f core conftest.err conftest.$ac_objext \
                   9875:     conftest$ac_exeext conftest.$ac_ext
1.35      moko     9876:   if test -z "$lt_cv_aix_libpath_"; then
                   9877:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   9878:   fi
                   9879: 
                   9880: fi
                   9881: 
                   9882:   aix_libpath=$lt_cv_aix_libpath_
                   9883: fi
1.15      paf      9884: 
1.35      moko     9885:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   9886:         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"
                   9887:       else
                   9888:        if test "$host_cpu" = ia64; then
                   9889:          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
                   9890:          allow_undefined_flag="-z nodefs"
                   9891:          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"
                   9892:        else
                   9893:         # Determine the default libpath from the value encoded in an
                   9894:         # empty executable.
                   9895:         if test "${lt_cv_aix_libpath+set}" = set; then
                   9896:   aix_libpath=$lt_cv_aix_libpath
                   9897: else
1.43      moko     9898:   if ${lt_cv_aix_libpath_+:} false; then :
                   9899:   $as_echo_n "(cached) " >&6
1.35      moko     9900: else
1.43      moko     9901:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.15      paf      9902: /* end confdefs.h.  */
1.35      moko     9903: 
                   9904: int
                   9905: main ()
                   9906: {
                   9907: 
                   9908:   ;
                   9909:   return 0;
                   9910: }
1.15      paf      9911: _ACEOF
1.43      moko     9912: if ac_fn_c_try_link "$LINENO"; then :
1.35      moko     9913: 
                   9914:   lt_aix_libpath_sed='
                   9915:       /Import File Strings/,/^$/ {
                   9916:          /^0/ {
                   9917:              s/^0  *\([^ ]*\) *$/\1/
                   9918:              p
                   9919:          }
                   9920:       }'
                   9921:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9922:   # Check for a 64-bit object if we didn't find anything.
                   9923:   if test -z "$lt_cv_aix_libpath_"; then
                   9924:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
1.15      paf      9925:   fi
                   9926: fi
1.43      moko     9927: rm -f core conftest.err conftest.$ac_objext \
                   9928:     conftest$ac_exeext conftest.$ac_ext
1.35      moko     9929:   if test -z "$lt_cv_aix_libpath_"; then
                   9930:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   9931:   fi
                   9932: 
                   9933: fi
                   9934: 
                   9935:   aix_libpath=$lt_cv_aix_libpath_
                   9936: fi
                   9937: 
                   9938:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   9939:          # Warning - without using the other run time loading flags,
                   9940:          # -berok will link without error, but may produce a broken library.
                   9941:          no_undefined_flag=' ${wl}-bernotok'
                   9942:          allow_undefined_flag=' ${wl}-berok'
                   9943:          if test "$with_gnu_ld" = yes; then
                   9944:            # We only use this code for GNU lds that support --whole-archive.
                   9945:            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   9946:          else
                   9947:            # Exported symbols can be pulled into shared objects from archives
                   9948:            whole_archive_flag_spec='$convenience'
                   9949:          fi
                   9950:          archive_cmds_need_lc=yes
                   9951:          # This is similar to how AIX traditionally builds its shared libraries.
                   9952:          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'
                   9953:        fi
                   9954:       fi
                   9955:       ;;
                   9956: 
                   9957:     amigaos*)
                   9958:       case $host_cpu in
                   9959:       powerpc)
                   9960:             # see comment about AmigaOS4 .so support
                   9961:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9962:             archive_expsym_cmds=''
                   9963:         ;;
                   9964:       m68k)
                   9965:             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)'
                   9966:             hardcode_libdir_flag_spec='-L$libdir'
                   9967:             hardcode_minus_L=yes
                   9968:         ;;
                   9969:       esac
                   9970:       ;;
                   9971: 
                   9972:     bsdi[45]*)
                   9973:       export_dynamic_flag_spec=-rdynamic
                   9974:       ;;
                   9975: 
                   9976:     cygwin* | mingw* | pw32* | cegcc*)
                   9977:       # When not using gcc, we currently assume that we are using
                   9978:       # Microsoft Visual C++.
                   9979:       # hardcode_libdir_flag_spec is actually meaningless, as there is
                   9980:       # no search path for DLLs.
                   9981:       case $cc_basename in
                   9982:       cl*)
                   9983:        # Native MSVC
                   9984:        hardcode_libdir_flag_spec=' '
                   9985:        allow_undefined_flag=unsupported
                   9986:        always_export_symbols=yes
                   9987:        file_list_spec='@'
                   9988:        # Tell ltmain to make .lib files, not .a files.
                   9989:        libext=lib
                   9990:        # Tell ltmain to make .dll files, not .so files.
                   9991:        shrext_cmds=".dll"
                   9992:        # FIXME: Setting linknames here is a bad hack.
                   9993:        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   9994:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   9995:            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   9996:          else
                   9997:            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   9998:          fi~
                   9999:          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   10000:          linknames='
                   10001:        # The linker will not automatically build a static lib if we build a DLL.
                   10002:        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
                   10003:        enable_shared_with_static_runtimes=yes
                   10004:        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   10005:        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
                   10006:        # Don't use ranlib
                   10007:        old_postinstall_cmds='chmod 644 $oldlib'
                   10008:        postlink_cmds='lt_outputfile="@OUTPUT@"~
                   10009:          lt_tool_outputfile="@TOOL_OUTPUT@"~
                   10010:          case $lt_outputfile in
                   10011:            *.exe|*.EXE) ;;
                   10012:            *)
                   10013:              lt_outputfile="$lt_outputfile.exe"
                   10014:              lt_tool_outputfile="$lt_tool_outputfile.exe"
                   10015:              ;;
                   10016:          esac~
                   10017:          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   10018:            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   10019:            $RM "$lt_outputfile.manifest";
                   10020:          fi'
                   10021:        ;;
                   10022:       *)
                   10023:        # Assume MSVC wrapper
                   10024:        hardcode_libdir_flag_spec=' '
                   10025:        allow_undefined_flag=unsupported
                   10026:        # Tell ltmain to make .lib files, not .a files.
                   10027:        libext=lib
                   10028:        # Tell ltmain to make .dll files, not .so files.
                   10029:        shrext_cmds=".dll"
                   10030:        # FIXME: Setting linknames here is a bad hack.
                   10031:        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
                   10032:        # The linker will automatically build a .lib file if we build a DLL.
                   10033:        old_archive_from_new_cmds='true'
                   10034:        # FIXME: Should let the user specify the lib program.
                   10035:        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
                   10036:        enable_shared_with_static_runtimes=yes
                   10037:        ;;
                   10038:       esac
                   10039:       ;;
                   10040: 
                   10041:     darwin* | rhapsody*)
                   10042: 
                   10043: 
                   10044:   archive_cmds_need_lc=no
                   10045:   hardcode_direct=no
                   10046:   hardcode_automatic=yes
                   10047:   hardcode_shlibpath_var=unsupported
                   10048:   if test "$lt_cv_ld_force_load" = "yes"; then
                   10049:     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\"`'
                   10050: 
                   10051:   else
                   10052:     whole_archive_flag_spec=''
                   10053:   fi
                   10054:   link_all_deplibs=yes
                   10055:   allow_undefined_flag="$_lt_dar_allow_undefined"
                   10056:   case $cc_basename in
                   10057:      ifort*) _lt_dar_can_shared=yes ;;
                   10058:      *) _lt_dar_can_shared=$GCC ;;
                   10059:   esac
                   10060:   if test "$_lt_dar_can_shared" = "yes"; then
                   10061:     output_verbose_link_cmd=func_echo_all
                   10062:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
                   10063:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   10064:     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}"
                   10065:     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}"
                   10066: 
                   10067:   else
                   10068:   ld_shlibs=no
                   10069:   fi
                   10070: 
                   10071:       ;;
                   10072: 
                   10073:     dgux*)
                   10074:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10075:       hardcode_libdir_flag_spec='-L$libdir'
                   10076:       hardcode_shlibpath_var=no
                   10077:       ;;
                   10078: 
                   10079:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   10080:     # support.  Future versions do this automatically, but an explicit c++rt0.o
                   10081:     # does not break anything, and helps significantly (at the cost of a little
                   10082:     # extra space).
                   10083:     freebsd2.2*)
                   10084:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   10085:       hardcode_libdir_flag_spec='-R$libdir'
                   10086:       hardcode_direct=yes
                   10087:       hardcode_shlibpath_var=no
                   10088:       ;;
                   10089: 
                   10090:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
                   10091:     freebsd2.*)
                   10092:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   10093:       hardcode_direct=yes
                   10094:       hardcode_minus_L=yes
                   10095:       hardcode_shlibpath_var=no
                   10096:       ;;
                   10097: 
                   10098:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
                   10099:     freebsd* | dragonfly*)
                   10100:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   10101:       hardcode_libdir_flag_spec='-R$libdir'
                   10102:       hardcode_direct=yes
                   10103:       hardcode_shlibpath_var=no
                   10104:       ;;
                   10105: 
                   10106:     hpux9*)
                   10107:       if test "$GCC" = yes; then
                   10108:        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'
                   10109:       else
                   10110:        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'
                   10111:       fi
                   10112:       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   10113:       hardcode_libdir_separator=:
                   10114:       hardcode_direct=yes
                   10115: 
                   10116:       # hardcode_minus_L: Not really in the search PATH,
                   10117:       # but as the default location of the library.
                   10118:       hardcode_minus_L=yes
                   10119:       export_dynamic_flag_spec='${wl}-E'
                   10120:       ;;
                   10121: 
                   10122:     hpux10*)
                   10123:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   10124:        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   10125:       else
                   10126:        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   10127:       fi
                   10128:       if test "$with_gnu_ld" = no; then
                   10129:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   10130:        hardcode_libdir_separator=:
                   10131:        hardcode_direct=yes
                   10132:        hardcode_direct_absolute=yes
                   10133:        export_dynamic_flag_spec='${wl}-E'
                   10134:        # hardcode_minus_L: Not really in the search PATH,
                   10135:        # but as the default location of the library.
                   10136:        hardcode_minus_L=yes
                   10137:       fi
                   10138:       ;;
                   10139: 
                   10140:     hpux11*)
                   10141:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   10142:        case $host_cpu in
                   10143:        hppa*64*)
                   10144:          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10145:          ;;
                   10146:        ia64*)
                   10147:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   10148:          ;;
                   10149:        *)
                   10150:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   10151:          ;;
                   10152:        esac
                   10153:       else
                   10154:        case $host_cpu in
                   10155:        hppa*64*)
                   10156:          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10157:          ;;
                   10158:        ia64*)
                   10159:          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   10160:          ;;
                   10161:        *)
1.15      paf      10162: 
1.35      moko     10163:          # Older versions of the 11.00 compiler do not understand -b yet
                   10164:          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
1.43      moko     10165:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
                   10166: $as_echo_n "checking if $CC understands -b... " >&6; }
                   10167: if ${lt_cv_prog_compiler__b+:} false; then :
                   10168:   $as_echo_n "(cached) " >&6
1.15      paf      10169: else
1.35      moko     10170:   lt_cv_prog_compiler__b=no
                   10171:    save_LDFLAGS="$LDFLAGS"
                   10172:    LDFLAGS="$LDFLAGS -b"
                   10173:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   10174:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   10175:      # The linker can only warn and ignore the option if not recognized
                   10176:      # So say no if there are warnings
                   10177:      if test -s conftest.err; then
                   10178:        # Append any errors to the config.log.
                   10179:        cat conftest.err 1>&5
                   10180:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   10181:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   10182:        if diff conftest.exp conftest.er2 >/dev/null; then
                   10183:          lt_cv_prog_compiler__b=yes
                   10184:        fi
                   10185:      else
                   10186:        lt_cv_prog_compiler__b=yes
                   10187:      fi
                   10188:    fi
                   10189:    $RM -r conftest*
                   10190:    LDFLAGS="$save_LDFLAGS"
1.15      paf      10191: 
1.1       parser   10192: fi
1.43      moko     10193: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
                   10194: $as_echo "$lt_cv_prog_compiler__b" >&6; }
1.1       parser   10195: 
1.35      moko     10196: if test x"$lt_cv_prog_compiler__b" = xyes; then
                   10197:     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   10198: else
                   10199:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
1.1       parser   10200: fi
                   10201: 
1.35      moko     10202:          ;;
                   10203:        esac
                   10204:       fi
                   10205:       if test "$with_gnu_ld" = no; then
                   10206:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   10207:        hardcode_libdir_separator=:
                   10208: 
                   10209:        case $host_cpu in
                   10210:        hppa*64*|ia64*)
                   10211:          hardcode_direct=no
                   10212:          hardcode_shlibpath_var=no
                   10213:          ;;
                   10214:        *)
                   10215:          hardcode_direct=yes
                   10216:          hardcode_direct_absolute=yes
                   10217:          export_dynamic_flag_spec='${wl}-E'
1.15      paf      10218: 
1.35      moko     10219:          # hardcode_minus_L: Not really in the search PATH,
                   10220:          # but as the default location of the library.
                   10221:          hardcode_minus_L=yes
                   10222:          ;;
                   10223:        esac
                   10224:       fi
                   10225:       ;;
1.1       parser   10226: 
1.35      moko     10227:     irix5* | irix6* | nonstopux*)
                   10228:       if test "$GCC" = yes; then
                   10229:        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'
                   10230:        # Try to use the -exported_symbol ld option, if it does not
                   10231:        # work, assume that -exports_file does not work either and
                   10232:        # implicitly export all symbols.
                   10233:        # This should be the same for all languages, so no per-tag cache variable.
1.43      moko     10234:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
                   10235: $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
                   10236: if ${lt_cv_irix_exported_symbol+:} false; then :
                   10237:   $as_echo_n "(cached) " >&6
1.15      paf      10238: else
1.35      moko     10239:   save_LDFLAGS="$LDFLAGS"
                   10240:           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
1.43      moko     10241:           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.15      paf      10242: /* end confdefs.h.  */
1.35      moko     10243: int foo (void) { return 0; }
1.15      paf      10244: _ACEOF
1.43      moko     10245: if ac_fn_c_try_link "$LINENO"; then :
1.35      moko     10246:   lt_cv_irix_exported_symbol=yes
1.1       parser   10247: else
1.43      moko     10248:   lt_cv_irix_exported_symbol=no
1.15      paf      10249: fi
1.43      moko     10250: rm -f core conftest.err conftest.$ac_objext \
                   10251:     conftest$ac_exeext conftest.$ac_ext
1.35      moko     10252:            LDFLAGS="$save_LDFLAGS"
1.1       parser   10253: fi
1.43      moko     10254: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
                   10255: $as_echo "$lt_cv_irix_exported_symbol" >&6; }
1.35      moko     10256:        if test "$lt_cv_irix_exported_symbol" = yes; then
                   10257:           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'
                   10258:        fi
                   10259:       else
                   10260:        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'
                   10261:        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'
                   10262:       fi
                   10263:       archive_cmds_need_lc='no'
                   10264:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10265:       hardcode_libdir_separator=:
                   10266:       inherit_rpath=yes
                   10267:       link_all_deplibs=yes
                   10268:       ;;
                   10269: 
                   10270:     netbsd*)
                   10271:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   10272:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   10273:       else
                   10274:        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   10275:       fi
                   10276:       hardcode_libdir_flag_spec='-R$libdir'
                   10277:       hardcode_direct=yes
                   10278:       hardcode_shlibpath_var=no
                   10279:       ;;
                   10280: 
                   10281:     newsos6)
                   10282:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10283:       hardcode_direct=yes
                   10284:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10285:       hardcode_libdir_separator=:
                   10286:       hardcode_shlibpath_var=no
                   10287:       ;;
                   10288: 
                   10289:     *nto* | *qnx*)
                   10290:       ;;
1.1       parser   10291: 
1.35      moko     10292:     openbsd*)
                   10293:       if test -f /usr/libexec/ld.so; then
                   10294:        hardcode_direct=yes
                   10295:        hardcode_shlibpath_var=no
                   10296:        hardcode_direct_absolute=yes
                   10297:        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   10298:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   10299:          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
                   10300:          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   10301:          export_dynamic_flag_spec='${wl}-E'
                   10302:        else
                   10303:          case $host_os in
                   10304:           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
                   10305:             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   10306:             hardcode_libdir_flag_spec='-R$libdir'
                   10307:             ;;
                   10308:           *)
                   10309:             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   10310:             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   10311:             ;;
                   10312:          esac
                   10313:        fi
                   10314:       else
                   10315:        ld_shlibs=no
                   10316:       fi
                   10317:       ;;
1.1       parser   10318: 
1.35      moko     10319:     os2*)
                   10320:       hardcode_libdir_flag_spec='-L$libdir'
                   10321:       hardcode_minus_L=yes
                   10322:       allow_undefined_flag=unsupported
                   10323:       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'
                   10324:       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
                   10325:       ;;
1.1       parser   10326: 
1.35      moko     10327:     osf3*)
                   10328:       if test "$GCC" = yes; then
                   10329:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   10330:        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'
                   10331:       else
                   10332:        allow_undefined_flag=' -expect_unresolved \*'
                   10333:        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'
                   10334:       fi
                   10335:       archive_cmds_need_lc='no'
                   10336:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10337:       hardcode_libdir_separator=:
                   10338:       ;;
1.1       parser   10339: 
1.35      moko     10340:     osf4* | osf5*)     # as osf3* with the addition of -msym flag
                   10341:       if test "$GCC" = yes; then
                   10342:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   10343:        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'
                   10344:        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10345:       else
                   10346:        allow_undefined_flag=' -expect_unresolved \*'
                   10347:        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'
                   10348:        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~
                   10349:        $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   10350: 
1.35      moko     10351:        # Both c and cxx compiler support -rpath directly
                   10352:        hardcode_libdir_flag_spec='-rpath $libdir'
                   10353:       fi
                   10354:       archive_cmds_need_lc='no'
                   10355:       hardcode_libdir_separator=:
                   10356:       ;;
1.1       parser   10357: 
1.35      moko     10358:     solaris*)
                   10359:       no_undefined_flag=' -z defs'
                   10360:       if test "$GCC" = yes; then
                   10361:        wlarc='${wl}'
                   10362:        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10363:        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   10364:          $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'
                   10365:       else
                   10366:        case `$CC -V 2>&1` in
                   10367:        *"Compilers 5.0"*)
                   10368:          wlarc=''
                   10369:          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10370:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   10371:          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
                   10372:          ;;
                   10373:        *)
                   10374:          wlarc='${wl}'
                   10375:          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   10376:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   10377:          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
                   10378:          ;;
                   10379:        esac
                   10380:       fi
                   10381:       hardcode_libdir_flag_spec='-R$libdir'
                   10382:       hardcode_shlibpath_var=no
                   10383:       case $host_os in
                   10384:       solaris2.[0-5] | solaris2.[0-5].*) ;;
                   10385:       *)
                   10386:        # The compiler driver will combine and reorder linker options,
                   10387:        # but understands `-z linker_flag'.  GCC discards it without `$wl',
                   10388:        # but is careful enough not to reorder.
                   10389:        # Supported since Solaris 2.6 (maybe 2.5.1?)
                   10390:        if test "$GCC" = yes; then
                   10391:          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   10392:        else
                   10393:          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
                   10394:        fi
                   10395:        ;;
                   10396:       esac
                   10397:       link_all_deplibs=yes
                   10398:       ;;
                   10399: 
                   10400:     sunos4*)
                   10401:       if test "x$host_vendor" = xsequent; then
                   10402:        # Use $CC to link under sequent, because it throws in some extra .o
                   10403:        # files that make .init and .fini sections work.
                   10404:        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   10405:       else
                   10406:        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   10407:       fi
                   10408:       hardcode_libdir_flag_spec='-L$libdir'
                   10409:       hardcode_direct=yes
                   10410:       hardcode_minus_L=yes
                   10411:       hardcode_shlibpath_var=no
                   10412:       ;;
                   10413: 
                   10414:     sysv4)
                   10415:       case $host_vendor in
                   10416:        sni)
                   10417:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10418:          hardcode_direct=yes # is this really true???
                   10419:        ;;
                   10420:        siemens)
                   10421:          ## LD is ld it makes a PLAMLIB
                   10422:          ## CC just makes a GrossModule.
                   10423:          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   10424:          reload_cmds='$CC -r -o $output$reload_objs'
                   10425:          hardcode_direct=no
                   10426:         ;;
                   10427:        motorola)
                   10428:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10429:          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   10430:        ;;
                   10431:       esac
                   10432:       runpath_var='LD_RUN_PATH'
                   10433:       hardcode_shlibpath_var=no
                   10434:       ;;
                   10435: 
                   10436:     sysv4.3*)
                   10437:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10438:       hardcode_shlibpath_var=no
                   10439:       export_dynamic_flag_spec='-Bexport'
                   10440:       ;;
                   10441: 
                   10442:     sysv4*MP*)
                   10443:       if test -d /usr/nec; then
                   10444:        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10445:        hardcode_shlibpath_var=no
                   10446:        runpath_var=LD_RUN_PATH
                   10447:        hardcode_runpath_var=yes
                   10448:        ld_shlibs=yes
                   10449:       fi
                   10450:       ;;
                   10451: 
                   10452:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   10453:       no_undefined_flag='${wl}-z,text'
                   10454:       archive_cmds_need_lc=no
                   10455:       hardcode_shlibpath_var=no
                   10456:       runpath_var='LD_RUN_PATH'
                   10457: 
                   10458:       if test "$GCC" = yes; then
                   10459:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10460:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10461:       else
                   10462:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10463:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10464:       fi
                   10465:       ;;
1.15      paf      10466: 
1.35      moko     10467:     sysv5* | sco3.2v5* | sco5v6*)
                   10468:       # Note: We can NOT use -z defs as we might desire, because we do not
                   10469:       # link with -lc, and that would cause any symbols used from libc to
                   10470:       # always be unresolved, which means just about no library would
                   10471:       # ever link correctly.  If we're not using GNU ld we use -z text
                   10472:       # though, which does catch some bad symbols but isn't as heavy-handed
                   10473:       # as -z defs.
                   10474:       no_undefined_flag='${wl}-z,text'
                   10475:       allow_undefined_flag='${wl}-z,nodefs'
                   10476:       archive_cmds_need_lc=no
                   10477:       hardcode_shlibpath_var=no
                   10478:       hardcode_libdir_flag_spec='${wl}-R,$libdir'
                   10479:       hardcode_libdir_separator=':'
                   10480:       link_all_deplibs=yes
                   10481:       export_dynamic_flag_spec='${wl}-Bexport'
                   10482:       runpath_var='LD_RUN_PATH'
                   10483: 
                   10484:       if test "$GCC" = yes; then
                   10485:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10486:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10487:       else
                   10488:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10489:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10490:       fi
                   10491:       ;;
1.15      paf      10492: 
1.35      moko     10493:     uts4*)
                   10494:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10495:       hardcode_libdir_flag_spec='-L$libdir'
                   10496:       hardcode_shlibpath_var=no
1.15      paf      10497:       ;;
1.35      moko     10498: 
1.15      paf      10499:     *)
1.35      moko     10500:       ld_shlibs=no
1.15      paf      10501:       ;;
1.35      moko     10502:     esac
                   10503: 
                   10504:     if test x$host_vendor = xsni; then
                   10505:       case $host in
                   10506:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   10507:        export_dynamic_flag_spec='${wl}-Blargedynsym'
                   10508:        ;;
                   10509:       esac
                   10510:     fi
1.1       parser   10511:   fi
                   10512: 
1.43      moko     10513: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
                   10514: $as_echo "$ld_shlibs" >&6; }
1.35      moko     10515: test "$ld_shlibs" = no && can_build_shared=no
                   10516: 
                   10517: with_gnu_ld=$with_gnu_ld
1.1       parser   10518: 
                   10519: 
1.15      paf      10520: 
                   10521: 
                   10522: 
1.1       parser   10523: 
                   10524: 
1.15      paf      10525: 
                   10526: 
                   10527: 
                   10528: 
                   10529: 
                   10530: 
                   10531: 
                   10532: 
1.35      moko     10533: #
                   10534: # Do we need to explicitly link libc?
                   10535: #
                   10536: case "x$archive_cmds_need_lc" in
                   10537: x|xyes)
                   10538:   # Assume -lc should be added
                   10539:   archive_cmds_need_lc=yes
                   10540: 
                   10541:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   10542:     case $archive_cmds in
                   10543:     *'~'*)
                   10544:       # FIXME: we may have to deal with multi-command sequences.
                   10545:       ;;
                   10546:     '$CC '*)
                   10547:       # Test whether the compiler implicitly links with -lc since on some
                   10548:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   10549:       # to ld, don't add -lc before -lgcc.
1.43      moko     10550:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   10551: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
                   10552: if ${lt_cv_archive_cmds_need_lc+:} false; then :
                   10553:   $as_echo_n "(cached) " >&6
1.15      paf      10554: else
1.35      moko     10555:   $RM conftest*
                   10556:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   10557: 
1.43      moko     10558:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.35      moko     10559:   (eval $ac_compile) 2>&5
                   10560:   ac_status=$?
1.43      moko     10561:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   10562:   test $ac_status = 0; } 2>conftest.err; then
1.35      moko     10563:          soname=conftest
                   10564:          lib=conftest
                   10565:          libobjs=conftest.$ac_objext
                   10566:          deplibs=
                   10567:          wl=$lt_prog_compiler_wl
                   10568:          pic_flag=$lt_prog_compiler_pic
                   10569:          compiler_flags=-v
                   10570:          linker_flags=-v
                   10571:          verstring=
                   10572:          output_objdir=.
                   10573:          libname=conftest
                   10574:          lt_save_allow_undefined_flag=$allow_undefined_flag
                   10575:          allow_undefined_flag=
1.43      moko     10576:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1.35      moko     10577:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   10578:   ac_status=$?
1.43      moko     10579:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   10580:   test $ac_status = 0; }
1.35      moko     10581:          then
                   10582:            lt_cv_archive_cmds_need_lc=no
                   10583:          else
                   10584:            lt_cv_archive_cmds_need_lc=yes
                   10585:          fi
                   10586:          allow_undefined_flag=$lt_save_allow_undefined_flag
                   10587:        else
                   10588:          cat conftest.err 1>&5
                   10589:        fi
                   10590:        $RM conftest*
                   10591: 
1.15      paf      10592: fi
1.43      moko     10593: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
                   10594: $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
1.35      moko     10595:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
                   10596:       ;;
                   10597:     esac
                   10598:   fi
                   10599:   ;;
                   10600: esac
                   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: 
                   10655: 
1.15      paf      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: 
                   10700: 
1.1       parser   10701: 
1.15      paf      10702: 
                   10703: 
                   10704: 
                   10705: 
                   10706: 
1.1       parser   10707: 
1.15      paf      10708: 
                   10709: 
                   10710: 
                   10711: 
1.1       parser   10712: 
1.15      paf      10713: 
                   10714: 
                   10715: 
                   10716: 
1.1       parser   10717: 
                   10718: 
                   10719: 
                   10720: 
                   10721: 
                   10722: 
                   10723: 
1.15      paf      10724: 
                   10725: 
                   10726: 
1.25      paf      10727: 
1.15      paf      10728: 
                   10729: 
1.1       parser   10730: 
1.15      paf      10731: 
                   10732: 
                   10733: 
1.1       parser   10734: 
                   10735: 
                   10736: 
                   10737: 
1.15      paf      10738: 
                   10739: 
1.1       parser   10740: 
1.15      paf      10741: 
                   10742: 
                   10743: 
                   10744: 
1.1       parser   10745: 
1.25      paf      10746: 
1.15      paf      10747: 
                   10748: 
1.25      paf      10749: 
1.15      paf      10750: 
                   10751: 
1.35      moko     10752: 
1.43      moko     10753:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   10754: $as_echo_n "checking dynamic linker characteristics... " >&6; }
1.35      moko     10755: 
                   10756: if test "$GCC" = yes; then
                   10757:   case $host_os in
                   10758:     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
                   10759:     *) lt_awk_arg="/^libraries:/" ;;
                   10760:   esac
                   10761:   case $host_os in
                   10762:     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
                   10763:     *) lt_sed_strip_eq="s,=/,/,g" ;;
                   10764:   esac
                   10765:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
                   10766:   case $lt_search_path_spec in
                   10767:   *\;*)
                   10768:     # if the path contains ";" then we assume it to be the separator
                   10769:     # otherwise default to the standard path separator (i.e. ":") - it is
                   10770:     # assumed that no part of a normal pathname contains ";" but that should
                   10771:     # okay in the real world where ";" in dirpaths is itself problematic.
                   10772:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
                   10773:     ;;
                   10774:   *)
                   10775:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
                   10776:     ;;
                   10777:   esac
                   10778:   # Ok, now we have the path, separated by spaces, we can step through it
                   10779:   # and add multilib dir if necessary.
                   10780:   lt_tmp_lt_search_path_spec=
                   10781:   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
                   10782:   for lt_sys_path in $lt_search_path_spec; do
                   10783:     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
                   10784:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
                   10785:     else
                   10786:       test -d "$lt_sys_path" && \
                   10787:        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
                   10788:     fi
                   10789:   done
                   10790:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
                   10791: BEGIN {RS=" "; FS="/|\n";} {
                   10792:   lt_foo="";
                   10793:   lt_count=0;
                   10794:   for (lt_i = NF; lt_i > 0; lt_i--) {
                   10795:     if ($lt_i != "" && $lt_i != ".") {
                   10796:       if ($lt_i == "..") {
                   10797:         lt_count++;
                   10798:       } else {
                   10799:         if (lt_count == 0) {
                   10800:           lt_foo="/" $lt_i lt_foo;
                   10801:         } else {
                   10802:           lt_count--;
                   10803:         }
                   10804:       }
                   10805:     }
                   10806:   }
                   10807:   if (lt_foo != "") { lt_freq[lt_foo]++; }
                   10808:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
                   10809: }'`
                   10810:   # AWK program above erroneously prepends '/' to C:/dos/paths
                   10811:   # for these hosts.
                   10812:   case $host_os in
                   10813:     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
                   10814:       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
                   10815:   esac
                   10816:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
                   10817: else
                   10818:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   10819: fi
                   10820: library_names_spec=
                   10821: libname_spec='lib$name'
                   10822: soname_spec=
                   10823: shrext_cmds=".so"
                   10824: postinstall_cmds=
                   10825: postuninstall_cmds=
                   10826: finish_cmds=
                   10827: finish_eval=
                   10828: shlibpath_var=
                   10829: shlibpath_overrides_runpath=unknown
                   10830: version_type=none
                   10831: dynamic_linker="$host_os ld.so"
                   10832: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   10833: need_lib_prefix=unknown
                   10834: hardcode_into_libs=no
                   10835: 
                   10836: # when you set need_version to no, make sure it does not cause -set_version
                   10837: # flags to be left without arguments
                   10838: need_version=unknown
                   10839: 
                   10840: case $host_os in
                   10841: aix3*)
                   10842:   version_type=linux # correct to gnu/linux during the next big refactor
                   10843:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   10844:   shlibpath_var=LIBPATH
                   10845: 
                   10846:   # AIX 3 has no versioning support, so we append a major version to the name.
                   10847:   soname_spec='${libname}${release}${shared_ext}$major'
                   10848:   ;;
                   10849: 
                   10850: aix[4-9]*)
                   10851:   version_type=linux # correct to gnu/linux during the next big refactor
                   10852:   need_lib_prefix=no
                   10853:   need_version=no
                   10854:   hardcode_into_libs=yes
                   10855:   if test "$host_cpu" = ia64; then
                   10856:     # AIX 5 supports IA64
                   10857:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   10858:     shlibpath_var=LD_LIBRARY_PATH
1.15      paf      10859:   else
1.35      moko     10860:     # With GCC up to 2.95.x, collect2 would create an import file
                   10861:     # for dependence libraries.  The import file would start with
                   10862:     # the line `#! .'.  This would cause the generated library to
                   10863:     # depend on `.', always an invalid library.  This was fixed in
                   10864:     # development snapshots of GCC prior to 3.0.
                   10865:     case $host_os in
                   10866:       aix4 | aix4.[01] | aix4.[01].*)
                   10867:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   10868:           echo ' yes '
                   10869:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   10870:        :
                   10871:       else
                   10872:        can_build_shared=no
                   10873:       fi
                   10874:       ;;
                   10875:     esac
                   10876:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   10877:     # soname into executable. Probably we can add versioning support to
                   10878:     # collect2, so additional links can be useful in future.
                   10879:     if test "$aix_use_runtimelinking" = yes; then
                   10880:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   10881:       # instead of lib<name>.a to let people know that these are not
                   10882:       # typical AIX shared libraries.
                   10883:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10884:     else
                   10885:       # We preserve .a as extension for shared libraries through AIX4.2
                   10886:       # and later when we are not doing run time linking.
                   10887:       library_names_spec='${libname}${release}.a $libname.a'
                   10888:       soname_spec='${libname}${release}${shared_ext}$major'
                   10889:     fi
                   10890:     shlibpath_var=LIBPATH
1.15      paf      10891:   fi
1.35      moko     10892:   ;;
                   10893: 
                   10894: amigaos*)
                   10895:   case $host_cpu in
                   10896:   powerpc)
                   10897:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   10898:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   10899:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10900:     ;;
                   10901:   m68k)
                   10902:     library_names_spec='$libname.ixlibrary $libname.a'
                   10903:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   10904:     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'
                   10905:     ;;
                   10906:   esac
                   10907:   ;;
                   10908: 
                   10909: beos*)
                   10910:   library_names_spec='${libname}${shared_ext}'
                   10911:   dynamic_linker="$host_os ld.so"
                   10912:   shlibpath_var=LIBRARY_PATH
                   10913:   ;;
                   10914: 
                   10915: bsdi[45]*)
                   10916:   version_type=linux # correct to gnu/linux during the next big refactor
                   10917:   need_version=no
                   10918:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10919:   soname_spec='${libname}${release}${shared_ext}$major'
                   10920:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   10921:   shlibpath_var=LD_LIBRARY_PATH
                   10922:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   10923:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   10924:   # the default ld.so.conf also contains /usr/contrib/lib and
                   10925:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   10926:   # libtool to hard-code these into programs
                   10927:   ;;
                   10928: 
                   10929: cygwin* | mingw* | pw32* | cegcc*)
                   10930:   version_type=windows
                   10931:   shrext_cmds=".dll"
                   10932:   need_version=no
                   10933:   need_lib_prefix=no
                   10934: 
                   10935:   case $GCC,$cc_basename in
                   10936:   yes,*)
                   10937:     # gcc
                   10938:     library_names_spec='$libname.dll.a'
                   10939:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   10940:     postinstall_cmds='base_file=`basename \${file}`~
                   10941:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   10942:       dldir=$destdir/`dirname \$dlpath`~
                   10943:       test -d \$dldir || mkdir -p \$dldir~
                   10944:       $install_prog $dir/$dlname \$dldir/$dlname~
                   10945:       chmod a+x \$dldir/$dlname~
                   10946:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   10947:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   10948:       fi'
                   10949:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   10950:       dlpath=$dir/\$dldll~
                   10951:        $RM \$dlpath'
                   10952:     shlibpath_overrides_runpath=yes
                   10953: 
                   10954:     case $host_os in
                   10955:     cygwin*)
                   10956:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   10957:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10958: 
                   10959:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
                   10960:       ;;
                   10961:     mingw* | cegcc*)
                   10962:       # MinGW DLLs use traditional 'lib' prefix
                   10963:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10964:       ;;
                   10965:     pw32*)
                   10966:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   10967:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10968:       ;;
                   10969:     esac
                   10970:     dynamic_linker='Win32 ld.exe'
                   10971:     ;;
                   10972: 
                   10973:   *,cl*)
                   10974:     # Native MSVC
                   10975:     libname_spec='$name'
                   10976:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10977:     library_names_spec='${libname}.dll.lib'
                   10978: 
                   10979:     case $build_os in
                   10980:     mingw*)
                   10981:       sys_lib_search_path_spec=
                   10982:       lt_save_ifs=$IFS
                   10983:       IFS=';'
                   10984:       for lt_path in $LIB
                   10985:       do
                   10986:         IFS=$lt_save_ifs
                   10987:         # Let DOS variable expansion print the short 8.3 style file name.
                   10988:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   10989:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   10990:       done
                   10991:       IFS=$lt_save_ifs
                   10992:       # Convert to MSYS style.
                   10993:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   10994:       ;;
                   10995:     cygwin*)
                   10996:       # Convert to unix form, then to dos form, then back to unix form
                   10997:       # but this time dos style (no spaces!) so that the unix form looks
                   10998:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   10999:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   11000:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   11001:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   11002:       ;;
                   11003:     *)
                   11004:       sys_lib_search_path_spec="$LIB"
                   11005:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   11006:         # It is most probably a Windows format PATH.
                   11007:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   11008:       else
                   11009:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   11010:       fi
                   11011:       # FIXME: find the short name or the path components, as spaces are
                   11012:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   11013:       ;;
                   11014:     esac
                   11015: 
                   11016:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   11017:     postinstall_cmds='base_file=`basename \${file}`~
                   11018:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   11019:       dldir=$destdir/`dirname \$dlpath`~
                   11020:       test -d \$dldir || mkdir -p \$dldir~
                   11021:       $install_prog $dir/$dlname \$dldir/$dlname'
                   11022:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   11023:       dlpath=$dir/\$dldll~
                   11024:        $RM \$dlpath'
                   11025:     shlibpath_overrides_runpath=yes
                   11026:     dynamic_linker='Win32 link.exe'
                   11027:     ;;
                   11028: 
                   11029:   *)
                   11030:     # Assume MSVC wrapper
                   11031:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   11032:     dynamic_linker='Win32 ld.exe'
                   11033:     ;;
                   11034:   esac
                   11035:   # FIXME: first we should search . and the directory the executable is in
                   11036:   shlibpath_var=PATH
                   11037:   ;;
                   11038: 
                   11039: darwin* | rhapsody*)
                   11040:   dynamic_linker="$host_os dyld"
                   11041:   version_type=darwin
                   11042:   need_lib_prefix=no
                   11043:   need_version=no
                   11044:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   11045:   soname_spec='${libname}${release}${major}$shared_ext'
                   11046:   shlibpath_overrides_runpath=yes
                   11047:   shlibpath_var=DYLD_LIBRARY_PATH
                   11048:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   11049: 
                   11050:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
                   11051:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   11052:   ;;
                   11053: 
                   11054: dgux*)
                   11055:   version_type=linux # correct to gnu/linux during the next big refactor
                   11056:   need_lib_prefix=no
                   11057:   need_version=no
                   11058:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   11059:   soname_spec='${libname}${release}${shared_ext}$major'
                   11060:   shlibpath_var=LD_LIBRARY_PATH
                   11061:   ;;
                   11062: 
                   11063: freebsd* | dragonfly*)
                   11064:   # DragonFly does not have aout.  When/if they implement a new
                   11065:   # versioning mechanism, adjust this.
                   11066:   if test -x /usr/bin/objformat; then
                   11067:     objformat=`/usr/bin/objformat`
1.15      paf      11068:   else
1.35      moko     11069:     case $host_os in
                   11070:     freebsd[23].*) objformat=aout ;;
                   11071:     *) objformat=elf ;;
                   11072:     esac
                   11073:   fi
                   11074:   version_type=freebsd-$objformat
                   11075:   case $version_type in
                   11076:     freebsd-elf*)
                   11077:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   11078:       need_version=no
                   11079:       need_lib_prefix=no
                   11080:       ;;
                   11081:     freebsd-*)
                   11082:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   11083:       need_version=yes
                   11084:       ;;
                   11085:   esac
                   11086:   shlibpath_var=LD_LIBRARY_PATH
                   11087:   case $host_os in
                   11088:   freebsd2.*)
                   11089:     shlibpath_overrides_runpath=yes
                   11090:     ;;
                   11091:   freebsd3.[01]* | freebsdelf3.[01]*)
                   11092:     shlibpath_overrides_runpath=yes
                   11093:     hardcode_into_libs=yes
                   11094:     ;;
                   11095:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   11096:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   11097:     shlibpath_overrides_runpath=no
                   11098:     hardcode_into_libs=yes
                   11099:     ;;
                   11100:   *) # from 4.6 on, and DragonFly
                   11101:     shlibpath_overrides_runpath=yes
                   11102:     hardcode_into_libs=yes
                   11103:     ;;
                   11104:   esac
                   11105:   ;;
                   11106: 
                   11107: gnu*)
                   11108:   version_type=linux # correct to gnu/linux during the next big refactor
                   11109:   need_lib_prefix=no
                   11110:   need_version=no
                   11111:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   11112:   soname_spec='${libname}${release}${shared_ext}$major'
                   11113:   shlibpath_var=LD_LIBRARY_PATH
                   11114:   shlibpath_overrides_runpath=no
                   11115:   hardcode_into_libs=yes
                   11116:   ;;
                   11117: 
                   11118: haiku*)
                   11119:   version_type=linux # correct to gnu/linux during the next big refactor
                   11120:   need_lib_prefix=no
                   11121:   need_version=no
                   11122:   dynamic_linker="$host_os runtime_loader"
                   11123:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   11124:   soname_spec='${libname}${release}${shared_ext}$major'
                   11125:   shlibpath_var=LIBRARY_PATH
                   11126:   shlibpath_overrides_runpath=yes
                   11127:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   11128:   hardcode_into_libs=yes
                   11129:   ;;
                   11130: 
                   11131: hpux9* | hpux10* | hpux11*)
                   11132:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   11133:   # link against other versions.
                   11134:   version_type=sunos
                   11135:   need_lib_prefix=no
                   11136:   need_version=no
                   11137:   case $host_cpu in
                   11138:   ia64*)
                   11139:     shrext_cmds='.so'
                   11140:     hardcode_into_libs=yes
                   11141:     dynamic_linker="$host_os dld.so"
                   11142:     shlibpath_var=LD_LIBRARY_PATH
                   11143:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   11144:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11145:     soname_spec='${libname}${release}${shared_ext}$major'
                   11146:     if test "X$HPUX_IA64_MODE" = X32; then
                   11147:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   11148:     else
                   11149:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   11150:     fi
                   11151:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   11152:     ;;
                   11153:   hppa*64*)
                   11154:     shrext_cmds='.sl'
                   11155:     hardcode_into_libs=yes
                   11156:     dynamic_linker="$host_os dld.sl"
                   11157:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   11158:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   11159:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11160:     soname_spec='${libname}${release}${shared_ext}$major'
                   11161:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   11162:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   11163:     ;;
                   11164:   *)
                   11165:     shrext_cmds='.sl'
                   11166:     dynamic_linker="$host_os dld.sl"
                   11167:     shlibpath_var=SHLIB_PATH
                   11168:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   11169:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11170:     soname_spec='${libname}${release}${shared_ext}$major'
                   11171:     ;;
                   11172:   esac
                   11173:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   11174:   postinstall_cmds='chmod 555 $lib'
                   11175:   # or fails outright, so override atomically:
                   11176:   install_override_mode=555
                   11177:   ;;
                   11178: 
                   11179: interix[3-9]*)
                   11180:   version_type=linux # correct to gnu/linux during the next big refactor
                   11181:   need_lib_prefix=no
                   11182:   need_version=no
                   11183:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   11184:   soname_spec='${libname}${release}${shared_ext}$major'
                   11185:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   11186:   shlibpath_var=LD_LIBRARY_PATH
                   11187:   shlibpath_overrides_runpath=no
                   11188:   hardcode_into_libs=yes
                   11189:   ;;
                   11190: 
                   11191: irix5* | irix6* | nonstopux*)
                   11192:   case $host_os in
                   11193:     nonstopux*) version_type=nonstopux ;;
                   11194:     *)
                   11195:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   11196:                version_type=linux # correct to gnu/linux during the next big refactor
                   11197:        else
                   11198:                version_type=irix
                   11199:        fi ;;
                   11200:   esac
                   11201:   need_lib_prefix=no
                   11202:   need_version=no
                   11203:   soname_spec='${libname}${release}${shared_ext}$major'
                   11204:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   11205:   case $host_os in
                   11206:   irix5* | nonstopux*)
                   11207:     libsuff= shlibsuff=
                   11208:     ;;
                   11209:   *)
                   11210:     case $LD in # libtool.m4 will add one of these switches to LD
                   11211:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   11212:       libsuff= shlibsuff= libmagic=32-bit;;
                   11213:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   11214:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   11215:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   11216:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   11217:     *) libsuff= shlibsuff= libmagic=never-match;;
                   11218:     esac
                   11219:     ;;
                   11220:   esac
                   11221:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   11222:   shlibpath_overrides_runpath=no
                   11223:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   11224:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   11225:   hardcode_into_libs=yes
                   11226:   ;;
                   11227: 
                   11228: # No shared lib support for Linux oldld, aout, or coff.
                   11229: linux*oldld* | linux*aout* | linux*coff*)
                   11230:   dynamic_linker=no
                   11231:   ;;
                   11232: 
                   11233: # This must be glibc/ELF.
                   11234: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   11235:   version_type=linux # correct to gnu/linux during the next big refactor
                   11236:   need_lib_prefix=no
                   11237:   need_version=no
                   11238:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11239:   soname_spec='${libname}${release}${shared_ext}$major'
                   11240:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   11241:   shlibpath_var=LD_LIBRARY_PATH
                   11242:   shlibpath_overrides_runpath=no
                   11243: 
                   11244:   # Some binutils ld are patched to set DT_RUNPATH
1.43      moko     11245:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
                   11246:   $as_echo_n "(cached) " >&6
1.35      moko     11247: else
                   11248:   lt_cv_shlibpath_overrides_runpath=no
                   11249:     save_LDFLAGS=$LDFLAGS
                   11250:     save_libdir=$libdir
                   11251:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
                   11252:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
1.43      moko     11253:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     11254: /* end confdefs.h.  */
                   11255: 
                   11256: int
                   11257: main ()
                   11258: {
                   11259: 
                   11260:   ;
                   11261:   return 0;
                   11262: }
                   11263: _ACEOF
1.43      moko     11264: if ac_fn_c_try_link "$LINENO"; then :
                   11265:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
1.35      moko     11266:   lt_cv_shlibpath_overrides_runpath=yes
                   11267: fi
                   11268: fi
1.43      moko     11269: rm -f core conftest.err conftest.$ac_objext \
                   11270:     conftest$ac_exeext conftest.$ac_ext
1.35      moko     11271:     LDFLAGS=$save_LDFLAGS
                   11272:     libdir=$save_libdir
                   11273: 
                   11274: fi
                   11275: 
                   11276:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   11277: 
                   11278:   # This implies no fast_install, which is unacceptable.
                   11279:   # Some rework will be needed to allow for fast_install
                   11280:   # before this can be enabled.
                   11281:   hardcode_into_libs=yes
                   11282: 
                   11283:   # Append ld.so.conf contents to the search path
                   11284:   if test -f /etc/ld.so.conf; then
                   11285:     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' ' '`
                   11286:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   11287:   fi
                   11288: 
                   11289:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   11290:   # powerpc, because MkLinux only supported shared libraries with the
                   11291:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   11292:   # most powerpc-linux boxes support dynamic linking these days and
                   11293:   # people can always --disable-shared, the test was removed, and we
                   11294:   # assume the GNU/Linux dynamic linker is in use.
                   11295:   dynamic_linker='GNU/Linux ld.so'
                   11296:   ;;
                   11297: 
                   11298: netbsd*)
                   11299:   version_type=sunos
                   11300:   need_lib_prefix=no
                   11301:   need_version=no
                   11302:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   11303:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   11304:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   11305:     dynamic_linker='NetBSD (a.out) ld.so'
                   11306:   else
                   11307:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   11308:     soname_spec='${libname}${release}${shared_ext}$major'
                   11309:     dynamic_linker='NetBSD ld.elf_so'
                   11310:   fi
                   11311:   shlibpath_var=LD_LIBRARY_PATH
                   11312:   shlibpath_overrides_runpath=yes
                   11313:   hardcode_into_libs=yes
                   11314:   ;;
                   11315: 
                   11316: newsos6)
                   11317:   version_type=linux # correct to gnu/linux during the next big refactor
                   11318:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11319:   shlibpath_var=LD_LIBRARY_PATH
                   11320:   shlibpath_overrides_runpath=yes
                   11321:   ;;
                   11322: 
                   11323: *nto* | *qnx*)
                   11324:   version_type=qnx
                   11325:   need_lib_prefix=no
                   11326:   need_version=no
                   11327:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11328:   soname_spec='${libname}${release}${shared_ext}$major'
                   11329:   shlibpath_var=LD_LIBRARY_PATH
                   11330:   shlibpath_overrides_runpath=no
                   11331:   hardcode_into_libs=yes
                   11332:   dynamic_linker='ldqnx.so'
                   11333:   ;;
                   11334: 
                   11335: openbsd*)
                   11336:   version_type=sunos
                   11337:   sys_lib_dlsearch_path_spec="/usr/lib"
                   11338:   need_lib_prefix=no
                   11339:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   11340:   case $host_os in
                   11341:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   11342:     *)                         need_version=no  ;;
                   11343:   esac
                   11344:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   11345:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   11346:   shlibpath_var=LD_LIBRARY_PATH
                   11347:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   11348:     case $host_os in
                   11349:       openbsd2.[89] | openbsd2.[89].*)
                   11350:        shlibpath_overrides_runpath=no
                   11351:        ;;
                   11352:       *)
                   11353:        shlibpath_overrides_runpath=yes
                   11354:        ;;
                   11355:       esac
                   11356:   else
                   11357:     shlibpath_overrides_runpath=yes
                   11358:   fi
                   11359:   ;;
                   11360: 
                   11361: os2*)
                   11362:   libname_spec='$name'
                   11363:   shrext_cmds=".dll"
                   11364:   need_lib_prefix=no
                   11365:   library_names_spec='$libname${shared_ext} $libname.a'
                   11366:   dynamic_linker='OS/2 ld.exe'
                   11367:   shlibpath_var=LIBPATH
                   11368:   ;;
                   11369: 
                   11370: osf3* | osf4* | osf5*)
                   11371:   version_type=osf
                   11372:   need_lib_prefix=no
                   11373:   need_version=no
                   11374:   soname_spec='${libname}${release}${shared_ext}$major'
                   11375:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11376:   shlibpath_var=LD_LIBRARY_PATH
                   11377:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   11378:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   11379:   ;;
                   11380: 
                   11381: rdos*)
                   11382:   dynamic_linker=no
                   11383:   ;;
                   11384: 
                   11385: solaris*)
                   11386:   version_type=linux # correct to gnu/linux during the next big refactor
                   11387:   need_lib_prefix=no
                   11388:   need_version=no
                   11389:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11390:   soname_spec='${libname}${release}${shared_ext}$major'
                   11391:   shlibpath_var=LD_LIBRARY_PATH
                   11392:   shlibpath_overrides_runpath=yes
                   11393:   hardcode_into_libs=yes
                   11394:   # ldd complains unless libraries are executable
                   11395:   postinstall_cmds='chmod +x $lib'
                   11396:   ;;
                   11397: 
                   11398: sunos4*)
                   11399:   version_type=sunos
                   11400:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   11401:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   11402:   shlibpath_var=LD_LIBRARY_PATH
                   11403:   shlibpath_overrides_runpath=yes
                   11404:   if test "$with_gnu_ld" = yes; then
                   11405:     need_lib_prefix=no
                   11406:   fi
                   11407:   need_version=yes
                   11408:   ;;
                   11409: 
                   11410: sysv4 | sysv4.3*)
                   11411:   version_type=linux # correct to gnu/linux during the next big refactor
                   11412:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11413:   soname_spec='${libname}${release}${shared_ext}$major'
                   11414:   shlibpath_var=LD_LIBRARY_PATH
                   11415:   case $host_vendor in
                   11416:     sni)
                   11417:       shlibpath_overrides_runpath=no
                   11418:       need_lib_prefix=no
                   11419:       runpath_var=LD_RUN_PATH
                   11420:       ;;
                   11421:     siemens)
                   11422:       need_lib_prefix=no
                   11423:       ;;
                   11424:     motorola)
                   11425:       need_lib_prefix=no
                   11426:       need_version=no
                   11427:       shlibpath_overrides_runpath=no
                   11428:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   11429:       ;;
                   11430:   esac
                   11431:   ;;
                   11432: 
                   11433: sysv4*MP*)
                   11434:   if test -d /usr/nec ;then
                   11435:     version_type=linux # correct to gnu/linux during the next big refactor
                   11436:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   11437:     soname_spec='$libname${shared_ext}.$major'
                   11438:     shlibpath_var=LD_LIBRARY_PATH
                   11439:   fi
                   11440:   ;;
                   11441: 
                   11442: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   11443:   version_type=freebsd-elf
                   11444:   need_lib_prefix=no
                   11445:   need_version=no
                   11446:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   11447:   soname_spec='${libname}${release}${shared_ext}$major'
                   11448:   shlibpath_var=LD_LIBRARY_PATH
                   11449:   shlibpath_overrides_runpath=yes
                   11450:   hardcode_into_libs=yes
                   11451:   if test "$with_gnu_ld" = yes; then
                   11452:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   11453:   else
                   11454:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   11455:     case $host_os in
                   11456:       sco3.2v5*)
                   11457:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   11458:        ;;
                   11459:     esac
                   11460:   fi
                   11461:   sys_lib_dlsearch_path_spec='/usr/lib'
                   11462:   ;;
                   11463: 
                   11464: tpf*)
                   11465:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   11466:   version_type=linux # correct to gnu/linux during the next big refactor
                   11467:   need_lib_prefix=no
                   11468:   need_version=no
                   11469:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11470:   shlibpath_var=LD_LIBRARY_PATH
                   11471:   shlibpath_overrides_runpath=no
                   11472:   hardcode_into_libs=yes
                   11473:   ;;
                   11474: 
                   11475: uts4*)
                   11476:   version_type=linux # correct to gnu/linux during the next big refactor
                   11477:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11478:   soname_spec='${libname}${release}${shared_ext}$major'
                   11479:   shlibpath_var=LD_LIBRARY_PATH
                   11480:   ;;
                   11481: 
                   11482: *)
                   11483:   dynamic_linker=no
                   11484:   ;;
                   11485: esac
1.43      moko     11486: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   11487: $as_echo "$dynamic_linker" >&6; }
1.35      moko     11488: test "$dynamic_linker" = no && can_build_shared=no
                   11489: 
                   11490: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   11491: if test "$GCC" = yes; then
                   11492:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   11493: fi
                   11494: 
                   11495: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   11496:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   11497: fi
                   11498: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   11499:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   11500: fi
                   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: 
                   11592: 
1.43      moko     11593:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   11594: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1.35      moko     11595: hardcode_action=
                   11596: if test -n "$hardcode_libdir_flag_spec" ||
                   11597:    test -n "$runpath_var" ||
                   11598:    test "X$hardcode_automatic" = "Xyes" ; then
                   11599: 
                   11600:   # We can hardcode non-existent directories.
                   11601:   if test "$hardcode_direct" != no &&
                   11602:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   11603:      # have to relink, otherwise we might link with an installed library
                   11604:      # when we should be linking with a yet-to-be-installed one
                   11605:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
                   11606:      test "$hardcode_minus_L" != no; then
                   11607:     # Linking always hardcodes the temporary library directory.
                   11608:     hardcode_action=relink
                   11609:   else
                   11610:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   11611:     hardcode_action=immediate
                   11612:   fi
                   11613: else
                   11614:   # We cannot hardcode anything, or else we can only hardcode existing
                   11615:   # directories.
                   11616:   hardcode_action=unsupported
                   11617: fi
1.43      moko     11618: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
                   11619: $as_echo "$hardcode_action" >&6; }
1.35      moko     11620: 
                   11621: if test "$hardcode_action" = relink ||
                   11622:    test "$inherit_rpath" = yes; then
                   11623:   # Fast installation is not supported
                   11624:   enable_fast_install=no
                   11625: elif test "$shlibpath_overrides_runpath" = yes ||
                   11626:      test "$enable_shared" = no; then
                   11627:   # Fast installation is not necessary
                   11628:   enable_fast_install=needless
                   11629: fi
                   11630: 
                   11631: 
                   11632: 
                   11633: 
                   11634: 
                   11635: 
                   11636:   if test "x$enable_dlopen" != xyes; then
                   11637:   enable_dlopen=unknown
                   11638:   enable_dlopen_self=unknown
                   11639:   enable_dlopen_self_static=unknown
                   11640: else
                   11641:   lt_cv_dlopen=no
                   11642:   lt_cv_dlopen_libs=
                   11643: 
                   11644:   case $host_os in
                   11645:   beos*)
                   11646:     lt_cv_dlopen="load_add_on"
                   11647:     lt_cv_dlopen_libs=
                   11648:     lt_cv_dlopen_self=yes
                   11649:     ;;
                   11650: 
                   11651:   mingw* | pw32* | cegcc*)
                   11652:     lt_cv_dlopen="LoadLibrary"
                   11653:     lt_cv_dlopen_libs=
                   11654:     ;;
                   11655: 
                   11656:   cygwin*)
                   11657:     lt_cv_dlopen="dlopen"
                   11658:     lt_cv_dlopen_libs=
                   11659:     ;;
                   11660: 
                   11661:   darwin*)
                   11662:   # if libdl is installed we need to link against it
1.43      moko     11663:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   11664: $as_echo_n "checking for dlopen in -ldl... " >&6; }
                   11665: if ${ac_cv_lib_dl_dlopen+:} false; then :
                   11666:   $as_echo_n "(cached) " >&6
1.35      moko     11667: else
                   11668:   ac_check_lib_save_LIBS=$LIBS
                   11669: LIBS="-ldl  $LIBS"
1.43      moko     11670: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     11671: /* end confdefs.h.  */
                   11672: 
1.43      moko     11673: /* Override any GCC internal prototype to avoid an error.
                   11674:    Use char because int might match the return type of a GCC
                   11675:    builtin and then its argument prototype would still apply.  */
1.35      moko     11676: #ifdef __cplusplus
                   11677: extern "C"
                   11678: #endif
                   11679: char dlopen ();
                   11680: int
                   11681: main ()
                   11682: {
1.43      moko     11683: return dlopen ();
1.35      moko     11684:   ;
                   11685:   return 0;
                   11686: }
                   11687: _ACEOF
1.43      moko     11688: if ac_fn_c_try_link "$LINENO"; then :
1.35      moko     11689:   ac_cv_lib_dl_dlopen=yes
                   11690: else
1.43      moko     11691:   ac_cv_lib_dl_dlopen=no
1.35      moko     11692: fi
1.43      moko     11693: rm -f core conftest.err conftest.$ac_objext \
                   11694:     conftest$ac_exeext conftest.$ac_ext
1.35      moko     11695: LIBS=$ac_check_lib_save_LIBS
                   11696: fi
1.43      moko     11697: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   11698: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
                   11699: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1.35      moko     11700:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   11701: else
                   11702: 
                   11703:     lt_cv_dlopen="dyld"
                   11704:     lt_cv_dlopen_libs=
                   11705:     lt_cv_dlopen_self=yes
                   11706: 
                   11707: fi
                   11708: 
                   11709:     ;;
                   11710: 
                   11711:   *)
1.43      moko     11712:     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
                   11713: if test "x$ac_cv_func_shl_load" = xyes; then :
1.35      moko     11714:   lt_cv_dlopen="shl_load"
                   11715: else
1.43      moko     11716:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   11717: $as_echo_n "checking for shl_load in -ldld... " >&6; }
                   11718: if ${ac_cv_lib_dld_shl_load+:} false; then :
                   11719:   $as_echo_n "(cached) " >&6
1.35      moko     11720: else
1.43      moko     11721:   ac_check_lib_save_LIBS=$LIBS
                   11722: LIBS="-ldld  $LIBS"
                   11723: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     11724: /* end confdefs.h.  */
                   11725: 
1.43      moko     11726: /* Override any GCC internal prototype to avoid an error.
                   11727:    Use char because int might match the return type of a GCC
                   11728:    builtin and then its argument prototype would still apply.  */
1.35      moko     11729: #ifdef __cplusplus
                   11730: extern "C"
                   11731: #endif
1.43      moko     11732: char shl_load ();
1.35      moko     11733: int
                   11734: main ()
                   11735: {
1.43      moko     11736: return shl_load ();
1.35      moko     11737:   ;
                   11738:   return 0;
                   11739: }
                   11740: _ACEOF
1.43      moko     11741: if ac_fn_c_try_link "$LINENO"; then :
                   11742:   ac_cv_lib_dld_shl_load=yes
1.35      moko     11743: else
1.43      moko     11744:   ac_cv_lib_dld_shl_load=no
1.35      moko     11745: fi
1.43      moko     11746: rm -f core conftest.err conftest.$ac_objext \
                   11747:     conftest$ac_exeext conftest.$ac_ext
                   11748: LIBS=$ac_check_lib_save_LIBS
1.35      moko     11749: fi
1.43      moko     11750: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   11751: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
                   11752: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
                   11753:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
                   11754: else
                   11755:   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
                   11756: if test "x$ac_cv_func_dlopen" = xyes; then :
1.35      moko     11757:   lt_cv_dlopen="dlopen"
                   11758: else
1.43      moko     11759:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   11760: $as_echo_n "checking for dlopen in -ldl... " >&6; }
                   11761: if ${ac_cv_lib_dl_dlopen+:} false; then :
                   11762:   $as_echo_n "(cached) " >&6
1.35      moko     11763: else
                   11764:   ac_check_lib_save_LIBS=$LIBS
                   11765: LIBS="-ldl  $LIBS"
1.43      moko     11766: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     11767: /* end confdefs.h.  */
                   11768: 
1.43      moko     11769: /* Override any GCC internal prototype to avoid an error.
                   11770:    Use char because int might match the return type of a GCC
                   11771:    builtin and then its argument prototype would still apply.  */
1.35      moko     11772: #ifdef __cplusplus
                   11773: extern "C"
                   11774: #endif
                   11775: char dlopen ();
                   11776: int
                   11777: main ()
                   11778: {
1.43      moko     11779: return dlopen ();
1.35      moko     11780:   ;
                   11781:   return 0;
                   11782: }
                   11783: _ACEOF
1.43      moko     11784: if ac_fn_c_try_link "$LINENO"; then :
1.35      moko     11785:   ac_cv_lib_dl_dlopen=yes
                   11786: else
1.43      moko     11787:   ac_cv_lib_dl_dlopen=no
1.35      moko     11788: fi
1.43      moko     11789: rm -f core conftest.err conftest.$ac_objext \
                   11790:     conftest$ac_exeext conftest.$ac_ext
1.35      moko     11791: LIBS=$ac_check_lib_save_LIBS
                   11792: fi
1.43      moko     11793: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   11794: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
                   11795: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1.35      moko     11796:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   11797: else
1.43      moko     11798:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   11799: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
                   11800: if ${ac_cv_lib_svld_dlopen+:} false; then :
                   11801:   $as_echo_n "(cached) " >&6
1.35      moko     11802: else
                   11803:   ac_check_lib_save_LIBS=$LIBS
                   11804: LIBS="-lsvld  $LIBS"
1.43      moko     11805: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     11806: /* end confdefs.h.  */
                   11807: 
1.43      moko     11808: /* Override any GCC internal prototype to avoid an error.
                   11809:    Use char because int might match the return type of a GCC
                   11810:    builtin and then its argument prototype would still apply.  */
1.35      moko     11811: #ifdef __cplusplus
                   11812: extern "C"
                   11813: #endif
                   11814: char dlopen ();
                   11815: int
                   11816: main ()
                   11817: {
1.43      moko     11818: return dlopen ();
1.35      moko     11819:   ;
                   11820:   return 0;
                   11821: }
                   11822: _ACEOF
1.43      moko     11823: if ac_fn_c_try_link "$LINENO"; then :
1.35      moko     11824:   ac_cv_lib_svld_dlopen=yes
                   11825: else
1.43      moko     11826:   ac_cv_lib_svld_dlopen=no
1.35      moko     11827: fi
1.43      moko     11828: rm -f core conftest.err conftest.$ac_objext \
                   11829:     conftest$ac_exeext conftest.$ac_ext
1.35      moko     11830: LIBS=$ac_check_lib_save_LIBS
                   11831: fi
1.43      moko     11832: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   11833: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
                   11834: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
1.35      moko     11835:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
                   11836: else
1.43      moko     11837:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   11838: $as_echo_n "checking for dld_link in -ldld... " >&6; }
                   11839: if ${ac_cv_lib_dld_dld_link+:} false; then :
                   11840:   $as_echo_n "(cached) " >&6
1.35      moko     11841: else
                   11842:   ac_check_lib_save_LIBS=$LIBS
                   11843: LIBS="-ldld  $LIBS"
1.43      moko     11844: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     11845: /* end confdefs.h.  */
                   11846: 
1.43      moko     11847: /* Override any GCC internal prototype to avoid an error.
                   11848:    Use char because int might match the return type of a GCC
                   11849:    builtin and then its argument prototype would still apply.  */
1.35      moko     11850: #ifdef __cplusplus
                   11851: extern "C"
                   11852: #endif
                   11853: char dld_link ();
                   11854: int
                   11855: main ()
                   11856: {
1.43      moko     11857: return dld_link ();
1.35      moko     11858:   ;
                   11859:   return 0;
                   11860: }
                   11861: _ACEOF
1.43      moko     11862: if ac_fn_c_try_link "$LINENO"; then :
1.35      moko     11863:   ac_cv_lib_dld_dld_link=yes
                   11864: else
1.43      moko     11865:   ac_cv_lib_dld_dld_link=no
1.35      moko     11866: fi
1.43      moko     11867: rm -f core conftest.err conftest.$ac_objext \
                   11868:     conftest$ac_exeext conftest.$ac_ext
1.35      moko     11869: LIBS=$ac_check_lib_save_LIBS
                   11870: fi
1.43      moko     11871: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   11872: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
                   11873: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
1.35      moko     11874:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
                   11875: fi
                   11876: 
                   11877: 
                   11878: fi
                   11879: 
                   11880: 
                   11881: fi
                   11882: 
                   11883: 
                   11884: fi
                   11885: 
                   11886: 
                   11887: fi
                   11888: 
                   11889: 
                   11890: fi
                   11891: 
                   11892:     ;;
                   11893:   esac
                   11894: 
                   11895:   if test "x$lt_cv_dlopen" != xno; then
                   11896:     enable_dlopen=yes
                   11897:   else
                   11898:     enable_dlopen=no
                   11899:   fi
                   11900: 
                   11901:   case $lt_cv_dlopen in
                   11902:   dlopen)
                   11903:     save_CPPFLAGS="$CPPFLAGS"
                   11904:     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
                   11905: 
                   11906:     save_LDFLAGS="$LDFLAGS"
                   11907:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
                   11908: 
                   11909:     save_LIBS="$LIBS"
                   11910:     LIBS="$lt_cv_dlopen_libs $LIBS"
                   11911: 
1.43      moko     11912:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
                   11913: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
                   11914: if ${lt_cv_dlopen_self+:} false; then :
                   11915:   $as_echo_n "(cached) " >&6
1.35      moko     11916: else
                   11917:          if test "$cross_compiling" = yes; then :
                   11918:   lt_cv_dlopen_self=cross
                   11919: else
                   11920:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   11921:   lt_status=$lt_dlunknown
                   11922:   cat > conftest.$ac_ext <<_LT_EOF
                   11923: #line $LINENO "configure"
                   11924: #include "confdefs.h"
                   11925: 
                   11926: #if HAVE_DLFCN_H
                   11927: #include <dlfcn.h>
                   11928: #endif
                   11929: 
                   11930: #include <stdio.h>
                   11931: 
                   11932: #ifdef RTLD_GLOBAL
                   11933: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   11934: #else
                   11935: #  ifdef DL_GLOBAL
                   11936: #    define LT_DLGLOBAL                DL_GLOBAL
                   11937: #  else
                   11938: #    define LT_DLGLOBAL                0
                   11939: #  endif
                   11940: #endif
                   11941: 
                   11942: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   11943:    find out it does not work in some platform. */
                   11944: #ifndef LT_DLLAZY_OR_NOW
                   11945: #  ifdef RTLD_LAZY
                   11946: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   11947: #  else
                   11948: #    ifdef DL_LAZY
                   11949: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   11950: #    else
                   11951: #      ifdef RTLD_NOW
                   11952: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   11953: #      else
                   11954: #        ifdef DL_NOW
                   11955: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   11956: #        else
                   11957: #          define LT_DLLAZY_OR_NOW     0
                   11958: #        endif
                   11959: #      endif
                   11960: #    endif
                   11961: #  endif
                   11962: #endif
                   11963: 
                   11964: /* When -fvisbility=hidden is used, assume the code has been annotated
                   11965:    correspondingly for the symbols needed.  */
                   11966: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   11967: int fnord () __attribute__((visibility("default")));
                   11968: #endif
                   11969: 
                   11970: int fnord () { return 42; }
                   11971: int main ()
                   11972: {
                   11973:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   11974:   int status = $lt_dlunknown;
                   11975: 
                   11976:   if (self)
                   11977:     {
                   11978:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   11979:       else
                   11980:         {
                   11981:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   11982:           else puts (dlerror ());
                   11983:        }
                   11984:       /* dlclose (self); */
                   11985:     }
                   11986:   else
                   11987:     puts (dlerror ());
                   11988: 
                   11989:   return status;
                   11990: }
                   11991: _LT_EOF
1.43      moko     11992:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.35      moko     11993:   (eval $ac_link) 2>&5
                   11994:   ac_status=$?
1.43      moko     11995:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   11996:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.35      moko     11997:     (./conftest; exit; ) >&5 2>/dev/null
                   11998:     lt_status=$?
                   11999:     case x$lt_status in
                   12000:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   12001:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
                   12002:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
                   12003:     esac
                   12004:   else :
                   12005:     # compilation failed
                   12006:     lt_cv_dlopen_self=no
                   12007:   fi
                   12008: fi
                   12009: rm -fr conftest*
                   12010: 
                   12011: 
                   12012: fi
1.43      moko     12013: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
                   12014: $as_echo "$lt_cv_dlopen_self" >&6; }
1.35      moko     12015: 
                   12016:     if test "x$lt_cv_dlopen_self" = xyes; then
                   12017:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
1.43      moko     12018:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
                   12019: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
                   12020: if ${lt_cv_dlopen_self_static+:} false; then :
                   12021:   $as_echo_n "(cached) " >&6
1.35      moko     12022: else
                   12023:          if test "$cross_compiling" = yes; then :
                   12024:   lt_cv_dlopen_self_static=cross
                   12025: else
                   12026:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   12027:   lt_status=$lt_dlunknown
                   12028:   cat > conftest.$ac_ext <<_LT_EOF
                   12029: #line $LINENO "configure"
                   12030: #include "confdefs.h"
                   12031: 
                   12032: #if HAVE_DLFCN_H
                   12033: #include <dlfcn.h>
                   12034: #endif
                   12035: 
                   12036: #include <stdio.h>
                   12037: 
                   12038: #ifdef RTLD_GLOBAL
                   12039: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   12040: #else
                   12041: #  ifdef DL_GLOBAL
                   12042: #    define LT_DLGLOBAL                DL_GLOBAL
                   12043: #  else
                   12044: #    define LT_DLGLOBAL                0
                   12045: #  endif
                   12046: #endif
                   12047: 
                   12048: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   12049:    find out it does not work in some platform. */
                   12050: #ifndef LT_DLLAZY_OR_NOW
                   12051: #  ifdef RTLD_LAZY
                   12052: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   12053: #  else
                   12054: #    ifdef DL_LAZY
                   12055: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   12056: #    else
                   12057: #      ifdef RTLD_NOW
                   12058: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   12059: #      else
                   12060: #        ifdef DL_NOW
                   12061: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   12062: #        else
                   12063: #          define LT_DLLAZY_OR_NOW     0
                   12064: #        endif
                   12065: #      endif
                   12066: #    endif
                   12067: #  endif
                   12068: #endif
                   12069: 
                   12070: /* When -fvisbility=hidden is used, assume the code has been annotated
                   12071:    correspondingly for the symbols needed.  */
                   12072: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   12073: int fnord () __attribute__((visibility("default")));
                   12074: #endif
                   12075: 
                   12076: int fnord () { return 42; }
                   12077: int main ()
                   12078: {
                   12079:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   12080:   int status = $lt_dlunknown;
                   12081: 
                   12082:   if (self)
                   12083:     {
                   12084:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   12085:       else
                   12086:         {
                   12087:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   12088:           else puts (dlerror ());
                   12089:        }
                   12090:       /* dlclose (self); */
                   12091:     }
                   12092:   else
                   12093:     puts (dlerror ());
                   12094: 
                   12095:   return status;
                   12096: }
                   12097: _LT_EOF
1.43      moko     12098:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.35      moko     12099:   (eval $ac_link) 2>&5
                   12100:   ac_status=$?
1.43      moko     12101:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   12102:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.35      moko     12103:     (./conftest; exit; ) >&5 2>/dev/null
                   12104:     lt_status=$?
                   12105:     case x$lt_status in
                   12106:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   12107:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
                   12108:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
                   12109:     esac
                   12110:   else :
                   12111:     # compilation failed
                   12112:     lt_cv_dlopen_self_static=no
                   12113:   fi
                   12114: fi
                   12115: rm -fr conftest*
                   12116: 
                   12117: 
                   12118: fi
1.43      moko     12119: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
                   12120: $as_echo "$lt_cv_dlopen_self_static" >&6; }
1.35      moko     12121:     fi
                   12122: 
                   12123:     CPPFLAGS="$save_CPPFLAGS"
                   12124:     LDFLAGS="$save_LDFLAGS"
                   12125:     LIBS="$save_LIBS"
                   12126:     ;;
                   12127:   esac
                   12128: 
                   12129:   case $lt_cv_dlopen_self in
                   12130:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   12131:   *) enable_dlopen_self=unknown ;;
                   12132:   esac
                   12133: 
                   12134:   case $lt_cv_dlopen_self_static in
                   12135:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   12136:   *) enable_dlopen_self_static=unknown ;;
                   12137:   esac
                   12138: fi
                   12139: 
                   12140: 
                   12141: 
                   12142: 
                   12143: 
                   12144: 
                   12145: 
                   12146: 
                   12147: 
                   12148: 
                   12149: 
                   12150: 
                   12151: 
                   12152: 
                   12153: 
                   12154: 
                   12155: 
                   12156: striplib=
                   12157: old_striplib=
1.43      moko     12158: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
                   12159: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
1.35      moko     12160: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
                   12161:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
                   12162:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
1.43      moko     12163:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   12164: $as_echo "yes" >&6; }
1.35      moko     12165: else
                   12166: # FIXME - insert some real tests, host_os isn't really good enough
                   12167:   case $host_os in
                   12168:   darwin*)
                   12169:     if test -n "$STRIP" ; then
                   12170:       striplib="$STRIP -x"
                   12171:       old_striplib="$STRIP -S"
1.43      moko     12172:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   12173: $as_echo "yes" >&6; }
1.35      moko     12174:     else
1.43      moko     12175:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12176: $as_echo "no" >&6; }
1.35      moko     12177:     fi
                   12178:     ;;
                   12179:   *)
1.43      moko     12180:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12181: $as_echo "no" >&6; }
1.35      moko     12182:     ;;
                   12183:   esac
                   12184: fi
                   12185: 
                   12186: 
                   12187: 
                   12188: 
                   12189: 
                   12190: 
                   12191: 
                   12192: 
                   12193: 
                   12194: 
                   12195: 
                   12196: 
                   12197:   # Report which library types will actually be built
1.43      moko     12198:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
                   12199: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
                   12200:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
                   12201: $as_echo "$can_build_shared" >&6; }
1.35      moko     12202: 
1.43      moko     12203:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
                   12204: $as_echo_n "checking whether to build shared libraries... " >&6; }
1.35      moko     12205:   test "$can_build_shared" = "no" && enable_shared=no
                   12206: 
                   12207:   # On AIX, shared libraries and static libraries use the same namespace, and
                   12208:   # are all built from PIC.
                   12209:   case $host_os in
                   12210:   aix3*)
                   12211:     test "$enable_shared" = yes && enable_static=no
                   12212:     if test -n "$RANLIB"; then
                   12213:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   12214:       postinstall_cmds='$RANLIB $lib'
                   12215:     fi
                   12216:     ;;
                   12217: 
                   12218:   aix[4-9]*)
                   12219:     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
                   12220:       test "$enable_shared" = yes && enable_static=no
                   12221:     fi
                   12222:     ;;
                   12223:   esac
1.43      moko     12224:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
                   12225: $as_echo "$enable_shared" >&6; }
1.35      moko     12226: 
1.43      moko     12227:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
                   12228: $as_echo_n "checking whether to build static libraries... " >&6; }
1.35      moko     12229:   # Make sure either enable_shared or enable_static is yes.
                   12230:   test "$enable_shared" = yes || enable_static=yes
1.43      moko     12231:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
                   12232: $as_echo "$enable_static" >&6; }
1.35      moko     12233: 
                   12234: 
                   12235: 
                   12236: 
                   12237: fi
                   12238: ac_ext=c
                   12239: ac_cpp='$CPP $CPPFLAGS'
                   12240: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12241: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12242: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   12243: 
                   12244: CC="$lt_save_CC"
                   12245: 
                   12246:       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
                   12247:     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
                   12248:     (test "X$CXX" != "Xg++"))) ; then
1.43      moko     12249:   ac_ext=cpp
1.35      moko     12250: ac_cpp='$CXXCPP $CPPFLAGS'
                   12251: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12252: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12253: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.43      moko     12254: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
                   12255: $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
1.35      moko     12256: if test -z "$CXXCPP"; then
1.43      moko     12257:   if ${ac_cv_prog_CXXCPP+:} false; then :
                   12258:   $as_echo_n "(cached) " >&6
1.35      moko     12259: else
                   12260:       # Double quotes because CXXCPP needs to be expanded
                   12261:     for CXXCPP in "$CXX -E" "/lib/cpp"
                   12262:     do
                   12263:       ac_preproc_ok=false
                   12264: for ac_cxx_preproc_warn_flag in '' yes
                   12265: do
                   12266:   # Use a header file that comes with gcc, so configuring glibc
                   12267:   # with a fresh cross-compiler works.
                   12268:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   12269:   # <limits.h> exists even on freestanding compilers.
                   12270:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   12271:   # not just through cpp. "Syntax error" is here to catch this case.
1.43      moko     12272:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     12273: /* end confdefs.h.  */
                   12274: #ifdef __STDC__
                   12275: # include <limits.h>
                   12276: #else
                   12277: # include <assert.h>
                   12278: #endif
                   12279:                     Syntax error
                   12280: _ACEOF
1.43      moko     12281: if ac_fn_cxx_try_cpp "$LINENO"; then :
                   12282: 
1.35      moko     12283: else
                   12284:   # Broken: fails on valid input.
                   12285: continue
                   12286: fi
1.43      moko     12287: rm -f conftest.err conftest.i conftest.$ac_ext
1.35      moko     12288: 
1.43      moko     12289:   # OK, works on sane cases.  Now check whether nonexistent headers
1.35      moko     12290:   # can be detected and how.
1.43      moko     12291:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     12292: /* end confdefs.h.  */
                   12293: #include <ac_nonexistent.h>
                   12294: _ACEOF
1.43      moko     12295: if ac_fn_cxx_try_cpp "$LINENO"; then :
1.35      moko     12296:   # Broken: success on invalid input.
                   12297: continue
                   12298: else
                   12299:   # Passes both tests.
                   12300: ac_preproc_ok=:
                   12301: break
                   12302: fi
1.43      moko     12303: rm -f conftest.err conftest.i conftest.$ac_ext
1.35      moko     12304: 
                   12305: done
                   12306: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.43      moko     12307: rm -f conftest.i conftest.err conftest.$ac_ext
                   12308: if $ac_preproc_ok; then :
1.35      moko     12309:   break
                   12310: fi
                   12311: 
                   12312:     done
                   12313:     ac_cv_prog_CXXCPP=$CXXCPP
                   12314: 
                   12315: fi
                   12316:   CXXCPP=$ac_cv_prog_CXXCPP
                   12317: else
                   12318:   ac_cv_prog_CXXCPP=$CXXCPP
                   12319: fi
1.43      moko     12320: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
                   12321: $as_echo "$CXXCPP" >&6; }
1.35      moko     12322: ac_preproc_ok=false
                   12323: for ac_cxx_preproc_warn_flag in '' yes
                   12324: do
                   12325:   # Use a header file that comes with gcc, so configuring glibc
                   12326:   # with a fresh cross-compiler works.
                   12327:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   12328:   # <limits.h> exists even on freestanding compilers.
                   12329:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   12330:   # not just through cpp. "Syntax error" is here to catch this case.
1.43      moko     12331:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     12332: /* end confdefs.h.  */
                   12333: #ifdef __STDC__
                   12334: # include <limits.h>
                   12335: #else
                   12336: # include <assert.h>
                   12337: #endif
                   12338:                     Syntax error
                   12339: _ACEOF
1.43      moko     12340: if ac_fn_cxx_try_cpp "$LINENO"; then :
                   12341: 
1.35      moko     12342: else
                   12343:   # Broken: fails on valid input.
                   12344: continue
                   12345: fi
1.43      moko     12346: rm -f conftest.err conftest.i conftest.$ac_ext
1.35      moko     12347: 
1.43      moko     12348:   # OK, works on sane cases.  Now check whether nonexistent headers
1.35      moko     12349:   # can be detected and how.
1.43      moko     12350:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     12351: /* end confdefs.h.  */
                   12352: #include <ac_nonexistent.h>
                   12353: _ACEOF
1.43      moko     12354: if ac_fn_cxx_try_cpp "$LINENO"; then :
1.35      moko     12355:   # Broken: success on invalid input.
                   12356: continue
                   12357: else
                   12358:   # Passes both tests.
                   12359: ac_preproc_ok=:
                   12360: break
                   12361: fi
1.43      moko     12362: rm -f conftest.err conftest.i conftest.$ac_ext
1.35      moko     12363: 
                   12364: done
                   12365: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.43      moko     12366: rm -f conftest.i conftest.err conftest.$ac_ext
                   12367: if $ac_preproc_ok; then :
                   12368: 
1.35      moko     12369: else
1.43      moko     12370:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   12371: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   12372: as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
                   12373: See \`config.log' for more details" "$LINENO" 5; }
1.35      moko     12374: fi
                   12375: 
                   12376: ac_ext=c
                   12377: ac_cpp='$CPP $CPPFLAGS'
                   12378: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12379: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12380: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   12381: 
                   12382: else
                   12383:   _lt_caught_CXX_error=yes
                   12384: fi
                   12385: 
1.43      moko     12386: ac_ext=cpp
1.35      moko     12387: ac_cpp='$CXXCPP $CPPFLAGS'
                   12388: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12389: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12390: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   12391: 
                   12392: archive_cmds_need_lc_CXX=no
                   12393: allow_undefined_flag_CXX=
                   12394: always_export_symbols_CXX=no
                   12395: archive_expsym_cmds_CXX=
                   12396: compiler_needs_object_CXX=no
                   12397: export_dynamic_flag_spec_CXX=
                   12398: hardcode_direct_CXX=no
                   12399: hardcode_direct_absolute_CXX=no
                   12400: hardcode_libdir_flag_spec_CXX=
                   12401: hardcode_libdir_separator_CXX=
                   12402: hardcode_minus_L_CXX=no
                   12403: hardcode_shlibpath_var_CXX=unsupported
                   12404: hardcode_automatic_CXX=no
                   12405: inherit_rpath_CXX=no
                   12406: module_cmds_CXX=
                   12407: module_expsym_cmds_CXX=
                   12408: link_all_deplibs_CXX=unknown
                   12409: old_archive_cmds_CXX=$old_archive_cmds
                   12410: reload_flag_CXX=$reload_flag
                   12411: reload_cmds_CXX=$reload_cmds
                   12412: no_undefined_flag_CXX=
                   12413: whole_archive_flag_spec_CXX=
                   12414: enable_shared_with_static_runtimes_CXX=no
                   12415: 
                   12416: # Source file extension for C++ test sources.
                   12417: ac_ext=cpp
                   12418: 
                   12419: # Object file extension for compiled C++ test sources.
                   12420: objext=o
                   12421: objext_CXX=$objext
                   12422: 
                   12423: # No sense in running all these tests if we already determined that
                   12424: # the CXX compiler isn't working.  Some variables (like enable_shared)
                   12425: # are currently assumed to apply to all compilers on this platform,
                   12426: # and will be corrupted by setting them based on a non-working compiler.
                   12427: if test "$_lt_caught_CXX_error" != yes; then
                   12428:   # Code to be used in simple compile tests
                   12429:   lt_simple_compile_test_code="int some_variable = 0;"
                   12430: 
                   12431:   # Code to be used in simple link tests
                   12432:   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
                   12433: 
                   12434:   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
                   12435: 
                   12436: 
                   12437: 
                   12438: 
                   12439: 
                   12440: 
                   12441: # If no C compiler was specified, use CC.
                   12442: LTCC=${LTCC-"$CC"}
                   12443: 
                   12444: # If no C compiler flags were specified, use CFLAGS.
                   12445: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   12446: 
                   12447: # Allow CC to be a program name with arguments.
                   12448: compiler=$CC
                   12449: 
                   12450: 
                   12451:   # save warnings/boilerplate of simple test code
                   12452:   ac_outfile=conftest.$ac_objext
                   12453: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   12454: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   12455: _lt_compiler_boilerplate=`cat conftest.err`
                   12456: $RM conftest*
                   12457: 
                   12458:   ac_outfile=conftest.$ac_objext
                   12459: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   12460: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   12461: _lt_linker_boilerplate=`cat conftest.err`
                   12462: $RM -r conftest*
                   12463: 
                   12464: 
                   12465:   # Allow CC to be a program name with arguments.
                   12466:   lt_save_CC=$CC
                   12467:   lt_save_CFLAGS=$CFLAGS
                   12468:   lt_save_LD=$LD
                   12469:   lt_save_GCC=$GCC
                   12470:   GCC=$GXX
                   12471:   lt_save_with_gnu_ld=$with_gnu_ld
                   12472:   lt_save_path_LD=$lt_cv_path_LD
                   12473:   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
                   12474:     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
                   12475:   else
                   12476:     $as_unset lt_cv_prog_gnu_ld
                   12477:   fi
                   12478:   if test -n "${lt_cv_path_LDCXX+set}"; then
                   12479:     lt_cv_path_LD=$lt_cv_path_LDCXX
                   12480:   else
                   12481:     $as_unset lt_cv_path_LD
                   12482:   fi
                   12483:   test -z "${LDCXX+set}" || LD=$LDCXX
                   12484:   CC=${CXX-"c++"}
                   12485:   CFLAGS=$CXXFLAGS
                   12486:   compiler=$CC
                   12487:   compiler_CXX=$CC
                   12488:   for cc_temp in $compiler""; do
                   12489:   case $cc_temp in
                   12490:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   12491:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   12492:     \-*) ;;
                   12493:     *) break;;
                   12494:   esac
                   12495: done
                   12496: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   12497: 
                   12498: 
                   12499:   if test -n "$compiler"; then
                   12500:     # We don't want -fno-exception when compiling C++ code, so set the
                   12501:     # no_builtin_flag separately
                   12502:     if test "$GXX" = yes; then
                   12503:       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
                   12504:     else
                   12505:       lt_prog_compiler_no_builtin_flag_CXX=
                   12506:     fi
                   12507: 
                   12508:     if test "$GXX" = yes; then
                   12509:       # Set up default GNU C++ configuration
                   12510: 
                   12511: 
                   12512: 
1.43      moko     12513: # Check whether --with-gnu-ld was given.
                   12514: if test "${with_gnu_ld+set}" = set; then :
                   12515:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
1.35      moko     12516: else
                   12517:   with_gnu_ld=no
1.43      moko     12518: fi
                   12519: 
1.35      moko     12520: ac_prog=ld
                   12521: if test "$GCC" = yes; then
                   12522:   # Check if gcc -print-prog-name=ld gives a path.
1.43      moko     12523:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   12524: $as_echo_n "checking for ld used by $CC... " >&6; }
1.35      moko     12525:   case $host in
                   12526:   *-*-mingw*)
                   12527:     # gcc leaves a trailing carriage return which upsets mingw
                   12528:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   12529:   *)
                   12530:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   12531:   esac
                   12532:   case $ac_prog in
                   12533:     # Accept absolute paths.
                   12534:     [\\/]* | ?:[\\/]*)
                   12535:       re_direlt='/[^/][^/]*/\.\./'
                   12536:       # Canonicalize the pathname of ld
                   12537:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   12538:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   12539:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   12540:       done
                   12541:       test -z "$LD" && LD="$ac_prog"
                   12542:       ;;
                   12543:   "")
                   12544:     # If it fails, then pretend we aren't using GCC.
                   12545:     ac_prog=ld
                   12546:     ;;
                   12547:   *)
                   12548:     # If it is relative, then search for the first ld in PATH.
                   12549:     with_gnu_ld=unknown
                   12550:     ;;
                   12551:   esac
                   12552: elif test "$with_gnu_ld" = yes; then
1.43      moko     12553:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   12554: $as_echo_n "checking for GNU ld... " >&6; }
1.35      moko     12555: else
1.43      moko     12556:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   12557: $as_echo_n "checking for non-GNU ld... " >&6; }
1.35      moko     12558: fi
1.43      moko     12559: if ${lt_cv_path_LD+:} false; then :
                   12560:   $as_echo_n "(cached) " >&6
1.35      moko     12561: else
                   12562:   if test -z "$LD"; then
                   12563:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   12564:   for ac_dir in $PATH; do
                   12565:     IFS="$lt_save_ifs"
                   12566:     test -z "$ac_dir" && ac_dir=.
                   12567:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   12568:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   12569:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   12570:       # but apparently some variants of GNU ld only accept -v.
                   12571:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   12572:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   12573:       *GNU* | *'with BFD'*)
                   12574:        test "$with_gnu_ld" != no && break
                   12575:        ;;
                   12576:       *)
                   12577:        test "$with_gnu_ld" != yes && break
                   12578:        ;;
                   12579:       esac
                   12580:     fi
                   12581:   done
                   12582:   IFS="$lt_save_ifs"
                   12583: else
                   12584:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   12585: fi
                   12586: fi
                   12587: 
                   12588: LD="$lt_cv_path_LD"
                   12589: if test -n "$LD"; then
1.43      moko     12590:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   12591: $as_echo "$LD" >&6; }
1.35      moko     12592: else
1.43      moko     12593:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12594: $as_echo "no" >&6; }
1.35      moko     12595: fi
1.43      moko     12596: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
                   12597: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   12598: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
                   12599: if ${lt_cv_prog_gnu_ld+:} false; then :
                   12600:   $as_echo_n "(cached) " >&6
1.35      moko     12601: else
                   12602:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   12603: case `$LD -v 2>&1 </dev/null` in
                   12604: *GNU* | *'with BFD'*)
                   12605:   lt_cv_prog_gnu_ld=yes
                   12606:   ;;
                   12607: *)
                   12608:   lt_cv_prog_gnu_ld=no
                   12609:   ;;
                   12610: esac
                   12611: fi
1.43      moko     12612: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   12613: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
1.35      moko     12614: with_gnu_ld=$lt_cv_prog_gnu_ld
                   12615: 
                   12616: 
                   12617: 
                   12618: 
                   12619: 
                   12620: 
                   12621: 
                   12622:       # Check if GNU C++ uses GNU ld as the underlying linker, since the
                   12623:       # archiving commands below assume that GNU ld is being used.
                   12624:       if test "$with_gnu_ld" = yes; then
                   12625:         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12626:         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'
                   12627: 
                   12628:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   12629:         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   12630: 
                   12631:         # If archive_cmds runs LD, not CC, wlarc should be empty
                   12632:         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
                   12633:         #     investigate it a little bit more. (MM)
                   12634:         wlarc='${wl}'
                   12635: 
                   12636:         # ancient GNU ld didn't support --whole-archive et. al.
                   12637:         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
                   12638:          $GREP 'no-whole-archive' > /dev/null; then
                   12639:           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   12640:         else
                   12641:           whole_archive_flag_spec_CXX=
                   12642:         fi
                   12643:       else
                   12644:         with_gnu_ld=no
                   12645:         wlarc=
                   12646: 
                   12647:         # A generic and very simple default shared library creation
                   12648:         # command for GNU C++ for the case where it uses the native
                   12649:         # linker, instead of GNU ld.  If possible, this setting should
                   12650:         # overridden to take advantage of the native linker features on
                   12651:         # the platform it is being used on.
                   12652:         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   12653:       fi
                   12654: 
                   12655:       # Commands to make compiler produce verbose output that lists
                   12656:       # what "hidden" libraries, object files and flags are used when
                   12657:       # linking a shared library.
                   12658:       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   12659: 
                   12660:     else
                   12661:       GXX=no
                   12662:       with_gnu_ld=no
                   12663:       wlarc=
                   12664:     fi
                   12665: 
                   12666:     # PORTME: fill in a description of your system's C++ link characteristics
1.43      moko     12667:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   12668: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.35      moko     12669:     ld_shlibs_CXX=yes
                   12670:     case $host_os in
                   12671:       aix3*)
                   12672:         # FIXME: insert proper C++ library support
                   12673:         ld_shlibs_CXX=no
                   12674:         ;;
                   12675:       aix[4-9]*)
                   12676:         if test "$host_cpu" = ia64; then
                   12677:           # On IA64, the linker does run time linking by default, so we don't
                   12678:           # have to do anything special.
                   12679:           aix_use_runtimelinking=no
                   12680:           exp_sym_flag='-Bexport'
                   12681:           no_entry_flag=""
                   12682:         else
                   12683:           aix_use_runtimelinking=no
                   12684: 
                   12685:           # Test if we are trying to use run time linking or normal
                   12686:           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   12687:           # need to do runtime linking.
                   12688:           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   12689:            for ld_flag in $LDFLAGS; do
                   12690:              case $ld_flag in
                   12691:              *-brtl*)
                   12692:                aix_use_runtimelinking=yes
                   12693:                break
                   12694:                ;;
                   12695:              esac
                   12696:            done
                   12697:            ;;
                   12698:           esac
                   12699: 
                   12700:           exp_sym_flag='-bexport'
                   12701:           no_entry_flag='-bnoentry'
                   12702:         fi
                   12703: 
                   12704:         # When large executables or shared objects are built, AIX ld can
                   12705:         # have problems creating the table of contents.  If linking a library
                   12706:         # or program results in "error TOC overflow" add -mminimal-toc to
                   12707:         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   12708:         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   12709: 
                   12710:         archive_cmds_CXX=''
                   12711:         hardcode_direct_CXX=yes
                   12712:         hardcode_direct_absolute_CXX=yes
                   12713:         hardcode_libdir_separator_CXX=':'
                   12714:         link_all_deplibs_CXX=yes
                   12715:         file_list_spec_CXX='${wl}-f,'
                   12716: 
                   12717:         if test "$GXX" = yes; then
                   12718:           case $host_os in aix4.[012]|aix4.[012].*)
                   12719:           # We only want to do this on AIX 4.2 and lower, the check
                   12720:           # below for broken collect2 doesn't work under 4.3+
                   12721:          collect2name=`${CC} -print-prog-name=collect2`
                   12722:          if test -f "$collect2name" &&
                   12723:             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   12724:          then
                   12725:            # We have reworked collect2
                   12726:            :
                   12727:          else
                   12728:            # We have old collect2
                   12729:            hardcode_direct_CXX=unsupported
                   12730:            # It fails to find uninstalled libraries when the uninstalled
                   12731:            # path is not listed in the libpath.  Setting hardcode_minus_L
                   12732:            # to unsupported forces relinking
                   12733:            hardcode_minus_L_CXX=yes
                   12734:            hardcode_libdir_flag_spec_CXX='-L$libdir'
                   12735:            hardcode_libdir_separator_CXX=
                   12736:          fi
                   12737:           esac
                   12738:           shared_flag='-shared'
                   12739:          if test "$aix_use_runtimelinking" = yes; then
                   12740:            shared_flag="$shared_flag "'${wl}-G'
                   12741:          fi
                   12742:         else
                   12743:           # not using gcc
                   12744:           if test "$host_cpu" = ia64; then
                   12745:          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   12746:          # chokes on -Wl,-G. The following line is correct:
                   12747:          shared_flag='-G'
                   12748:           else
                   12749:            if test "$aix_use_runtimelinking" = yes; then
                   12750:              shared_flag='${wl}-G'
                   12751:            else
                   12752:              shared_flag='${wl}-bM:SRE'
                   12753:            fi
                   12754:           fi
                   12755:         fi
                   12756: 
                   12757:         export_dynamic_flag_spec_CXX='${wl}-bexpall'
                   12758:         # It seems that -bexpall does not export symbols beginning with
                   12759:         # underscore (_), so it is better to generate a list of symbols to
                   12760:        # export.
                   12761:         always_export_symbols_CXX=yes
                   12762:         if test "$aix_use_runtimelinking" = yes; then
                   12763:           # Warning - without using the other runtime loading flags (-brtl),
                   12764:           # -berok will link without error, but may produce a broken library.
                   12765:           allow_undefined_flag_CXX='-berok'
                   12766:           # Determine the default libpath from the value encoded in an empty
                   12767:           # executable.
                   12768:           if test "${lt_cv_aix_libpath+set}" = set; then
                   12769:   aix_libpath=$lt_cv_aix_libpath
                   12770: else
1.43      moko     12771:   if ${lt_cv_aix_libpath__CXX+:} false; then :
                   12772:   $as_echo_n "(cached) " >&6
1.35      moko     12773: else
1.43      moko     12774:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     12775: /* end confdefs.h.  */
                   12776: 
                   12777: int
                   12778: main ()
                   12779: {
                   12780: 
                   12781:   ;
                   12782:   return 0;
                   12783: }
                   12784: _ACEOF
1.43      moko     12785: if ac_fn_cxx_try_link "$LINENO"; then :
1.35      moko     12786: 
                   12787:   lt_aix_libpath_sed='
                   12788:       /Import File Strings/,/^$/ {
                   12789:          /^0/ {
                   12790:              s/^0  *\([^ ]*\) *$/\1/
                   12791:              p
                   12792:          }
                   12793:       }'
                   12794:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   12795:   # Check for a 64-bit object if we didn't find anything.
                   12796:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   12797:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   12798:   fi
                   12799: fi
1.43      moko     12800: rm -f core conftest.err conftest.$ac_objext \
                   12801:     conftest$ac_exeext conftest.$ac_ext
1.35      moko     12802:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   12803:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   12804:   fi
                   12805: 
                   12806: fi
                   12807: 
                   12808:   aix_libpath=$lt_cv_aix_libpath__CXX
                   12809: fi
                   12810: 
                   12811:           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   12812: 
                   12813:           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"
                   12814:         else
                   12815:           if test "$host_cpu" = ia64; then
                   12816:            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
                   12817:            allow_undefined_flag_CXX="-z nodefs"
                   12818:            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"
                   12819:           else
                   12820:            # Determine the default libpath from the value encoded in an
                   12821:            # empty executable.
                   12822:            if test "${lt_cv_aix_libpath+set}" = set; then
                   12823:   aix_libpath=$lt_cv_aix_libpath
                   12824: else
1.43      moko     12825:   if ${lt_cv_aix_libpath__CXX+:} false; then :
                   12826:   $as_echo_n "(cached) " >&6
1.35      moko     12827: else
1.43      moko     12828:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     12829: /* end confdefs.h.  */
                   12830: 
                   12831: int
                   12832: main ()
                   12833: {
                   12834: 
                   12835:   ;
                   12836:   return 0;
                   12837: }
                   12838: _ACEOF
1.43      moko     12839: if ac_fn_cxx_try_link "$LINENO"; then :
1.35      moko     12840: 
                   12841:   lt_aix_libpath_sed='
                   12842:       /Import File Strings/,/^$/ {
                   12843:          /^0/ {
                   12844:              s/^0  *\([^ ]*\) *$/\1/
                   12845:              p
                   12846:          }
                   12847:       }'
                   12848:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   12849:   # Check for a 64-bit object if we didn't find anything.
                   12850:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   12851:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   12852:   fi
                   12853: fi
1.43      moko     12854: rm -f core conftest.err conftest.$ac_objext \
                   12855:     conftest$ac_exeext conftest.$ac_ext
1.35      moko     12856:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   12857:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   12858:   fi
                   12859: 
                   12860: fi
                   12861: 
                   12862:   aix_libpath=$lt_cv_aix_libpath__CXX
                   12863: fi
                   12864: 
                   12865:            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   12866:            # Warning - without using the other run time loading flags,
                   12867:            # -berok will link without error, but may produce a broken library.
                   12868:            no_undefined_flag_CXX=' ${wl}-bernotok'
                   12869:            allow_undefined_flag_CXX=' ${wl}-berok'
                   12870:            if test "$with_gnu_ld" = yes; then
                   12871:              # We only use this code for GNU lds that support --whole-archive.
                   12872:              whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   12873:            else
                   12874:              # Exported symbols can be pulled into shared objects from archives
                   12875:              whole_archive_flag_spec_CXX='$convenience'
                   12876:            fi
                   12877:            archive_cmds_need_lc_CXX=yes
                   12878:            # This is similar to how AIX traditionally builds its shared
                   12879:            # libraries.
                   12880:            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'
                   12881:           fi
                   12882:         fi
                   12883:         ;;
                   12884: 
                   12885:       beos*)
                   12886:        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   12887:          allow_undefined_flag_CXX=unsupported
                   12888:          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   12889:          # support --undefined.  This deserves some investigation.  FIXME
                   12890:          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12891:        else
                   12892:          ld_shlibs_CXX=no
                   12893:        fi
                   12894:        ;;
                   12895: 
                   12896:       chorus*)
                   12897:         case $cc_basename in
                   12898:           *)
                   12899:          # FIXME: insert proper C++ library support
                   12900:          ld_shlibs_CXX=no
                   12901:          ;;
                   12902:         esac
                   12903:         ;;
                   12904: 
                   12905:       cygwin* | mingw* | pw32* | cegcc*)
                   12906:        case $GXX,$cc_basename in
                   12907:        ,cl* | no,cl*)
                   12908:          # Native MSVC
                   12909:          # hardcode_libdir_flag_spec is actually meaningless, as there is
                   12910:          # no search path for DLLs.
                   12911:          hardcode_libdir_flag_spec_CXX=' '
                   12912:          allow_undefined_flag_CXX=unsupported
                   12913:          always_export_symbols_CXX=yes
                   12914:          file_list_spec_CXX='@'
                   12915:          # Tell ltmain to make .lib files, not .a files.
                   12916:          libext=lib
                   12917:          # Tell ltmain to make .dll files, not .so files.
                   12918:          shrext_cmds=".dll"
                   12919:          # FIXME: Setting linknames here is a bad hack.
                   12920:          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   12921:          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   12922:              $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   12923:            else
                   12924:              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   12925:            fi~
                   12926:            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   12927:            linknames='
                   12928:          # The linker will not automatically build a static lib if we build a DLL.
                   12929:          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
                   12930:          enable_shared_with_static_runtimes_CXX=yes
                   12931:          # Don't use ranlib
                   12932:          old_postinstall_cmds_CXX='chmod 644 $oldlib'
                   12933:          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
                   12934:            lt_tool_outputfile="@TOOL_OUTPUT@"~
                   12935:            case $lt_outputfile in
                   12936:              *.exe|*.EXE) ;;
                   12937:              *)
                   12938:                lt_outputfile="$lt_outputfile.exe"
                   12939:                lt_tool_outputfile="$lt_tool_outputfile.exe"
                   12940:                ;;
                   12941:            esac~
                   12942:            func_to_tool_file "$lt_outputfile"~
                   12943:            if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   12944:              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   12945:              $RM "$lt_outputfile.manifest";
                   12946:            fi'
                   12947:          ;;
                   12948:        *)
                   12949:          # g++
                   12950:          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
                   12951:          # as there is no search path for DLLs.
                   12952:          hardcode_libdir_flag_spec_CXX='-L$libdir'
                   12953:          export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
                   12954:          allow_undefined_flag_CXX=unsupported
                   12955:          always_export_symbols_CXX=no
                   12956:          enable_shared_with_static_runtimes_CXX=yes
                   12957: 
                   12958:          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   12959:            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'
                   12960:            # If the export-symbols file already is a .def file (1st line
                   12961:            # is EXPORTS), use it as is; otherwise, prepend...
                   12962:            archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   12963:              cp $export_symbols $output_objdir/$soname.def;
                   12964:            else
                   12965:              echo EXPORTS > $output_objdir/$soname.def;
                   12966:              cat $export_symbols >> $output_objdir/$soname.def;
                   12967:            fi~
                   12968:            $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'
                   12969:          else
                   12970:            ld_shlibs_CXX=no
                   12971:          fi
                   12972:          ;;
                   12973:        esac
                   12974:        ;;
                   12975:       darwin* | rhapsody*)
                   12976: 
                   12977: 
                   12978:   archive_cmds_need_lc_CXX=no
                   12979:   hardcode_direct_CXX=no
                   12980:   hardcode_automatic_CXX=yes
                   12981:   hardcode_shlibpath_var_CXX=unsupported
                   12982:   if test "$lt_cv_ld_force_load" = "yes"; then
                   12983:     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\"`'
                   12984: 
                   12985:   else
                   12986:     whole_archive_flag_spec_CXX=''
                   12987:   fi
                   12988:   link_all_deplibs_CXX=yes
                   12989:   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
                   12990:   case $cc_basename in
                   12991:      ifort*) _lt_dar_can_shared=yes ;;
                   12992:      *) _lt_dar_can_shared=$GCC ;;
                   12993:   esac
                   12994:   if test "$_lt_dar_can_shared" = "yes"; then
                   12995:     output_verbose_link_cmd=func_echo_all
                   12996:     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}"
                   12997:     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   12998:     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}"
                   12999:     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}"
                   13000:        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
                   13001:       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}"
                   13002:       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}"
                   13003:     fi
                   13004: 
                   13005:   else
                   13006:   ld_shlibs_CXX=no
                   13007:   fi
                   13008: 
                   13009:        ;;
                   13010: 
                   13011:       dgux*)
                   13012:         case $cc_basename in
                   13013:           ec++*)
                   13014:            # FIXME: insert proper C++ library support
                   13015:            ld_shlibs_CXX=no
                   13016:            ;;
                   13017:           ghcx*)
                   13018:            # Green Hills C++ Compiler
                   13019:            # FIXME: insert proper C++ library support
                   13020:            ld_shlibs_CXX=no
                   13021:            ;;
                   13022:           *)
                   13023:            # FIXME: insert proper C++ library support
                   13024:            ld_shlibs_CXX=no
                   13025:            ;;
                   13026:         esac
                   13027:         ;;
                   13028: 
                   13029:       freebsd2.*)
                   13030:         # C++ shared libraries reported to be fairly broken before
                   13031:        # switch to ELF
                   13032:         ld_shlibs_CXX=no
                   13033:         ;;
                   13034: 
                   13035:       freebsd-elf*)
                   13036:         archive_cmds_need_lc_CXX=no
                   13037:         ;;
                   13038: 
                   13039:       freebsd* | dragonfly*)
                   13040:         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
                   13041:         # conventions
                   13042:         ld_shlibs_CXX=yes
                   13043:         ;;
                   13044: 
                   13045:       gnu*)
                   13046:         ;;
                   13047: 
                   13048:       haiku*)
                   13049:         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13050:         link_all_deplibs_CXX=yes
                   13051:         ;;
                   13052: 
                   13053:       hpux9*)
                   13054:         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   13055:         hardcode_libdir_separator_CXX=:
                   13056:         export_dynamic_flag_spec_CXX='${wl}-E'
                   13057:         hardcode_direct_CXX=yes
                   13058:         hardcode_minus_L_CXX=yes # Not in the search PATH,
                   13059:                                             # but as the default
                   13060:                                             # location of the library.
                   13061: 
                   13062:         case $cc_basename in
                   13063:           CC*)
                   13064:             # FIXME: insert proper C++ library support
                   13065:             ld_shlibs_CXX=no
                   13066:             ;;
                   13067:           aCC*)
                   13068:             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'
                   13069:             # Commands to make compiler produce verbose output that lists
                   13070:             # what "hidden" libraries, object files and flags are used when
                   13071:             # linking a shared library.
                   13072:             #
                   13073:             # There doesn't appear to be a way to prevent this compiler from
                   13074:             # explicitly linking system object files so we need to strip them
                   13075:             # from the output so that they don't get included in the library
                   13076:             # dependencies.
                   13077:             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"'
                   13078:             ;;
                   13079:           *)
                   13080:             if test "$GXX" = yes; then
                   13081:               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'
                   13082:             else
                   13083:               # FIXME: insert proper C++ library support
                   13084:               ld_shlibs_CXX=no
                   13085:             fi
                   13086:             ;;
                   13087:         esac
                   13088:         ;;
                   13089: 
                   13090:       hpux10*|hpux11*)
                   13091:         if test $with_gnu_ld = no; then
                   13092:          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   13093:          hardcode_libdir_separator_CXX=:
                   13094: 
                   13095:           case $host_cpu in
                   13096:             hppa*64*|ia64*)
                   13097:               ;;
                   13098:             *)
                   13099:              export_dynamic_flag_spec_CXX='${wl}-E'
                   13100:               ;;
                   13101:           esac
                   13102:         fi
                   13103:         case $host_cpu in
                   13104:           hppa*64*|ia64*)
                   13105:             hardcode_direct_CXX=no
                   13106:             hardcode_shlibpath_var_CXX=no
                   13107:             ;;
                   13108:           *)
                   13109:             hardcode_direct_CXX=yes
                   13110:             hardcode_direct_absolute_CXX=yes
                   13111:             hardcode_minus_L_CXX=yes # Not in the search PATH,
                   13112:                                                 # but as the default
                   13113:                                                 # location of the library.
                   13114:             ;;
                   13115:         esac
                   13116: 
                   13117:         case $cc_basename in
                   13118:           CC*)
                   13119:            # FIXME: insert proper C++ library support
                   13120:            ld_shlibs_CXX=no
                   13121:            ;;
                   13122:           aCC*)
                   13123:            case $host_cpu in
                   13124:              hppa*64*)
                   13125:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13126:                ;;
                   13127:              ia64*)
                   13128:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13129:                ;;
                   13130:              *)
                   13131:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13132:                ;;
                   13133:            esac
                   13134:            # Commands to make compiler produce verbose output that lists
                   13135:            # what "hidden" libraries, object files and flags are used when
                   13136:            # linking a shared library.
                   13137:            #
                   13138:            # There doesn't appear to be a way to prevent this compiler from
                   13139:            # explicitly linking system object files so we need to strip them
                   13140:            # from the output so that they don't get included in the library
                   13141:            # dependencies.
                   13142:            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"'
                   13143:            ;;
                   13144:           *)
                   13145:            if test "$GXX" = yes; then
                   13146:              if test $with_gnu_ld = no; then
                   13147:                case $host_cpu in
                   13148:                  hppa*64*)
                   13149:                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13150:                    ;;
                   13151:                  ia64*)
                   13152:                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13153:                    ;;
                   13154:                  *)
                   13155:                    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'
                   13156:                    ;;
                   13157:                esac
                   13158:              fi
                   13159:            else
                   13160:              # FIXME: insert proper C++ library support
                   13161:              ld_shlibs_CXX=no
                   13162:            fi
                   13163:            ;;
                   13164:         esac
                   13165:         ;;
                   13166: 
                   13167:       interix[3-9]*)
                   13168:        hardcode_direct_CXX=no
                   13169:        hardcode_shlibpath_var_CXX=no
                   13170:        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13171:        export_dynamic_flag_spec_CXX='${wl}-E'
                   13172:        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   13173:        # Instead, shared libraries are loaded at an image base (0x10000000 by
                   13174:        # default) and relocated if they conflict, which is a slow very memory
                   13175:        # consuming and fragmenting process.  To avoid this, we pick a random,
                   13176:        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   13177:        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   13178:        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'
                   13179:        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'
                   13180:        ;;
                   13181:       irix5* | irix6*)
                   13182:         case $cc_basename in
                   13183:           CC*)
                   13184:            # SGI C++
                   13185:            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'
                   13186: 
                   13187:            # Archives containing C++ object files must be created using
                   13188:            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
                   13189:            # necessary to make sure instantiated templates are included
                   13190:            # in the archive.
                   13191:            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
                   13192:            ;;
                   13193:           *)
                   13194:            if test "$GXX" = yes; then
                   13195:              if test "$with_gnu_ld" = no; then
                   13196:                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'
                   13197:              else
                   13198:                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'
                   13199:              fi
                   13200:            fi
                   13201:            link_all_deplibs_CXX=yes
                   13202:            ;;
                   13203:         esac
                   13204:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13205:         hardcode_libdir_separator_CXX=:
                   13206:         inherit_rpath_CXX=yes
                   13207:         ;;
                   13208: 
                   13209:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   13210:         case $cc_basename in
                   13211:           KCC*)
                   13212:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   13213: 
                   13214:            # KCC will only create a shared library if the output file
                   13215:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   13216:            # to its proper name (with version) after linking.
                   13217:            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'
                   13218:            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'
                   13219:            # Commands to make compiler produce verbose output that lists
                   13220:            # what "hidden" libraries, object files and flags are used when
                   13221:            # linking a shared library.
                   13222:            #
                   13223:            # There doesn't appear to be a way to prevent this compiler from
                   13224:            # explicitly linking system object files so we need to strip them
                   13225:            # from the output so that they don't get included in the library
                   13226:            # dependencies.
                   13227:            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"'
                   13228: 
                   13229:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13230:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13231: 
                   13232:            # Archives containing C++ object files must be created using
                   13233:            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
                   13234:            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
                   13235:            ;;
                   13236:          icpc* | ecpc* )
                   13237:            # Intel C++
                   13238:            with_gnu_ld=yes
                   13239:            # version 8.0 and above of icpc choke on multiply defined symbols
                   13240:            # if we add $predep_objects and $postdep_objects, however 7.1 and
                   13241:            # earlier do not add the objects themselves.
                   13242:            case `$CC -V 2>&1` in
                   13243:              *"Version 7."*)
                   13244:                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13245:                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'
                   13246:                ;;
                   13247:              *)  # Version 8.0 or newer
                   13248:                tmp_idyn=
                   13249:                case $host_cpu in
                   13250:                  ia64*) tmp_idyn=' -i_dynamic';;
                   13251:                esac
                   13252:                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13253:                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'
                   13254:                ;;
                   13255:            esac
                   13256:            archive_cmds_need_lc_CXX=no
                   13257:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13258:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13259:            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   13260:            ;;
                   13261:           pgCC* | pgcpp*)
                   13262:             # Portland Group C++ compiler
                   13263:            case `$CC -V` in
                   13264:            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
                   13265:              prelink_cmds_CXX='tpldir=Template.dir~
                   13266:                rm -rf $tpldir~
                   13267:                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
                   13268:                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
                   13269:              old_archive_cmds_CXX='tpldir=Template.dir~
                   13270:                rm -rf $tpldir~
                   13271:                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
                   13272:                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
                   13273:                $RANLIB $oldlib'
                   13274:              archive_cmds_CXX='tpldir=Template.dir~
                   13275:                rm -rf $tpldir~
                   13276:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   13277:                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   13278:              archive_expsym_cmds_CXX='tpldir=Template.dir~
                   13279:                rm -rf $tpldir~
                   13280:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   13281:                $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'
                   13282:              ;;
                   13283:            *) # Version 6 and above use weak symbols
                   13284:              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   13285:              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'
                   13286:              ;;
                   13287:            esac
                   13288: 
                   13289:            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
                   13290:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13291:            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'
                   13292:             ;;
                   13293:          cxx*)
                   13294:            # Compaq C++
                   13295:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13296:            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'
                   13297: 
                   13298:            runpath_var=LD_RUN_PATH
                   13299:            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   13300:            hardcode_libdir_separator_CXX=:
                   13301: 
                   13302:            # Commands to make compiler produce verbose output that lists
                   13303:            # what "hidden" libraries, object files and flags are used when
                   13304:            # linking a shared library.
                   13305:            #
                   13306:            # There doesn't appear to be a way to prevent this compiler from
                   13307:            # explicitly linking system object files so we need to strip them
                   13308:            # from the output so that they don't get included in the library
                   13309:            # dependencies.
                   13310:            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'
                   13311:            ;;
                   13312:          xl* | mpixl* | bgxl*)
                   13313:            # IBM XL 8.0 on PPC, with GNU ld
                   13314:            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13315:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13316:            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13317:            if test "x$supports_anon_versioning" = xyes; then
                   13318:              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
                   13319:                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   13320:                echo "local: *; };" >> $output_objdir/$libname.ver~
                   13321:                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   13322:            fi
                   13323:            ;;
                   13324:          *)
                   13325:            case `$CC -V 2>&1 | sed 5q` in
                   13326:            *Sun\ C*)
                   13327:              # Sun C++ 5.9
                   13328:              no_undefined_flag_CXX=' -zdefs'
                   13329:              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13330:              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'
                   13331:              hardcode_libdir_flag_spec_CXX='-R$libdir'
                   13332:              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'
                   13333:              compiler_needs_object_CXX=yes
                   13334: 
                   13335:              # Not sure whether something based on
                   13336:              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
                   13337:              # would be better.
                   13338:              output_verbose_link_cmd='func_echo_all'
                   13339: 
                   13340:              # Archives containing C++ object files must be created using
                   13341:              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   13342:              # necessary to make sure instantiated templates are included
                   13343:              # in the archive.
                   13344:              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   13345:              ;;
                   13346:            esac
                   13347:            ;;
                   13348:        esac
                   13349:        ;;
                   13350: 
                   13351:       lynxos*)
                   13352:         # FIXME: insert proper C++ library support
                   13353:        ld_shlibs_CXX=no
                   13354:        ;;
                   13355: 
                   13356:       m88k*)
                   13357:         # FIXME: insert proper C++ library support
                   13358:         ld_shlibs_CXX=no
                   13359:        ;;
                   13360: 
                   13361:       mvs*)
                   13362:         case $cc_basename in
                   13363:           cxx*)
                   13364:            # FIXME: insert proper C++ library support
                   13365:            ld_shlibs_CXX=no
                   13366:            ;;
                   13367:          *)
                   13368:            # FIXME: insert proper C++ library support
                   13369:            ld_shlibs_CXX=no
                   13370:            ;;
                   13371:        esac
                   13372:        ;;
                   13373: 
                   13374:       netbsd*)
                   13375:         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   13376:          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
                   13377:          wlarc=
                   13378:          hardcode_libdir_flag_spec_CXX='-R$libdir'
                   13379:          hardcode_direct_CXX=yes
                   13380:          hardcode_shlibpath_var_CXX=no
                   13381:        fi
                   13382:        # Workaround some broken pre-1.5 toolchains
                   13383:        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
                   13384:        ;;
                   13385: 
                   13386:       *nto* | *qnx*)
                   13387:         ld_shlibs_CXX=yes
                   13388:        ;;
                   13389: 
                   13390:       openbsd2*)
                   13391:         # C++ shared libraries are fairly broken
                   13392:        ld_shlibs_CXX=no
                   13393:        ;;
                   13394: 
                   13395:       openbsd*)
                   13396:        if test -f /usr/libexec/ld.so; then
                   13397:          hardcode_direct_CXX=yes
                   13398:          hardcode_shlibpath_var_CXX=no
                   13399:          hardcode_direct_absolute_CXX=yes
                   13400:          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   13401:          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13402:          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   13403:            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
                   13404:            export_dynamic_flag_spec_CXX='${wl}-E'
                   13405:            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   13406:          fi
                   13407:          output_verbose_link_cmd=func_echo_all
                   13408:        else
                   13409:          ld_shlibs_CXX=no
                   13410:        fi
                   13411:        ;;
                   13412: 
                   13413:       osf3* | osf4* | osf5*)
                   13414:         case $cc_basename in
                   13415:           KCC*)
                   13416:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   13417: 
                   13418:            # KCC will only create a shared library if the output file
                   13419:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   13420:            # to its proper name (with version) after linking.
                   13421:            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'
                   13422: 
                   13423:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13424:            hardcode_libdir_separator_CXX=:
                   13425: 
                   13426:            # Archives containing C++ object files must be created using
                   13427:            # the KAI C++ compiler.
                   13428:            case $host in
                   13429:              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
                   13430:              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
                   13431:            esac
                   13432:            ;;
                   13433:           RCC*)
                   13434:            # Rational C++ 2.4.1
                   13435:            # FIXME: insert proper C++ library support
                   13436:            ld_shlibs_CXX=no
                   13437:            ;;
                   13438:           cxx*)
                   13439:            case $host in
                   13440:              osf3*)
                   13441:                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   13442:                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'
                   13443:                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13444:                ;;
                   13445:              *)
                   13446:                allow_undefined_flag_CXX=' -expect_unresolved \*'
                   13447:                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'
                   13448:                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
                   13449:                  echo "-hidden">> $lib.exp~
                   13450:                  $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~
                   13451:                  $RM $lib.exp'
                   13452:                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   13453:                ;;
                   13454:            esac
                   13455: 
                   13456:            hardcode_libdir_separator_CXX=:
                   13457: 
                   13458:            # Commands to make compiler produce verbose output that lists
                   13459:            # what "hidden" libraries, object files and flags are used when
                   13460:            # linking a shared library.
                   13461:            #
                   13462:            # There doesn't appear to be a way to prevent this compiler from
                   13463:            # explicitly linking system object files so we need to strip them
                   13464:            # from the output so that they don't get included in the library
                   13465:            # dependencies.
                   13466:            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"'
                   13467:            ;;
                   13468:          *)
                   13469:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   13470:              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   13471:              case $host in
                   13472:                osf3*)
                   13473:                  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'
                   13474:                  ;;
                   13475:                *)
                   13476:                  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'
                   13477:                  ;;
                   13478:              esac
                   13479: 
                   13480:              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13481:              hardcode_libdir_separator_CXX=:
                   13482: 
                   13483:              # Commands to make compiler produce verbose output that lists
                   13484:              # what "hidden" libraries, object files and flags are used when
                   13485:              # linking a shared library.
                   13486:              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13487: 
                   13488:            else
                   13489:              # FIXME: insert proper C++ library support
                   13490:              ld_shlibs_CXX=no
                   13491:            fi
                   13492:            ;;
                   13493:         esac
                   13494:         ;;
                   13495: 
                   13496:       psos*)
                   13497:         # FIXME: insert proper C++ library support
                   13498:         ld_shlibs_CXX=no
                   13499:         ;;
                   13500: 
                   13501:       sunos4*)
                   13502:         case $cc_basename in
                   13503:           CC*)
                   13504:            # Sun C++ 4.x
                   13505:            # FIXME: insert proper C++ library support
                   13506:            ld_shlibs_CXX=no
                   13507:            ;;
                   13508:           lcc*)
                   13509:            # Lucid
                   13510:            # FIXME: insert proper C++ library support
                   13511:            ld_shlibs_CXX=no
                   13512:            ;;
                   13513:           *)
                   13514:            # FIXME: insert proper C++ library support
                   13515:            ld_shlibs_CXX=no
                   13516:            ;;
                   13517:         esac
                   13518:         ;;
                   13519: 
                   13520:       solaris*)
                   13521:         case $cc_basename in
                   13522:           CC* | sunCC*)
                   13523:            # Sun C++ 4.2, 5.x and Centerline C++
                   13524:             archive_cmds_need_lc_CXX=yes
                   13525:            no_undefined_flag_CXX=' -zdefs'
                   13526:            archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13527:            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   13528:              $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'
                   13529: 
                   13530:            hardcode_libdir_flag_spec_CXX='-R$libdir'
                   13531:            hardcode_shlibpath_var_CXX=no
                   13532:            case $host_os in
                   13533:              solaris2.[0-5] | solaris2.[0-5].*) ;;
                   13534:              *)
                   13535:                # The compiler driver will combine and reorder linker options,
                   13536:                # but understands `-z linker_flag'.
                   13537:                # Supported since Solaris 2.6 (maybe 2.5.1?)
                   13538:                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
                   13539:                ;;
                   13540:            esac
                   13541:            link_all_deplibs_CXX=yes
                   13542: 
                   13543:            output_verbose_link_cmd='func_echo_all'
                   13544: 
                   13545:            # Archives containing C++ object files must be created using
                   13546:            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   13547:            # necessary to make sure instantiated templates are included
                   13548:            # in the archive.
                   13549:            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   13550:            ;;
                   13551:           gcx*)
                   13552:            # Green Hills C++ Compiler
                   13553:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   13554: 
                   13555:            # The C++ compiler must be used to create the archive.
                   13556:            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
                   13557:            ;;
                   13558:           *)
                   13559:            # GNU C++ compiler with Solaris linker
                   13560:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   13561:              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
                   13562:              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
                   13563:                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   13564:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   13565:                  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   13566: 
                   13567:                # Commands to make compiler produce verbose output that lists
                   13568:                # what "hidden" libraries, object files and flags are used when
                   13569:                # linking a shared library.
                   13570:                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13571:              else
                   13572:                # g++ 2.7 appears to require `-G' NOT `-shared' on this
                   13573:                # platform.
                   13574:                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   13575:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   13576:                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   13577: 
                   13578:                # Commands to make compiler produce verbose output that lists
                   13579:                # what "hidden" libraries, object files and flags are used when
                   13580:                # linking a shared library.
                   13581:                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13582:              fi
                   13583: 
                   13584:              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
                   13585:              case $host_os in
                   13586:                solaris2.[0-5] | solaris2.[0-5].*) ;;
                   13587:                *)
                   13588:                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   13589:                  ;;
                   13590:              esac
                   13591:            fi
                   13592:            ;;
                   13593:         esac
                   13594:         ;;
                   13595: 
                   13596:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   13597:       no_undefined_flag_CXX='${wl}-z,text'
                   13598:       archive_cmds_need_lc_CXX=no
                   13599:       hardcode_shlibpath_var_CXX=no
                   13600:       runpath_var='LD_RUN_PATH'
                   13601: 
                   13602:       case $cc_basename in
                   13603:         CC*)
                   13604:          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13605:          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13606:          ;;
                   13607:        *)
                   13608:          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13609:          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13610:          ;;
                   13611:       esac
                   13612:       ;;
                   13613: 
                   13614:       sysv5* | sco3.2v5* | sco5v6*)
                   13615:        # Note: We can NOT use -z defs as we might desire, because we do not
                   13616:        # link with -lc, and that would cause any symbols used from libc to
                   13617:        # always be unresolved, which means just about no library would
                   13618:        # ever link correctly.  If we're not using GNU ld we use -z text
                   13619:        # though, which does catch some bad symbols but isn't as heavy-handed
                   13620:        # as -z defs.
                   13621:        no_undefined_flag_CXX='${wl}-z,text'
                   13622:        allow_undefined_flag_CXX='${wl}-z,nodefs'
                   13623:        archive_cmds_need_lc_CXX=no
                   13624:        hardcode_shlibpath_var_CXX=no
                   13625:        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
                   13626:        hardcode_libdir_separator_CXX=':'
                   13627:        link_all_deplibs_CXX=yes
                   13628:        export_dynamic_flag_spec_CXX='${wl}-Bexport'
                   13629:        runpath_var='LD_RUN_PATH'
                   13630: 
                   13631:        case $cc_basename in
                   13632:           CC*)
                   13633:            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13634:            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13635:            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
                   13636:              '"$old_archive_cmds_CXX"
                   13637:            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
                   13638:              '"$reload_cmds_CXX"
                   13639:            ;;
                   13640:          *)
                   13641:            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13642:            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13643:            ;;
                   13644:        esac
                   13645:       ;;
                   13646: 
                   13647:       tandem*)
                   13648:         case $cc_basename in
                   13649:           NCC*)
                   13650:            # NonStop-UX NCC 3.20
                   13651:            # FIXME: insert proper C++ library support
                   13652:            ld_shlibs_CXX=no
                   13653:            ;;
                   13654:           *)
                   13655:            # FIXME: insert proper C++ library support
                   13656:            ld_shlibs_CXX=no
                   13657:            ;;
                   13658:         esac
                   13659:         ;;
                   13660: 
                   13661:       vxworks*)
                   13662:         # FIXME: insert proper C++ library support
                   13663:         ld_shlibs_CXX=no
                   13664:         ;;
                   13665: 
                   13666:       *)
                   13667:         # FIXME: insert proper C++ library support
                   13668:         ld_shlibs_CXX=no
                   13669:         ;;
                   13670:     esac
                   13671: 
1.43      moko     13672:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
                   13673: $as_echo "$ld_shlibs_CXX" >&6; }
1.35      moko     13674:     test "$ld_shlibs_CXX" = no && can_build_shared=no
                   13675: 
                   13676:     GCC_CXX="$GXX"
                   13677:     LD_CXX="$LD"
                   13678: 
                   13679:     ## CAVEAT EMPTOR:
                   13680:     ## There is no encapsulation within the following macros, do not change
                   13681:     ## the running order or otherwise move them around unless you know exactly
                   13682:     ## what you are doing...
                   13683:     # Dependencies to place before and after the object being linked:
                   13684: predep_objects_CXX=
                   13685: postdep_objects_CXX=
                   13686: predeps_CXX=
                   13687: postdeps_CXX=
                   13688: compiler_lib_search_path_CXX=
                   13689: 
                   13690: cat > conftest.$ac_ext <<_LT_EOF
                   13691: class Foo
                   13692: {
                   13693: public:
                   13694:   Foo (void) { a = 0; }
                   13695: private:
                   13696:   int a;
                   13697: };
                   13698: _LT_EOF
                   13699: 
                   13700: 
                   13701: _lt_libdeps_save_CFLAGS=$CFLAGS
                   13702: case "$CC $CFLAGS " in #(
                   13703: *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
                   13704: *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
                   13705: *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
                   13706: esac
                   13707: 
1.43      moko     13708: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.35      moko     13709:   (eval $ac_compile) 2>&5
                   13710:   ac_status=$?
1.43      moko     13711:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   13712:   test $ac_status = 0; }; then
1.35      moko     13713:   # Parse the compiler output and extract the necessary
                   13714:   # objects, libraries and library flags.
                   13715: 
                   13716:   # Sentinel used to keep track of whether or not we are before
                   13717:   # the conftest object file.
                   13718:   pre_test_object_deps_done=no
                   13719: 
                   13720:   for p in `eval "$output_verbose_link_cmd"`; do
                   13721:     case ${prev}${p} in
                   13722: 
                   13723:     -L* | -R* | -l*)
                   13724:        # Some compilers place space between "-{L,R}" and the path.
                   13725:        # Remove the space.
                   13726:        if test $p = "-L" ||
                   13727:           test $p = "-R"; then
                   13728:         prev=$p
                   13729:         continue
                   13730:        fi
                   13731: 
                   13732:        # Expand the sysroot to ease extracting the directories later.
                   13733:        if test -z "$prev"; then
                   13734:          case $p in
                   13735:          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
                   13736:          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
                   13737:          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
                   13738:          esac
                   13739:        fi
                   13740:        case $p in
                   13741:        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
                   13742:        esac
                   13743:        if test "$pre_test_object_deps_done" = no; then
                   13744:         case ${prev} in
                   13745:         -L | -R)
                   13746:           # Internal compiler library paths should come after those
                   13747:           # provided the user.  The postdeps already come after the
                   13748:           # user supplied libs so there is no need to process them.
                   13749:           if test -z "$compiler_lib_search_path_CXX"; then
                   13750:             compiler_lib_search_path_CXX="${prev}${p}"
                   13751:           else
                   13752:             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
                   13753:           fi
                   13754:           ;;
                   13755:         # The "-l" case would never come before the object being
                   13756:         # linked, so don't bother handling this case.
                   13757:         esac
                   13758:        else
                   13759:         if test -z "$postdeps_CXX"; then
                   13760:           postdeps_CXX="${prev}${p}"
                   13761:         else
                   13762:           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
                   13763:         fi
                   13764:        fi
                   13765:        prev=
                   13766:        ;;
                   13767: 
                   13768:     *.lto.$objext) ;; # Ignore GCC LTO objects
                   13769:     *.$objext)
                   13770:        # This assumes that the test object file only shows up
                   13771:        # once in the compiler output.
                   13772:        if test "$p" = "conftest.$objext"; then
                   13773:         pre_test_object_deps_done=yes
                   13774:         continue
                   13775:        fi
                   13776: 
                   13777:        if test "$pre_test_object_deps_done" = no; then
                   13778:         if test -z "$predep_objects_CXX"; then
                   13779:           predep_objects_CXX="$p"
                   13780:         else
                   13781:           predep_objects_CXX="$predep_objects_CXX $p"
                   13782:         fi
                   13783:        else
                   13784:         if test -z "$postdep_objects_CXX"; then
                   13785:           postdep_objects_CXX="$p"
                   13786:         else
                   13787:           postdep_objects_CXX="$postdep_objects_CXX $p"
                   13788:         fi
                   13789:        fi
                   13790:        ;;
                   13791: 
                   13792:     *) ;; # Ignore the rest.
                   13793: 
                   13794:     esac
                   13795:   done
                   13796: 
                   13797:   # Clean up.
                   13798:   rm -f a.out a.exe
                   13799: else
                   13800:   echo "libtool.m4: error: problem compiling CXX test program"
                   13801: fi
                   13802: 
                   13803: $RM -f confest.$objext
                   13804: CFLAGS=$_lt_libdeps_save_CFLAGS
                   13805: 
                   13806: # PORTME: override above test on systems where it is broken
                   13807: case $host_os in
                   13808: interix[3-9]*)
                   13809:   # Interix 3.5 installs completely hosed .la files for C++, so rather than
                   13810:   # hack all around it, let's just trust "g++" to DTRT.
                   13811:   predep_objects_CXX=
                   13812:   postdep_objects_CXX=
                   13813:   postdeps_CXX=
                   13814:   ;;
                   13815: 
                   13816: linux*)
                   13817:   case `$CC -V 2>&1 | sed 5q` in
                   13818:   *Sun\ C*)
                   13819:     # Sun C++ 5.9
                   13820: 
                   13821:     # The more standards-conforming stlport4 library is
                   13822:     # incompatible with the Cstd library. Avoid specifying
                   13823:     # it if it's in CXXFLAGS. Ignore libCrun as
                   13824:     # -library=stlport4 depends on it.
                   13825:     case " $CXX $CXXFLAGS " in
                   13826:     *" -library=stlport4 "*)
                   13827:       solaris_use_stlport4=yes
                   13828:       ;;
                   13829:     esac
                   13830: 
                   13831:     if test "$solaris_use_stlport4" != yes; then
                   13832:       postdeps_CXX='-library=Cstd -library=Crun'
                   13833:     fi
                   13834:     ;;
                   13835:   esac
                   13836:   ;;
                   13837: 
                   13838: solaris*)
                   13839:   case $cc_basename in
                   13840:   CC* | sunCC*)
                   13841:     # The more standards-conforming stlport4 library is
                   13842:     # incompatible with the Cstd library. Avoid specifying
                   13843:     # it if it's in CXXFLAGS. Ignore libCrun as
                   13844:     # -library=stlport4 depends on it.
                   13845:     case " $CXX $CXXFLAGS " in
                   13846:     *" -library=stlport4 "*)
                   13847:       solaris_use_stlport4=yes
                   13848:       ;;
                   13849:     esac
                   13850: 
                   13851:     # Adding this requires a known-good setup of shared libraries for
                   13852:     # Sun compiler versions before 5.6, else PIC objects from an old
                   13853:     # archive will be linked into the output, leading to subtle bugs.
                   13854:     if test "$solaris_use_stlport4" != yes; then
                   13855:       postdeps_CXX='-library=Cstd -library=Crun'
                   13856:     fi
                   13857:     ;;
                   13858:   esac
                   13859:   ;;
                   13860: esac
                   13861: 
                   13862: 
                   13863: case " $postdeps_CXX " in
                   13864: *" -lc "*) archive_cmds_need_lc_CXX=no ;;
                   13865: esac
                   13866:  compiler_lib_search_dirs_CXX=
                   13867: if test -n "${compiler_lib_search_path_CXX}"; then
                   13868:  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
                   13869: fi
                   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: 
                   13901:     lt_prog_compiler_wl_CXX=
                   13902: lt_prog_compiler_pic_CXX=
                   13903: lt_prog_compiler_static_CXX=
                   13904: 
                   13905: 
                   13906:   # C++ specific cases for pic, static, wl, etc.
                   13907:   if test "$GXX" = yes; then
                   13908:     lt_prog_compiler_wl_CXX='-Wl,'
                   13909:     lt_prog_compiler_static_CXX='-static'
                   13910: 
                   13911:     case $host_os in
                   13912:     aix*)
                   13913:       # All AIX code is PIC.
                   13914:       if test "$host_cpu" = ia64; then
                   13915:        # AIX 5 now supports IA64 processor
                   13916:        lt_prog_compiler_static_CXX='-Bstatic'
                   13917:       fi
                   13918:       ;;
                   13919: 
                   13920:     amigaos*)
                   13921:       case $host_cpu in
                   13922:       powerpc)
                   13923:             # see comment about AmigaOS4 .so support
                   13924:             lt_prog_compiler_pic_CXX='-fPIC'
                   13925:         ;;
                   13926:       m68k)
                   13927:             # FIXME: we need at least 68020 code to build shared libraries, but
                   13928:             # adding the `-m68020' flag to GCC prevents building anything better,
                   13929:             # like `-m68040'.
                   13930:             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
                   13931:         ;;
                   13932:       esac
                   13933:       ;;
                   13934: 
                   13935:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   13936:       # PIC is the default for these OSes.
                   13937:       ;;
                   13938:     mingw* | cygwin* | os2* | pw32* | cegcc*)
                   13939:       # This hack is so that the source file can tell whether it is being
                   13940:       # built for inclusion in a dll (and should export symbols for example).
                   13941:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   13942:       # (--disable-auto-import) libraries
                   13943:       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   13944:       ;;
                   13945:     darwin* | rhapsody*)
                   13946:       # PIC is the default on this platform
                   13947:       # Common symbols not allowed in MH_DYLIB files
                   13948:       lt_prog_compiler_pic_CXX='-fno-common'
                   13949:       ;;
                   13950:     *djgpp*)
                   13951:       # DJGPP does not support shared libraries at all
                   13952:       lt_prog_compiler_pic_CXX=
                   13953:       ;;
                   13954:     haiku*)
                   13955:       # PIC is the default for Haiku.
                   13956:       # The "-static" flag exists, but is broken.
                   13957:       lt_prog_compiler_static_CXX=
                   13958:       ;;
                   13959:     interix[3-9]*)
                   13960:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   13961:       # Instead, we relocate shared libraries at runtime.
                   13962:       ;;
                   13963:     sysv4*MP*)
                   13964:       if test -d /usr/nec; then
                   13965:        lt_prog_compiler_pic_CXX=-Kconform_pic
                   13966:       fi
                   13967:       ;;
                   13968:     hpux*)
                   13969:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   13970:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   13971:       # sets the default TLS model and affects inlining.
                   13972:       case $host_cpu in
                   13973:       hppa*64*)
                   13974:        ;;
                   13975:       *)
                   13976:        lt_prog_compiler_pic_CXX='-fPIC'
                   13977:        ;;
                   13978:       esac
                   13979:       ;;
                   13980:     *qnx* | *nto*)
                   13981:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   13982:       # it will coredump.
                   13983:       lt_prog_compiler_pic_CXX='-fPIC -shared'
                   13984:       ;;
                   13985:     *)
                   13986:       lt_prog_compiler_pic_CXX='-fPIC'
                   13987:       ;;
                   13988:     esac
                   13989:   else
                   13990:     case $host_os in
                   13991:       aix[4-9]*)
                   13992:        # All AIX code is PIC.
                   13993:        if test "$host_cpu" = ia64; then
                   13994:          # AIX 5 now supports IA64 processor
                   13995:          lt_prog_compiler_static_CXX='-Bstatic'
                   13996:        else
                   13997:          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
                   13998:        fi
                   13999:        ;;
                   14000:       chorus*)
                   14001:        case $cc_basename in
                   14002:        cxch68*)
                   14003:          # Green Hills C++ Compiler
                   14004:          # _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"
                   14005:          ;;
                   14006:        esac
                   14007:        ;;
                   14008:       mingw* | cygwin* | os2* | pw32* | cegcc*)
                   14009:        # This hack is so that the source file can tell whether it is being
                   14010:        # built for inclusion in a dll (and should export symbols for example).
                   14011:        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   14012:        ;;
                   14013:       dgux*)
                   14014:        case $cc_basename in
                   14015:          ec++*)
                   14016:            lt_prog_compiler_pic_CXX='-KPIC'
                   14017:            ;;
                   14018:          ghcx*)
                   14019:            # Green Hills C++ Compiler
                   14020:            lt_prog_compiler_pic_CXX='-pic'
                   14021:            ;;
                   14022:          *)
                   14023:            ;;
                   14024:        esac
                   14025:        ;;
                   14026:       freebsd* | dragonfly*)
                   14027:        # FreeBSD uses GNU C++
                   14028:        ;;
                   14029:       hpux9* | hpux10* | hpux11*)
                   14030:        case $cc_basename in
                   14031:          CC*)
                   14032:            lt_prog_compiler_wl_CXX='-Wl,'
                   14033:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   14034:            if test "$host_cpu" != ia64; then
                   14035:              lt_prog_compiler_pic_CXX='+Z'
                   14036:            fi
                   14037:            ;;
                   14038:          aCC*)
                   14039:            lt_prog_compiler_wl_CXX='-Wl,'
                   14040:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   14041:            case $host_cpu in
                   14042:            hppa*64*|ia64*)
                   14043:              # +Z the default
                   14044:              ;;
                   14045:            *)
                   14046:              lt_prog_compiler_pic_CXX='+Z'
                   14047:              ;;
                   14048:            esac
                   14049:            ;;
                   14050:          *)
                   14051:            ;;
                   14052:        esac
                   14053:        ;;
                   14054:       interix*)
                   14055:        # This is c89, which is MS Visual C++ (no shared libs)
                   14056:        # Anyone wants to do a port?
                   14057:        ;;
                   14058:       irix5* | irix6* | nonstopux*)
                   14059:        case $cc_basename in
                   14060:          CC*)
                   14061:            lt_prog_compiler_wl_CXX='-Wl,'
                   14062:            lt_prog_compiler_static_CXX='-non_shared'
                   14063:            # CC pic flag -KPIC is the default.
                   14064:            ;;
                   14065:          *)
                   14066:            ;;
                   14067:        esac
                   14068:        ;;
                   14069:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   14070:        case $cc_basename in
                   14071:          KCC*)
                   14072:            # KAI C++ Compiler
                   14073:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   14074:            lt_prog_compiler_pic_CXX='-fPIC'
                   14075:            ;;
                   14076:          ecpc* )
                   14077:            # old Intel C++ for x86_64 which still supported -KPIC.
                   14078:            lt_prog_compiler_wl_CXX='-Wl,'
                   14079:            lt_prog_compiler_pic_CXX='-KPIC'
                   14080:            lt_prog_compiler_static_CXX='-static'
                   14081:            ;;
                   14082:          icpc* )
                   14083:            # Intel C++, used to be incompatible with GCC.
                   14084:            # ICC 10 doesn't accept -KPIC any more.
                   14085:            lt_prog_compiler_wl_CXX='-Wl,'
                   14086:            lt_prog_compiler_pic_CXX='-fPIC'
                   14087:            lt_prog_compiler_static_CXX='-static'
                   14088:            ;;
                   14089:          pgCC* | pgcpp*)
                   14090:            # Portland Group C++ compiler
                   14091:            lt_prog_compiler_wl_CXX='-Wl,'
                   14092:            lt_prog_compiler_pic_CXX='-fpic'
                   14093:            lt_prog_compiler_static_CXX='-Bstatic'
                   14094:            ;;
                   14095:          cxx*)
                   14096:            # Compaq C++
                   14097:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   14098:            # Linux and Compaq Tru64 Unix objects are PIC.
                   14099:            lt_prog_compiler_pic_CXX=
                   14100:            lt_prog_compiler_static_CXX='-non_shared'
                   14101:            ;;
                   14102:          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
                   14103:            # IBM XL 8.0, 9.0 on PPC and BlueGene
                   14104:            lt_prog_compiler_wl_CXX='-Wl,'
                   14105:            lt_prog_compiler_pic_CXX='-qpic'
                   14106:            lt_prog_compiler_static_CXX='-qstaticlink'
                   14107:            ;;
                   14108:          *)
                   14109:            case `$CC -V 2>&1 | sed 5q` in
                   14110:            *Sun\ C*)
                   14111:              # Sun C++ 5.9
                   14112:              lt_prog_compiler_pic_CXX='-KPIC'
                   14113:              lt_prog_compiler_static_CXX='-Bstatic'
                   14114:              lt_prog_compiler_wl_CXX='-Qoption ld '
                   14115:              ;;
                   14116:            esac
                   14117:            ;;
                   14118:        esac
                   14119:        ;;
                   14120:       lynxos*)
                   14121:        ;;
                   14122:       m88k*)
                   14123:        ;;
                   14124:       mvs*)
                   14125:        case $cc_basename in
                   14126:          cxx*)
                   14127:            lt_prog_compiler_pic_CXX='-W c,exportall'
                   14128:            ;;
                   14129:          *)
                   14130:            ;;
                   14131:        esac
                   14132:        ;;
                   14133:       netbsd*)
                   14134:        ;;
                   14135:       *qnx* | *nto*)
                   14136:         # QNX uses GNU C++, but need to define -shared option too, otherwise
                   14137:         # it will coredump.
                   14138:         lt_prog_compiler_pic_CXX='-fPIC -shared'
                   14139:         ;;
                   14140:       osf3* | osf4* | osf5*)
                   14141:        case $cc_basename in
                   14142:          KCC*)
                   14143:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   14144:            ;;
                   14145:          RCC*)
                   14146:            # Rational C++ 2.4.1
                   14147:            lt_prog_compiler_pic_CXX='-pic'
                   14148:            ;;
                   14149:          cxx*)
                   14150:            # Digital/Compaq C++
                   14151:            lt_prog_compiler_wl_CXX='-Wl,'
                   14152:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   14153:            # Linux and Compaq Tru64 Unix objects are PIC.
                   14154:            lt_prog_compiler_pic_CXX=
                   14155:            lt_prog_compiler_static_CXX='-non_shared'
                   14156:            ;;
                   14157:          *)
                   14158:            ;;
                   14159:        esac
                   14160:        ;;
                   14161:       psos*)
                   14162:        ;;
                   14163:       solaris*)
                   14164:        case $cc_basename in
                   14165:          CC* | sunCC*)
                   14166:            # Sun C++ 4.2, 5.x and Centerline C++
                   14167:            lt_prog_compiler_pic_CXX='-KPIC'
                   14168:            lt_prog_compiler_static_CXX='-Bstatic'
                   14169:            lt_prog_compiler_wl_CXX='-Qoption ld '
                   14170:            ;;
                   14171:          gcx*)
                   14172:            # Green Hills C++ Compiler
                   14173:            lt_prog_compiler_pic_CXX='-PIC'
                   14174:            ;;
                   14175:          *)
                   14176:            ;;
                   14177:        esac
                   14178:        ;;
                   14179:       sunos4*)
                   14180:        case $cc_basename in
                   14181:          CC*)
                   14182:            # Sun C++ 4.x
                   14183:            lt_prog_compiler_pic_CXX='-pic'
                   14184:            lt_prog_compiler_static_CXX='-Bstatic'
                   14185:            ;;
                   14186:          lcc*)
                   14187:            # Lucid
                   14188:            lt_prog_compiler_pic_CXX='-pic'
                   14189:            ;;
                   14190:          *)
                   14191:            ;;
                   14192:        esac
                   14193:        ;;
                   14194:       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   14195:        case $cc_basename in
                   14196:          CC*)
                   14197:            lt_prog_compiler_wl_CXX='-Wl,'
                   14198:            lt_prog_compiler_pic_CXX='-KPIC'
                   14199:            lt_prog_compiler_static_CXX='-Bstatic'
                   14200:            ;;
                   14201:        esac
                   14202:        ;;
                   14203:       tandem*)
                   14204:        case $cc_basename in
                   14205:          NCC*)
                   14206:            # NonStop-UX NCC 3.20
                   14207:            lt_prog_compiler_pic_CXX='-KPIC'
                   14208:            ;;
                   14209:          *)
                   14210:            ;;
                   14211:        esac
                   14212:        ;;
                   14213:       vxworks*)
                   14214:        ;;
                   14215:       *)
                   14216:        lt_prog_compiler_can_build_shared_CXX=no
                   14217:        ;;
                   14218:     esac
                   14219:   fi
                   14220: 
                   14221: case $host_os in
                   14222:   # For platforms which do not support PIC, -DPIC is meaningless:
                   14223:   *djgpp*)
                   14224:     lt_prog_compiler_pic_CXX=
                   14225:     ;;
                   14226:   *)
                   14227:     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
                   14228:     ;;
                   14229: esac
                   14230: 
1.43      moko     14231: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   14232: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
                   14233: if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
                   14234:   $as_echo_n "(cached) " >&6
1.35      moko     14235: else
                   14236:   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
                   14237: fi
1.43      moko     14238: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
                   14239: $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
1.35      moko     14240: lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
                   14241: 
                   14242: #
                   14243: # Check to make sure the PIC flag actually works.
                   14244: #
                   14245: if test -n "$lt_prog_compiler_pic_CXX"; then
1.43      moko     14246:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
                   14247: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
                   14248: if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
                   14249:   $as_echo_n "(cached) " >&6
1.35      moko     14250: else
                   14251:   lt_cv_prog_compiler_pic_works_CXX=no
                   14252:    ac_outfile=conftest.$ac_objext
                   14253:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14254:    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
                   14255:    # Insert the option either (1) after the last *FLAGS variable, or
                   14256:    # (2) before a word containing "conftest.", or (3) at the end.
                   14257:    # Note that $ac_compile itself does not contain backslashes and begins
                   14258:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14259:    # The option is referenced via a variable to avoid confusing sed.
                   14260:    lt_compile=`echo "$ac_compile" | $SED \
                   14261:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14262:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14263:    -e 's:$: $lt_compiler_flag:'`
                   14264:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14265:    (eval "$lt_compile" 2>conftest.err)
                   14266:    ac_status=$?
                   14267:    cat conftest.err >&5
                   14268:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14269:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   14270:      # The compiler can only warn and ignore the option if not recognized
                   14271:      # So say no if there are warnings other than the usual output.
                   14272:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   14273:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   14274:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   14275:        lt_cv_prog_compiler_pic_works_CXX=yes
                   14276:      fi
                   14277:    fi
                   14278:    $RM conftest*
                   14279: 
                   14280: fi
1.43      moko     14281: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
                   14282: $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
1.35      moko     14283: 
                   14284: if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
                   14285:     case $lt_prog_compiler_pic_CXX in
                   14286:      "" | " "*) ;;
                   14287:      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
                   14288:      esac
                   14289: else
                   14290:     lt_prog_compiler_pic_CXX=
                   14291:      lt_prog_compiler_can_build_shared_CXX=no
                   14292: fi
                   14293: 
                   14294: fi
                   14295: 
                   14296: 
                   14297: 
                   14298: 
                   14299: 
                   14300: #
                   14301: # Check to make sure the static flag actually works.
                   14302: #
                   14303: wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
1.43      moko     14304: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   14305: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   14306: if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
                   14307:   $as_echo_n "(cached) " >&6
1.35      moko     14308: else
                   14309:   lt_cv_prog_compiler_static_works_CXX=no
                   14310:    save_LDFLAGS="$LDFLAGS"
                   14311:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   14312:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   14313:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   14314:      # The linker can only warn and ignore the option if not recognized
                   14315:      # So say no if there are warnings
                   14316:      if test -s conftest.err; then
                   14317:        # Append any errors to the config.log.
                   14318:        cat conftest.err 1>&5
                   14319:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   14320:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   14321:        if diff conftest.exp conftest.er2 >/dev/null; then
                   14322:          lt_cv_prog_compiler_static_works_CXX=yes
                   14323:        fi
                   14324:      else
                   14325:        lt_cv_prog_compiler_static_works_CXX=yes
                   14326:      fi
                   14327:    fi
                   14328:    $RM -r conftest*
                   14329:    LDFLAGS="$save_LDFLAGS"
                   14330: 
                   14331: fi
1.43      moko     14332: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
                   14333: $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
1.35      moko     14334: 
                   14335: if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
                   14336:     :
                   14337: else
                   14338:     lt_prog_compiler_static_CXX=
                   14339: fi
                   14340: 
                   14341: 
                   14342: 
                   14343: 
1.43      moko     14344:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   14345: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   14346: if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
                   14347:   $as_echo_n "(cached) " >&6
1.35      moko     14348: else
                   14349:   lt_cv_prog_compiler_c_o_CXX=no
                   14350:    $RM -r conftest 2>/dev/null
                   14351:    mkdir conftest
                   14352:    cd conftest
                   14353:    mkdir out
                   14354:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14355: 
                   14356:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   14357:    # Insert the option either (1) after the last *FLAGS variable, or
                   14358:    # (2) before a word containing "conftest.", or (3) at the end.
                   14359:    # Note that $ac_compile itself does not contain backslashes and begins
                   14360:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14361:    lt_compile=`echo "$ac_compile" | $SED \
                   14362:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14363:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14364:    -e 's:$: $lt_compiler_flag:'`
                   14365:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14366:    (eval "$lt_compile" 2>out/conftest.err)
                   14367:    ac_status=$?
                   14368:    cat out/conftest.err >&5
                   14369:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14370:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   14371:    then
                   14372:      # The compiler can only warn and ignore the option if not recognized
                   14373:      # So say no if there are warnings
                   14374:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   14375:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   14376:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   14377:        lt_cv_prog_compiler_c_o_CXX=yes
                   14378:      fi
                   14379:    fi
                   14380:    chmod u+w . 2>&5
                   14381:    $RM conftest*
                   14382:    # SGI C++ compiler will create directory out/ii_files/ for
                   14383:    # template instantiation
                   14384:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   14385:    $RM out/* && rmdir out
                   14386:    cd ..
                   14387:    $RM -r conftest
                   14388:    $RM conftest*
                   14389: 
                   14390: fi
1.43      moko     14391: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   14392: $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
1.35      moko     14393: 
                   14394: 
                   14395: 
1.43      moko     14396:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   14397: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   14398: if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
                   14399:   $as_echo_n "(cached) " >&6
1.35      moko     14400: else
                   14401:   lt_cv_prog_compiler_c_o_CXX=no
                   14402:    $RM -r conftest 2>/dev/null
                   14403:    mkdir conftest
                   14404:    cd conftest
                   14405:    mkdir out
                   14406:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14407: 
                   14408:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   14409:    # Insert the option either (1) after the last *FLAGS variable, or
                   14410:    # (2) before a word containing "conftest.", or (3) at the end.
                   14411:    # Note that $ac_compile itself does not contain backslashes and begins
                   14412:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14413:    lt_compile=`echo "$ac_compile" | $SED \
                   14414:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14415:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14416:    -e 's:$: $lt_compiler_flag:'`
                   14417:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14418:    (eval "$lt_compile" 2>out/conftest.err)
                   14419:    ac_status=$?
                   14420:    cat out/conftest.err >&5
                   14421:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14422:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   14423:    then
                   14424:      # The compiler can only warn and ignore the option if not recognized
                   14425:      # So say no if there are warnings
                   14426:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   14427:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   14428:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   14429:        lt_cv_prog_compiler_c_o_CXX=yes
                   14430:      fi
                   14431:    fi
                   14432:    chmod u+w . 2>&5
                   14433:    $RM conftest*
                   14434:    # SGI C++ compiler will create directory out/ii_files/ for
                   14435:    # template instantiation
                   14436:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   14437:    $RM out/* && rmdir out
                   14438:    cd ..
                   14439:    $RM -r conftest
                   14440:    $RM conftest*
                   14441: 
                   14442: fi
1.43      moko     14443: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   14444: $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
1.35      moko     14445: 
                   14446: 
                   14447: 
                   14448: 
                   14449: hard_links="nottested"
                   14450: if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
                   14451:   # do not overwrite the value of need_locks provided by the user
1.43      moko     14452:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   14453: $as_echo_n "checking if we can lock with hard links... " >&6; }
1.35      moko     14454:   hard_links=yes
                   14455:   $RM conftest*
                   14456:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   14457:   touch conftest.a
                   14458:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   14459:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.43      moko     14460:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   14461: $as_echo "$hard_links" >&6; }
1.35      moko     14462:   if test "$hard_links" = no; then
1.43      moko     14463:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   14464: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.35      moko     14465:     need_locks=warn
                   14466:   fi
                   14467: else
                   14468:   need_locks=no
                   14469: fi
                   14470: 
                   14471: 
                   14472: 
1.43      moko     14473:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   14474: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.35      moko     14475: 
                   14476:   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   14477:   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   14478:   case $host_os in
                   14479:   aix[4-9]*)
                   14480:     # If we're using GNU nm, then we don't want the "-C" option.
                   14481:     # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   14482:     # Also, AIX nm treats weak defined symbols like other global defined
                   14483:     # symbols, whereas GNU nm marks them as "W".
                   14484:     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   14485:       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'
                   14486:     else
                   14487:       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'
                   14488:     fi
                   14489:     ;;
                   14490:   pw32*)
                   14491:     export_symbols_cmds_CXX="$ltdll_cmds"
                   14492:     ;;
                   14493:   cygwin* | mingw* | cegcc*)
                   14494:     case $cc_basename in
                   14495:     cl*)
                   14496:       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   14497:       ;;
                   14498:     *)
                   14499:       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'
                   14500:       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   14501:       ;;
                   14502:     esac
                   14503:     ;;
                   14504:   *)
                   14505:     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   14506:     ;;
                   14507:   esac
                   14508: 
1.43      moko     14509: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
                   14510: $as_echo "$ld_shlibs_CXX" >&6; }
1.35      moko     14511: test "$ld_shlibs_CXX" = no && can_build_shared=no
                   14512: 
                   14513: with_gnu_ld_CXX=$with_gnu_ld
                   14514: 
                   14515: 
                   14516: 
                   14517: 
                   14518: 
                   14519: 
                   14520: #
                   14521: # Do we need to explicitly link libc?
                   14522: #
                   14523: case "x$archive_cmds_need_lc_CXX" in
                   14524: x|xyes)
                   14525:   # Assume -lc should be added
                   14526:   archive_cmds_need_lc_CXX=yes
                   14527: 
                   14528:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   14529:     case $archive_cmds_CXX in
                   14530:     *'~'*)
                   14531:       # FIXME: we may have to deal with multi-command sequences.
                   14532:       ;;
                   14533:     '$CC '*)
                   14534:       # Test whether the compiler implicitly links with -lc since on some
                   14535:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   14536:       # to ld, don't add -lc before -lgcc.
1.43      moko     14537:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   14538: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
                   14539: if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
                   14540:   $as_echo_n "(cached) " >&6
1.35      moko     14541: else
                   14542:   $RM conftest*
                   14543:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14544: 
1.43      moko     14545:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.35      moko     14546:   (eval $ac_compile) 2>&5
                   14547:   ac_status=$?
1.43      moko     14548:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   14549:   test $ac_status = 0; } 2>conftest.err; then
1.35      moko     14550:          soname=conftest
                   14551:          lib=conftest
                   14552:          libobjs=conftest.$ac_objext
                   14553:          deplibs=
                   14554:          wl=$lt_prog_compiler_wl_CXX
                   14555:          pic_flag=$lt_prog_compiler_pic_CXX
                   14556:          compiler_flags=-v
                   14557:          linker_flags=-v
                   14558:          verstring=
                   14559:          output_objdir=.
                   14560:          libname=conftest
                   14561:          lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
                   14562:          allow_undefined_flag_CXX=
1.43      moko     14563:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1.35      moko     14564:   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   14565:   ac_status=$?
1.43      moko     14566:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   14567:   test $ac_status = 0; }
1.35      moko     14568:          then
                   14569:            lt_cv_archive_cmds_need_lc_CXX=no
                   14570:          else
                   14571:            lt_cv_archive_cmds_need_lc_CXX=yes
                   14572:          fi
                   14573:          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
                   14574:        else
                   14575:          cat conftest.err 1>&5
                   14576:        fi
                   14577:        $RM conftest*
                   14578: 
                   14579: fi
1.43      moko     14580: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
                   14581: $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
1.35      moko     14582:       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
                   14583:       ;;
                   14584:     esac
                   14585:   fi
                   14586:   ;;
                   14587: esac
                   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: 
                   14649: 
1.43      moko     14650:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   14651: $as_echo_n "checking dynamic linker characteristics... " >&6; }
1.35      moko     14652: 
                   14653: library_names_spec=
                   14654: libname_spec='lib$name'
                   14655: soname_spec=
                   14656: shrext_cmds=".so"
                   14657: postinstall_cmds=
                   14658: postuninstall_cmds=
                   14659: finish_cmds=
                   14660: finish_eval=
                   14661: shlibpath_var=
                   14662: shlibpath_overrides_runpath=unknown
                   14663: version_type=none
                   14664: dynamic_linker="$host_os ld.so"
                   14665: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   14666: need_lib_prefix=unknown
                   14667: hardcode_into_libs=no
                   14668: 
                   14669: # when you set need_version to no, make sure it does not cause -set_version
                   14670: # flags to be left without arguments
                   14671: need_version=unknown
                   14672: 
                   14673: case $host_os in
                   14674: aix3*)
                   14675:   version_type=linux # correct to gnu/linux during the next big refactor
                   14676:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   14677:   shlibpath_var=LIBPATH
                   14678: 
                   14679:   # AIX 3 has no versioning support, so we append a major version to the name.
                   14680:   soname_spec='${libname}${release}${shared_ext}$major'
                   14681:   ;;
                   14682: 
                   14683: aix[4-9]*)
                   14684:   version_type=linux # correct to gnu/linux during the next big refactor
                   14685:   need_lib_prefix=no
                   14686:   need_version=no
                   14687:   hardcode_into_libs=yes
                   14688:   if test "$host_cpu" = ia64; then
                   14689:     # AIX 5 supports IA64
                   14690:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   14691:     shlibpath_var=LD_LIBRARY_PATH
                   14692:   else
                   14693:     # With GCC up to 2.95.x, collect2 would create an import file
                   14694:     # for dependence libraries.  The import file would start with
                   14695:     # the line `#! .'.  This would cause the generated library to
                   14696:     # depend on `.', always an invalid library.  This was fixed in
                   14697:     # development snapshots of GCC prior to 3.0.
                   14698:     case $host_os in
                   14699:       aix4 | aix4.[01] | aix4.[01].*)
                   14700:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   14701:           echo ' yes '
                   14702:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   14703:        :
                   14704:       else
                   14705:        can_build_shared=no
                   14706:       fi
                   14707:       ;;
                   14708:     esac
                   14709:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   14710:     # soname into executable. Probably we can add versioning support to
                   14711:     # collect2, so additional links can be useful in future.
                   14712:     if test "$aix_use_runtimelinking" = yes; then
                   14713:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   14714:       # instead of lib<name>.a to let people know that these are not
                   14715:       # typical AIX shared libraries.
                   14716:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14717:     else
                   14718:       # We preserve .a as extension for shared libraries through AIX4.2
                   14719:       # and later when we are not doing run time linking.
                   14720:       library_names_spec='${libname}${release}.a $libname.a'
                   14721:       soname_spec='${libname}${release}${shared_ext}$major'
                   14722:     fi
                   14723:     shlibpath_var=LIBPATH
                   14724:   fi
                   14725:   ;;
                   14726: 
                   14727: amigaos*)
                   14728:   case $host_cpu in
                   14729:   powerpc)
                   14730:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   14731:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   14732:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14733:     ;;
                   14734:   m68k)
                   14735:     library_names_spec='$libname.ixlibrary $libname.a'
                   14736:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   14737:     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'
                   14738:     ;;
                   14739:   esac
                   14740:   ;;
                   14741: 
                   14742: beos*)
                   14743:   library_names_spec='${libname}${shared_ext}'
                   14744:   dynamic_linker="$host_os ld.so"
                   14745:   shlibpath_var=LIBRARY_PATH
                   14746:   ;;
                   14747: 
                   14748: bsdi[45]*)
                   14749:   version_type=linux # correct to gnu/linux during the next big refactor
                   14750:   need_version=no
                   14751:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14752:   soname_spec='${libname}${release}${shared_ext}$major'
                   14753:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   14754:   shlibpath_var=LD_LIBRARY_PATH
                   14755:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   14756:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   14757:   # the default ld.so.conf also contains /usr/contrib/lib and
                   14758:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   14759:   # libtool to hard-code these into programs
                   14760:   ;;
                   14761: 
                   14762: cygwin* | mingw* | pw32* | cegcc*)
                   14763:   version_type=windows
                   14764:   shrext_cmds=".dll"
                   14765:   need_version=no
                   14766:   need_lib_prefix=no
                   14767: 
                   14768:   case $GCC,$cc_basename in
                   14769:   yes,*)
                   14770:     # gcc
                   14771:     library_names_spec='$libname.dll.a'
                   14772:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   14773:     postinstall_cmds='base_file=`basename \${file}`~
                   14774:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   14775:       dldir=$destdir/`dirname \$dlpath`~
                   14776:       test -d \$dldir || mkdir -p \$dldir~
                   14777:       $install_prog $dir/$dlname \$dldir/$dlname~
                   14778:       chmod a+x \$dldir/$dlname~
                   14779:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   14780:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   14781:       fi'
                   14782:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   14783:       dlpath=$dir/\$dldll~
                   14784:        $RM \$dlpath'
                   14785:     shlibpath_overrides_runpath=yes
                   14786: 
                   14787:     case $host_os in
                   14788:     cygwin*)
                   14789:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   14790:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   14791: 
                   14792:       ;;
                   14793:     mingw* | cegcc*)
                   14794:       # MinGW DLLs use traditional 'lib' prefix
                   14795:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   14796:       ;;
                   14797:     pw32*)
                   14798:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   14799:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   14800:       ;;
                   14801:     esac
                   14802:     dynamic_linker='Win32 ld.exe'
                   14803:     ;;
                   14804: 
                   14805:   *,cl*)
                   14806:     # Native MSVC
                   14807:     libname_spec='$name'
                   14808:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   14809:     library_names_spec='${libname}.dll.lib'
                   14810: 
                   14811:     case $build_os in
                   14812:     mingw*)
                   14813:       sys_lib_search_path_spec=
                   14814:       lt_save_ifs=$IFS
                   14815:       IFS=';'
                   14816:       for lt_path in $LIB
                   14817:       do
                   14818:         IFS=$lt_save_ifs
                   14819:         # Let DOS variable expansion print the short 8.3 style file name.
                   14820:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   14821:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   14822:       done
                   14823:       IFS=$lt_save_ifs
                   14824:       # Convert to MSYS style.
                   14825:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   14826:       ;;
                   14827:     cygwin*)
                   14828:       # Convert to unix form, then to dos form, then back to unix form
                   14829:       # but this time dos style (no spaces!) so that the unix form looks
                   14830:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   14831:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   14832:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   14833:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   14834:       ;;
                   14835:     *)
                   14836:       sys_lib_search_path_spec="$LIB"
                   14837:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   14838:         # It is most probably a Windows format PATH.
                   14839:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   14840:       else
                   14841:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   14842:       fi
                   14843:       # FIXME: find the short name or the path components, as spaces are
                   14844:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   14845:       ;;
                   14846:     esac
                   14847: 
                   14848:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   14849:     postinstall_cmds='base_file=`basename \${file}`~
                   14850:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   14851:       dldir=$destdir/`dirname \$dlpath`~
                   14852:       test -d \$dldir || mkdir -p \$dldir~
                   14853:       $install_prog $dir/$dlname \$dldir/$dlname'
                   14854:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   14855:       dlpath=$dir/\$dldll~
                   14856:        $RM \$dlpath'
                   14857:     shlibpath_overrides_runpath=yes
                   14858:     dynamic_linker='Win32 link.exe'
                   14859:     ;;
                   14860: 
                   14861:   *)
                   14862:     # Assume MSVC wrapper
                   14863:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   14864:     dynamic_linker='Win32 ld.exe'
                   14865:     ;;
                   14866:   esac
                   14867:   # FIXME: first we should search . and the directory the executable is in
                   14868:   shlibpath_var=PATH
                   14869:   ;;
                   14870: 
                   14871: darwin* | rhapsody*)
                   14872:   dynamic_linker="$host_os dyld"
                   14873:   version_type=darwin
                   14874:   need_lib_prefix=no
                   14875:   need_version=no
                   14876:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   14877:   soname_spec='${libname}${release}${major}$shared_ext'
                   14878:   shlibpath_overrides_runpath=yes
                   14879:   shlibpath_var=DYLD_LIBRARY_PATH
                   14880:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   14881: 
                   14882:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   14883:   ;;
                   14884: 
                   14885: dgux*)
                   14886:   version_type=linux # correct to gnu/linux during the next big refactor
                   14887:   need_lib_prefix=no
                   14888:   need_version=no
                   14889:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   14890:   soname_spec='${libname}${release}${shared_ext}$major'
                   14891:   shlibpath_var=LD_LIBRARY_PATH
                   14892:   ;;
                   14893: 
                   14894: freebsd* | dragonfly*)
                   14895:   # DragonFly does not have aout.  When/if they implement a new
                   14896:   # versioning mechanism, adjust this.
                   14897:   if test -x /usr/bin/objformat; then
                   14898:     objformat=`/usr/bin/objformat`
                   14899:   else
                   14900:     case $host_os in
                   14901:     freebsd[23].*) objformat=aout ;;
                   14902:     *) objformat=elf ;;
                   14903:     esac
                   14904:   fi
                   14905:   version_type=freebsd-$objformat
                   14906:   case $version_type in
                   14907:     freebsd-elf*)
                   14908:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   14909:       need_version=no
                   14910:       need_lib_prefix=no
                   14911:       ;;
                   14912:     freebsd-*)
                   14913:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   14914:       need_version=yes
                   14915:       ;;
                   14916:   esac
                   14917:   shlibpath_var=LD_LIBRARY_PATH
                   14918:   case $host_os in
                   14919:   freebsd2.*)
                   14920:     shlibpath_overrides_runpath=yes
                   14921:     ;;
                   14922:   freebsd3.[01]* | freebsdelf3.[01]*)
                   14923:     shlibpath_overrides_runpath=yes
                   14924:     hardcode_into_libs=yes
                   14925:     ;;
                   14926:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   14927:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   14928:     shlibpath_overrides_runpath=no
                   14929:     hardcode_into_libs=yes
                   14930:     ;;
                   14931:   *) # from 4.6 on, and DragonFly
                   14932:     shlibpath_overrides_runpath=yes
                   14933:     hardcode_into_libs=yes
                   14934:     ;;
                   14935:   esac
                   14936:   ;;
                   14937: 
                   14938: gnu*)
                   14939:   version_type=linux # correct to gnu/linux during the next big refactor
                   14940:   need_lib_prefix=no
                   14941:   need_version=no
                   14942:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   14943:   soname_spec='${libname}${release}${shared_ext}$major'
                   14944:   shlibpath_var=LD_LIBRARY_PATH
                   14945:   shlibpath_overrides_runpath=no
                   14946:   hardcode_into_libs=yes
                   14947:   ;;
                   14948: 
                   14949: haiku*)
                   14950:   version_type=linux # correct to gnu/linux during the next big refactor
                   14951:   need_lib_prefix=no
                   14952:   need_version=no
                   14953:   dynamic_linker="$host_os runtime_loader"
                   14954:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   14955:   soname_spec='${libname}${release}${shared_ext}$major'
                   14956:   shlibpath_var=LIBRARY_PATH
                   14957:   shlibpath_overrides_runpath=yes
                   14958:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   14959:   hardcode_into_libs=yes
                   14960:   ;;
                   14961: 
                   14962: hpux9* | hpux10* | hpux11*)
                   14963:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   14964:   # link against other versions.
                   14965:   version_type=sunos
                   14966:   need_lib_prefix=no
                   14967:   need_version=no
                   14968:   case $host_cpu in
                   14969:   ia64*)
                   14970:     shrext_cmds='.so'
                   14971:     hardcode_into_libs=yes
                   14972:     dynamic_linker="$host_os dld.so"
                   14973:     shlibpath_var=LD_LIBRARY_PATH
                   14974:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   14975:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14976:     soname_spec='${libname}${release}${shared_ext}$major'
                   14977:     if test "X$HPUX_IA64_MODE" = X32; then
                   14978:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   14979:     else
                   14980:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   14981:     fi
                   14982:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   14983:     ;;
                   14984:   hppa*64*)
                   14985:     shrext_cmds='.sl'
                   14986:     hardcode_into_libs=yes
                   14987:     dynamic_linker="$host_os dld.sl"
                   14988:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   14989:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   14990:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14991:     soname_spec='${libname}${release}${shared_ext}$major'
                   14992:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   14993:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   14994:     ;;
                   14995:   *)
                   14996:     shrext_cmds='.sl'
                   14997:     dynamic_linker="$host_os dld.sl"
                   14998:     shlibpath_var=SHLIB_PATH
                   14999:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   15000:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15001:     soname_spec='${libname}${release}${shared_ext}$major'
                   15002:     ;;
                   15003:   esac
                   15004:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   15005:   postinstall_cmds='chmod 555 $lib'
                   15006:   # or fails outright, so override atomically:
                   15007:   install_override_mode=555
                   15008:   ;;
                   15009: 
                   15010: interix[3-9]*)
                   15011:   version_type=linux # correct to gnu/linux during the next big refactor
                   15012:   need_lib_prefix=no
                   15013:   need_version=no
                   15014:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   15015:   soname_spec='${libname}${release}${shared_ext}$major'
                   15016:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   15017:   shlibpath_var=LD_LIBRARY_PATH
                   15018:   shlibpath_overrides_runpath=no
                   15019:   hardcode_into_libs=yes
                   15020:   ;;
                   15021: 
                   15022: irix5* | irix6* | nonstopux*)
                   15023:   case $host_os in
                   15024:     nonstopux*) version_type=nonstopux ;;
                   15025:     *)
                   15026:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   15027:                version_type=linux # correct to gnu/linux during the next big refactor
                   15028:        else
                   15029:                version_type=irix
                   15030:        fi ;;
                   15031:   esac
                   15032:   need_lib_prefix=no
                   15033:   need_version=no
                   15034:   soname_spec='${libname}${release}${shared_ext}$major'
                   15035:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15036:   case $host_os in
                   15037:   irix5* | nonstopux*)
                   15038:     libsuff= shlibsuff=
                   15039:     ;;
                   15040:   *)
                   15041:     case $LD in # libtool.m4 will add one of these switches to LD
                   15042:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   15043:       libsuff= shlibsuff= libmagic=32-bit;;
                   15044:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   15045:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   15046:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   15047:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   15048:     *) libsuff= shlibsuff= libmagic=never-match;;
                   15049:     esac
                   15050:     ;;
                   15051:   esac
                   15052:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   15053:   shlibpath_overrides_runpath=no
                   15054:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   15055:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   15056:   hardcode_into_libs=yes
                   15057:   ;;
                   15058: 
                   15059: # No shared lib support for Linux oldld, aout, or coff.
                   15060: linux*oldld* | linux*aout* | linux*coff*)
                   15061:   dynamic_linker=no
                   15062:   ;;
                   15063: 
                   15064: # This must be glibc/ELF.
                   15065: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   15066:   version_type=linux # correct to gnu/linux during the next big refactor
                   15067:   need_lib_prefix=no
                   15068:   need_version=no
                   15069:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15070:   soname_spec='${libname}${release}${shared_ext}$major'
                   15071:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   15072:   shlibpath_var=LD_LIBRARY_PATH
                   15073:   shlibpath_overrides_runpath=no
                   15074: 
                   15075:   # Some binutils ld are patched to set DT_RUNPATH
1.43      moko     15076:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
                   15077:   $as_echo_n "(cached) " >&6
1.35      moko     15078: else
                   15079:   lt_cv_shlibpath_overrides_runpath=no
                   15080:     save_LDFLAGS=$LDFLAGS
                   15081:     save_libdir=$libdir
                   15082:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
                   15083:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
1.43      moko     15084:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     15085: /* end confdefs.h.  */
                   15086: 
                   15087: int
                   15088: main ()
                   15089: {
                   15090: 
                   15091:   ;
                   15092:   return 0;
                   15093: }
                   15094: _ACEOF
1.43      moko     15095: if ac_fn_cxx_try_link "$LINENO"; then :
                   15096:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
1.35      moko     15097:   lt_cv_shlibpath_overrides_runpath=yes
                   15098: fi
                   15099: fi
1.43      moko     15100: rm -f core conftest.err conftest.$ac_objext \
                   15101:     conftest$ac_exeext conftest.$ac_ext
1.35      moko     15102:     LDFLAGS=$save_LDFLAGS
                   15103:     libdir=$save_libdir
                   15104: 
                   15105: fi
                   15106: 
                   15107:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   15108: 
                   15109:   # This implies no fast_install, which is unacceptable.
                   15110:   # Some rework will be needed to allow for fast_install
                   15111:   # before this can be enabled.
                   15112:   hardcode_into_libs=yes
                   15113: 
                   15114:   # Append ld.so.conf contents to the search path
                   15115:   if test -f /etc/ld.so.conf; then
                   15116:     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' ' '`
                   15117:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   15118:   fi
                   15119: 
                   15120:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   15121:   # powerpc, because MkLinux only supported shared libraries with the
                   15122:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   15123:   # most powerpc-linux boxes support dynamic linking these days and
                   15124:   # people can always --disable-shared, the test was removed, and we
                   15125:   # assume the GNU/Linux dynamic linker is in use.
                   15126:   dynamic_linker='GNU/Linux ld.so'
                   15127:   ;;
                   15128: 
                   15129: netbsd*)
                   15130:   version_type=sunos
                   15131:   need_lib_prefix=no
                   15132:   need_version=no
                   15133:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   15134:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15135:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   15136:     dynamic_linker='NetBSD (a.out) ld.so'
                   15137:   else
                   15138:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   15139:     soname_spec='${libname}${release}${shared_ext}$major'
                   15140:     dynamic_linker='NetBSD ld.elf_so'
                   15141:   fi
                   15142:   shlibpath_var=LD_LIBRARY_PATH
                   15143:   shlibpath_overrides_runpath=yes
                   15144:   hardcode_into_libs=yes
                   15145:   ;;
                   15146: 
                   15147: newsos6)
                   15148:   version_type=linux # correct to gnu/linux during the next big refactor
                   15149:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15150:   shlibpath_var=LD_LIBRARY_PATH
                   15151:   shlibpath_overrides_runpath=yes
                   15152:   ;;
                   15153: 
                   15154: *nto* | *qnx*)
                   15155:   version_type=qnx
                   15156:   need_lib_prefix=no
                   15157:   need_version=no
                   15158:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15159:   soname_spec='${libname}${release}${shared_ext}$major'
                   15160:   shlibpath_var=LD_LIBRARY_PATH
                   15161:   shlibpath_overrides_runpath=no
                   15162:   hardcode_into_libs=yes
                   15163:   dynamic_linker='ldqnx.so'
                   15164:   ;;
                   15165: 
                   15166: openbsd*)
                   15167:   version_type=sunos
                   15168:   sys_lib_dlsearch_path_spec="/usr/lib"
                   15169:   need_lib_prefix=no
                   15170:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   15171:   case $host_os in
                   15172:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   15173:     *)                         need_version=no  ;;
                   15174:   esac
                   15175:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15176:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   15177:   shlibpath_var=LD_LIBRARY_PATH
                   15178:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   15179:     case $host_os in
                   15180:       openbsd2.[89] | openbsd2.[89].*)
                   15181:        shlibpath_overrides_runpath=no
                   15182:        ;;
                   15183:       *)
                   15184:        shlibpath_overrides_runpath=yes
                   15185:        ;;
                   15186:       esac
                   15187:   else
                   15188:     shlibpath_overrides_runpath=yes
                   15189:   fi
                   15190:   ;;
                   15191: 
                   15192: os2*)
                   15193:   libname_spec='$name'
                   15194:   shrext_cmds=".dll"
                   15195:   need_lib_prefix=no
                   15196:   library_names_spec='$libname${shared_ext} $libname.a'
                   15197:   dynamic_linker='OS/2 ld.exe'
                   15198:   shlibpath_var=LIBPATH
                   15199:   ;;
                   15200: 
                   15201: osf3* | osf4* | osf5*)
                   15202:   version_type=osf
                   15203:   need_lib_prefix=no
                   15204:   need_version=no
                   15205:   soname_spec='${libname}${release}${shared_ext}$major'
                   15206:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15207:   shlibpath_var=LD_LIBRARY_PATH
                   15208:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   15209:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   15210:   ;;
                   15211: 
                   15212: rdos*)
                   15213:   dynamic_linker=no
                   15214:   ;;
                   15215: 
                   15216: solaris*)
                   15217:   version_type=linux # correct to gnu/linux during the next big refactor
                   15218:   need_lib_prefix=no
                   15219:   need_version=no
                   15220:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15221:   soname_spec='${libname}${release}${shared_ext}$major'
                   15222:   shlibpath_var=LD_LIBRARY_PATH
                   15223:   shlibpath_overrides_runpath=yes
                   15224:   hardcode_into_libs=yes
                   15225:   # ldd complains unless libraries are executable
                   15226:   postinstall_cmds='chmod +x $lib'
                   15227:   ;;
                   15228: 
                   15229: sunos4*)
                   15230:   version_type=sunos
                   15231:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15232:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   15233:   shlibpath_var=LD_LIBRARY_PATH
                   15234:   shlibpath_overrides_runpath=yes
                   15235:   if test "$with_gnu_ld" = yes; then
                   15236:     need_lib_prefix=no
                   15237:   fi
                   15238:   need_version=yes
                   15239:   ;;
                   15240: 
                   15241: sysv4 | sysv4.3*)
                   15242:   version_type=linux # correct to gnu/linux during the next big refactor
                   15243:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15244:   soname_spec='${libname}${release}${shared_ext}$major'
                   15245:   shlibpath_var=LD_LIBRARY_PATH
                   15246:   case $host_vendor in
                   15247:     sni)
                   15248:       shlibpath_overrides_runpath=no
                   15249:       need_lib_prefix=no
                   15250:       runpath_var=LD_RUN_PATH
                   15251:       ;;
                   15252:     siemens)
                   15253:       need_lib_prefix=no
                   15254:       ;;
                   15255:     motorola)
                   15256:       need_lib_prefix=no
                   15257:       need_version=no
                   15258:       shlibpath_overrides_runpath=no
                   15259:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   15260:       ;;
                   15261:   esac
                   15262:   ;;
                   15263: 
                   15264: sysv4*MP*)
                   15265:   if test -d /usr/nec ;then
                   15266:     version_type=linux # correct to gnu/linux during the next big refactor
                   15267:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   15268:     soname_spec='$libname${shared_ext}.$major'
                   15269:     shlibpath_var=LD_LIBRARY_PATH
                   15270:   fi
                   15271:   ;;
                   15272: 
                   15273: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   15274:   version_type=freebsd-elf
                   15275:   need_lib_prefix=no
                   15276:   need_version=no
                   15277:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15278:   soname_spec='${libname}${release}${shared_ext}$major'
                   15279:   shlibpath_var=LD_LIBRARY_PATH
                   15280:   shlibpath_overrides_runpath=yes
                   15281:   hardcode_into_libs=yes
                   15282:   if test "$with_gnu_ld" = yes; then
                   15283:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   15284:   else
                   15285:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   15286:     case $host_os in
                   15287:       sco3.2v5*)
                   15288:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   15289:        ;;
                   15290:     esac
                   15291:   fi
                   15292:   sys_lib_dlsearch_path_spec='/usr/lib'
                   15293:   ;;
                   15294: 
                   15295: tpf*)
                   15296:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   15297:   version_type=linux # correct to gnu/linux during the next big refactor
                   15298:   need_lib_prefix=no
                   15299:   need_version=no
                   15300:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15301:   shlibpath_var=LD_LIBRARY_PATH
                   15302:   shlibpath_overrides_runpath=no
                   15303:   hardcode_into_libs=yes
                   15304:   ;;
                   15305: 
                   15306: uts4*)
                   15307:   version_type=linux # correct to gnu/linux during the next big refactor
                   15308:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15309:   soname_spec='${libname}${release}${shared_ext}$major'
                   15310:   shlibpath_var=LD_LIBRARY_PATH
                   15311:   ;;
                   15312: 
                   15313: *)
                   15314:   dynamic_linker=no
                   15315:   ;;
                   15316: esac
1.43      moko     15317: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   15318: $as_echo "$dynamic_linker" >&6; }
1.35      moko     15319: test "$dynamic_linker" = no && can_build_shared=no
                   15320: 
                   15321: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   15322: if test "$GCC" = yes; then
                   15323:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   15324: fi
                   15325: 
                   15326: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   15327:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   15328: fi
                   15329: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   15330:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   15331: fi
                   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: 
                   15369: 
1.43      moko     15370:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   15371: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1.35      moko     15372: hardcode_action_CXX=
                   15373: if test -n "$hardcode_libdir_flag_spec_CXX" ||
                   15374:    test -n "$runpath_var_CXX" ||
                   15375:    test "X$hardcode_automatic_CXX" = "Xyes" ; then
                   15376: 
                   15377:   # We can hardcode non-existent directories.
                   15378:   if test "$hardcode_direct_CXX" != no &&
                   15379:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   15380:      # have to relink, otherwise we might link with an installed library
                   15381:      # when we should be linking with a yet-to-be-installed one
                   15382:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
                   15383:      test "$hardcode_minus_L_CXX" != no; then
                   15384:     # Linking always hardcodes the temporary library directory.
                   15385:     hardcode_action_CXX=relink
                   15386:   else
                   15387:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   15388:     hardcode_action_CXX=immediate
                   15389:   fi
                   15390: else
                   15391:   # We cannot hardcode anything, or else we can only hardcode existing
                   15392:   # directories.
                   15393:   hardcode_action_CXX=unsupported
                   15394: fi
1.43      moko     15395: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
                   15396: $as_echo "$hardcode_action_CXX" >&6; }
1.35      moko     15397: 
                   15398: if test "$hardcode_action_CXX" = relink ||
                   15399:    test "$inherit_rpath_CXX" = yes; then
                   15400:   # Fast installation is not supported
                   15401:   enable_fast_install=no
                   15402: elif test "$shlibpath_overrides_runpath" = yes ||
                   15403:      test "$enable_shared" = no; then
                   15404:   # Fast installation is not necessary
                   15405:   enable_fast_install=needless
                   15406: fi
                   15407: 
                   15408: 
                   15409: 
                   15410: 
                   15411: 
                   15412: 
                   15413: 
                   15414:   fi # test -n "$compiler"
                   15415: 
                   15416:   CC=$lt_save_CC
                   15417:   CFLAGS=$lt_save_CFLAGS
                   15418:   LDCXX=$LD
                   15419:   LD=$lt_save_LD
                   15420:   GCC=$lt_save_GCC
                   15421:   with_gnu_ld=$lt_save_with_gnu_ld
                   15422:   lt_cv_path_LDCXX=$lt_cv_path_LD
                   15423:   lt_cv_path_LD=$lt_save_path_LD
                   15424:   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
                   15425:   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
                   15426: fi # test "$_lt_caught_CXX_error" != yes
                   15427: 
                   15428: ac_ext=c
                   15429: ac_cpp='$CPP $CPPFLAGS'
                   15430: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   15431: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   15432: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   15433: 
                   15434: 
                   15435: 
                   15436: 
                   15437: 
                   15438: 
                   15439: 
                   15440: 
                   15441: 
                   15442: 
                   15443: 
                   15444: 
                   15445: 
                   15446: 
                   15447: 
1.43      moko     15448:         ac_config_commands="$ac_config_commands libtool"
1.35      moko     15449: 
                   15450: 
                   15451: 
                   15452: 
                   15453: # Only expand once:
                   15454: 
                   15455: 
1.43      moko     15456: { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
                   15457: $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
                   15458: if ${libltdl_cv_shlibext+:} false; then :
                   15459:   $as_echo_n "(cached) " >&6
1.35      moko     15460: else
                   15461: 
                   15462: module=yes
                   15463: eval libltdl_cv_shlibext=$shrext_cmds
                   15464: module=no
                   15465: eval libltdl_cv_shrext=$shrext_cmds
                   15466: 
                   15467: fi
1.43      moko     15468: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
                   15469: $as_echo "$libltdl_cv_shlibext" >&6; }
1.35      moko     15470: if test -n "$libltdl_cv_shlibext"; then
                   15471: 
                   15472: cat >>confdefs.h <<_ACEOF
                   15473: #define LT_MODULE_EXT "$libltdl_cv_shlibext"
                   15474: _ACEOF
                   15475: 
                   15476: fi
                   15477: if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
                   15478: 
                   15479: cat >>confdefs.h <<_ACEOF
                   15480: #define LT_SHARED_EXT "$libltdl_cv_shrext"
                   15481: _ACEOF
                   15482: 
                   15483: fi
                   15484: 
1.43      moko     15485: { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
                   15486: $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
                   15487: if ${lt_cv_module_path_var+:} false; then :
                   15488:   $as_echo_n "(cached) " >&6
1.35      moko     15489: else
                   15490:   lt_cv_module_path_var="$shlibpath_var"
                   15491: fi
1.43      moko     15492: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
                   15493: $as_echo "$lt_cv_module_path_var" >&6; }
1.35      moko     15494: if test -n "$lt_cv_module_path_var"; then
                   15495: 
                   15496: cat >>confdefs.h <<_ACEOF
                   15497: #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
                   15498: _ACEOF
                   15499: 
                   15500: fi
                   15501: 
1.43      moko     15502: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
                   15503: $as_echo_n "checking for the default library search path... " >&6; }
                   15504: if ${lt_cv_sys_dlsearch_path+:} false; then :
                   15505:   $as_echo_n "(cached) " >&6
1.35      moko     15506: else
                   15507:   lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
                   15508: fi
1.43      moko     15509: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
                   15510: $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
1.35      moko     15511: if test -n "$lt_cv_sys_dlsearch_path"; then
                   15512:   sys_dlsearch_path=
                   15513:   for dir in $lt_cv_sys_dlsearch_path; do
                   15514:     if test -z "$sys_dlsearch_path"; then
                   15515:       sys_dlsearch_path="$dir"
                   15516:     else
                   15517:       sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
                   15518:     fi
                   15519:   done
                   15520: 
                   15521: cat >>confdefs.h <<_ACEOF
                   15522: #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
                   15523: _ACEOF
                   15524: 
                   15525: fi
                   15526: 
                   15527: 
                   15528: LT_DLLOADERS=
                   15529: 
                   15530: 
                   15531: ac_ext=c
                   15532: ac_cpp='$CPP $CPPFLAGS'
                   15533: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   15534: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   15535: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   15536: 
                   15537: 
                   15538: LIBADD_DLOPEN=
1.43      moko     15539: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
                   15540: $as_echo_n "checking for library containing dlopen... " >&6; }
                   15541: if ${ac_cv_search_dlopen+:} false; then :
                   15542:   $as_echo_n "(cached) " >&6
1.35      moko     15543: else
                   15544:   ac_func_search_save_LIBS=$LIBS
1.43      moko     15545: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     15546: /* end confdefs.h.  */
                   15547: 
1.43      moko     15548: /* Override any GCC internal prototype to avoid an error.
                   15549:    Use char because int might match the return type of a GCC
                   15550:    builtin and then its argument prototype would still apply.  */
1.35      moko     15551: #ifdef __cplusplus
                   15552: extern "C"
                   15553: #endif
                   15554: char dlopen ();
                   15555: int
                   15556: main ()
                   15557: {
1.43      moko     15558: return dlopen ();
1.35      moko     15559:   ;
                   15560:   return 0;
                   15561: }
                   15562: _ACEOF
1.43      moko     15563: for ac_lib in '' dl; do
                   15564:   if test -z "$ac_lib"; then
                   15565:     ac_res="none required"
                   15566:   else
                   15567:     ac_res=-l$ac_lib
                   15568:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   15569:   fi
                   15570:   if ac_fn_c_try_link "$LINENO"; then :
                   15571:   ac_cv_search_dlopen=$ac_res
                   15572: fi
                   15573: rm -f core conftest.err conftest.$ac_objext \
                   15574:     conftest$ac_exeext
                   15575:   if ${ac_cv_search_dlopen+:} false; then :
                   15576:   break
1.35      moko     15577: fi
1.43      moko     15578: done
                   15579: if ${ac_cv_search_dlopen+:} false; then :
1.35      moko     15580: 
                   15581: else
1.43      moko     15582:   ac_cv_search_dlopen=no
1.35      moko     15583: fi
1.43      moko     15584: rm conftest.$ac_ext
1.35      moko     15585: LIBS=$ac_func_search_save_LIBS
                   15586: fi
1.43      moko     15587: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
                   15588: $as_echo "$ac_cv_search_dlopen" >&6; }
                   15589: ac_res=$ac_cv_search_dlopen
                   15590: if test "$ac_res" != no; then :
                   15591:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
1.35      moko     15592: 
1.43      moko     15593: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
1.35      moko     15594: 
                   15595:        if test "$ac_cv_search_dlopen" != "none required" ; then
                   15596:          LIBADD_DLOPEN="-ldl"
                   15597:        fi
                   15598:        libltdl_cv_lib_dl_dlopen="yes"
                   15599:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   15600: else
1.43      moko     15601:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     15602: /* end confdefs.h.  */
                   15603: #if HAVE_DLFCN_H
                   15604: #  include <dlfcn.h>
                   15605: #endif
                   15606: 
                   15607: int
                   15608: main ()
                   15609: {
                   15610: dlopen(0, 0);
                   15611:   ;
                   15612:   return 0;
                   15613: }
                   15614: _ACEOF
1.43      moko     15615: if ac_fn_c_try_link "$LINENO"; then :
1.35      moko     15616: 
1.43      moko     15617: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
1.35      moko     15618: 
                   15619:            libltdl_cv_func_dlopen="yes"
                   15620:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   15621: else
1.43      moko     15622:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   15623: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
                   15624: if ${ac_cv_lib_svld_dlopen+:} false; then :
                   15625:   $as_echo_n "(cached) " >&6
1.35      moko     15626: else
                   15627:   ac_check_lib_save_LIBS=$LIBS
                   15628: LIBS="-lsvld  $LIBS"
1.43      moko     15629: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     15630: /* end confdefs.h.  */
                   15631: 
1.43      moko     15632: /* Override any GCC internal prototype to avoid an error.
                   15633:    Use char because int might match the return type of a GCC
1.35      moko     15634:    builtin and then its argument prototype would still apply.  */
                   15635: #ifdef __cplusplus
1.43      moko     15636: extern "C"
1.35      moko     15637: #endif
1.43      moko     15638: char dlopen ();
1.35      moko     15639: int
                   15640: main ()
                   15641: {
1.43      moko     15642: return dlopen ();
1.35      moko     15643:   ;
                   15644:   return 0;
                   15645: }
                   15646: _ACEOF
1.43      moko     15647: if ac_fn_c_try_link "$LINENO"; then :
                   15648:   ac_cv_lib_svld_dlopen=yes
1.35      moko     15649: else
1.43      moko     15650:   ac_cv_lib_svld_dlopen=no
                   15651: fi
                   15652: rm -f core conftest.err conftest.$ac_objext \
                   15653:     conftest$ac_exeext conftest.$ac_ext
                   15654: LIBS=$ac_check_lib_save_LIBS
                   15655: fi
                   15656: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   15657: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
                   15658: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
                   15659: 
                   15660: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
                   15661: 
                   15662:                LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
                   15663:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   15664: fi
1.35      moko     15665: 
                   15666: fi
1.43      moko     15667: rm -f core conftest.err conftest.$ac_objext \
                   15668:     conftest$ac_exeext conftest.$ac_ext
1.35      moko     15669: fi
1.43      moko     15670: 
                   15671: if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
                   15672: then
                   15673:   lt_save_LIBS="$LIBS"
                   15674:   LIBS="$LIBS $LIBADD_DLOPEN"
                   15675:   for ac_func in dlerror
                   15676: do :
                   15677:   ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
                   15678: if test "x$ac_cv_func_dlerror" = xyes; then :
1.35      moko     15679:   cat >>confdefs.h <<_ACEOF
1.43      moko     15680: #define HAVE_DLERROR 1
1.35      moko     15681: _ACEOF
                   15682: 
                   15683: fi
                   15684: done
                   15685: 
                   15686:   LIBS="$lt_save_LIBS"
                   15687: fi
                   15688: 
                   15689: 
                   15690: LIBADD_SHL_LOAD=
1.43      moko     15691: ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
                   15692: if test "x$ac_cv_func_shl_load" = xyes; then :
1.35      moko     15693: 
1.43      moko     15694: $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
1.35      moko     15695: 
                   15696:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
                   15697: else
1.43      moko     15698:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   15699: $as_echo_n "checking for shl_load in -ldld... " >&6; }
                   15700: if ${ac_cv_lib_dld_shl_load+:} false; then :
                   15701:   $as_echo_n "(cached) " >&6
1.35      moko     15702: else
                   15703:   ac_check_lib_save_LIBS=$LIBS
                   15704: LIBS="-ldld  $LIBS"
1.43      moko     15705: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     15706: /* end confdefs.h.  */
                   15707: 
1.43      moko     15708: /* Override any GCC internal prototype to avoid an error.
                   15709:    Use char because int might match the return type of a GCC
                   15710:    builtin and then its argument prototype would still apply.  */
1.35      moko     15711: #ifdef __cplusplus
                   15712: extern "C"
                   15713: #endif
                   15714: char shl_load ();
                   15715: int
                   15716: main ()
                   15717: {
1.43      moko     15718: return shl_load ();
1.35      moko     15719:   ;
                   15720:   return 0;
                   15721: }
                   15722: _ACEOF
1.43      moko     15723: if ac_fn_c_try_link "$LINENO"; then :
1.35      moko     15724:   ac_cv_lib_dld_shl_load=yes
                   15725: else
1.43      moko     15726:   ac_cv_lib_dld_shl_load=no
1.35      moko     15727: fi
1.43      moko     15728: rm -f core conftest.err conftest.$ac_objext \
                   15729:     conftest$ac_exeext conftest.$ac_ext
1.35      moko     15730: LIBS=$ac_check_lib_save_LIBS
                   15731: fi
1.43      moko     15732: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   15733: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
                   15734: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
1.35      moko     15735: 
1.43      moko     15736: $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
1.35      moko     15737: 
                   15738:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
                   15739:            LIBADD_SHL_LOAD="-ldld"
                   15740: fi
                   15741: 
                   15742: fi
                   15743: 
                   15744: 
                   15745: 
                   15746: case $host_os in
                   15747: darwin[1567].*)
                   15748: # We only want this for pre-Mac OS X 10.4.
1.43      moko     15749:   ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
                   15750: if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
1.35      moko     15751: 
1.43      moko     15752: $as_echo "#define HAVE_DYLD 1" >>confdefs.h
1.35      moko     15753: 
                   15754:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
                   15755: fi
                   15756: 
                   15757:   ;;
                   15758: beos*)
                   15759:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
                   15760:   ;;
                   15761: cygwin* | mingw* | os2* | pw32*)
1.43      moko     15762:   ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
                   15763: "
                   15764: if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
                   15765:   ac_have_decl=1
1.35      moko     15766: else
1.43      moko     15767:   ac_have_decl=0
1.35      moko     15768: fi
                   15769: 
                   15770: cat >>confdefs.h <<_ACEOF
1.43      moko     15771: #define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl
1.35      moko     15772: _ACEOF
                   15773: 
                   15774:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
                   15775:   ;;
                   15776: esac
                   15777: 
1.43      moko     15778: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   15779: $as_echo_n "checking for dld_link in -ldld... " >&6; }
                   15780: if ${ac_cv_lib_dld_dld_link+:} false; then :
                   15781:   $as_echo_n "(cached) " >&6
1.35      moko     15782: else
                   15783:   ac_check_lib_save_LIBS=$LIBS
                   15784: LIBS="-ldld  $LIBS"
1.43      moko     15785: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     15786: /* end confdefs.h.  */
                   15787: 
1.43      moko     15788: /* Override any GCC internal prototype to avoid an error.
                   15789:    Use char because int might match the return type of a GCC
                   15790:    builtin and then its argument prototype would still apply.  */
1.35      moko     15791: #ifdef __cplusplus
                   15792: extern "C"
                   15793: #endif
                   15794: char dld_link ();
                   15795: int
                   15796: main ()
                   15797: {
1.43      moko     15798: return dld_link ();
1.35      moko     15799:   ;
                   15800:   return 0;
                   15801: }
                   15802: _ACEOF
1.43      moko     15803: if ac_fn_c_try_link "$LINENO"; then :
1.35      moko     15804:   ac_cv_lib_dld_dld_link=yes
                   15805: else
1.43      moko     15806:   ac_cv_lib_dld_dld_link=no
1.35      moko     15807: fi
1.43      moko     15808: rm -f core conftest.err conftest.$ac_objext \
                   15809:     conftest$ac_exeext conftest.$ac_ext
1.35      moko     15810: LIBS=$ac_check_lib_save_LIBS
                   15811: fi
1.43      moko     15812: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   15813: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
                   15814: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
1.35      moko     15815: 
1.43      moko     15816: $as_echo "#define HAVE_DLD 1" >>confdefs.h
1.35      moko     15817: 
                   15818:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
                   15819: fi
                   15820: 
                   15821: 
                   15822: 
                   15823: 
                   15824: LT_DLPREOPEN=
                   15825: if test -n "$LT_DLLOADERS"
                   15826: then
                   15827:   for lt_loader in $LT_DLLOADERS; do
                   15828:     LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
                   15829:   done
                   15830: 
1.43      moko     15831: $as_echo "#define HAVE_LIBDLLOADER 1" >>confdefs.h
1.35      moko     15832: 
                   15833: fi
                   15834: 
                   15835: 
                   15836: LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
                   15837: 
                   15838: 
                   15839: ac_ext=c
                   15840: ac_cpp='$CPP $CPPFLAGS'
                   15841: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   15842: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   15843: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   15844: 
                   15845: 
1.43      moko     15846: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
                   15847: $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
                   15848: if ${lt_cv_sys_symbol_underscore+:} false; then :
                   15849:   $as_echo_n "(cached) " >&6
1.35      moko     15850: else
                   15851:   lt_cv_sys_symbol_underscore=no
                   15852:   cat > conftest.$ac_ext <<_LT_EOF
                   15853: void nm_test_func(){}
                   15854: int main(){nm_test_func;return 0;}
                   15855: _LT_EOF
1.43      moko     15856:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.35      moko     15857:   (eval $ac_compile) 2>&5
                   15858:   ac_status=$?
1.43      moko     15859:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   15860:   test $ac_status = 0; }; then
1.35      moko     15861:     # Now try to grab the symbols.
                   15862:     ac_nlist=conftest.nm
1.43      moko     15863:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
1.35      moko     15864:   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
                   15865:   ac_status=$?
1.43      moko     15866:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   15867:   test $ac_status = 0; } && test -s "$ac_nlist"; then
1.35      moko     15868:       # See whether the symbols have a leading underscore.
                   15869:       if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
                   15870:         lt_cv_sys_symbol_underscore=yes
                   15871:       else
                   15872:         if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
                   15873:          :
                   15874:         else
                   15875:          echo "configure: cannot find nm_test_func in $ac_nlist" >&5
                   15876:         fi
                   15877:       fi
                   15878:     else
                   15879:       echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   15880:     fi
                   15881:   else
                   15882:     echo "configure: failed program was:" >&5
                   15883:     cat conftest.c >&5
                   15884:   fi
                   15885:   rm -rf conftest*
                   15886: 
                   15887: fi
1.43      moko     15888: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5
                   15889: $as_echo "$lt_cv_sys_symbol_underscore" >&6; }
1.35      moko     15890:   sys_symbol_underscore=$lt_cv_sys_symbol_underscore
                   15891: 
                   15892: 
                   15893: if test x"$lt_cv_sys_symbol_underscore" = xyes; then
                   15894:   if test x"$libltdl_cv_func_dlopen" = xyes ||
                   15895:      test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
1.43      moko     15896:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
                   15897: $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
                   15898: if ${libltdl_cv_need_uscore+:} false; then :
                   15899:   $as_echo_n "(cached) " >&6
1.35      moko     15900: else
                   15901:   libltdl_cv_need_uscore=unknown
                   15902:           save_LIBS="$LIBS"
                   15903:           LIBS="$LIBS $LIBADD_DLOPEN"
                   15904:          if test "$cross_compiling" = yes; then :
                   15905:   libltdl_cv_need_uscore=cross
                   15906: else
                   15907:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   15908:   lt_status=$lt_dlunknown
                   15909:   cat > conftest.$ac_ext <<_LT_EOF
                   15910: #line $LINENO "configure"
                   15911: #include "confdefs.h"
                   15912: 
                   15913: #if HAVE_DLFCN_H
                   15914: #include <dlfcn.h>
                   15915: #endif
                   15916: 
                   15917: #include <stdio.h>
                   15918: 
                   15919: #ifdef RTLD_GLOBAL
                   15920: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   15921: #else
                   15922: #  ifdef DL_GLOBAL
                   15923: #    define LT_DLGLOBAL                DL_GLOBAL
                   15924: #  else
                   15925: #    define LT_DLGLOBAL                0
                   15926: #  endif
                   15927: #endif
                   15928: 
                   15929: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   15930:    find out it does not work in some platform. */
                   15931: #ifndef LT_DLLAZY_OR_NOW
                   15932: #  ifdef RTLD_LAZY
                   15933: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   15934: #  else
                   15935: #    ifdef DL_LAZY
                   15936: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   15937: #    else
                   15938: #      ifdef RTLD_NOW
                   15939: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   15940: #      else
                   15941: #        ifdef DL_NOW
                   15942: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   15943: #        else
                   15944: #          define LT_DLLAZY_OR_NOW     0
                   15945: #        endif
                   15946: #      endif
                   15947: #    endif
                   15948: #  endif
                   15949: #endif
                   15950: 
                   15951: /* When -fvisbility=hidden is used, assume the code has been annotated
                   15952:    correspondingly for the symbols needed.  */
                   15953: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   15954: int fnord () __attribute__((visibility("default")));
                   15955: #endif
                   15956: 
                   15957: int fnord () { return 42; }
                   15958: int main ()
                   15959: {
                   15960:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   15961:   int status = $lt_dlunknown;
                   15962: 
                   15963:   if (self)
                   15964:     {
                   15965:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   15966:       else
                   15967:         {
                   15968:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   15969:           else puts (dlerror ());
                   15970:        }
                   15971:       /* dlclose (self); */
                   15972:     }
                   15973:   else
                   15974:     puts (dlerror ());
                   15975: 
                   15976:   return status;
                   15977: }
                   15978: _LT_EOF
1.43      moko     15979:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.35      moko     15980:   (eval $ac_link) 2>&5
                   15981:   ac_status=$?
1.43      moko     15982:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   15983:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.35      moko     15984:     (./conftest; exit; ) >&5 2>/dev/null
                   15985:     lt_status=$?
                   15986:     case x$lt_status in
                   15987:       x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
                   15988:       x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
                   15989:       x$lt_dlunknown|x*)  ;;
                   15990:     esac
                   15991:   else :
                   15992:     # compilation failed
                   15993: 
                   15994:   fi
                   15995: fi
                   15996: rm -fr conftest*
                   15997: 
                   15998:          LIBS="$save_LIBS"
                   15999: 
                   16000: fi
1.43      moko     16001: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
                   16002: $as_echo "$libltdl_cv_need_uscore" >&6; }
1.35      moko     16003:   fi
                   16004: fi
                   16005: 
                   16006: if test x"$libltdl_cv_need_uscore" = xyes; then
                   16007: 
1.43      moko     16008: $as_echo "#define NEED_USCORE 1" >>confdefs.h
1.35      moko     16009: 
                   16010: fi
                   16011: 
1.43      moko     16012: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
                   16013: $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
                   16014: if ${lt_cv_sys_dlopen_deplibs+:} false; then :
                   16015:   $as_echo_n "(cached) " >&6
1.35      moko     16016: else
                   16017:   # PORTME does your system automatically load deplibs for dlopen?
                   16018:   # or its logical equivalent (e.g. shl_load for HP-UX < 11)
                   16019:   # For now, we just catch OSes we know something about -- in the
                   16020:   # future, we'll try test this programmatically.
                   16021:   lt_cv_sys_dlopen_deplibs=unknown
                   16022:   case $host_os in
                   16023:   aix3*|aix4.1.*|aix4.2.*)
                   16024:     # Unknown whether this is true for these versions of AIX, but
                   16025:     # we want this `case' here to explicitly catch those versions.
                   16026:     lt_cv_sys_dlopen_deplibs=unknown
                   16027:     ;;
                   16028:   aix[4-9]*)
                   16029:     lt_cv_sys_dlopen_deplibs=yes
                   16030:     ;;
                   16031:   amigaos*)
                   16032:     case $host_cpu in
                   16033:     powerpc)
                   16034:       lt_cv_sys_dlopen_deplibs=no
                   16035:       ;;
                   16036:     esac
                   16037:     ;;
                   16038:   darwin*)
                   16039:     # Assuming the user has installed a libdl from somewhere, this is true
                   16040:     # If you are looking for one http://www.opendarwin.org/projects/dlcompat
                   16041:     lt_cv_sys_dlopen_deplibs=yes
                   16042:     ;;
                   16043:   freebsd* | dragonfly*)
                   16044:     lt_cv_sys_dlopen_deplibs=yes
                   16045:     ;;
                   16046:   gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   16047:     # GNU and its variants, using gnu ld.so (Glibc)
                   16048:     lt_cv_sys_dlopen_deplibs=yes
                   16049:     ;;
                   16050:   hpux10*|hpux11*)
                   16051:     lt_cv_sys_dlopen_deplibs=yes
                   16052:     ;;
                   16053:   interix*)
                   16054:     lt_cv_sys_dlopen_deplibs=yes
                   16055:     ;;
                   16056:   irix[12345]*|irix6.[01]*)
                   16057:     # Catch all versions of IRIX before 6.2, and indicate that we don't
                   16058:     # know how it worked for any of those versions.
                   16059:     lt_cv_sys_dlopen_deplibs=unknown
                   16060:     ;;
                   16061:   irix*)
                   16062:     # The case above catches anything before 6.2, and it's known that
                   16063:     # at 6.2 and later dlopen does load deplibs.
                   16064:     lt_cv_sys_dlopen_deplibs=yes
                   16065:     ;;
                   16066:   netbsd*)
                   16067:     lt_cv_sys_dlopen_deplibs=yes
                   16068:     ;;
                   16069:   openbsd*)
                   16070:     lt_cv_sys_dlopen_deplibs=yes
                   16071:     ;;
                   16072:   osf[1234]*)
                   16073:     # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
                   16074:     # it did *not* use an RPATH in a shared library to find objects the
                   16075:     # library depends on, so we explicitly say `no'.
                   16076:     lt_cv_sys_dlopen_deplibs=no
                   16077:     ;;
                   16078:   osf5.0|osf5.0a|osf5.1)
                   16079:     # dlopen *does* load deplibs and with the right loader patch applied
                   16080:     # it even uses RPATH in a shared library to search for shared objects
                   16081:     # that the library depends on, but there's no easy way to know if that
                   16082:     # patch is installed.  Since this is the case, all we can really
                   16083:     # say is unknown -- it depends on the patch being installed.  If
                   16084:     # it is, this changes to `yes'.  Without it, it would be `no'.
                   16085:     lt_cv_sys_dlopen_deplibs=unknown
                   16086:     ;;
                   16087:   osf*)
                   16088:     # the two cases above should catch all versions of osf <= 5.1.  Read
                   16089:     # the comments above for what we know about them.
                   16090:     # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
                   16091:     # is used to find them so we can finally say `yes'.
                   16092:     lt_cv_sys_dlopen_deplibs=yes
                   16093:     ;;
                   16094:   qnx*)
                   16095:     lt_cv_sys_dlopen_deplibs=yes
                   16096:     ;;
                   16097:   solaris*)
                   16098:     lt_cv_sys_dlopen_deplibs=yes
                   16099:     ;;
                   16100:   sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   16101:     libltdl_cv_sys_dlopen_deplibs=yes
                   16102:     ;;
                   16103:   esac
                   16104: 
                   16105: fi
1.43      moko     16106: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
                   16107: $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
1.35      moko     16108: if test "$lt_cv_sys_dlopen_deplibs" != yes; then
                   16109: 
1.43      moko     16110: $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
1.35      moko     16111: 
                   16112: fi
                   16113: 
                   16114: :
                   16115: 
                   16116: for ac_header in argz.h
1.43      moko     16117: do :
                   16118:   ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
                   16119: "
                   16120: if test "x$ac_cv_header_argz_h" = xyes; then :
1.35      moko     16121:   cat >>confdefs.h <<_ACEOF
1.43      moko     16122: #define HAVE_ARGZ_H 1
1.35      moko     16123: _ACEOF
                   16124: 
                   16125: fi
                   16126: 
                   16127: done
                   16128: 
                   16129: 
1.43      moko     16130: ac_fn_c_check_type "$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H)
                   16131: #  include <argz.h>
1.35      moko     16132: #endif
1.43      moko     16133: "
                   16134: if test "x$ac_cv_type_error_t" = xyes; then :
1.35      moko     16135: 
1.43      moko     16136: cat >>confdefs.h <<_ACEOF
                   16137: #define HAVE_ERROR_T 1
1.35      moko     16138: _ACEOF
1.43      moko     16139: 
                   16140: 
1.35      moko     16141: else
                   16142: 
1.43      moko     16143: $as_echo "#define error_t int" >>confdefs.h
                   16144: 
                   16145: 
                   16146: $as_echo "#define __error_t_defined 1" >>confdefs.h
                   16147: 
1.35      moko     16148: fi
1.43      moko     16149: 
                   16150: 
                   16151: ARGZ_H=
                   16152: for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
                   16153:        argz_next argz_stringify
                   16154: do :
                   16155:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   16156: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   16157: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.35      moko     16158:   cat >>confdefs.h <<_ACEOF
1.43      moko     16159: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.35      moko     16160: _ACEOF
                   16161: 
                   16162: else
                   16163:   ARGZ_H=argz.h;
                   16164: 
                   16165:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   16166: 
                   16167: fi
                   16168: done
                   16169: 
                   16170: 
1.43      moko     16171: if test -z "$ARGZ_H"; then :
                   16172:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
                   16173: $as_echo_n "checking if argz actually works... " >&6; }
                   16174: if ${lt_cv_sys_argz_works+:} false; then :
                   16175:   $as_echo_n "(cached) " >&6
1.35      moko     16176: else
                   16177:   case $host_os in #(
                   16178:         *cygwin*)
                   16179:           lt_cv_sys_argz_works=no
                   16180:           if test "$cross_compiling" != no; then
                   16181:             lt_cv_sys_argz_works="guessing no"
                   16182:           else
                   16183:             lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
                   16184:             save_IFS=$IFS
                   16185:             IFS=-.
                   16186:             set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
                   16187:             IFS=$save_IFS
                   16188:             lt_os_major=${2-0}
                   16189:             lt_os_minor=${3-0}
                   16190:             lt_os_micro=${4-0}
                   16191:             if test "$lt_os_major" -gt 1 \
                   16192:                || { test "$lt_os_major" -eq 1 \
                   16193:                  && { test "$lt_os_minor" -gt 5 \
                   16194:                    || { test "$lt_os_minor" -eq 5 \
                   16195:                      && test "$lt_os_micro" -gt 24; }; }; }; then
                   16196:               lt_cv_sys_argz_works=yes
                   16197:             fi
                   16198:           fi
                   16199:           ;; #(
                   16200:         *) lt_cv_sys_argz_works=yes ;;
                   16201:         esac
                   16202: fi
1.43      moko     16203: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
                   16204: $as_echo "$lt_cv_sys_argz_works" >&6; }
                   16205:      if test "$lt_cv_sys_argz_works" = yes; then :
1.35      moko     16206: 
1.43      moko     16207: $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
1.35      moko     16208: 
                   16209: else
                   16210:   ARGZ_H=argz.h
                   16211: 
                   16212: 
                   16213:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   16214: 
                   16215: fi
                   16216: fi
                   16217: 
                   16218: 
                   16219: 
1.43      moko     16220: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
                   16221: $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
                   16222: if ${libltdl_cv_preloaded_symbols+:} false; then :
                   16223:   $as_echo_n "(cached) " >&6
1.35      moko     16224: else
                   16225:   if test -n "$lt_cv_sys_global_symbol_pipe"; then
                   16226:     libltdl_cv_preloaded_symbols=yes
                   16227:   else
                   16228:     libltdl_cv_preloaded_symbols=no
                   16229:   fi
                   16230: 
                   16231: fi
1.43      moko     16232: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
                   16233: $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
1.35      moko     16234: if test x"$libltdl_cv_preloaded_symbols" = xyes; then
                   16235: 
1.43      moko     16236: $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
1.35      moko     16237: 
                   16238: fi
                   16239: 
1.43      moko     16240: 
                   16241: 
1.35      moko     16242: # Set options
                   16243: 
                   16244: 
                   16245: 
                   16246: 
                   16247: 
                   16248: 
                   16249: 
                   16250: 
                   16251: 
                   16252: 
                   16253: 
                   16254: 
1.43      moko     16255: # Check whether --with-included_ltdl was given.
                   16256: if test "${with_included_ltdl+set}" = set; then :
                   16257:   withval=$with_included_ltdl;
                   16258: fi
1.35      moko     16259: 
                   16260: 
                   16261: if test "x$with_included_ltdl" != xyes; then
                   16262:   # We are not being forced to use the included libltdl sources, so
                   16263:   # decide whether there is a useful installed version we can use.
1.43      moko     16264:   ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
1.35      moko     16265: 
1.43      moko     16266: "
                   16267: if test "x$ac_cv_header_ltdl_h" = xyes; then :
                   16268:   ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
1.35      moko     16269:            #include <ltdl.h>
1.43      moko     16270: "
                   16271: if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
                   16272:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
                   16273: $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
                   16274: if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
                   16275:   $as_echo_n "(cached) " >&6
1.35      moko     16276: else
                   16277:   ac_check_lib_save_LIBS=$LIBS
                   16278: LIBS="-lltdl  $LIBS"
1.43      moko     16279: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.35      moko     16280: /* end confdefs.h.  */
                   16281: 
1.43      moko     16282: /* Override any GCC internal prototype to avoid an error.
                   16283:    Use char because int might match the return type of a GCC
                   16284:    builtin and then its argument prototype would still apply.  */
1.35      moko     16285: #ifdef __cplusplus
                   16286: extern "C"
                   16287: #endif
                   16288: char lt_dladvise_preload ();
                   16289: int
                   16290: main ()
                   16291: {
1.43      moko     16292: return lt_dladvise_preload ();
1.35      moko     16293:   ;
                   16294:   return 0;
                   16295: }
                   16296: _ACEOF
1.43      moko     16297: if ac_fn_c_try_link "$LINENO"; then :
1.35      moko     16298:   ac_cv_lib_ltdl_lt_dladvise_preload=yes
                   16299: else
1.43      moko     16300:   ac_cv_lib_ltdl_lt_dladvise_preload=no
1.35      moko     16301: fi
1.43      moko     16302: rm -f core conftest.err conftest.$ac_objext \
                   16303:     conftest$ac_exeext conftest.$ac_ext
1.35      moko     16304: LIBS=$ac_check_lib_save_LIBS
                   16305: fi
1.43      moko     16306: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
                   16307: $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
                   16308: if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
1.35      moko     16309:   with_included_ltdl=no
                   16310: else
                   16311:   with_included_ltdl=yes
                   16312: fi
                   16313: 
                   16314: else
                   16315:   with_included_ltdl=yes
                   16316: fi
                   16317: 
                   16318: else
                   16319:   with_included_ltdl=yes
                   16320: fi
                   16321: 
                   16322: 
                   16323: fi
                   16324: 
                   16325: 
                   16326: 
                   16327: 
1.43      moko     16328: # Check whether --with-ltdl_include was given.
                   16329: if test "${with_ltdl_include+set}" = set; then :
                   16330:   withval=$with_ltdl_include;
                   16331: fi
1.35      moko     16332: 
                   16333: 
                   16334: if test -n "$with_ltdl_include"; then
                   16335:   if test -f "$with_ltdl_include/ltdl.h"; then :
                   16336:   else
1.43      moko     16337:     as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
1.35      moko     16338:   fi
                   16339: else
                   16340:   with_ltdl_include=no
                   16341: fi
                   16342: 
                   16343: 
1.43      moko     16344: # Check whether --with-ltdl_lib was given.
                   16345: if test "${with_ltdl_lib+set}" = set; then :
                   16346:   withval=$with_ltdl_lib;
                   16347: fi
1.35      moko     16348: 
                   16349: 
                   16350: if test -n "$with_ltdl_lib"; then
                   16351:   if test -f "$with_ltdl_lib/libltdl.la"; then :
                   16352:   else
1.43      moko     16353:     as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
1.35      moko     16354:   fi
                   16355: else
                   16356:   with_ltdl_lib=no
                   16357: fi
                   16358: 
                   16359: case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
                   16360:   ,yes,no,no,)
                   16361:        case $enable_ltdl_convenience in
1.43      moko     16362:   no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
1.35      moko     16363:   "") enable_ltdl_convenience=yes
                   16364:       ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
                   16365: esac
1.43      moko     16366: LIBLTDL='${top_build_prefix}'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
1.35      moko     16367: LTDLDEPS=$LIBLTDL
                   16368: LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
                   16369: 
                   16370: 
                   16371: 
                   16372: 
                   16373: 
                   16374: # For backwards non-gettext consistent compatibility...
                   16375: INCLTDL="$LTDLINCL"
                   16376: 
                   16377: 
                   16378:        ;;
                   16379:   ,no,no,no,)
                   16380:        # If the included ltdl is not to be used, then use the
                   16381:        # preinstalled libltdl we found.
                   16382: 
1.43      moko     16383: $as_echo "#define HAVE_LTDL 1" >>confdefs.h
1.35      moko     16384: 
                   16385:        LIBLTDL=-lltdl
                   16386:        LTDLDEPS=
                   16387:        LTDLINCL=
                   16388:        ;;
                   16389:   ,no*,no,*)
1.43      moko     16390:        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
1.35      moko     16391:        ;;
                   16392:   *)   with_included_ltdl=no
                   16393:        LIBLTDL="-L$with_ltdl_lib -lltdl"
                   16394:        LTDLDEPS=
                   16395:        LTDLINCL="-I$with_ltdl_include"
                   16396:        ;;
                   16397: esac
                   16398: INCLTDL="$LTDLINCL"
                   16399: 
                   16400: # Report our decision...
1.43      moko     16401: { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5
                   16402: $as_echo_n "checking where to find libltdl headers... " >&6; }
                   16403: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LTDLINCL" >&5
                   16404: $as_echo "$LTDLINCL" >&6; }
                   16405: { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl library" >&5
                   16406: $as_echo_n "checking where to find libltdl library... " >&6; }
                   16407: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBLTDL" >&5
                   16408: $as_echo "$LIBLTDL" >&6; }
1.35      moko     16409: 
                   16410: 
                   16411: 
1.43      moko     16412: # Check whether --enable-ltdl-install was given.
                   16413: if test "${enable_ltdl_install+set}" = set; then :
                   16414:   enableval=$enable_ltdl_install;
                   16415: fi
1.35      moko     16416: 
                   16417: 
                   16418: case ,${enable_ltdl_install},${enable_ltdl_convenience} in
                   16419:   *yes*) ;;
                   16420:   *) enable_ltdl_convenience=yes ;;
                   16421: esac
                   16422: 
1.43      moko     16423:  if test x"${enable_ltdl_install-no}" != xno; then
1.35      moko     16424:   INSTALL_LTDL_TRUE=
                   16425:   INSTALL_LTDL_FALSE='#'
                   16426: else
                   16427:   INSTALL_LTDL_TRUE='#'
                   16428:   INSTALL_LTDL_FALSE=
                   16429: fi
                   16430: 
1.43      moko     16431:   if test x"${enable_ltdl_convenience-no}" != xno; then
1.35      moko     16432:   CONVENIENCE_LTDL_TRUE=
                   16433:   CONVENIENCE_LTDL_FALSE='#'
                   16434: else
                   16435:   CONVENIENCE_LTDL_TRUE='#'
                   16436:   CONVENIENCE_LTDL_FALSE=
                   16437: fi
                   16438: 
                   16439: 
                   16440: 
1.43      moko     16441:     subdirs="$subdirs libltdl"
1.35      moko     16442: 
                   16443: 
                   16444: 
                   16445: 
                   16446: # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
                   16447: # the user used.  This is so that ltdl.h can pick up the parent projects
                   16448: # config.h file, The first file in AC_CONFIG_HEADERS must contain the
                   16449: # definitions required by ltdl.c.
                   16450: # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
                   16451: 
                   16452: 
                   16453: 
                   16454: for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
1.43      moko     16455: do :
                   16456:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   16457: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   16458: "
                   16459: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1.35      moko     16460:   cat >>confdefs.h <<_ACEOF
1.43      moko     16461: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.35      moko     16462: _ACEOF
                   16463: 
                   16464: fi
                   16465: 
                   16466: done
                   16467: 
                   16468: 
                   16469: for ac_func in closedir opendir readdir
1.43      moko     16470: do :
                   16471:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   16472: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   16473: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.35      moko     16474:   cat >>confdefs.h <<_ACEOF
1.43      moko     16475: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.35      moko     16476: _ACEOF
                   16477: 
                   16478: else
                   16479: 
                   16480: 
                   16481:   _LT_LIBOBJS="$_LT_LIBOBJS lt__dirent.$ac_objext"
                   16482: 
                   16483: fi
                   16484: done
                   16485: 
                   16486: for ac_func in strlcat strlcpy
1.43      moko     16487: do :
                   16488:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   16489: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   16490: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.35      moko     16491:   cat >>confdefs.h <<_ACEOF
1.43      moko     16492: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.35      moko     16493: _ACEOF
                   16494: 
                   16495: else
                   16496: 
                   16497: 
                   16498:   _LT_LIBOBJS="$_LT_LIBOBJS lt__strl.$ac_objext"
                   16499: 
                   16500: fi
                   16501: done
                   16502: 
                   16503: 
                   16504: 
                   16505: cat >>confdefs.h <<_ACEOF
                   16506: #define LT_LIBEXT "$libext"
                   16507: _ACEOF
                   16508: 
                   16509: 
                   16510: name=
                   16511: eval "lt_libprefix=\"$libname_spec\""
                   16512: 
                   16513: cat >>confdefs.h <<_ACEOF
                   16514: #define LT_LIBPREFIX "$lt_libprefix"
                   16515: _ACEOF
                   16516: 
                   16517: 
                   16518: name=ltdl
                   16519: eval "LTDLOPEN=\"$libname_spec\""
                   16520: 
                   16521: 
                   16522: 
                   16523: 
                   16524: 
                   16525: 
                   16526: 
                   16527: 
                   16528: # Only expand once:
                   16529: 
                   16530: 
                   16531: 
1.36      moko     16532: 
1.43      moko     16533: for ac_header in stdio.h \
                   16534: stdlib.h \
                   16535: string.h \
                   16536: setjmp.h \
                   16537: ctype.h
                   16538: 
                   16539: do :
                   16540:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   16541: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   16542: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1.35      moko     16543:   cat >>confdefs.h <<_ACEOF
1.43      moko     16544: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.35      moko     16545: _ACEOF
                   16546: 
                   16547: fi
                   16548: 
                   16549: done
                   16550: 
                   16551: 
1.43      moko     16552: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
                   16553: if test "x$ac_cv_type_size_t" = xyes; then :
1.35      moko     16554: 
                   16555: else
                   16556: 
                   16557: cat >>confdefs.h <<_ACEOF
1.43      moko     16558: #define size_t unsigned int
1.35      moko     16559: _ACEOF
                   16560: 
                   16561: fi
                   16562: 
                   16563: 
                   16564: 
1.43      moko     16565: ac_config_files="$ac_config_files Makefile"
                   16566: 
1.35      moko     16567: cat >confcache <<\_ACEOF
                   16568: # This file is a shell script that caches the results of configure
                   16569: # tests run on this system so they can be shared between configure
                   16570: # scripts and configure runs, see configure's option --config-cache.
                   16571: # It is not useful on other systems.  If it contains results you don't
                   16572: # want to keep, you may remove or edit it.
                   16573: #
                   16574: # config.status only pays attention to the cache file if you give it
                   16575: # the --recheck option to rerun configure.
                   16576: #
                   16577: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   16578: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   16579: # following values.
                   16580: 
                   16581: _ACEOF
                   16582: 
                   16583: # The following way of writing the cache mishandles newlines in values,
                   16584: # but we know of no workaround that is simple, portable, and efficient.
1.43      moko     16585: # So, we kill variables containing newlines.
1.35      moko     16586: # Ultrix sh set writes to stderr and can't be redirected directly,
                   16587: # and sets the high bit in the cache file unless we assign to the vars.
1.43      moko     16588: (
                   16589:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   16590:     eval ac_val=\$$ac_var
                   16591:     case $ac_val in #(
                   16592:     *${as_nl}*)
                   16593:       case $ac_var in #(
                   16594:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   16595: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   16596:       esac
                   16597:       case $ac_var in #(
                   16598:       _ | IFS | as_nl) ;; #(
                   16599:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   16600:       *) { eval $ac_var=; unset $ac_var;} ;;
                   16601:       esac ;;
                   16602:     esac
                   16603:   done
                   16604: 
1.35      moko     16605:   (set) 2>&1 |
1.43      moko     16606:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   16607:     *${as_nl}ac_space=\ *)
                   16608:       # `set' does not quote correctly, so add quotes: double-quote
                   16609:       # substitution turns \\\\ into \\, and sed turns \\ into \.
1.35      moko     16610:       sed -n \
                   16611:        "s/'/'\\\\''/g;
                   16612:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1.43      moko     16613:       ;; #(
1.35      moko     16614:     *)
                   16615:       # `set' quotes correctly as required by POSIX, so do not add quotes.
1.43      moko     16616:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.35      moko     16617:       ;;
1.43      moko     16618:     esac |
                   16619:     sort
                   16620: ) |
1.35      moko     16621:   sed '
1.43      moko     16622:      /^ac_cv_env_/b end
1.35      moko     16623:      t clear
1.43      moko     16624:      :clear
1.35      moko     16625:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   16626:      t end
1.43      moko     16627:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   16628:      :end' >>confcache
                   16629: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   16630:   if test -w "$cache_file"; then
                   16631:     if test "x$cache_file" != "x/dev/null"; then
                   16632:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
                   16633: $as_echo "$as_me: updating cache $cache_file" >&6;}
                   16634:       if test ! -f "$cache_file" || test -h "$cache_file"; then
                   16635:        cat confcache >"$cache_file"
                   16636:       else
                   16637:         case $cache_file in #(
                   16638:         */* | ?:*)
                   16639:          mv -f confcache "$cache_file"$$ &&
                   16640:          mv -f "$cache_file"$$ "$cache_file" ;; #(
                   16641:         *)
                   16642:          mv -f confcache "$cache_file" ;;
                   16643:        esac
                   16644:       fi
                   16645:     fi
1.35      moko     16646:   else
1.43      moko     16647:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
                   16648: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1.35      moko     16649:   fi
                   16650: fi
                   16651: rm -f confcache
                   16652: 
                   16653: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   16654: # Let make expand exec_prefix.
                   16655: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   16656: 
                   16657: DEFS=-DHAVE_CONFIG_H
                   16658: 
                   16659: ac_libobjs=
                   16660: ac_ltlibobjs=
1.43      moko     16661: U=
1.35      moko     16662: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   16663:   # 1. Remove the extension, and $U if already installed.
1.43      moko     16664:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
                   16665:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
                   16666:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   16667:   #    will be set to the directory where LIBOBJS objects are built.
                   16668:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   16669:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
1.35      moko     16670: done
                   16671: LIBOBJS=$ac_libobjs
                   16672: 
                   16673: LTLIBOBJS=$ac_ltlibobjs
                   16674: 
                   16675: 
1.43      moko     16676:  if test -n "$EXEEXT"; then
                   16677:   am__EXEEXT_TRUE=
                   16678:   am__EXEEXT_FALSE='#'
                   16679: else
                   16680:   am__EXEEXT_TRUE='#'
                   16681:   am__EXEEXT_FALSE=
                   16682: fi
                   16683: 
1.35      moko     16684: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
1.43      moko     16685:   as_fn_error $? "conditional \"AMDEP\" was never defined.
                   16686: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.35      moko     16687: fi
                   16688: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
1.43      moko     16689:   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
                   16690: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.35      moko     16691: fi
                   16692: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.43      moko     16693:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
                   16694: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.35      moko     16695: fi
                   16696: if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
1.43      moko     16697:   as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
                   16698: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.35      moko     16699: fi
                   16700: if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
1.43      moko     16701:   as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
                   16702: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.35      moko     16703: fi
1.43      moko     16704: LT_CONFIG_H=config_auto.h
1.35      moko     16705: 
                   16706:     _ltdl_libobjs=
                   16707:     _ltdl_ltlibobjs=
                   16708:     if test -n "$_LT_LIBOBJS"; then
                   16709:       # Remove the extension.
                   16710:       _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
                   16711:       for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
                   16712:         _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
                   16713:         _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
                   16714:       done
                   16715:     fi
                   16716:     ltdl_LIBOBJS=$_ltdl_libobjs
                   16717: 
                   16718:     ltdl_LTLIBOBJS=$_ltdl_ltlibobjs
                   16719: 
                   16720: 
                   16721: 
1.43      moko     16722: : "${CONFIG_STATUS=./config.status}"
                   16723: ac_write_fail=0
1.35      moko     16724: ac_clean_files_save=$ac_clean_files
                   16725: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.43      moko     16726: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
                   16727: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   16728: as_write_fail=0
                   16729: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1.35      moko     16730: #! $SHELL
                   16731: # Generated by $as_me.
                   16732: # Run this file to recreate the current configuration.
                   16733: # Compiler output produced by configure, useful for debugging
                   16734: # configure, is in config.log if it exists.
                   16735: 
                   16736: debug=false
                   16737: ac_cs_recheck=false
                   16738: ac_cs_silent=false
1.43      moko     16739: 
1.35      moko     16740: SHELL=\${CONFIG_SHELL-$SHELL}
1.43      moko     16741: export SHELL
                   16742: _ASEOF
                   16743: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
                   16744: ## -------------------- ##
                   16745: ## M4sh Initialization. ##
                   16746: ## -------------------- ##
1.35      moko     16747: 
1.43      moko     16748: # Be more Bourne compatible
                   16749: DUALCASE=1; export DUALCASE # for MKS sh
                   16750: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.35      moko     16751:   emulate sh
                   16752:   NULLCMD=:
1.43      moko     16753:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.35      moko     16754:   # is contrary to our usage.  Disable this feature.
                   16755:   alias -g '${1+"$@"}'='"$@"'
1.43      moko     16756:   setopt NO_GLOB_SUBST
                   16757: else
                   16758:   case `(set -o) 2>/dev/null` in #(
                   16759:   *posix*) :
                   16760:     set -o posix ;; #(
                   16761:   *) :
                   16762:      ;;
                   16763: esac
                   16764: fi
                   16765: 
                   16766: 
                   16767: as_nl='
                   16768: '
                   16769: export as_nl
                   16770: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                   16771: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   16772: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                   16773: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                   16774: # Prefer a ksh shell builtin over an external printf program on Solaris,
                   16775: # but without wasting forks for bash or zsh.
                   16776: if test -z "$BASH_VERSION$ZSH_VERSION" \
                   16777:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                   16778:   as_echo='print -r --'
                   16779:   as_echo_n='print -rn --'
                   16780: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                   16781:   as_echo='printf %s\n'
                   16782:   as_echo_n='printf %s'
                   16783: else
                   16784:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                   16785:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                   16786:     as_echo_n='/usr/ucb/echo -n'
                   16787:   else
                   16788:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                   16789:     as_echo_n_body='eval
                   16790:       arg=$1;
                   16791:       case $arg in #(
                   16792:       *"$as_nl"*)
                   16793:        expr "X$arg" : "X\\(.*\\)$as_nl";
                   16794:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                   16795:       esac;
                   16796:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                   16797:     '
                   16798:     export as_echo_n_body
                   16799:     as_echo_n='sh -c $as_echo_n_body as_echo'
                   16800:   fi
                   16801:   export as_echo_body
                   16802:   as_echo='sh -c $as_echo_body as_echo'
1.35      moko     16803: fi
                   16804: 
1.43      moko     16805: # The user is always right.
                   16806: if test "${PATH_SEPARATOR+set}" != set; then
                   16807:   PATH_SEPARATOR=:
                   16808:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   16809:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   16810:       PATH_SEPARATOR=';'
                   16811:   }
1.35      moko     16812: fi
                   16813: 
                   16814: 
1.43      moko     16815: # IFS
                   16816: # We need space, tab and new line, in precisely that order.  Quoting is
                   16817: # there to prevent editors from complaining about space-tab.
                   16818: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                   16819: # splitting by setting IFS to empty value.)
                   16820: IFS=" ""       $as_nl"
                   16821: 
                   16822: # Find who we are.  Look in the path if we contain no directory separator.
                   16823: as_myself=
                   16824: case $0 in #((
                   16825:   *[\\/]* ) as_myself=$0 ;;
                   16826:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   16827: for as_dir in $PATH
                   16828: do
                   16829:   IFS=$as_save_IFS
                   16830:   test -z "$as_dir" && as_dir=.
                   16831:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   16832:   done
                   16833: IFS=$as_save_IFS
                   16834: 
                   16835:      ;;
                   16836: esac
                   16837: # We did not find ourselves, most probably we were run as `sh COMMAND'
                   16838: # in which case we are not to be found in the path.
                   16839: if test "x$as_myself" = x; then
                   16840:   as_myself=$0
                   16841: fi
                   16842: if test ! -f "$as_myself"; then
                   16843:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                   16844:   exit 1
                   16845: fi
                   16846: 
                   16847: # Unset variables that we do not need and which cause bugs (e.g. in
                   16848: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                   16849: # suppresses any "Segmentation fault" message there.  '((' could
                   16850: # trigger a bug in pdksh 5.2.14.
                   16851: for as_var in BASH_ENV ENV MAIL MAILPATH
                   16852: do eval test x\${$as_var+set} = xset \
                   16853:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                   16854: done
1.35      moko     16855: PS1='$ '
                   16856: PS2='> '
                   16857: PS4='+ '
                   16858: 
                   16859: # NLS nuisances.
1.43      moko     16860: LC_ALL=C
                   16861: export LC_ALL
                   16862: LANGUAGE=C
                   16863: export LANGUAGE
                   16864: 
                   16865: # CDPATH.
                   16866: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   16867: 
                   16868: 
                   16869: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                   16870: # ----------------------------------------
                   16871: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                   16872: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                   16873: # script with STATUS, using 1 if that was 0.
                   16874: as_fn_error ()
                   16875: {
                   16876:   as_status=$1; test $as_status -eq 0 && as_status=1
                   16877:   if test "$4"; then
                   16878:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   16879:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                   16880:   fi
                   16881:   $as_echo "$as_me: error: $2" >&2
                   16882:   as_fn_exit $as_status
                   16883: } # as_fn_error
                   16884: 
                   16885: 
                   16886: # as_fn_set_status STATUS
                   16887: # -----------------------
                   16888: # Set $? to STATUS, without forking.
                   16889: as_fn_set_status ()
                   16890: {
                   16891:   return $1
                   16892: } # as_fn_set_status
                   16893: 
                   16894: # as_fn_exit STATUS
                   16895: # -----------------
                   16896: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                   16897: as_fn_exit ()
                   16898: {
                   16899:   set +e
                   16900:   as_fn_set_status $1
                   16901:   exit $1
                   16902: } # as_fn_exit
                   16903: 
                   16904: # as_fn_unset VAR
                   16905: # ---------------
                   16906: # Portably unset VAR.
                   16907: as_fn_unset ()
                   16908: {
                   16909:   { eval $1=; unset $1;}
                   16910: }
                   16911: as_unset=as_fn_unset
                   16912: # as_fn_append VAR VALUE
                   16913: # ----------------------
                   16914: # Append the text in VALUE to the end of the definition contained in VAR. Take
                   16915: # advantage of any shell optimizations that allow amortized linear growth over
                   16916: # repeated appends, instead of the typical quadratic growth present in naive
                   16917: # implementations.
                   16918: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                   16919:   eval 'as_fn_append ()
                   16920:   {
                   16921:     eval $1+=\$2
                   16922:   }'
                   16923: else
                   16924:   as_fn_append ()
                   16925:   {
                   16926:     eval $1=\$$1\$2
                   16927:   }
                   16928: fi # as_fn_append
                   16929: 
                   16930: # as_fn_arith ARG...
                   16931: # ------------------
                   16932: # Perform arithmetic evaluation on the ARGs, and store the result in the
                   16933: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                   16934: # must be portable across $(()) and expr.
                   16935: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                   16936:   eval 'as_fn_arith ()
                   16937:   {
                   16938:     as_val=$(( $* ))
                   16939:   }'
                   16940: else
                   16941:   as_fn_arith ()
                   16942:   {
                   16943:     as_val=`expr "$@" || test $? -eq 1`
                   16944:   }
                   16945: fi # as_fn_arith
                   16946: 
1.35      moko     16947: 
1.43      moko     16948: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   16949:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.35      moko     16950:   as_expr=expr
                   16951: else
                   16952:   as_expr=false
                   16953: fi
                   16954: 
1.43      moko     16955: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1.35      moko     16956:   as_basename=basename
                   16957: else
                   16958:   as_basename=false
                   16959: fi
                   16960: 
1.43      moko     16961: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   16962:   as_dirname=dirname
                   16963: else
                   16964:   as_dirname=false
                   16965: fi
1.35      moko     16966: 
1.43      moko     16967: as_me=`$as_basename -- "$0" ||
1.35      moko     16968: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   16969:         X"$0" : 'X\(//\)$' \| \
1.43      moko     16970:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                   16971: $as_echo X/"$0" |
                   16972:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   16973:            s//\1/
                   16974:            q
                   16975:          }
                   16976:          /^X\/\(\/\/\)$/{
                   16977:            s//\1/
                   16978:            q
                   16979:          }
                   16980:          /^X\/\(\/\).*/{
                   16981:            s//\1/
                   16982:            q
                   16983:          }
                   16984:          s/.*/./; q'`
1.35      moko     16985: 
                   16986: # Avoid depending upon Character Ranges.
                   16987: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   16988: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   16989: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   16990: as_cr_digits='0123456789'
                   16991: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   16992: 
1.43      moko     16993: ECHO_C= ECHO_N= ECHO_T=
                   16994: case `echo -n x` in #(((((
                   16995: -n*)
                   16996:   case `echo 'xy\c'` in
                   16997:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                   16998:   xy)  ECHO_C='\c';;
                   16999:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                   17000:        ECHO_T='        ';;
                   17001:   esac;;
                   17002: *)
                   17003:   ECHO_N='-n';;
1.35      moko     17004: esac
                   17005: 
1.43      moko     17006: rm -f conf$$ conf$$.exe conf$$.file
                   17007: if test -d conf$$.dir; then
                   17008:   rm -f conf$$.dir/conf$$.file
1.35      moko     17009: else
1.43      moko     17010:   rm -f conf$$.dir
                   17011:   mkdir conf$$.dir 2>/dev/null
1.35      moko     17012: fi
1.43      moko     17013: if (echo >conf$$.file) 2>/dev/null; then
                   17014:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   17015:     as_ln_s='ln -s'
                   17016:     # ... but there are two gotchas:
                   17017:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                   17018:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1.49      moko     17019:     # In both cases, we have to default to `cp -pR'.
1.43      moko     17020:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.49      moko     17021:       as_ln_s='cp -pR'
1.43      moko     17022:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   17023:     as_ln_s=ln
                   17024:   else
1.49      moko     17025:     as_ln_s='cp -pR'
1.35      moko     17026:   fi
                   17027: else
1.49      moko     17028:   as_ln_s='cp -pR'
1.35      moko     17029: fi
1.43      moko     17030: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   17031: rmdir conf$$.dir 2>/dev/null
                   17032: 
                   17033: 
                   17034: # as_fn_mkdir_p
                   17035: # -------------
                   17036: # Create "$as_dir" as a directory, including parents if necessary.
                   17037: as_fn_mkdir_p ()
                   17038: {
                   17039: 
                   17040:   case $as_dir in #(
                   17041:   -*) as_dir=./$as_dir;;
                   17042:   esac
                   17043:   test -d "$as_dir" || eval $as_mkdir_p || {
                   17044:     as_dirs=
                   17045:     while :; do
                   17046:       case $as_dir in #(
                   17047:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                   17048:       *) as_qdir=$as_dir;;
                   17049:       esac
                   17050:       as_dirs="'$as_qdir' $as_dirs"
                   17051:       as_dir=`$as_dirname -- "$as_dir" ||
                   17052: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   17053:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   17054:         X"$as_dir" : 'X\(//\)$' \| \
                   17055:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                   17056: $as_echo X"$as_dir" |
                   17057:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   17058:            s//\1/
                   17059:            q
                   17060:          }
                   17061:          /^X\(\/\/\)[^/].*/{
                   17062:            s//\1/
                   17063:            q
                   17064:          }
                   17065:          /^X\(\/\/\)$/{
                   17066:            s//\1/
                   17067:            q
                   17068:          }
                   17069:          /^X\(\/\).*/{
                   17070:            s//\1/
                   17071:            q
                   17072:          }
                   17073:          s/.*/./; q'`
                   17074:       test -d "$as_dir" && break
                   17075:     done
                   17076:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                   17077:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                   17078: 
1.35      moko     17079: 
1.43      moko     17080: } # as_fn_mkdir_p
1.35      moko     17081: if mkdir -p . 2>/dev/null; then
1.43      moko     17082:   as_mkdir_p='mkdir -p "$as_dir"'
1.35      moko     17083: else
                   17084:   test -d ./-p && rmdir ./-p
                   17085:   as_mkdir_p=false
                   17086: fi
                   17087: 
1.49      moko     17088: 
                   17089: # as_fn_executable_p FILE
                   17090: # -----------------------
                   17091: # Test if FILE is an executable regular file.
                   17092: as_fn_executable_p ()
                   17093: {
                   17094:   test -f "$1" && test -x "$1"
                   17095: } # as_fn_executable_p
                   17096: as_test_x='test -x'
                   17097: as_executable_p=as_fn_executable_p
1.35      moko     17098: 
                   17099: # Sed expression to map a string onto a valid CPP name.
                   17100: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                   17101: 
                   17102: # Sed expression to map a string onto a valid variable name.
                   17103: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                   17104: 
                   17105: 
                   17106: exec 6>&1
1.43      moko     17107: ## ----------------------------------- ##
                   17108: ## Main body of $CONFIG_STATUS script. ##
                   17109: ## ----------------------------------- ##
                   17110: _ASEOF
                   17111: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
1.35      moko     17112: 
1.43      moko     17113: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   17114: # Save the log message, to keep $0 and so on meaningful, and to
1.35      moko     17115: # report actual input values of CONFIG_FILES etc. instead of their
1.43      moko     17116: # values after options handling.
                   17117: ac_log="
1.54      moko     17118: This file was extended by parser3mysql $as_me 10.9, which was
1.49      moko     17119: generated by GNU Autoconf 2.69.  Invocation command line was
1.35      moko     17120: 
                   17121:   CONFIG_FILES    = $CONFIG_FILES
                   17122:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   17123:   CONFIG_LINKS    = $CONFIG_LINKS
                   17124:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   17125:   $ $0 $@
                   17126: 
1.43      moko     17127: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   17128: "
                   17129: 
1.35      moko     17130: _ACEOF
                   17131: 
1.43      moko     17132: case $ac_config_files in *"
                   17133: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   17134: esac
1.35      moko     17135: 
1.43      moko     17136: case $ac_config_headers in *"
                   17137: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
                   17138: esac
1.35      moko     17139: 
                   17140: 
1.43      moko     17141: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   17142: # Files that config.status was made for.
                   17143: config_files="$ac_config_files"
                   17144: config_headers="$ac_config_headers"
                   17145: config_commands="$ac_config_commands"
1.35      moko     17146: 
1.43      moko     17147: _ACEOF
1.35      moko     17148: 
1.43      moko     17149: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.35      moko     17150: ac_cs_usage="\
1.43      moko     17151: \`$as_me' instantiates files and other configuration actions
                   17152: from templates according to the current configuration.  Unless the files
                   17153: and actions are specified as TAGs, all are instantiated by default.
1.35      moko     17154: 
1.43      moko     17155: Usage: $0 [OPTION]... [TAG]...
1.35      moko     17156: 
                   17157:   -h, --help       print this help, then exit
1.43      moko     17158:   -V, --version    print version number and configuration settings, then exit
                   17159:       --config     print configuration, then exit
                   17160:   -q, --quiet, --silent
                   17161:                    do not print progress messages
1.35      moko     17162:   -d, --debug      don't remove temporary files
                   17163:       --recheck    update $as_me by reconfiguring in the same conditions
1.43      moko     17164:       --file=FILE[:TEMPLATE]
                   17165:                    instantiate the configuration file FILE
                   17166:       --header=FILE[:TEMPLATE]
                   17167:                    instantiate the configuration header FILE
1.35      moko     17168: 
                   17169: Configuration files:
                   17170: $config_files
                   17171: 
                   17172: Configuration headers:
                   17173: $config_headers
                   17174: 
                   17175: Configuration commands:
                   17176: $config_commands
                   17177: 
1.43      moko     17178: Report bugs to the package provider."
                   17179: 
1.35      moko     17180: _ACEOF
1.43      moko     17181: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   17182: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1.35      moko     17183: ac_cs_version="\\
1.54      moko     17184: parser3mysql config.status 10.9
1.49      moko     17185: configured by $0, generated by GNU Autoconf 2.69,
1.43      moko     17186:   with options \\"\$ac_cs_config\\"
1.35      moko     17187: 
1.49      moko     17188: Copyright (C) 2012 Free Software Foundation, Inc.
1.35      moko     17189: This config.status script is free software; the Free Software Foundation
                   17190: gives unlimited permission to copy, distribute and modify it."
1.43      moko     17191: 
                   17192: ac_pwd='$ac_pwd'
                   17193: srcdir='$srcdir'
                   17194: INSTALL='$INSTALL'
                   17195: MKDIR_P='$MKDIR_P'
                   17196: AWK='$AWK'
                   17197: test -n "\$AWK" || AWK=awk
1.35      moko     17198: _ACEOF
                   17199: 
1.43      moko     17200: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   17201: # The default lists apply if the user does not specify any file.
1.35      moko     17202: ac_need_defaults=:
                   17203: while test $# != 0
                   17204: do
                   17205:   case $1 in
1.43      moko     17206:   --*=?*)
                   17207:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   17208:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
                   17209:     ac_shift=:
                   17210:     ;;
                   17211:   --*=)
                   17212:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   17213:     ac_optarg=
1.35      moko     17214:     ac_shift=:
                   17215:     ;;
1.43      moko     17216:   *)
1.35      moko     17217:     ac_option=$1
                   17218:     ac_optarg=$2
                   17219:     ac_shift=shift
                   17220:     ;;
                   17221:   esac
                   17222: 
                   17223:   case $ac_option in
                   17224:   # Handling of the options.
                   17225:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   17226:     ac_cs_recheck=: ;;
1.43      moko     17227:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
                   17228:     $as_echo "$ac_cs_version"; exit ;;
                   17229:   --config | --confi | --conf | --con | --co | --c )
                   17230:     $as_echo "$ac_cs_config"; exit ;;
                   17231:   --debug | --debu | --deb | --de | --d | -d )
1.35      moko     17232:     debug=: ;;
                   17233:   --file | --fil | --fi | --f )
                   17234:     $ac_shift
1.43      moko     17235:     case $ac_optarg in
                   17236:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   17237:     '') as_fn_error $? "missing file argument" ;;
                   17238:     esac
                   17239:     as_fn_append CONFIG_FILES " '$ac_optarg'"
1.35      moko     17240:     ac_need_defaults=false;;
                   17241:   --header | --heade | --head | --hea )
                   17242:     $ac_shift
1.43      moko     17243:     case $ac_optarg in
                   17244:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   17245:     esac
                   17246:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
1.35      moko     17247:     ac_need_defaults=false;;
1.43      moko     17248:   --he | --h)
                   17249:     # Conflict between --help and --header
                   17250:     as_fn_error $? "ambiguous option: \`$1'
                   17251: Try \`$0 --help' for more information.";;
                   17252:   --help | --hel | -h )
                   17253:     $as_echo "$ac_cs_usage"; exit ;;
1.35      moko     17254:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   17255:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   17256:     ac_cs_silent=: ;;
                   17257: 
                   17258:   # This is an error.
1.43      moko     17259:   -*) as_fn_error $? "unrecognized option: \`$1'
                   17260: Try \`$0 --help' for more information." ;;
1.35      moko     17261: 
1.43      moko     17262:   *) as_fn_append ac_config_targets " $1"
                   17263:      ac_need_defaults=false ;;
1.35      moko     17264: 
                   17265:   esac
                   17266:   shift
                   17267: done
                   17268: 
                   17269: ac_configure_extra_args=
                   17270: 
                   17271: if $ac_cs_silent; then
                   17272:   exec 6>/dev/null
                   17273:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   17274: fi
                   17275: 
                   17276: _ACEOF
1.43      moko     17277: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.35      moko     17278: if \$ac_cs_recheck; then
1.49      moko     17279:   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1.43      moko     17280:   shift
                   17281:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
                   17282:   CONFIG_SHELL='$SHELL'
                   17283:   export CONFIG_SHELL
                   17284:   exec "\$@"
1.35      moko     17285: fi
                   17286: 
                   17287: _ACEOF
1.43      moko     17288: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   17289: exec 5>>config.log
                   17290: {
                   17291:   echo
                   17292:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   17293: ## Running $as_me. ##
                   17294: _ASBOX
                   17295:   $as_echo "$ac_log"
                   17296: } >&5
                   17297: 
                   17298: _ACEOF
                   17299: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.35      moko     17300: #
1.43      moko     17301: # INIT-COMMANDS
1.35      moko     17302: #
                   17303: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
                   17304: 
                   17305: 
                   17306: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   17307: # if CDPATH is set.
                   17308: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   17309: 
                   17310: sed_quote_subst='$sed_quote_subst'
                   17311: double_quote_subst='$double_quote_subst'
                   17312: delay_variable_subst='$delay_variable_subst'
                   17313: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
                   17314: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
1.42      moko     17315: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
1.36      moko     17316: AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
                   17317: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
                   17318: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
1.35      moko     17319: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
                   17320: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
                   17321: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
                   17322: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
                   17323: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
                   17324: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
                   17325: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
                   17326: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
                   17327: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
                   17328: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
                   17329: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
                   17330: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
                   17331: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
                   17332: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
                   17333: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
                   17334: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
                   17335: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
                   17336: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
                   17337: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
                   17338: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
                   17339: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
                   17340: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
                   17341: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
                   17342: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
                   17343: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
                   17344: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
                   17345: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
                   17346: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
                   17347: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
                   17348: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
                   17349: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
                   17350: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
                   17351: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
                   17352: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
                   17353: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
                   17354: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
                   17355: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
                   17356: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
                   17357: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
                   17358: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
                   17359: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   17360: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   17361: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
                   17362: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
                   17363: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
                   17364: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
                   17365: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
                   17366: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
                   17367: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
                   17368: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
                   17369: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
                   17370: 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"`'
                   17371: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
                   17372: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
                   17373: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
                   17374: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
                   17375: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
                   17376: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
                   17377: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
                   17378: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
                   17379: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
                   17380: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
                   17381: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
                   17382: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
                   17383: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
                   17384: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
                   17385: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
                   17386: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
                   17387: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
                   17388: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
                   17389: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   17390: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
                   17391: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
                   17392: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
                   17393: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
                   17394: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
                   17395: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
                   17396: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   17397: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
                   17398: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   17399: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
                   17400: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   17401: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
                   17402: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   17403: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   17404: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
                   17405: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
                   17406: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
                   17407: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
                   17408: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
                   17409: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   17410: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
                   17411: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
                   17412: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
                   17413: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
                   17414: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
                   17415: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
                   17416: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
                   17417: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
                   17418: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
                   17419: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
                   17420: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
                   17421: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
                   17422: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
                   17423: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
                   17424: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
                   17425: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   17426: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
                   17427: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
                   17428: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
                   17429: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
                   17430: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
                   17431: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   17432: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   17433: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
                   17434: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
                   17435: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
                   17436: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
                   17437: sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
                   17438: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
                   17439: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
                   17440: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
                   17441: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
                   17442: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
                   17443: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
                   17444: compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
                   17445: predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
                   17446: postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
                   17447: predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
                   17448: postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
                   17449: compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
                   17450: LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
                   17451: reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   17452: reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   17453: old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   17454: compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
                   17455: GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
                   17456: lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   17457: lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
                   17458: lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
                   17459: lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
                   17460: lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
                   17461: archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
                   17462: enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
                   17463: export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   17464: whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   17465: compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
                   17466: old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   17467: old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   17468: archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   17469: archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   17470: module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   17471: module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   17472: with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
                   17473: allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   17474: no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   17475: hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   17476: hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
                   17477: hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
                   17478: hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
                   17479: hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
                   17480: hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
                   17481: hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
                   17482: inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
                   17483: link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
                   17484: always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
                   17485: export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   17486: exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   17487: include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   17488: prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   17489: postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   17490: file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   17491: hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
                   17492: compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
                   17493: predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   17494: postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   17495: predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
                   17496: postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
                   17497: compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
                   17498: 
                   17499: LTCC='$LTCC'
                   17500: LTCFLAGS='$LTCFLAGS'
                   17501: compiler='$compiler_DEFAULT'
                   17502: 
                   17503: # A function that is used when there is no print builtin or printf.
                   17504: func_fallback_echo ()
                   17505: {
                   17506:   eval 'cat <<_LTECHO_EOF
                   17507: \$1
                   17508: _LTECHO_EOF'
                   17509: }
                   17510: 
                   17511: # Quote evaled strings.
1.36      moko     17512: for var in AS \
                   17513: DLLTOOL \
                   17514: OBJDUMP \
                   17515: SHELL \
1.35      moko     17516: ECHO \
                   17517: PATH_SEPARATOR \
                   17518: SED \
                   17519: GREP \
                   17520: EGREP \
                   17521: FGREP \
                   17522: LD \
                   17523: NM \
                   17524: LN_S \
                   17525: lt_SP2NL \
                   17526: lt_NL2SP \
                   17527: reload_flag \
                   17528: deplibs_check_method \
                   17529: file_magic_cmd \
                   17530: file_magic_glob \
                   17531: want_nocaseglob \
                   17532: sharedlib_from_linklib_cmd \
                   17533: AR \
                   17534: AR_FLAGS \
                   17535: archiver_list_spec \
                   17536: STRIP \
                   17537: RANLIB \
                   17538: CC \
                   17539: CFLAGS \
                   17540: compiler \
                   17541: lt_cv_sys_global_symbol_pipe \
                   17542: lt_cv_sys_global_symbol_to_cdecl \
                   17543: lt_cv_sys_global_symbol_to_c_name_address \
                   17544: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
                   17545: nm_file_list_spec \
                   17546: lt_prog_compiler_no_builtin_flag \
                   17547: lt_prog_compiler_pic \
                   17548: lt_prog_compiler_wl \
                   17549: lt_prog_compiler_static \
                   17550: lt_cv_prog_compiler_c_o \
                   17551: need_locks \
                   17552: MANIFEST_TOOL \
                   17553: DSYMUTIL \
                   17554: NMEDIT \
                   17555: LIPO \
                   17556: OTOOL \
                   17557: OTOOL64 \
                   17558: shrext_cmds \
                   17559: export_dynamic_flag_spec \
                   17560: whole_archive_flag_spec \
                   17561: compiler_needs_object \
                   17562: with_gnu_ld \
                   17563: allow_undefined_flag \
                   17564: no_undefined_flag \
                   17565: hardcode_libdir_flag_spec \
                   17566: hardcode_libdir_separator \
                   17567: exclude_expsyms \
                   17568: include_expsyms \
                   17569: file_list_spec \
                   17570: variables_saved_for_relink \
                   17571: libname_spec \
                   17572: library_names_spec \
                   17573: soname_spec \
                   17574: install_override_mode \
                   17575: finish_eval \
                   17576: old_striplib \
                   17577: striplib \
                   17578: compiler_lib_search_dirs \
                   17579: predep_objects \
                   17580: postdep_objects \
                   17581: predeps \
                   17582: postdeps \
                   17583: compiler_lib_search_path \
                   17584: LD_CXX \
                   17585: reload_flag_CXX \
                   17586: compiler_CXX \
                   17587: lt_prog_compiler_no_builtin_flag_CXX \
                   17588: lt_prog_compiler_pic_CXX \
                   17589: lt_prog_compiler_wl_CXX \
                   17590: lt_prog_compiler_static_CXX \
                   17591: lt_cv_prog_compiler_c_o_CXX \
                   17592: export_dynamic_flag_spec_CXX \
                   17593: whole_archive_flag_spec_CXX \
                   17594: compiler_needs_object_CXX \
                   17595: with_gnu_ld_CXX \
                   17596: allow_undefined_flag_CXX \
                   17597: no_undefined_flag_CXX \
                   17598: hardcode_libdir_flag_spec_CXX \
                   17599: hardcode_libdir_separator_CXX \
                   17600: exclude_expsyms_CXX \
                   17601: include_expsyms_CXX \
                   17602: file_list_spec_CXX \
                   17603: compiler_lib_search_dirs_CXX \
                   17604: predep_objects_CXX \
                   17605: postdep_objects_CXX \
                   17606: predeps_CXX \
                   17607: postdeps_CXX \
                   17608: compiler_lib_search_path_CXX; do
                   17609:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   17610:     *[\\\\\\\`\\"\\\$]*)
                   17611:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
                   17612:       ;;
                   17613:     *)
                   17614:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   17615:       ;;
                   17616:     esac
                   17617: done
                   17618: 
                   17619: # Double-quote double-evaled strings.
                   17620: for var in reload_cmds \
                   17621: old_postinstall_cmds \
                   17622: old_postuninstall_cmds \
                   17623: old_archive_cmds \
                   17624: extract_expsyms_cmds \
                   17625: old_archive_from_new_cmds \
                   17626: old_archive_from_expsyms_cmds \
                   17627: archive_cmds \
                   17628: archive_expsym_cmds \
                   17629: module_cmds \
                   17630: module_expsym_cmds \
                   17631: export_symbols_cmds \
                   17632: prelink_cmds \
                   17633: postlink_cmds \
                   17634: postinstall_cmds \
                   17635: postuninstall_cmds \
                   17636: finish_cmds \
                   17637: sys_lib_search_path_spec \
                   17638: sys_lib_dlsearch_path_spec \
                   17639: reload_cmds_CXX \
                   17640: old_archive_cmds_CXX \
                   17641: old_archive_from_new_cmds_CXX \
                   17642: old_archive_from_expsyms_cmds_CXX \
                   17643: archive_cmds_CXX \
                   17644: archive_expsym_cmds_CXX \
                   17645: module_cmds_CXX \
                   17646: module_expsym_cmds_CXX \
                   17647: export_symbols_cmds_CXX \
                   17648: prelink_cmds_CXX \
                   17649: postlink_cmds_CXX; do
                   17650:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   17651:     *[\\\\\\\`\\"\\\$]*)
                   17652:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
                   17653:       ;;
                   17654:     *)
                   17655:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   17656:       ;;
                   17657:     esac
                   17658: done
                   17659: 
                   17660: ac_aux_dir='$ac_aux_dir'
                   17661: xsi_shell='$xsi_shell'
                   17662: lt_shell_append='$lt_shell_append'
                   17663: 
                   17664: # See if we are running on zsh, and set the options which allow our
                   17665: # commands through without removal of \ escapes INIT.
                   17666: if test -n "\${ZSH_VERSION+set}" ; then
                   17667:    setopt NO_GLOB_SUBST
                   17668: fi
                   17669: 
                   17670: 
                   17671:     PACKAGE='$PACKAGE'
                   17672:     VERSION='$VERSION'
                   17673:     TIMESTAMP='$TIMESTAMP'
                   17674:     RM='$RM'
                   17675:     ofile='$ofile'
                   17676: 
                   17677: 
                   17678: 
                   17679: 
                   17680: 
                   17681: 
                   17682: _ACEOF
                   17683: 
1.43      moko     17684: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.35      moko     17685: 
1.43      moko     17686: # Handling of arguments.
1.35      moko     17687: for ac_config_target in $ac_config_targets
                   17688: do
1.43      moko     17689:   case $ac_config_target in
                   17690:     "config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS config_auto.h" ;;
                   17691:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   17692:     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
                   17693:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   17694: 
                   17695:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
1.35      moko     17696:   esac
                   17697: done
                   17698: 
1.43      moko     17699: 
1.35      moko     17700: # If the user did not use the arguments to specify the items to instantiate,
                   17701: # then the envvar interface is used.  Set only those that are not.
                   17702: # We use the long form for the default assignment because of an extremely
                   17703: # bizarre bug on SunOS 4.1.3.
                   17704: if $ac_need_defaults; then
                   17705:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   17706:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   17707:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   17708: fi
                   17709: 
                   17710: # Have a temporary directory for convenience.  Make it in the build tree
1.43      moko     17711: # simply because there is no reason against having it here, and in addition,
1.35      moko     17712: # creating and moving files from /tmp can sometimes cause problems.
1.43      moko     17713: # Hook for its removal unless debugging.
                   17714: # Note that there is a small window in which the directory will not be cleaned:
                   17715: # after its creation but before its name has been assigned to `$tmp'.
1.35      moko     17716: $debug ||
                   17717: {
1.43      moko     17718:   tmp= ac_tmp=
                   17719:   trap 'exit_status=$?
                   17720:   : "${ac_tmp:=$tmp}"
                   17721:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
                   17722: ' 0
                   17723:   trap 'as_fn_exit 1' 1 2 13 15
1.35      moko     17724: }
                   17725: # Create a (secure) tmp directory for tmp files.
                   17726: 
                   17727: {
1.43      moko     17728:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
                   17729:   test -d "$tmp"
1.35      moko     17730: }  ||
                   17731: {
1.43      moko     17732:   tmp=./conf$$-$RANDOM
                   17733:   (umask 077 && mkdir "$tmp")
                   17734: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
                   17735: ac_tmp=$tmp
                   17736: 
                   17737: # Set up the scripts for CONFIG_FILES section.
                   17738: # No need to generate them if there are no CONFIG_FILES.
                   17739: # This happens for instance with `./config.status config.h'.
                   17740: if test -n "$CONFIG_FILES"; then
                   17741: 
                   17742: 
                   17743: ac_cr=`echo X | tr X '\015'`
                   17744: # On cygwin, bash can eat \r inside `` if the user requested igncr.
                   17745: # But we know of no other shell where ac_cr would be empty at this
                   17746: # point, so we can use a bashism as a fallback.
                   17747: if test "x$ac_cr" = x; then
                   17748:   eval ac_cr=\$\'\\r\'
                   17749: fi
                   17750: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   17751: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
                   17752:   ac_cs_awk_cr='\\r'
                   17753: else
                   17754:   ac_cs_awk_cr=$ac_cr
                   17755: fi
                   17756: 
                   17757: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
                   17758: _ACEOF
                   17759: 
                   17760: 
                   17761: {
                   17762:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   17763:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   17764:   echo "_ACEOF"
                   17765: } >conf$$subs.sh ||
                   17766:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   17767: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
                   17768: ac_delim='%!_!# '
                   17769: for ac_last_try in false false false false false :; do
                   17770:   . ./conf$$subs.sh ||
                   17771:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   17772: 
                   17773:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   17774:   if test $ac_delim_n = $ac_delim_num; then
                   17775:     break
                   17776:   elif $ac_last_try; then
                   17777:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   17778:   else
                   17779:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   17780:   fi
                   17781: done
                   17782: rm -f conf$$subs.sh
                   17783: 
                   17784: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   17785: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
                   17786: _ACEOF
                   17787: sed -n '
                   17788: h
                   17789: s/^/S["/; s/!.*/"]=/
                   17790: p
                   17791: g
                   17792: s/^[^!]*!//
                   17793: :repl
                   17794: t repl
                   17795: s/'"$ac_delim"'$//
                   17796: t delim
                   17797: :nl
                   17798: h
                   17799: s/\(.\{148\}\)..*/\1/
                   17800: t more1
                   17801: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   17802: p
                   17803: n
                   17804: b repl
                   17805: :more1
                   17806: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   17807: p
                   17808: g
                   17809: s/.\{148\}//
                   17810: t nl
                   17811: :delim
                   17812: h
                   17813: s/\(.\{148\}\)..*/\1/
                   17814: t more2
                   17815: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   17816: p
                   17817: b
                   17818: :more2
                   17819: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   17820: p
                   17821: g
                   17822: s/.\{148\}//
                   17823: t delim
                   17824: ' <conf$$subs.awk | sed '
                   17825: /^[^""]/{
                   17826:   N
                   17827:   s/\n//
                   17828: }
                   17829: ' >>$CONFIG_STATUS || ac_write_fail=1
                   17830: rm -f conf$$subs.awk
                   17831: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   17832: _ACAWK
                   17833: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
                   17834:   for (key in S) S_is_set[key] = 1
                   17835:   FS = ""
                   17836: 
                   17837: }
1.35      moko     17838: {
1.43      moko     17839:   line = $ 0
                   17840:   nfields = split(line, field, "@")
                   17841:   substed = 0
                   17842:   len = length(field[1])
                   17843:   for (i = 2; i < nfields; i++) {
                   17844:     key = field[i]
                   17845:     keylen = length(key)
                   17846:     if (S_is_set[key]) {
                   17847:       value = S[key]
                   17848:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   17849:       len += length(value) + length(field[++i])
                   17850:       substed = 1
                   17851:     } else
                   17852:       len += 1 + keylen
                   17853:   }
                   17854: 
                   17855:   print line
1.35      moko     17856: }
                   17857: 
1.43      moko     17858: _ACAWK
                   17859: _ACEOF
                   17860: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   17861: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   17862:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
                   17863: else
                   17864:   cat
                   17865: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
                   17866:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
1.35      moko     17867: _ACEOF
                   17868: 
1.43      moko     17869: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
                   17870: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
                   17871: # trailing colons and then remove the whole line if VPATH becomes empty
                   17872: # (actually we leave an empty line to preserve line numbers).
                   17873: if test "x$srcdir" = x.; then
                   17874:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
                   17875: h
                   17876: s///
                   17877: s/^/:/
                   17878: s/[     ]*$/:/
                   17879: s/:\$(srcdir):/:/g
                   17880: s/:\${srcdir}:/:/g
                   17881: s/:@srcdir@:/:/g
                   17882: s/^:*//
                   17883: s/:*$//
                   17884: x
                   17885: s/\(=[  ]*\).*/\1/
                   17886: G
                   17887: s/\n//
                   17888: s/^[^=]*=[      ]*$//
                   17889: }'
                   17890: fi
1.35      moko     17891: 
1.43      moko     17892: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   17893: fi # test -n "$CONFIG_FILES"
1.35      moko     17894: 
1.43      moko     17895: # Set up the scripts for CONFIG_HEADERS section.
                   17896: # No need to generate them if there are no CONFIG_HEADERS.
                   17897: # This happens for instance with `./config.status Makefile'.
                   17898: if test -n "$CONFIG_HEADERS"; then
                   17899: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
                   17900: BEGIN {
                   17901: _ACEOF
                   17902: 
                   17903: # Transform confdefs.h into an awk script `defines.awk', embedded as
                   17904: # here-document in config.status, that substitutes the proper values into
                   17905: # config.h.in to produce config.h.
                   17906: 
                   17907: # Create a delimiter string that does not exist in confdefs.h, to ease
                   17908: # handling of long lines.
                   17909: ac_delim='%!_!# '
                   17910: for ac_last_try in false false :; do
                   17911:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
                   17912:   if test -z "$ac_tt"; then
                   17913:     break
                   17914:   elif $ac_last_try; then
                   17915:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
                   17916:   else
                   17917:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
1.35      moko     17918:   fi
1.43      moko     17919: done
1.35      moko     17920: 
1.43      moko     17921: # For the awk script, D is an array of macro values keyed by name,
                   17922: # likewise P contains macro parameters if any.  Preserve backslash
                   17923: # newline sequences.
                   17924: 
                   17925: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
                   17926: sed -n '
                   17927: s/.\{148\}/&'"$ac_delim"'/g
                   17928: t rset
                   17929: :rset
                   17930: s/^[    ]*#[    ]*define[       ][      ]*/ /
                   17931: t def
                   17932: d
                   17933: :def
                   17934: s/\\$//
                   17935: t bsnl
                   17936: s/["\\]/\\&/g
                   17937: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   17938: D["\1"]=" \3"/p
                   17939: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
                   17940: d
                   17941: :bsnl
                   17942: s/["\\]/\\&/g
                   17943: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   17944: D["\1"]=" \3\\\\\\n"\\/p
                   17945: t cont
                   17946: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
                   17947: t cont
                   17948: d
                   17949: :cont
                   17950: n
                   17951: s/.\{148\}/&'"$ac_delim"'/g
                   17952: t clear
                   17953: :clear
                   17954: s/\\$//
                   17955: t bsnlc
                   17956: s/["\\]/\\&/g; s/^/"/; s/$/"/p
                   17957: d
                   17958: :bsnlc
                   17959: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
                   17960: b cont
                   17961: ' <confdefs.h | sed '
                   17962: s/'"$ac_delim"'/"\\\
                   17963: "/g' >>$CONFIG_STATUS || ac_write_fail=1
                   17964: 
                   17965: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   17966:   for (key in D) D_is_set[key] = 1
                   17967:   FS = ""
                   17968: }
                   17969: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
                   17970:   line = \$ 0
                   17971:   split(line, arg, " ")
                   17972:   if (arg[1] == "#") {
                   17973:     defundef = arg[2]
                   17974:     mac1 = arg[3]
                   17975:   } else {
                   17976:     defundef = substr(arg[1], 2)
                   17977:     mac1 = arg[2]
                   17978:   }
                   17979:   split(mac1, mac2, "(") #)
                   17980:   macro = mac2[1]
                   17981:   prefix = substr(line, 1, index(line, defundef) - 1)
                   17982:   if (D_is_set[macro]) {
                   17983:     # Preserve the white space surrounding the "#".
                   17984:     print prefix "define", macro P[macro] D[macro]
                   17985:     next
                   17986:   } else {
                   17987:     # Replace #undef with comments.  This is necessary, for example,
                   17988:     # in the case of _POSIX_SOURCE, which is predefined and required
                   17989:     # on some systems where configure will not decide to define it.
                   17990:     if (defundef == "undef") {
                   17991:       print "/*", prefix defundef, macro, "*/"
                   17992:       next
                   17993:     }
                   17994:   }
                   17995: }
                   17996: { print }
                   17997: _ACAWK
1.35      moko     17998: _ACEOF
1.43      moko     17999: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   18000:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
                   18001: fi # test -n "$CONFIG_HEADERS"
                   18002: 
                   18003: 
                   18004: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
                   18005: shift
                   18006: for ac_tag
                   18007: do
                   18008:   case $ac_tag in
                   18009:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   18010:   esac
                   18011:   case $ac_mode$ac_tag in
                   18012:   :[FHL]*:*);;
                   18013:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
                   18014:   :[FH]-) ac_tag=-:-;;
                   18015:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   18016:   esac
                   18017:   ac_save_IFS=$IFS
                   18018:   IFS=:
                   18019:   set x $ac_tag
                   18020:   IFS=$ac_save_IFS
                   18021:   shift
                   18022:   ac_file=$1
                   18023:   shift
                   18024: 
                   18025:   case $ac_mode in
                   18026:   :L) ac_source=$1;;
                   18027:   :[FH])
                   18028:     ac_file_inputs=
                   18029:     for ac_f
                   18030:     do
                   18031:       case $ac_f in
                   18032:       -) ac_f="$ac_tmp/stdin";;
                   18033:       *) # Look for the file first in the build tree, then in the source tree
                   18034:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
                   18035:         # because $ac_f cannot contain `:'.
                   18036:         test -f "$ac_f" ||
                   18037:           case $ac_f in
                   18038:           [\\/$]*) false;;
                   18039:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   18040:           esac ||
                   18041:           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
                   18042:       esac
                   18043:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
                   18044:       as_fn_append ac_file_inputs " '$ac_f'"
                   18045:     done
                   18046: 
                   18047:     # Let's still pretend it is `configure' which instantiates (i.e., don't
                   18048:     # use $as_me), people would be surprised to read:
                   18049:     #    /* config.h.  Generated by config.status.  */
                   18050:     configure_input='Generated from '`
                   18051:          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
                   18052:        `' by configure.'
                   18053:     if test x"$ac_file" != x-; then
                   18054:       configure_input="$ac_file.  $configure_input"
                   18055:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
                   18056: $as_echo "$as_me: creating $ac_file" >&6;}
                   18057:     fi
                   18058:     # Neutralize special characters interpreted by sed in replacement strings.
                   18059:     case $configure_input in #(
                   18060:     *\&* | *\|* | *\\* )
                   18061:        ac_sed_conf_input=`$as_echo "$configure_input" |
                   18062:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   18063:     *) ac_sed_conf_input=$configure_input;;
                   18064:     esac
                   18065: 
                   18066:     case $ac_tag in
                   18067:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
                   18068:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
                   18069:     esac
                   18070:     ;;
1.35      moko     18071:   esac
                   18072: 
1.43      moko     18073:   ac_dir=`$as_dirname -- "$ac_file" ||
1.35      moko     18074: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   18075:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   18076:         X"$ac_file" : 'X\(//\)$' \| \
1.43      moko     18077:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
                   18078: $as_echo X"$ac_file" |
                   18079:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   18080:            s//\1/
                   18081:            q
                   18082:          }
                   18083:          /^X\(\/\/\)[^/].*/{
                   18084:            s//\1/
                   18085:            q
                   18086:          }
                   18087:          /^X\(\/\/\)$/{
                   18088:            s//\1/
                   18089:            q
                   18090:          }
                   18091:          /^X\(\/\).*/{
                   18092:            s//\1/
                   18093:            q
                   18094:          }
                   18095:          s/.*/./; q'`
                   18096:   as_dir="$ac_dir"; as_fn_mkdir_p
1.35      moko     18097:   ac_builddir=.
                   18098: 
1.43      moko     18099: case "$ac_dir" in
                   18100: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   18101: *)
                   18102:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   18103:   # A ".." for each directory in $ac_dir_suffix.
                   18104:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   18105:   case $ac_top_builddir_sub in
                   18106:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   18107:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   18108:   esac ;;
                   18109: esac
                   18110: ac_abs_top_builddir=$ac_pwd
                   18111: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   18112: # for backward compatibility:
                   18113: ac_top_builddir=$ac_top_build_prefix
1.35      moko     18114: 
                   18115: case $srcdir in
1.43      moko     18116:   .)  # We are building in place.
1.35      moko     18117:     ac_srcdir=.
1.43      moko     18118:     ac_top_srcdir=$ac_top_builddir_sub
                   18119:     ac_abs_top_srcdir=$ac_pwd ;;
                   18120:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.35      moko     18121:     ac_srcdir=$srcdir$ac_dir_suffix;
1.43      moko     18122:     ac_top_srcdir=$srcdir
                   18123:     ac_abs_top_srcdir=$srcdir ;;
                   18124:   *) # Relative name.
                   18125:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   18126:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   18127:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.35      moko     18128: esac
1.43      moko     18129: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.35      moko     18130: 
                   18131: 
1.43      moko     18132:   case $ac_mode in
                   18133:   :F)
                   18134:   #
                   18135:   # CONFIG_FILE
                   18136:   #
1.35      moko     18137: 
                   18138:   case $INSTALL in
                   18139:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1.43      moko     18140:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
                   18141:   esac
                   18142:   ac_MKDIR_P=$MKDIR_P
                   18143:   case $MKDIR_P in
                   18144:   [\\/$]* | ?:[\\/]* ) ;;
                   18145:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
1.35      moko     18146:   esac
1.43      moko     18147: _ACEOF
1.35      moko     18148: 
1.43      moko     18149: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   18150: # If the template does not know about datarootdir, expand it.
                   18151: # FIXME: This hack should be removed a few years after 2.60.
                   18152: ac_datarootdir_hack=; ac_datarootdir_seen=
                   18153: ac_sed_dataroot='
                   18154: /datarootdir/ {
                   18155:   p
                   18156:   q
                   18157: }
                   18158: /@datadir@/p
                   18159: /@docdir@/p
                   18160: /@infodir@/p
                   18161: /@localedir@/p
                   18162: /@mandir@/p'
                   18163: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
                   18164: *datarootdir*) ac_datarootdir_seen=yes;;
                   18165: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
                   18166:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
                   18167: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
                   18168: _ACEOF
                   18169: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   18170:   ac_datarootdir_hack='
                   18171:   s&@datadir@&$datadir&g
                   18172:   s&@docdir@&$docdir&g
                   18173:   s&@infodir@&$infodir&g
                   18174:   s&@localedir@&$localedir&g
                   18175:   s&@mandir@&$mandir&g
                   18176:   s&\\\${datarootdir}&$datarootdir&g' ;;
                   18177: esac
                   18178: _ACEOF
1.35      moko     18179: 
1.43      moko     18180: # Neutralize VPATH when `$srcdir' = `.'.
                   18181: # Shell code in configure.ac might set extrasub.
                   18182: # FIXME: do we really want to maintain this feature?
                   18183: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   18184: ac_sed_extra="$ac_vpsub
1.35      moko     18185: $extrasub
                   18186: _ACEOF
1.43      moko     18187: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.35      moko     18188: :t
                   18189: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1.43      moko     18190: s|@configure_input@|$ac_sed_conf_input|;t t
                   18191: s&@top_builddir@&$ac_top_builddir_sub&;t t
                   18192: s&@top_build_prefix@&$ac_top_build_prefix&;t t
                   18193: s&@srcdir@&$ac_srcdir&;t t
                   18194: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   18195: s&@top_srcdir@&$ac_top_srcdir&;t t
                   18196: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   18197: s&@builddir@&$ac_builddir&;t t
                   18198: s&@abs_builddir@&$ac_abs_builddir&;t t
                   18199: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
                   18200: s&@INSTALL@&$ac_INSTALL&;t t
                   18201: s&@MKDIR_P@&$ac_MKDIR_P&;t t
                   18202: $ac_datarootdir_hack
                   18203: "
                   18204: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
                   18205:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   18206: 
                   18207: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
                   18208:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
                   18209:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
                   18210:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
                   18211:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   18212: which seems to be undefined.  Please make sure it is defined" >&5
                   18213: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   18214: which seems to be undefined.  Please make sure it is defined" >&2;}
1.35      moko     18215: 
1.43      moko     18216:   rm -f "$ac_tmp/stdin"
1.35      moko     18217:   case $ac_file in
1.43      moko     18218:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
                   18219:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
                   18220:   esac \
                   18221:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   18222:  ;;
                   18223:   :H)
                   18224:   #
                   18225:   # CONFIG_HEADER
                   18226:   #
1.35      moko     18227:   if test x"$ac_file" != x-; then
1.43      moko     18228:     {
                   18229:       $as_echo "/* $configure_input  */" \
                   18230:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
                   18231:     } >"$ac_tmp/config.h" \
                   18232:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   18233:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
                   18234:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
                   18235: $as_echo "$as_me: $ac_file is unchanged" >&6;}
1.35      moko     18236:     else
1.43      moko     18237:       rm -f "$ac_file"
                   18238:       mv "$ac_tmp/config.h" "$ac_file" \
                   18239:        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.35      moko     18240:     fi
                   18241:   else
1.43      moko     18242:     $as_echo "/* $configure_input  */" \
                   18243:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
                   18244:       || as_fn_error $? "could not create -" "$LINENO" 5
1.35      moko     18245:   fi
1.43      moko     18246: # Compute "$ac_file"'s index in $config_headers.
                   18247: _am_arg="$ac_file"
1.35      moko     18248: _am_stamp_count=1
                   18249: for _am_header in $config_headers :; do
                   18250:   case $_am_header in
1.43      moko     18251:     $_am_arg | $_am_arg:* )
1.35      moko     18252:       break ;;
                   18253:     * )
                   18254:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   18255:   esac
                   18256: done
1.43      moko     18257: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
                   18258: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   18259:         X"$_am_arg" : 'X\(//\)[^/]' \| \
                   18260:         X"$_am_arg" : 'X\(//\)$' \| \
                   18261:         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
                   18262: $as_echo X"$_am_arg" |
                   18263:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   18264:            s//\1/
                   18265:            q
                   18266:          }
                   18267:          /^X\(\/\/\)[^/].*/{
                   18268:            s//\1/
                   18269:            q
                   18270:          }
                   18271:          /^X\(\/\/\)$/{
                   18272:            s//\1/
                   18273:            q
                   18274:          }
                   18275:          /^X\(\/\).*/{
                   18276:            s//\1/
                   18277:            q
                   18278:          }
                   18279:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   18280:  ;;
1.35      moko     18281: 
1.43      moko     18282:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
                   18283: $as_echo "$as_me: executing $ac_file commands" >&6;}
                   18284:  ;;
                   18285:   esac
1.35      moko     18286: 
                   18287: 
1.43      moko     18288:   case $ac_file$ac_mode in
                   18289:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
                   18290:   # Autoconf 2.62 quotes --file arguments for eval, but not when files
                   18291:   # are listed without --file.  Let's play safe and only enable the eval
                   18292:   # if we detect the quoting.
                   18293:   case $CONFIG_FILES in
                   18294:   *\'*) eval set x "$CONFIG_FILES" ;;
                   18295:   *)   set x $CONFIG_FILES ;;
                   18296:   esac
                   18297:   shift
                   18298:   for mf
                   18299:   do
                   18300:     # Strip MF so we end up with the name of the file.
                   18301:     mf=`echo "$mf" | sed -e 's/:.*$//'`
                   18302:     # Check whether this is an Automake generated Makefile or not.
                   18303:     # We used to match only the files named `Makefile.in', but
                   18304:     # some people rename them; so instead we look at the file content.
                   18305:     # Grep'ing the first line is not enough: some people post-process
                   18306:     # each Makefile.in and add a new line on top of each file to say so.
                   18307:     # Grep'ing the whole file is not good either: AIX grep has a line
                   18308:     # limit of 2048, but all sed's we know have understand at least 4000.
                   18309:     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
                   18310:       dirpart=`$as_dirname -- "$mf" ||
1.35      moko     18311: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   18312:         X"$mf" : 'X\(//\)[^/]' \| \
                   18313:         X"$mf" : 'X\(//\)$' \| \
1.43      moko     18314:         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
                   18315: $as_echo X"$mf" |
                   18316:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   18317:            s//\1/
                   18318:            q
                   18319:          }
                   18320:          /^X\(\/\/\)[^/].*/{
                   18321:            s//\1/
                   18322:            q
                   18323:          }
                   18324:          /^X\(\/\/\)$/{
                   18325:            s//\1/
                   18326:            q
                   18327:          }
                   18328:          /^X\(\/\).*/{
                   18329:            s//\1/
                   18330:            q
                   18331:          }
                   18332:          s/.*/./; q'`
                   18333:     else
                   18334:       continue
                   18335:     fi
                   18336:     # Extract the definition of DEPDIR, am__include, and am__quote
                   18337:     # from the Makefile without running `make'.
                   18338:     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
                   18339:     test -z "$DEPDIR" && continue
                   18340:     am__include=`sed -n 's/^am__include = //p' < "$mf"`
                   18341:     test -z "am__include" && continue
                   18342:     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
                   18343:     # When using ansi2knr, U may be empty or an underscore; expand it
                   18344:     U=`sed -n 's/^U = //p' < "$mf"`
                   18345:     # Find all dependency output files, they are included files with
                   18346:     # $(DEPDIR) in their names.  We invoke sed twice because it is the
                   18347:     # simplest approach to changing $(DEPDIR) to its actual value in the
                   18348:     # expansion.
                   18349:     for file in `sed -n "
                   18350:       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
                   18351:         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
                   18352:       # Make sure the directory exists.
                   18353:       test -f "$dirpart/$file" && continue
                   18354:       fdir=`$as_dirname -- "$file" ||
1.35      moko     18355: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   18356:         X"$file" : 'X\(//\)[^/]' \| \
                   18357:         X"$file" : 'X\(//\)$' \| \
1.43      moko     18358:         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
                   18359: $as_echo X"$file" |
                   18360:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   18361:            s//\1/
                   18362:            q
                   18363:          }
                   18364:          /^X\(\/\/\)[^/].*/{
                   18365:            s//\1/
                   18366:            q
                   18367:          }
                   18368:          /^X\(\/\/\)$/{
                   18369:            s//\1/
                   18370:            q
                   18371:          }
                   18372:          /^X\(\/\).*/{
                   18373:            s//\1/
                   18374:            q
                   18375:          }
                   18376:          s/.*/./; q'`
                   18377:       as_dir=$dirpart/$fdir; as_fn_mkdir_p
                   18378:       # echo "creating $dirpart/$file"
                   18379:       echo '# dummy' > "$dirpart/$file"
1.35      moko     18380:     done
                   18381:   done
1.43      moko     18382: }
1.35      moko     18383:  ;;
1.43      moko     18384:     "libtool":C)
1.35      moko     18385: 
                   18386:     # See if we are running on zsh, and set the options which allow our
                   18387:     # commands through without removal of \ escapes.
                   18388:     if test -n "${ZSH_VERSION+set}" ; then
                   18389:       setopt NO_GLOB_SUBST
                   18390:     fi
                   18391: 
                   18392:     cfgfile="${ofile}T"
                   18393:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
                   18394:     $RM "$cfgfile"
                   18395: 
                   18396:     cat <<_LT_EOF >> "$cfgfile"
                   18397: #! $SHELL
                   18398: 
                   18399: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
                   18400: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
                   18401: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
                   18402: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
                   18403: #
                   18404: #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
                   18405: #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
                   18406: #                 Foundation, Inc.
                   18407: #   Written by Gordon Matzigkeit, 1996
                   18408: #
                   18409: #   This file is part of GNU Libtool.
                   18410: #
                   18411: # GNU Libtool is free software; you can redistribute it and/or
                   18412: # modify it under the terms of the GNU General Public License as
                   18413: # published by the Free Software Foundation; either version 2 of
                   18414: # the License, or (at your option) any later version.
                   18415: #
                   18416: # As a special exception to the GNU General Public License,
                   18417: # if you distribute this file as part of a program or library that
                   18418: # is built using GNU Libtool, you may include this file under the
                   18419: # same distribution terms that you use for the rest of that program.
                   18420: #
                   18421: # GNU Libtool is distributed in the hope that it will be useful,
                   18422: # but WITHOUT ANY WARRANTY; without even the implied warranty of
                   18423: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   18424: # GNU General Public License for more details.
                   18425: #
                   18426: # You should have received a copy of the GNU General Public License
                   18427: # along with GNU Libtool; see the file COPYING.  If not, a copy
                   18428: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
                   18429: # obtained by writing to the Free Software Foundation, Inc.,
                   18430: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
                   18431: 
                   18432: 
                   18433: # The names of the tagged configurations supported by this script.
                   18434: available_tags="CXX "
                   18435: 
                   18436: # ### BEGIN LIBTOOL CONFIG
                   18437: 
                   18438: # Which release of libtool.m4 was used?
                   18439: macro_version=$macro_version
                   18440: macro_revision=$macro_revision
                   18441: 
1.42      moko     18442: # Whether or not to build static libraries.
                   18443: build_old_libs=$enable_static
                   18444: 
1.36      moko     18445: # Assembler program.
                   18446: AS=$lt_AS
                   18447: 
                   18448: # DLL creation program.
                   18449: DLLTOOL=$lt_DLLTOOL
                   18450: 
                   18451: # Object dumper program.
                   18452: OBJDUMP=$lt_OBJDUMP
                   18453: 
1.35      moko     18454: # Whether or not to build shared libraries.
                   18455: build_libtool_libs=$enable_shared
                   18456: 
                   18457: # What type of objects to build.
                   18458: pic_mode=$pic_mode
                   18459: 
                   18460: # Whether or not to optimize for fast installation.
                   18461: fast_install=$enable_fast_install
                   18462: 
                   18463: # Shell to use when invoking shell scripts.
                   18464: SHELL=$lt_SHELL
                   18465: 
                   18466: # An echo program that protects backslashes.
                   18467: ECHO=$lt_ECHO
                   18468: 
                   18469: # The PATH separator for the build system.
                   18470: PATH_SEPARATOR=$lt_PATH_SEPARATOR
                   18471: 
                   18472: # The host system.
                   18473: host_alias=$host_alias
                   18474: host=$host
                   18475: host_os=$host_os
                   18476: 
                   18477: # The build system.
                   18478: build_alias=$build_alias
                   18479: build=$build
                   18480: build_os=$build_os
                   18481: 
                   18482: # A sed program that does not truncate output.
                   18483: SED=$lt_SED
                   18484: 
                   18485: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   18486: Xsed="\$SED -e 1s/^X//"
                   18487: 
                   18488: # A grep program that handles long lines.
                   18489: GREP=$lt_GREP
                   18490: 
                   18491: # An ERE matcher.
                   18492: EGREP=$lt_EGREP
                   18493: 
                   18494: # A literal string matcher.
                   18495: FGREP=$lt_FGREP
                   18496: 
                   18497: # A BSD- or MS-compatible name lister.
                   18498: NM=$lt_NM
                   18499: 
                   18500: # Whether we need soft or hard links.
                   18501: LN_S=$lt_LN_S
                   18502: 
                   18503: # What is the maximum length of a command?
                   18504: max_cmd_len=$max_cmd_len
                   18505: 
                   18506: # Object file suffix (normally "o").
                   18507: objext=$ac_objext
                   18508: 
                   18509: # Executable file suffix (normally "").
                   18510: exeext=$exeext
                   18511: 
                   18512: # whether the shell understands "unset".
                   18513: lt_unset=$lt_unset
                   18514: 
                   18515: # turn spaces into newlines.
                   18516: SP2NL=$lt_lt_SP2NL
                   18517: 
                   18518: # turn newlines into spaces.
                   18519: NL2SP=$lt_lt_NL2SP
                   18520: 
                   18521: # convert \$build file names to \$host format.
                   18522: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   18523: 
                   18524: # convert \$build files to toolchain format.
                   18525: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   18526: 
                   18527: # Method to check whether dependent libraries are shared objects.
                   18528: deplibs_check_method=$lt_deplibs_check_method
                   18529: 
                   18530: # Command to use when deplibs_check_method = "file_magic".
                   18531: file_magic_cmd=$lt_file_magic_cmd
                   18532: 
                   18533: # How to find potential files when deplibs_check_method = "file_magic".
                   18534: file_magic_glob=$lt_file_magic_glob
                   18535: 
                   18536: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
                   18537: want_nocaseglob=$lt_want_nocaseglob
                   18538: 
                   18539: # Command to associate shared and link libraries.
                   18540: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
                   18541: 
                   18542: # The archiver.
                   18543: AR=$lt_AR
                   18544: 
                   18545: # Flags to create an archive.
                   18546: AR_FLAGS=$lt_AR_FLAGS
                   18547: 
                   18548: # How to feed a file listing to the archiver.
                   18549: archiver_list_spec=$lt_archiver_list_spec
                   18550: 
                   18551: # A symbol stripping program.
                   18552: STRIP=$lt_STRIP
                   18553: 
                   18554: # Commands used to install an old-style archive.
                   18555: RANLIB=$lt_RANLIB
                   18556: old_postinstall_cmds=$lt_old_postinstall_cmds
                   18557: old_postuninstall_cmds=$lt_old_postuninstall_cmds
                   18558: 
                   18559: # Whether to use a lock for old archive extraction.
                   18560: lock_old_archive_extraction=$lock_old_archive_extraction
                   18561: 
                   18562: # A C compiler.
                   18563: LTCC=$lt_CC
                   18564: 
                   18565: # LTCC compiler flags.
                   18566: LTCFLAGS=$lt_CFLAGS
                   18567: 
                   18568: # Take the output of nm and produce a listing of raw symbols and C names.
                   18569: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
                   18570: 
                   18571: # Transform the output of nm in a proper C declaration.
                   18572: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
                   18573: 
                   18574: # Transform the output of nm in a C name address pair.
                   18575: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
                   18576: 
                   18577: # Transform the output of nm in a C name address pair when lib prefix is needed.
                   18578: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
                   18579: 
                   18580: # Specify filename containing input files for \$NM.
                   18581: nm_file_list_spec=$lt_nm_file_list_spec
                   18582: 
                   18583: # The root where to search for dependent libraries,and in which our libraries should be installed.
                   18584: lt_sysroot=$lt_sysroot
                   18585: 
                   18586: # The name of the directory that contains temporary libtool files.
                   18587: objdir=$objdir
                   18588: 
                   18589: # Used to examine libraries when file_magic_cmd begins with "file".
                   18590: MAGIC_CMD=$MAGIC_CMD
                   18591: 
                   18592: # Must we lock files when doing compilation?
                   18593: need_locks=$lt_need_locks
                   18594: 
                   18595: # Manifest tool.
                   18596: MANIFEST_TOOL=$lt_MANIFEST_TOOL
                   18597: 
                   18598: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
                   18599: DSYMUTIL=$lt_DSYMUTIL
                   18600: 
                   18601: # Tool to change global to local symbols on Mac OS X.
                   18602: NMEDIT=$lt_NMEDIT
                   18603: 
                   18604: # Tool to manipulate fat objects and archives on Mac OS X.
                   18605: LIPO=$lt_LIPO
                   18606: 
                   18607: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
                   18608: OTOOL=$lt_OTOOL
                   18609: 
                   18610: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
                   18611: OTOOL64=$lt_OTOOL64
                   18612: 
                   18613: # Old archive suffix (normally "a").
                   18614: libext=$libext
                   18615: 
                   18616: # Shared library suffix (normally ".so").
                   18617: shrext_cmds=$lt_shrext_cmds
                   18618: 
                   18619: # The commands to extract the exported symbol list from a shared archive.
                   18620: extract_expsyms_cmds=$lt_extract_expsyms_cmds
                   18621: 
                   18622: # Variables whose values should be saved in libtool wrapper scripts and
                   18623: # restored at link time.
                   18624: variables_saved_for_relink=$lt_variables_saved_for_relink
                   18625: 
                   18626: # Do we need the "lib" prefix for modules?
                   18627: need_lib_prefix=$need_lib_prefix
                   18628: 
                   18629: # Do we need a version for libraries?
                   18630: need_version=$need_version
                   18631: 
                   18632: # Library versioning type.
                   18633: version_type=$version_type
                   18634: 
                   18635: # Shared library runtime path variable.
                   18636: runpath_var=$runpath_var
                   18637: 
                   18638: # Shared library path variable.
                   18639: shlibpath_var=$shlibpath_var
                   18640: 
                   18641: # Is shlibpath searched before the hard-coded library search path?
                   18642: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
                   18643: 
                   18644: # Format of library name prefix.
                   18645: libname_spec=$lt_libname_spec
                   18646: 
                   18647: # List of archive names.  First name is the real one, the rest are links.
                   18648: # The last name is the one that the linker finds with -lNAME
                   18649: library_names_spec=$lt_library_names_spec
                   18650: 
                   18651: # The coded name of the library, if different from the real name.
                   18652: soname_spec=$lt_soname_spec
                   18653: 
                   18654: # Permission mode override for installation of shared libraries.
                   18655: install_override_mode=$lt_install_override_mode
                   18656: 
                   18657: # Command to use after installation of a shared archive.
                   18658: postinstall_cmds=$lt_postinstall_cmds
                   18659: 
                   18660: # Command to use after uninstallation of a shared archive.
                   18661: postuninstall_cmds=$lt_postuninstall_cmds
                   18662: 
                   18663: # Commands used to finish a libtool library installation in a directory.
                   18664: finish_cmds=$lt_finish_cmds
                   18665: 
                   18666: # As "finish_cmds", except a single script fragment to be evaled but
                   18667: # not shown.
                   18668: finish_eval=$lt_finish_eval
                   18669: 
                   18670: # Whether we should hardcode library paths into libraries.
                   18671: hardcode_into_libs=$hardcode_into_libs
                   18672: 
                   18673: # Compile-time system search path for libraries.
                   18674: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
                   18675: 
                   18676: # Run-time system search path for libraries.
                   18677: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
                   18678: 
                   18679: # Whether dlopen is supported.
                   18680: dlopen_support=$enable_dlopen
                   18681: 
                   18682: # Whether dlopen of programs is supported.
                   18683: dlopen_self=$enable_dlopen_self
                   18684: 
                   18685: # Whether dlopen of statically linked programs is supported.
                   18686: dlopen_self_static=$enable_dlopen_self_static
                   18687: 
                   18688: # Commands to strip libraries.
                   18689: old_striplib=$lt_old_striplib
                   18690: striplib=$lt_striplib
                   18691: 
                   18692: 
                   18693: # The linker used to build libraries.
                   18694: LD=$lt_LD
                   18695: 
                   18696: # How to create reloadable object files.
                   18697: reload_flag=$lt_reload_flag
                   18698: reload_cmds=$lt_reload_cmds
                   18699: 
                   18700: # Commands used to build an old-style archive.
                   18701: old_archive_cmds=$lt_old_archive_cmds
                   18702: 
                   18703: # A language specific compiler.
                   18704: CC=$lt_compiler
                   18705: 
                   18706: # Is the compiler the GNU compiler?
                   18707: with_gcc=$GCC
                   18708: 
                   18709: # Compiler flag to turn off builtin functions.
                   18710: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
                   18711: 
                   18712: # Additional compiler flags for building library objects.
                   18713: pic_flag=$lt_lt_prog_compiler_pic
                   18714: 
                   18715: # How to pass a linker flag through the compiler.
                   18716: wl=$lt_lt_prog_compiler_wl
                   18717: 
                   18718: # Compiler flag to prevent dynamic linking.
                   18719: link_static_flag=$lt_lt_prog_compiler_static
                   18720: 
                   18721: # Does compiler simultaneously support -c and -o options?
                   18722: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
                   18723: 
                   18724: # Whether or not to add -lc for building shared libraries.
                   18725: build_libtool_need_lc=$archive_cmds_need_lc
                   18726: 
                   18727: # Whether or not to disallow shared libs when runtime libs are static.
                   18728: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
                   18729: 
                   18730: # Compiler flag to allow reflexive dlopens.
                   18731: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
                   18732: 
                   18733: # Compiler flag to generate shared objects directly from archives.
                   18734: whole_archive_flag_spec=$lt_whole_archive_flag_spec
                   18735: 
                   18736: # Whether the compiler copes with passing no objects directly.
                   18737: compiler_needs_object=$lt_compiler_needs_object
                   18738: 
                   18739: # Create an old-style archive from a shared archive.
                   18740: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
                   18741: 
                   18742: # Create a temporary old-style archive to link instead of a shared archive.
                   18743: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
                   18744: 
                   18745: # Commands used to build a shared archive.
                   18746: archive_cmds=$lt_archive_cmds
                   18747: archive_expsym_cmds=$lt_archive_expsym_cmds
                   18748: 
                   18749: # Commands used to build a loadable module if different from building
                   18750: # a shared archive.
                   18751: module_cmds=$lt_module_cmds
                   18752: module_expsym_cmds=$lt_module_expsym_cmds
                   18753: 
                   18754: # Whether we are building with GNU ld or not.
                   18755: with_gnu_ld=$lt_with_gnu_ld
                   18756: 
                   18757: # Flag that allows shared libraries with undefined symbols to be built.
                   18758: allow_undefined_flag=$lt_allow_undefined_flag
                   18759: 
                   18760: # Flag that enforces no undefined symbols.
                   18761: no_undefined_flag=$lt_no_undefined_flag
                   18762: 
                   18763: # Flag to hardcode \$libdir into a binary during linking.
                   18764: # This must work even if \$libdir does not exist
                   18765: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
                   18766: 
                   18767: # Whether we need a single "-rpath" flag with a separated argument.
                   18768: hardcode_libdir_separator=$lt_hardcode_libdir_separator
                   18769: 
                   18770: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   18771: # DIR into the resulting binary.
                   18772: hardcode_direct=$hardcode_direct
                   18773: 
                   18774: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   18775: # DIR into the resulting binary and the resulting library dependency is
                   18776: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   18777: # library is relocated.
                   18778: hardcode_direct_absolute=$hardcode_direct_absolute
                   18779: 
                   18780: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   18781: # into the resulting binary.
                   18782: hardcode_minus_L=$hardcode_minus_L
                   18783: 
                   18784: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   18785: # into the resulting binary.
                   18786: hardcode_shlibpath_var=$hardcode_shlibpath_var
                   18787: 
                   18788: # Set to "yes" if building a shared library automatically hardcodes DIR
                   18789: # into the library and all subsequent libraries and executables linked
                   18790: # against it.
                   18791: hardcode_automatic=$hardcode_automatic
                   18792: 
                   18793: # Set to yes if linker adds runtime paths of dependent libraries
                   18794: # to runtime path list.
                   18795: inherit_rpath=$inherit_rpath
                   18796: 
                   18797: # Whether libtool must link a program against all its dependency libraries.
                   18798: link_all_deplibs=$link_all_deplibs
                   18799: 
                   18800: # Set to "yes" if exported symbols are required.
                   18801: always_export_symbols=$always_export_symbols
                   18802: 
                   18803: # The commands to list exported symbols.
                   18804: export_symbols_cmds=$lt_export_symbols_cmds
                   18805: 
                   18806: # Symbols that should not be listed in the preloaded symbols.
                   18807: exclude_expsyms=$lt_exclude_expsyms
                   18808: 
                   18809: # Symbols that must always be exported.
                   18810: include_expsyms=$lt_include_expsyms
                   18811: 
                   18812: # Commands necessary for linking programs (against libraries) with templates.
                   18813: prelink_cmds=$lt_prelink_cmds
                   18814: 
                   18815: # Commands necessary for finishing linking programs.
                   18816: postlink_cmds=$lt_postlink_cmds
                   18817: 
                   18818: # Specify filename containing input files.
                   18819: file_list_spec=$lt_file_list_spec
                   18820: 
                   18821: # How to hardcode a shared library path into an executable.
                   18822: hardcode_action=$hardcode_action
                   18823: 
                   18824: # The directories searched by this compiler when creating a shared library.
                   18825: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
                   18826: 
                   18827: # Dependencies to place before and after the objects being linked to
                   18828: # create a shared library.
                   18829: predep_objects=$lt_predep_objects
                   18830: postdep_objects=$lt_postdep_objects
                   18831: predeps=$lt_predeps
                   18832: postdeps=$lt_postdeps
                   18833: 
                   18834: # The library search path used internally by the compiler when linking
                   18835: # a shared library.
                   18836: compiler_lib_search_path=$lt_compiler_lib_search_path
                   18837: 
                   18838: # ### END LIBTOOL CONFIG
                   18839: 
                   18840: _LT_EOF
                   18841: 
                   18842:   case $host_os in
                   18843:   aix3*)
                   18844:     cat <<\_LT_EOF >> "$cfgfile"
                   18845: # AIX sometimes has problems with the GCC collect2 program.  For some
                   18846: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   18847: # vanish in a puff of smoke.
                   18848: if test "X${COLLECT_NAMES+set}" != Xset; then
                   18849:   COLLECT_NAMES=
                   18850:   export COLLECT_NAMES
                   18851: fi
                   18852: _LT_EOF
                   18853:     ;;
                   18854:   esac
                   18855: 
                   18856: 
                   18857: ltmain="$ac_aux_dir/ltmain.sh"
                   18858: 
                   18859: 
                   18860:   # We use sed instead of cat because bash on DJGPP gets confused if
                   18861:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   18862:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   18863:   # is reportedly fixed, but why not run on old versions too?
                   18864:   sed '$q' "$ltmain" >> "$cfgfile" \
                   18865:      || (rm -f "$cfgfile"; exit 1)
                   18866: 
                   18867:   if test x"$xsi_shell" = xyes; then
                   18868:   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
                   18869: func_dirname ()\
                   18870: {\
                   18871: \    case ${1} in\
                   18872: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   18873: \      *  ) func_dirname_result="${3}" ;;\
                   18874: \    esac\
                   18875: } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
                   18876:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   18877:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   18878: test 0 -eq $? || _lt_function_replace_fail=:
                   18879: 
                   18880: 
                   18881:   sed -e '/^func_basename ()$/,/^} # func_basename /c\
                   18882: func_basename ()\
                   18883: {\
                   18884: \    func_basename_result="${1##*/}"\
                   18885: } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   18886:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   18887:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   18888: test 0 -eq $? || _lt_function_replace_fail=:
                   18889: 
                   18890: 
                   18891:   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
                   18892: func_dirname_and_basename ()\
                   18893: {\
                   18894: \    case ${1} in\
                   18895: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   18896: \      *  ) func_dirname_result="${3}" ;;\
                   18897: \    esac\
                   18898: \    func_basename_result="${1##*/}"\
                   18899: } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   18900:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   18901:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   18902: test 0 -eq $? || _lt_function_replace_fail=:
                   18903: 
                   18904: 
                   18905:   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
                   18906: func_stripname ()\
                   18907: {\
                   18908: \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
                   18909: \    # positional parameters, so assign one to ordinary parameter first.\
                   18910: \    func_stripname_result=${3}\
                   18911: \    func_stripname_result=${func_stripname_result#"${1}"}\
                   18912: \    func_stripname_result=${func_stripname_result%"${2}"}\
                   18913: } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
                   18914:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   18915:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   18916: test 0 -eq $? || _lt_function_replace_fail=:
                   18917: 
                   18918: 
                   18919:   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
                   18920: func_split_long_opt ()\
                   18921: {\
                   18922: \    func_split_long_opt_name=${1%%=*}\
                   18923: \    func_split_long_opt_arg=${1#*=}\
                   18924: } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   18925:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   18926:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   18927: test 0 -eq $? || _lt_function_replace_fail=:
                   18928: 
                   18929: 
                   18930:   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
                   18931: func_split_short_opt ()\
                   18932: {\
                   18933: \    func_split_short_opt_arg=${1#??}\
                   18934: \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
                   18935: } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   18936:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   18937:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   18938: test 0 -eq $? || _lt_function_replace_fail=:
                   18939: 
                   18940: 
                   18941:   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
                   18942: func_lo2o ()\
                   18943: {\
                   18944: \    case ${1} in\
                   18945: \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
                   18946: \      *)    func_lo2o_result=${1} ;;\
                   18947: \    esac\
                   18948: } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
                   18949:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   18950:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   18951: test 0 -eq $? || _lt_function_replace_fail=:
                   18952: 
                   18953: 
                   18954:   sed -e '/^func_xform ()$/,/^} # func_xform /c\
                   18955: func_xform ()\
                   18956: {\
                   18957:     func_xform_result=${1%.*}.lo\
                   18958: } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
                   18959:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   18960:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   18961: test 0 -eq $? || _lt_function_replace_fail=:
                   18962: 
                   18963: 
                   18964:   sed -e '/^func_arith ()$/,/^} # func_arith /c\
                   18965: func_arith ()\
                   18966: {\
                   18967:     func_arith_result=$(( $* ))\
                   18968: } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
                   18969:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   18970:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   18971: test 0 -eq $? || _lt_function_replace_fail=:
                   18972: 
                   18973: 
                   18974:   sed -e '/^func_len ()$/,/^} # func_len /c\
                   18975: func_len ()\
                   18976: {\
                   18977:     func_len_result=${#1}\
                   18978: } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
                   18979:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   18980:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   18981: test 0 -eq $? || _lt_function_replace_fail=:
                   18982: 
                   18983: fi
                   18984: 
                   18985: if test x"$lt_shell_append" = xyes; then
                   18986:   sed -e '/^func_append ()$/,/^} # func_append /c\
                   18987: func_append ()\
                   18988: {\
                   18989:     eval "${1}+=\\${2}"\
                   18990: } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
                   18991:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   18992:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   18993: test 0 -eq $? || _lt_function_replace_fail=:
                   18994: 
                   18995: 
                   18996:   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
                   18997: func_append_quoted ()\
                   18998: {\
                   18999: \    func_quote_for_eval "${2}"\
                   19000: \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
                   19001: } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
                   19002:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   19003:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   19004: test 0 -eq $? || _lt_function_replace_fail=:
                   19005: 
                   19006: 
                   19007:   # Save a `func_append' function call where possible by direct use of '+='
                   19008:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
                   19009:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   19010:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   19011:   test 0 -eq $? || _lt_function_replace_fail=:
                   19012: else
                   19013:   # Save a `func_append' function call even when '+=' is not available
                   19014:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
                   19015:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   19016:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   19017:   test 0 -eq $? || _lt_function_replace_fail=:
                   19018: fi
                   19019: 
                   19020: if test x"$_lt_function_replace_fail" = x":"; then
1.43      moko     19021:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
                   19022: $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
1.35      moko     19023: fi
                   19024: 
                   19025: 
                   19026:    mv -f "$cfgfile" "$ofile" ||
                   19027:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
                   19028:   chmod +x "$ofile"
                   19029: 
                   19030: 
                   19031:     cat <<_LT_EOF >> "$ofile"
                   19032: 
                   19033: # ### BEGIN LIBTOOL TAG CONFIG: CXX
                   19034: 
                   19035: # The linker used to build libraries.
                   19036: LD=$lt_LD_CXX
                   19037: 
                   19038: # How to create reloadable object files.
                   19039: reload_flag=$lt_reload_flag_CXX
                   19040: reload_cmds=$lt_reload_cmds_CXX
                   19041: 
                   19042: # Commands used to build an old-style archive.
                   19043: old_archive_cmds=$lt_old_archive_cmds_CXX
                   19044: 
                   19045: # A language specific compiler.
                   19046: CC=$lt_compiler_CXX
                   19047: 
                   19048: # Is the compiler the GNU compiler?
                   19049: with_gcc=$GCC_CXX
                   19050: 
                   19051: # Compiler flag to turn off builtin functions.
                   19052: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
                   19053: 
                   19054: # Additional compiler flags for building library objects.
                   19055: pic_flag=$lt_lt_prog_compiler_pic_CXX
                   19056: 
                   19057: # How to pass a linker flag through the compiler.
                   19058: wl=$lt_lt_prog_compiler_wl_CXX
                   19059: 
                   19060: # Compiler flag to prevent dynamic linking.
                   19061: link_static_flag=$lt_lt_prog_compiler_static_CXX
                   19062: 
                   19063: # Does compiler simultaneously support -c and -o options?
                   19064: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
                   19065: 
                   19066: # Whether or not to add -lc for building shared libraries.
                   19067: build_libtool_need_lc=$archive_cmds_need_lc_CXX
                   19068: 
                   19069: # Whether or not to disallow shared libs when runtime libs are static.
                   19070: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
                   19071: 
                   19072: # Compiler flag to allow reflexive dlopens.
                   19073: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
                   19074: 
                   19075: # Compiler flag to generate shared objects directly from archives.
                   19076: whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
                   19077: 
                   19078: # Whether the compiler copes with passing no objects directly.
                   19079: compiler_needs_object=$lt_compiler_needs_object_CXX
                   19080: 
                   19081: # Create an old-style archive from a shared archive.
                   19082: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
                   19083: 
                   19084: # Create a temporary old-style archive to link instead of a shared archive.
                   19085: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
                   19086: 
                   19087: # Commands used to build a shared archive.
                   19088: archive_cmds=$lt_archive_cmds_CXX
                   19089: archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
                   19090: 
                   19091: # Commands used to build a loadable module if different from building
                   19092: # a shared archive.
                   19093: module_cmds=$lt_module_cmds_CXX
                   19094: module_expsym_cmds=$lt_module_expsym_cmds_CXX
                   19095: 
                   19096: # Whether we are building with GNU ld or not.
                   19097: with_gnu_ld=$lt_with_gnu_ld_CXX
                   19098: 
                   19099: # Flag that allows shared libraries with undefined symbols to be built.
                   19100: allow_undefined_flag=$lt_allow_undefined_flag_CXX
                   19101: 
                   19102: # Flag that enforces no undefined symbols.
                   19103: no_undefined_flag=$lt_no_undefined_flag_CXX
                   19104: 
                   19105: # Flag to hardcode \$libdir into a binary during linking.
                   19106: # This must work even if \$libdir does not exist
                   19107: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
                   19108: 
                   19109: # Whether we need a single "-rpath" flag with a separated argument.
                   19110: hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
                   19111: 
                   19112: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   19113: # DIR into the resulting binary.
                   19114: hardcode_direct=$hardcode_direct_CXX
                   19115: 
                   19116: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   19117: # DIR into the resulting binary and the resulting library dependency is
                   19118: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   19119: # library is relocated.
                   19120: hardcode_direct_absolute=$hardcode_direct_absolute_CXX
                   19121: 
                   19122: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   19123: # into the resulting binary.
                   19124: hardcode_minus_L=$hardcode_minus_L_CXX
                   19125: 
                   19126: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   19127: # into the resulting binary.
                   19128: hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
                   19129: 
                   19130: # Set to "yes" if building a shared library automatically hardcodes DIR
                   19131: # into the library and all subsequent libraries and executables linked
                   19132: # against it.
                   19133: hardcode_automatic=$hardcode_automatic_CXX
                   19134: 
                   19135: # Set to yes if linker adds runtime paths of dependent libraries
                   19136: # to runtime path list.
                   19137: inherit_rpath=$inherit_rpath_CXX
                   19138: 
                   19139: # Whether libtool must link a program against all its dependency libraries.
                   19140: link_all_deplibs=$link_all_deplibs_CXX
                   19141: 
                   19142: # Set to "yes" if exported symbols are required.
                   19143: always_export_symbols=$always_export_symbols_CXX
                   19144: 
                   19145: # The commands to list exported symbols.
                   19146: export_symbols_cmds=$lt_export_symbols_cmds_CXX
                   19147: 
                   19148: # Symbols that should not be listed in the preloaded symbols.
                   19149: exclude_expsyms=$lt_exclude_expsyms_CXX
                   19150: 
                   19151: # Symbols that must always be exported.
                   19152: include_expsyms=$lt_include_expsyms_CXX
                   19153: 
                   19154: # Commands necessary for linking programs (against libraries) with templates.
                   19155: prelink_cmds=$lt_prelink_cmds_CXX
                   19156: 
                   19157: # Commands necessary for finishing linking programs.
                   19158: postlink_cmds=$lt_postlink_cmds_CXX
                   19159: 
                   19160: # Specify filename containing input files.
                   19161: file_list_spec=$lt_file_list_spec_CXX
                   19162: 
                   19163: # How to hardcode a shared library path into an executable.
                   19164: hardcode_action=$hardcode_action_CXX
                   19165: 
                   19166: # The directories searched by this compiler when creating a shared library.
                   19167: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
                   19168: 
                   19169: # Dependencies to place before and after the objects being linked to
                   19170: # create a shared library.
                   19171: predep_objects=$lt_predep_objects_CXX
                   19172: postdep_objects=$lt_postdep_objects_CXX
                   19173: predeps=$lt_predeps_CXX
                   19174: postdeps=$lt_postdeps_CXX
                   19175: 
                   19176: # The library search path used internally by the compiler when linking
                   19177: # a shared library.
                   19178: compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
                   19179: 
                   19180: # ### END LIBTOOL TAG CONFIG: CXX
                   19181: _LT_EOF
1.1       parser   19182: 
1.15      paf      19183:  ;;
1.43      moko     19184: 
1.15      paf      19185:   esac
1.43      moko     19186: done # for ac_tag
1.1       parser   19187: 
                   19188: 
1.43      moko     19189: as_fn_exit 0
1.15      paf      19190: _ACEOF
                   19191: ac_clean_files=$ac_clean_files_save
                   19192: 
1.43      moko     19193: test $ac_write_fail = 0 ||
                   19194:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
                   19195: 
1.15      paf      19196: 
                   19197: # configure is writing to config.log, and then calls config.status.
                   19198: # config.status does its own redirection, appending to config.log.
                   19199: # Unfortunately, on DOS this fails, as config.log is still kept open
                   19200: # by configure, so config.status won't be able to write to it; its
                   19201: # output is simply discarded.  So we exec the FD to /dev/null,
                   19202: # effectively closing config.log, so it can be properly (re)opened and
                   19203: # appended to by config.status.  When coming back to configure, we
                   19204: # need to make the FD available again.
                   19205: if test "$no_create" != yes; then
                   19206:   ac_cs_success=:
                   19207:   ac_config_status_args=
                   19208:   test "$silent" = yes &&
                   19209:     ac_config_status_args="$ac_config_status_args --quiet"
                   19210:   exec 5>/dev/null
                   19211:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   19212:   exec 5>>config.log
                   19213:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   19214:   # would make configure fail if this is the last instruction.
1.43      moko     19215:   $ac_cs_success || as_fn_exit 1
1.15      paf      19216: fi
1.1       parser   19217: 
1.15      paf      19218: #
                   19219: # CONFIG_SUBDIRS section.
                   19220: #
1.1       parser   19221: if test "$no_recursion" != yes; then
                   19222: 
1.43      moko     19223:   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
                   19224:   # so they do not pile up.
1.1       parser   19225:   ac_sub_configure_args=
                   19226:   ac_prev=
1.43      moko     19227:   eval "set x $ac_configure_args"
                   19228:   shift
                   19229:   for ac_arg
                   19230:   do
1.1       parser   19231:     if test -n "$ac_prev"; then
                   19232:       ac_prev=
                   19233:       continue
                   19234:     fi
1.15      paf      19235:     case $ac_arg in
1.1       parser   19236:     -cache-file | --cache-file | --cache-fil | --cache-fi \
                   19237:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                   19238:       ac_prev=cache_file ;;
                   19239:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1.15      paf      19240:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
                   19241:     | --c=*)
                   19242:       ;;
                   19243:     --config-cache | -C)
1.1       parser   19244:       ;;
                   19245:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   19246:       ac_prev=srcdir ;;
                   19247:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   19248:       ;;
1.15      paf      19249:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   19250:       ac_prev=prefix ;;
                   19251:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   19252:       ;;
1.43      moko     19253:     --disable-option-checking)
                   19254:       ;;
                   19255:     *)
                   19256:       case $ac_arg in
                   19257:       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   19258:       esac
                   19259:       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
1.1       parser   19260:     esac
                   19261:   done
                   19262: 
1.15      paf      19263:   # Always prepend --prefix to ensure using the same prefix
                   19264:   # in subdir configurations.
1.43      moko     19265:   ac_arg="--prefix=$prefix"
                   19266:   case $ac_arg in
                   19267:   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   19268:   esac
                   19269:   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
                   19270: 
                   19271:   # Pass --silent
                   19272:   if test "$silent" = yes; then
                   19273:     ac_sub_configure_args="--silent $ac_sub_configure_args"
                   19274:   fi
                   19275: 
                   19276:   # Always prepend --disable-option-checking to silence warnings, since
                   19277:   # different subdirs can have different --enable and --with options.
                   19278:   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
1.15      paf      19279: 
                   19280:   ac_popdir=`pwd`
                   19281:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
1.1       parser   19282: 
                   19283:     # Do not complain, so a configure script can configure whichever
                   19284:     # parts of a large source tree are present.
1.43      moko     19285:     test -d "$srcdir/$ac_dir" || continue
1.15      paf      19286: 
1.43      moko     19287:     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
                   19288:     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
                   19289:     $as_echo "$ac_msg" >&6
                   19290:     as_dir="$ac_dir"; as_fn_mkdir_p
1.15      paf      19291:     ac_builddir=.
                   19292: 
1.43      moko     19293: case "$ac_dir" in
                   19294: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   19295: *)
                   19296:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   19297:   # A ".." for each directory in $ac_dir_suffix.
                   19298:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   19299:   case $ac_top_builddir_sub in
                   19300:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   19301:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   19302:   esac ;;
                   19303: esac
                   19304: ac_abs_top_builddir=$ac_pwd
                   19305: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   19306: # for backward compatibility:
                   19307: ac_top_builddir=$ac_top_build_prefix
1.15      paf      19308: 
                   19309: case $srcdir in
1.43      moko     19310:   .)  # We are building in place.
1.15      paf      19311:     ac_srcdir=.
1.43      moko     19312:     ac_top_srcdir=$ac_top_builddir_sub
                   19313:     ac_abs_top_srcdir=$ac_pwd ;;
                   19314:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.15      paf      19315:     ac_srcdir=$srcdir$ac_dir_suffix;
1.43      moko     19316:     ac_top_srcdir=$srcdir
                   19317:     ac_abs_top_srcdir=$srcdir ;;
                   19318:   *) # Relative name.
                   19319:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   19320:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   19321:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.25      paf      19322: esac
1.43      moko     19323: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.1       parser   19324: 
                   19325: 
1.43      moko     19326:     cd "$ac_dir"
1.1       parser   19327: 
                   19328:     # Check for guested configure; otherwise get Cygnus style configure.
1.43      moko     19329:     if test -f "$ac_srcdir/configure.gnu"; then
                   19330:       ac_sub_configure=$ac_srcdir/configure.gnu
                   19331:     elif test -f "$ac_srcdir/configure"; then
                   19332:       ac_sub_configure=$ac_srcdir/configure
                   19333:     elif test -f "$ac_srcdir/configure.in"; then
                   19334:       # This should be Cygnus configure.
                   19335:       ac_sub_configure=$ac_aux_dir/configure
1.1       parser   19336:     else
1.43      moko     19337:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
                   19338: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
1.1       parser   19339:       ac_sub_configure=
                   19340:     fi
                   19341: 
                   19342:     # The recursion is here.
                   19343:     if test -n "$ac_sub_configure"; then
                   19344:       # Make the cache file name correct relative to the subdirectory.
1.15      paf      19345:       case $cache_file in
                   19346:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
1.43      moko     19347:       *) # Relative name.
                   19348:        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
1.1       parser   19349:       esac
                   19350: 
1.43      moko     19351:       { $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
                   19352: $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   19353:       # The eval makes quoting arguments work.
1.43      moko     19354:       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
                   19355:           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
                   19356:        as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
1.1       parser   19357:     fi
                   19358: 
1.43      moko     19359:     cd "$ac_popdir"
1.1       parser   19360:   done
                   19361: fi
1.43      moko     19362: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
                   19363:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
                   19364: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
                   19365: fi
1.1       parser   19366: 

E-mail: