Annotation of parser3/configure, revision 1.186

1.1       paf         1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.186   ! moko        3: # Generated by GNU Autoconf 2.69 for parser 3.4.6b.
1.150     moko        4: #
                      5: #
1.166     moko        6: # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
1.150     moko        7: #
1.1       paf         8: #
                      9: # This configure script is free software; the Free Software Foundation
                     10: # gives unlimited permission to copy, distribute and modify it.
1.150     moko       11: ## -------------------- ##
                     12: ## M4sh Initialization. ##
                     13: ## -------------------- ##
1.62      paf        14: 
1.150     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.62      paf        18:   emulate sh
                     19:   NULLCMD=:
1.150     moko       20:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.62      paf        21:   # is contrary to our usage.  Disable this feature.
                     22:   alias -g '${1+"$@"}'='"$@"'
1.150     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.62      paf        70: fi
                     71: 
1.150     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.62      paf        79: fi
                     80: 
                     81: 
1.150     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.62      paf       122: PS1='$ '
                    123: PS2='> '
                    124: PS4='+ '
                    125: 
                    126: # NLS nuisances.
1.150     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.166     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.150     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.166     moko      193: test x\$exitcode = x0 || exit 1
                    194: test -x / || exit 1"
1.150     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.62      paf       219: do
1.150     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.166     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.150     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.62      paf       274:   else
1.150     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.62      paf       279:   fi
1.150     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.166     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.150     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.62      paf       426: 
1.150     moko      427: if expr a : '\(a\)' >/dev/null 2>&1 &&
                    428:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.62      paf       429:   as_expr=expr
                    430: else
                    431:   as_expr=false
                    432: fi
                    433: 
1.150     moko      434: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1.62      paf       435:   as_basename=basename
                    436: else
                    437:   as_basename=false
                    438: fi
                    439: 
1.150     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.62      paf       445: 
1.150     moko      446: as_me=`$as_basename -- "$0" ||
1.62      paf       447: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                    448:         X"$0" : 'X\(//\)$' \| \
1.150     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.62      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.150     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.62      paf       482:     sed '
1.150     moko      483:       s/[$]LINENO.*/&-/
                    484:       t lineno
                    485:       b
                    486:       :lineno
1.62      paf       487:       N
1.150     moko      488:       :loop
                    489:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1.62      paf       490:       t loop
1.150     moko      491:       s/-\n.*//
1.62      paf       492:     ' >$as_me.lineno &&
1.150     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.62      paf       495: 
1.166     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.62      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.150     moko      502:   # original and so on.  Autoconf is especially sensitive to this).
                    503:   . "./$as_me.lineno"
1.62      paf       504:   # Exit status is that of the last command.
                    505:   exit
                    506: }
                    507: 
1.150     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.62      paf       519: esac
                    520: 
1.150     moko      521: rm -f conf$$ conf$$.exe conf$$.file
                    522: if test -d conf$$.dir; then
                    523:   rm -f conf$$.dir/conf$$.file
1.62      paf       524: else
1.150     moko      525:   rm -f conf$$.dir
                    526:   mkdir conf$$.dir 2>/dev/null
1.62      paf       527: fi
1.150     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.166     moko      534:     # In both cases, we have to default to `cp -pR'.
1.150     moko      535:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.166     moko      536:       as_ln_s='cp -pR'
1.150     moko      537:   elif ln conf$$.file conf$$ 2>/dev/null; then
                    538:     as_ln_s=ln
                    539:   else
1.166     moko      540:     as_ln_s='cp -pR'
1.62      paf       541:   fi
                    542: else
1.166     moko      543:   as_ln_s='cp -pR'
1.62      paf       544: fi
1.150     moko      545: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                    546: rmdir conf$$.dir 2>/dev/null
1.62      paf       547: 
                    548: if mkdir -p . 2>/dev/null; then
1.150     moko      549:   as_mkdir_p='mkdir -p "$as_dir"'
1.62      paf       550: else
1.86      paf       551:   test -d ./-p && rmdir ./-p
1.62      paf       552:   as_mkdir_p=false
                    553: fi
                    554: 
1.166     moko      555: as_test_x='test -x'
                    556: as_executable_p=as_fn_executable_p
1.62      paf       557: 
                    558: # Sed expression to map a string onto a valid CPP name.
1.86      paf       559: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf       560: 
                    561: # Sed expression to map a string onto a valid variable name.
1.86      paf       562: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf       563: 
1.128     moko      564: lt_ltdl_dir='src/lib/ltdl'
                    565: 
                    566: SHELL=${CONFIG_SHELL-/bin/sh}
                    567: 
                    568: lt_dlopen_dir="$lt_ltdl_dir"
                    569: 
1.1       paf       570: 
1.150     moko      571: test -n "$DJDIR" || exec 7<&0 </dev/null
                    572: exec 6>&1
                    573: 
1.62      paf       574: # Name of the host.
1.150     moko      575: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
1.62      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       paf       582: ac_default_prefix=/usr/local
1.150     moko      583: ac_clean_files=
1.62      paf       584: ac_config_libobj_dir=.
1.150     moko      585: LIBOBJS=
1.62      paf       586: cross_compiling=no
                    587: subdirs=
                    588: MFLAGS=
                    589: MAKEFLAGS=
                    590: 
                    591: # Identity of this package.
1.128     moko      592: PACKAGE_NAME='parser'
                    593: PACKAGE_TARNAME='parser'
1.186   ! moko      594: PACKAGE_VERSION='3.4.6b'
        !           595: PACKAGE_STRING='parser 3.4.6b'
1.128     moko      596: PACKAGE_BUGREPORT=''
1.150     moko      597: PACKAGE_URL=''
1.62      paf       598: 
                    599: ac_unique_file="README"
                    600: # Factoring default headers for most tests.
                    601: ac_includes_default="\
                    602: #include <stdio.h>
1.150     moko      603: #ifdef HAVE_SYS_TYPES_H
1.62      paf       604: # include <sys/types.h>
                    605: #endif
1.150     moko      606: #ifdef HAVE_SYS_STAT_H
1.62      paf       607: # include <sys/stat.h>
                    608: #endif
1.150     moko      609: #ifdef STDC_HEADERS
1.62      paf       610: # include <stdlib.h>
                    611: # include <stddef.h>
                    612: #else
1.150     moko      613: # ifdef HAVE_STDLIB_H
1.62      paf       614: #  include <stdlib.h>
                    615: # endif
                    616: #endif
1.150     moko      617: #ifdef HAVE_STRING_H
                    618: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
1.62      paf       619: #  include <memory.h>
                    620: # endif
                    621: # include <string.h>
                    622: #endif
1.150     moko      623: #ifdef HAVE_STRINGS_H
1.62      paf       624: # include <strings.h>
                    625: #endif
1.150     moko      626: #ifdef HAVE_INTTYPES_H
1.62      paf       627: # include <inttypes.h>
                    628: #endif
1.150     moko      629: #ifdef HAVE_STDINT_H
                    630: # include <stdint.h>
                    631: #endif
                    632: #ifdef HAVE_UNISTD_H
1.62      paf       633: # include <unistd.h>
                    634: #endif"
                    635: 
1.150     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: LIBTOOL
                    683: OBJDUMP
                    684: DLLTOOL
                    685: AS
                    686: COMPILE_APACHE_MODULE_FALSE
                    687: COMPILE_APACHE_MODULE_TRUE
                    688: APACHE_CFLAGS
                    689: APACHE_INC
                    690: APACHE
                    691: MIME_LIBS
                    692: MIME_INCLUDES
                    693: XML_LIBS
                    694: XML_INCLUDES
                    695: PCRE_LIBS
                    696: PCRE_INCLUDES
                    697: GC_LIBS
                    698: dll_extension
                    699: am__fastdepCC_FALSE
                    700: am__fastdepCC_TRUE
                    701: CCDEPMODE
                    702: ac_ct_CC
                    703: CFLAGS
                    704: CC
                    705: am__fastdepCXX_FALSE
                    706: am__fastdepCXX_TRUE
                    707: CXXDEPMODE
                    708: AMDEPBACKSLASH
                    709: AMDEP_FALSE
                    710: AMDEP_TRUE
                    711: am__quote
                    712: am__include
                    713: DEPDIR
                    714: OBJEXT
                    715: EXEEXT
                    716: ac_ct_CXX
                    717: CPPFLAGS
                    718: LDFLAGS
                    719: CXXFLAGS
                    720: CXX
                    721: YFLAGS
                    722: YACC
                    723: host_os
                    724: host_vendor
                    725: host_cpu
                    726: host
                    727: build_os
                    728: build_vendor
                    729: build_cpu
                    730: build
                    731: P3S
                    732: am__untar
                    733: am__tar
                    734: AMTAR
                    735: am__leading_dot
                    736: SET_MAKE
                    737: AWK
                    738: mkdir_p
                    739: MKDIR_P
                    740: INSTALL_STRIP_PROGRAM
                    741: STRIP
                    742: install_sh
                    743: MAKEINFO
                    744: AUTOHEADER
                    745: AUTOMAKE
                    746: AUTOCONF
                    747: ACLOCAL
                    748: VERSION
                    749: PACKAGE
                    750: CYGPATH_W
                    751: am__isrc
                    752: INSTALL_DATA
                    753: INSTALL_SCRIPT
                    754: INSTALL_PROGRAM
                    755: target_alias
                    756: host_alias
                    757: build_alias
                    758: LIBS
                    759: ECHO_T
                    760: ECHO_N
                    761: ECHO_C
                    762: DEFS
                    763: mandir
                    764: localedir
                    765: libdir
                    766: psdir
                    767: pdfdir
                    768: dvidir
                    769: htmldir
                    770: infodir
                    771: docdir
                    772: oldincludedir
                    773: includedir
                    774: localstatedir
                    775: sharedstatedir
                    776: sysconfdir
                    777: datadir
                    778: datarootdir
                    779: libexecdir
                    780: sbindir
                    781: bindir
                    782: program_transform_name
                    783: prefix
                    784: exec_prefix
                    785: PACKAGE_URL
                    786: PACKAGE_BUGREPORT
                    787: PACKAGE_STRING
                    788: PACKAGE_VERSION
                    789: PACKAGE_TARNAME
                    790: PACKAGE_NAME
                    791: PATH_SEPARATOR
                    792: SHELL'
1.62      paf       793: ac_subst_files=''
1.150     moko      794: ac_user_opts='
                    795: enable_option_checking
                    796: enable_dependency_tracking
                    797: with_build_warnings
1.182     moko      798: with_coverage
                    799: with_profiler
1.150     moko      800: with_assertions
                    801: with_sjlj_exceptions
                    802: enable_safe_mode
                    803: enable_execs
                    804: enable_stringstream
                    805: with_gc
                    806: with_pcre
                    807: with_xml
1.154     moko      808: with_mailreceive
1.150     moko      809: with_sendmail
                    810: with_apache
                    811: with_pic
                    812: enable_shared
                    813: enable_static
                    814: enable_fast_install
                    815: with_gnu_ld
                    816: with_sysroot
                    817: enable_libtool_lock
                    818: with_included_ltdl
                    819: with_ltdl_include
                    820: with_ltdl_lib
                    821: enable_ltdl_install
1.171     moko      822: enable_largefile
1.150     moko      823: '
                    824:       ac_precious_vars='build_alias
                    825: host_alias
                    826: target_alias
                    827: YACC
                    828: YFLAGS
                    829: CXX
                    830: CXXFLAGS
                    831: LDFLAGS
                    832: LIBS
                    833: CPPFLAGS
                    834: CCC
                    835: CC
                    836: CFLAGS
                    837: CPP
                    838: CXXCPP'
                    839: ac_subdirs_all='src/lib/ltdl'
1.1       paf       840: 
                    841: # Initialize some variables set by options.
1.62      paf       842: ac_init_help=
                    843: ac_init_version=false
1.150     moko      844: ac_unrecognized_opts=
                    845: ac_unrecognized_sep=
1.1       paf       846: # The variables have the same names as the options, with
                    847: # dashes changed to underlines.
1.62      paf       848: cache_file=/dev/null
1.1       paf       849: exec_prefix=NONE
                    850: no_create=
                    851: no_recursion=
                    852: prefix=NONE
                    853: program_prefix=NONE
                    854: program_suffix=NONE
                    855: program_transform_name=s,x,x,
                    856: silent=
                    857: site=
                    858: srcdir=
                    859: verbose=
                    860: x_includes=NONE
                    861: x_libraries=NONE
1.62      paf       862: 
                    863: # Installation directory options.
                    864: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    865: # and all the variables that are supposed to be based on exec_prefix
                    866: # by default will actually change.
                    867: # Use braces instead of parens because sh, perl, etc. also accept them.
1.150     moko      868: # (The list follows the same order as the GNU Coding Standards.)
1.1       paf       869: bindir='${exec_prefix}/bin'
                    870: sbindir='${exec_prefix}/sbin'
                    871: libexecdir='${exec_prefix}/libexec'
1.150     moko      872: datarootdir='${prefix}/share'
                    873: datadir='${datarootdir}'
1.1       paf       874: sysconfdir='${prefix}/etc'
                    875: sharedstatedir='${prefix}/com'
                    876: localstatedir='${prefix}/var'
                    877: includedir='${prefix}/include'
                    878: oldincludedir='/usr/include'
1.150     moko      879: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
                    880: infodir='${datarootdir}/info'
                    881: htmldir='${docdir}'
                    882: dvidir='${docdir}'
                    883: pdfdir='${docdir}'
                    884: psdir='${docdir}'
                    885: libdir='${exec_prefix}/lib'
                    886: localedir='${datarootdir}/locale'
                    887: mandir='${datarootdir}/man'
1.1       paf       888: 
                    889: ac_prev=
1.150     moko      890: ac_dashdash=
1.1       paf       891: for ac_option
                    892: do
                    893:   # If the previous option needs an argument, assign it.
                    894:   if test -n "$ac_prev"; then
1.150     moko      895:     eval $ac_prev=\$ac_option
1.1       paf       896:     ac_prev=
                    897:     continue
                    898:   fi
                    899: 
1.150     moko      900:   case $ac_option in
                    901:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
                    902:   *=)   ac_optarg= ;;
                    903:   *)    ac_optarg=yes ;;
                    904:   esac
1.1       paf       905: 
                    906:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    907: 
1.150     moko      908:   case $ac_dashdash$ac_option in
                    909:   --)
                    910:     ac_dashdash=yes ;;
1.1       paf       911: 
                    912:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    913:     ac_prev=bindir ;;
                    914:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1.62      paf       915:     bindir=$ac_optarg ;;
1.1       paf       916: 
                    917:   -build | --build | --buil | --bui | --bu)
1.62      paf       918:     ac_prev=build_alias ;;
1.1       paf       919:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1.62      paf       920:     build_alias=$ac_optarg ;;
1.1       paf       921: 
                    922:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    923:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    924:     ac_prev=cache_file ;;
                    925:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    926:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1.62      paf       927:     cache_file=$ac_optarg ;;
                    928: 
                    929:   --config-cache | -C)
                    930:     cache_file=config.cache ;;
1.1       paf       931: 
1.150     moko      932:   -datadir | --datadir | --datadi | --datad)
1.1       paf       933:     ac_prev=datadir ;;
1.150     moko      934:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1.62      paf       935:     datadir=$ac_optarg ;;
1.1       paf       936: 
1.150     moko      937:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
                    938:   | --dataroo | --dataro | --datar)
                    939:     ac_prev=datarootdir ;;
                    940:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
                    941:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
                    942:     datarootdir=$ac_optarg ;;
                    943: 
1.1       paf       944:   -disable-* | --disable-*)
1.150     moko      945:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1       paf       946:     # Reject names that are not valid shell variable names.
1.150     moko      947:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                    948:       as_fn_error $? "invalid feature name: $ac_useropt"
                    949:     ac_useropt_orig=$ac_useropt
                    950:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    951:     case $ac_user_opts in
                    952:       *"
                    953: "enable_$ac_useropt"
                    954: "*) ;;
                    955:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
                    956:         ac_unrecognized_sep=', ';;
                    957:     esac
                    958:     eval enable_$ac_useropt=no ;;
                    959: 
                    960:   -docdir | --docdir | --docdi | --doc | --do)
                    961:     ac_prev=docdir ;;
                    962:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
                    963:     docdir=$ac_optarg ;;
                    964: 
                    965:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
                    966:     ac_prev=dvidir ;;
                    967:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
                    968:     dvidir=$ac_optarg ;;
1.1       paf       969: 
                    970:   -enable-* | --enable-*)
1.150     moko      971:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1       paf       972:     # Reject names that are not valid shell variable names.
1.150     moko      973:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                    974:       as_fn_error $? "invalid feature name: $ac_useropt"
                    975:     ac_useropt_orig=$ac_useropt
                    976:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    977:     case $ac_user_opts in
                    978:       *"
                    979: "enable_$ac_useropt"
                    980: "*) ;;
                    981:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
                    982:         ac_unrecognized_sep=', ';;
1.1       paf       983:     esac
1.150     moko      984:     eval enable_$ac_useropt=\$ac_optarg ;;
1.1       paf       985: 
                    986:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    987:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    988:   | --exec | --exe | --ex)
                    989:     ac_prev=exec_prefix ;;
                    990:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                    991:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                    992:   | --exec=* | --exe=* | --ex=*)
1.62      paf       993:     exec_prefix=$ac_optarg ;;
1.1       paf       994: 
                    995:   -gas | --gas | --ga | --g)
                    996:     # Obsolete; use --with-gas.
                    997:     with_gas=yes ;;
                    998: 
1.62      paf       999:   -help | --help | --hel | --he | -h)
                   1000:     ac_init_help=long ;;
                   1001:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                   1002:     ac_init_help=recursive ;;
                   1003:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                   1004:     ac_init_help=short ;;
1.1       paf      1005: 
                   1006:   -host | --host | --hos | --ho)
1.62      paf      1007:     ac_prev=host_alias ;;
1.1       paf      1008:   -host=* | --host=* | --hos=* | --ho=*)
1.62      paf      1009:     host_alias=$ac_optarg ;;
1.1       paf      1010: 
1.150     moko     1011:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
                   1012:     ac_prev=htmldir ;;
                   1013:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
                   1014:   | --ht=*)
                   1015:     htmldir=$ac_optarg ;;
                   1016: 
1.1       paf      1017:   -includedir | --includedir | --includedi | --included | --include \
                   1018:   | --includ | --inclu | --incl | --inc)
                   1019:     ac_prev=includedir ;;
                   1020:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                   1021:   | --includ=* | --inclu=* | --incl=* | --inc=*)
1.62      paf      1022:     includedir=$ac_optarg ;;
1.1       paf      1023: 
                   1024:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                   1025:     ac_prev=infodir ;;
                   1026:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1.62      paf      1027:     infodir=$ac_optarg ;;
1.1       paf      1028: 
                   1029:   -libdir | --libdir | --libdi | --libd)
                   1030:     ac_prev=libdir ;;
                   1031:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1.62      paf      1032:     libdir=$ac_optarg ;;
1.1       paf      1033: 
                   1034:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                   1035:   | --libexe | --libex | --libe)
                   1036:     ac_prev=libexecdir ;;
                   1037:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                   1038:   | --libexe=* | --libex=* | --libe=*)
1.62      paf      1039:     libexecdir=$ac_optarg ;;
1.1       paf      1040: 
1.150     moko     1041:   -localedir | --localedir | --localedi | --localed | --locale)
                   1042:     ac_prev=localedir ;;
                   1043:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
                   1044:     localedir=$ac_optarg ;;
                   1045: 
1.1       paf      1046:   -localstatedir | --localstatedir | --localstatedi | --localstated \
1.150     moko     1047:   | --localstate | --localstat | --localsta | --localst | --locals)
1.1       paf      1048:     ac_prev=localstatedir ;;
                   1049:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1.150     moko     1050:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1.62      paf      1051:     localstatedir=$ac_optarg ;;
1.1       paf      1052: 
                   1053:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                   1054:     ac_prev=mandir ;;
                   1055:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1.62      paf      1056:     mandir=$ac_optarg ;;
1.1       paf      1057: 
                   1058:   -nfp | --nfp | --nf)
                   1059:     # Obsolete; use --without-fp.
                   1060:     with_fp=no ;;
                   1061: 
                   1062:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1.62      paf      1063:   | --no-cr | --no-c | -n)
1.1       paf      1064:     no_create=yes ;;
                   1065: 
                   1066:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                   1067:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                   1068:     no_recursion=yes ;;
                   1069: 
                   1070:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                   1071:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                   1072:   | --oldin | --oldi | --old | --ol | --o)
                   1073:     ac_prev=oldincludedir ;;
                   1074:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                   1075:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                   1076:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1.62      paf      1077:     oldincludedir=$ac_optarg ;;
1.1       paf      1078: 
                   1079:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   1080:     ac_prev=prefix ;;
                   1081:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1.62      paf      1082:     prefix=$ac_optarg ;;
1.1       paf      1083: 
                   1084:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                   1085:   | --program-pre | --program-pr | --program-p)
                   1086:     ac_prev=program_prefix ;;
                   1087:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                   1088:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1.62      paf      1089:     program_prefix=$ac_optarg ;;
1.1       paf      1090: 
                   1091:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                   1092:   | --program-suf | --program-su | --program-s)
                   1093:     ac_prev=program_suffix ;;
                   1094:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                   1095:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1.62      paf      1096:     program_suffix=$ac_optarg ;;
1.1       paf      1097: 
                   1098:   -program-transform-name | --program-transform-name \
                   1099:   | --program-transform-nam | --program-transform-na \
                   1100:   | --program-transform-n | --program-transform- \
                   1101:   | --program-transform | --program-transfor \
                   1102:   | --program-transfo | --program-transf \
                   1103:   | --program-trans | --program-tran \
                   1104:   | --progr-tra | --program-tr | --program-t)
                   1105:     ac_prev=program_transform_name ;;
                   1106:   -program-transform-name=* | --program-transform-name=* \
                   1107:   | --program-transform-nam=* | --program-transform-na=* \
                   1108:   | --program-transform-n=* | --program-transform-=* \
                   1109:   | --program-transform=* | --program-transfor=* \
                   1110:   | --program-transfo=* | --program-transf=* \
                   1111:   | --program-trans=* | --program-tran=* \
                   1112:   | --progr-tra=* | --program-tr=* | --program-t=*)
1.62      paf      1113:     program_transform_name=$ac_optarg ;;
1.1       paf      1114: 
1.150     moko     1115:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
                   1116:     ac_prev=pdfdir ;;
                   1117:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
                   1118:     pdfdir=$ac_optarg ;;
                   1119: 
                   1120:   -psdir | --psdir | --psdi | --psd | --ps)
                   1121:     ac_prev=psdir ;;
                   1122:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
                   1123:     psdir=$ac_optarg ;;
                   1124: 
1.1       paf      1125:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1126:   | -silent | --silent | --silen | --sile | --sil)
                   1127:     silent=yes ;;
                   1128: 
                   1129:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                   1130:     ac_prev=sbindir ;;
                   1131:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                   1132:   | --sbi=* | --sb=*)
1.62      paf      1133:     sbindir=$ac_optarg ;;
1.1       paf      1134: 
                   1135:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                   1136:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                   1137:   | --sharedst | --shareds | --shared | --share | --shar \
                   1138:   | --sha | --sh)
                   1139:     ac_prev=sharedstatedir ;;
                   1140:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                   1141:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                   1142:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                   1143:   | --sha=* | --sh=*)
1.62      paf      1144:     sharedstatedir=$ac_optarg ;;
1.1       paf      1145: 
                   1146:   -site | --site | --sit)
                   1147:     ac_prev=site ;;
                   1148:   -site=* | --site=* | --sit=*)
1.62      paf      1149:     site=$ac_optarg ;;
1.1       paf      1150: 
                   1151:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   1152:     ac_prev=srcdir ;;
                   1153:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1.62      paf      1154:     srcdir=$ac_optarg ;;
1.1       paf      1155: 
                   1156:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                   1157:   | --syscon | --sysco | --sysc | --sys | --sy)
                   1158:     ac_prev=sysconfdir ;;
                   1159:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                   1160:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1.62      paf      1161:     sysconfdir=$ac_optarg ;;
1.1       paf      1162: 
                   1163:   -target | --target | --targe | --targ | --tar | --ta | --t)
1.62      paf      1164:     ac_prev=target_alias ;;
1.1       paf      1165:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1.62      paf      1166:     target_alias=$ac_optarg ;;
1.1       paf      1167: 
                   1168:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                   1169:     verbose=yes ;;
                   1170: 
1.62      paf      1171:   -version | --version | --versio | --versi | --vers | -V)
                   1172:     ac_init_version=: ;;
1.1       paf      1173: 
                   1174:   -with-* | --with-*)
1.150     moko     1175:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1       paf      1176:     # Reject names that are not valid shell variable names.
1.150     moko     1177:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1178:       as_fn_error $? "invalid package name: $ac_useropt"
                   1179:     ac_useropt_orig=$ac_useropt
                   1180:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1181:     case $ac_user_opts in
                   1182:       *"
                   1183: "with_$ac_useropt"
                   1184: "*) ;;
                   1185:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
                   1186:         ac_unrecognized_sep=', ';;
1.1       paf      1187:     esac
1.150     moko     1188:     eval with_$ac_useropt=\$ac_optarg ;;
1.1       paf      1189: 
                   1190:   -without-* | --without-*)
1.150     moko     1191:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1       paf      1192:     # Reject names that are not valid shell variable names.
1.150     moko     1193:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1194:       as_fn_error $? "invalid package name: $ac_useropt"
                   1195:     ac_useropt_orig=$ac_useropt
                   1196:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1197:     case $ac_user_opts in
                   1198:       *"
                   1199: "with_$ac_useropt"
                   1200: "*) ;;
                   1201:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
                   1202:         ac_unrecognized_sep=', ';;
                   1203:     esac
                   1204:     eval with_$ac_useropt=no ;;
1.1       paf      1205: 
                   1206:   --x)
                   1207:     # Obsolete; use --with-x.
                   1208:     with_x=yes ;;
                   1209: 
                   1210:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                   1211:   | --x-incl | --x-inc | --x-in | --x-i)
                   1212:     ac_prev=x_includes ;;
                   1213:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                   1214:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1.62      paf      1215:     x_includes=$ac_optarg ;;
1.1       paf      1216: 
                   1217:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                   1218:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                   1219:     ac_prev=x_libraries ;;
                   1220:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                   1221:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1.62      paf      1222:     x_libraries=$ac_optarg ;;
1.1       paf      1223: 
1.150     moko     1224:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
                   1225: Try \`$0 --help' for more information"
1.1       paf      1226:     ;;
                   1227: 
1.62      paf      1228:   *=*)
                   1229:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                   1230:     # Reject names that are not valid shell variable names.
1.150     moko     1231:     case $ac_envvar in #(
                   1232:       '' | [0-9]* | *[!_$as_cr_alnum]* )
                   1233:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
                   1234:     esac
                   1235:     eval $ac_envvar=\$ac_optarg
1.62      paf      1236:     export $ac_envvar ;;
                   1237: 
1.1       paf      1238:   *)
1.62      paf      1239:     # FIXME: should be removed in autoconf 3.0.
1.150     moko     1240:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1.62      paf      1241:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.150     moko     1242:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
                   1243:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1.1       paf      1244:     ;;
                   1245: 
                   1246:   esac
                   1247: done
                   1248: 
                   1249: if test -n "$ac_prev"; then
1.62      paf      1250:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1.150     moko     1251:   as_fn_error $? "missing argument to $ac_option"
1.1       paf      1252: fi
                   1253: 
1.150     moko     1254: if test -n "$ac_unrecognized_opts"; then
                   1255:   case $enable_option_checking in
                   1256:     no) ;;
                   1257:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
                   1258:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
                   1259:   esac
                   1260: fi
                   1261: 
                   1262: # Check all directory arguments for consistency.
                   1263: for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
                   1264:                datadir sysconfdir sharedstatedir localstatedir includedir \
                   1265:                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
                   1266:                libdir localedir mandir
1.62      paf      1267: do
1.150     moko     1268:   eval ac_val=\$$ac_var
                   1269:   # Remove trailing slashes.
1.62      paf      1270:   case $ac_val in
1.150     moko     1271:     */ )
                   1272:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
                   1273:       eval $ac_var=\$ac_val;;
1.62      paf      1274:   esac
1.150     moko     1275:   # Be sure to have absolute directory names.
1.62      paf      1276:   case $ac_val in
1.150     moko     1277:     [\\/$]* | ?:[\\/]* )  continue;;
                   1278:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1.1       paf      1279:   esac
1.150     moko     1280:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1.1       paf      1281: done
                   1282: 
1.62      paf      1283: # There might be people who depend on the old broken behavior: `$host'
                   1284: # used to hold the argument of --host etc.
                   1285: # FIXME: To remove some day.
                   1286: build=$build_alias
                   1287: host=$host_alias
                   1288: target=$target_alias
                   1289: 
                   1290: # FIXME: To remove some day.
                   1291: if test "x$host_alias" != x; then
                   1292:   if test "x$build_alias" = x; then
                   1293:     cross_compiling=maybe
                   1294:   elif test "x$build_alias" != "x$host_alias"; then
                   1295:     cross_compiling=yes
                   1296:   fi
                   1297: fi
                   1298: 
                   1299: ac_tool_prefix=
                   1300: test -n "$host_alias" && ac_tool_prefix=$host_alias-
1.1       paf      1301: 
1.62      paf      1302: test "$silent" = yes && exec 6>/dev/null
1.1       paf      1303: 
                   1304: 
1.150     moko     1305: ac_pwd=`pwd` && test -n "$ac_pwd" &&
                   1306: ac_ls_di=`ls -di .` &&
                   1307: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
                   1308:   as_fn_error $? "working directory cannot be determined"
                   1309: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
                   1310:   as_fn_error $? "pwd does not report name of working directory"
                   1311: 
                   1312: 
1.1       paf      1313: # Find the source files, if location was not specified.
                   1314: if test -z "$srcdir"; then
                   1315:   ac_srcdir_defaulted=yes
1.150     moko     1316:   # Try the directory containing this script, then the parent directory.
                   1317:   ac_confdir=`$as_dirname -- "$as_myself" ||
                   1318: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   1319:         X"$as_myself" : 'X\(//\)[^/]' \| \
                   1320:         X"$as_myself" : 'X\(//\)$' \| \
                   1321:         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
                   1322: $as_echo X"$as_myself" |
                   1323:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   1324:            s//\1/
                   1325:            q
                   1326:          }
                   1327:          /^X\(\/\/\)[^/].*/{
                   1328:            s//\1/
                   1329:            q
                   1330:          }
                   1331:          /^X\(\/\/\)$/{
                   1332:            s//\1/
                   1333:            q
                   1334:          }
                   1335:          /^X\(\/\).*/{
                   1336:            s//\1/
                   1337:            q
                   1338:          }
                   1339:          s/.*/./; q'`
1.1       paf      1340:   srcdir=$ac_confdir
1.150     moko     1341:   if test ! -r "$srcdir/$ac_unique_file"; then
1.1       paf      1342:     srcdir=..
                   1343:   fi
                   1344: else
                   1345:   ac_srcdir_defaulted=no
                   1346: fi
1.150     moko     1347: if test ! -r "$srcdir/$ac_unique_file"; then
                   1348:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
                   1349:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
                   1350: fi
                   1351: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
                   1352: ac_abs_confdir=`(
                   1353:        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
                   1354:        pwd)`
                   1355: # When building in place, set srcdir=.
                   1356: if test "$ac_abs_confdir" = "$ac_pwd"; then
                   1357:   srcdir=.
                   1358: fi
                   1359: # Remove unnecessary trailing slashes from srcdir.
                   1360: # Double slashes in file names in object file debugging info
                   1361: # mess up M-x gdb in Emacs.
                   1362: case $srcdir in
                   1363: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
                   1364: esac
                   1365: for ac_var in $ac_precious_vars; do
                   1366:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
                   1367:   eval ac_env_${ac_var}_value=\$${ac_var}
                   1368:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
                   1369:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
                   1370: done
1.62      paf      1371: 
                   1372: #
                   1373: # Report the --help message.
                   1374: #
                   1375: if test "$ac_init_help" = "long"; then
                   1376:   # Omit some internal or obsolete options to make the list less imposing.
                   1377:   # This message is too long to be a string in the A/UX 3.1 sh.
                   1378:   cat <<_ACEOF
1.186   ! moko     1379: \`configure' configures parser 3.4.6b to adapt to many kinds of systems.
1.62      paf      1380: 
                   1381: Usage: $0 [OPTION]... [VAR=VALUE]...
                   1382: 
                   1383: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                   1384: VAR=VALUE.  See below for descriptions of some of the useful variables.
                   1385: 
                   1386: Defaults for the options are specified in brackets.
                   1387: 
                   1388: Configuration:
                   1389:   -h, --help              display this help and exit
                   1390:       --help=short        display options specific to this package
                   1391:       --help=recursive    display the short help of all the included packages
                   1392:   -V, --version           display version information and exit
1.150     moko     1393:   -q, --quiet, --silent   do not print \`checking ...' messages
1.62      paf      1394:       --cache-file=FILE   cache test results in FILE [disabled]
                   1395:   -C, --config-cache      alias for \`--cache-file=config.cache'
                   1396:   -n, --no-create         do not create output files
                   1397:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                   1398: 
                   1399: Installation directories:
                   1400:   --prefix=PREFIX         install architecture-independent files in PREFIX
1.150     moko     1401:                           [$ac_default_prefix]
1.62      paf      1402:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1.150     moko     1403:                           [PREFIX]
1.62      paf      1404: 
                   1405: By default, \`make install' will install all the files in
                   1406: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                   1407: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                   1408: for instance \`--prefix=\$HOME'.
                   1409: 
                   1410: For better control, use the options below.
                   1411: 
                   1412: Fine tuning of the installation directories:
1.150     moko     1413:   --bindir=DIR            user executables [EPREFIX/bin]
                   1414:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
                   1415:   --libexecdir=DIR        program executables [EPREFIX/libexec]
                   1416:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
                   1417:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
                   1418:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
                   1419:   --libdir=DIR            object code libraries [EPREFIX/lib]
                   1420:   --includedir=DIR        C header files [PREFIX/include]
                   1421:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
                   1422:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
                   1423:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
                   1424:   --infodir=DIR           info documentation [DATAROOTDIR/info]
                   1425:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
                   1426:   --mandir=DIR            man documentation [DATAROOTDIR/man]
                   1427:   --docdir=DIR            documentation root [DATAROOTDIR/doc/parser]
                   1428:   --htmldir=DIR           html documentation [DOCDIR]
                   1429:   --dvidir=DIR            dvi documentation [DOCDIR]
                   1430:   --pdfdir=DIR            pdf documentation [DOCDIR]
                   1431:   --psdir=DIR             ps documentation [DOCDIR]
1.62      paf      1432: _ACEOF
                   1433: 
                   1434:   cat <<\_ACEOF
                   1435: 
                   1436: Program names:
                   1437:   --program-prefix=PREFIX            prepend PREFIX to installed program names
                   1438:   --program-suffix=SUFFIX            append SUFFIX to installed program names
                   1439:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
                   1440: 
                   1441: System types:
                   1442:   --build=BUILD     configure for building on BUILD [guessed]
                   1443:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                   1444: _ACEOF
                   1445: fi
                   1446: 
                   1447: if test -n "$ac_init_help"; then
1.128     moko     1448:   case $ac_init_help in
1.186   ! moko     1449:      short | recursive ) echo "Configuration of parser 3.4.6b:";;
1.128     moko     1450:    esac
1.62      paf      1451:   cat <<\_ACEOF
                   1452: 
                   1453: Optional Features:
1.150     moko     1454:   --disable-option-checking  ignore unrecognized --enable/--with options
1.62      paf      1455:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                   1456:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1.86      paf      1457:   --disable-dependency-tracking  speeds up one-time build
                   1458:   --enable-dependency-tracking   do not reject slow dependency extractors
1.67      paf      1459:   --disable-safe-mode    to enable reading and executing
1.62      paf      1460:                           files belonging to group+user other then effective
1.146     moko     1461:   --disable-execs        to disable any execs
1.62      paf      1462:                           (file::exec, file::cgi, unix mail:send)
1.94      misha    1463:   --disable-stringstream  to disable stringstream usage.
                   1464:                           when disabled table.save use more memory but it's safer on freebsd 4.x
1.150     moko     1465:   --enable-shared[=PKGS]  build shared libraries [default=yes]
                   1466:   --enable-static[=PKGS]  build static libraries [default=yes]
1.128     moko     1467:   --enable-fast-install[=PKGS]
                   1468:                           optimize for fast installation [default=yes]
                   1469:   --disable-libtool-lock  avoid locking (might break parallel builds)
                   1470:   --enable-ltdl-install   install libltdl
1.171     moko     1471:   --disable-largefile     omit support for large files
1.62      paf      1472: 
                   1473: Optional Packages:
                   1474:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                   1475:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1.71      paf      1476:   --with-build-warnings   to enable build-time compiler warnings if gcc is used
1.185     moko     1477:   --with-coverage         to enable gcov code coverage support
                   1478:   --with-profiler         to enable gprof code profiler support
1.67      paf      1479:   --with-assertions       to enable assertions
1.128     moko     1480:   --with-sjlj-exceptions  enable simple 'throw' from dynamic library
1.146     moko     1481:   --with-gc=D             D is the directory where
1.142     moko     1482:                           Boehm garbage collecting library is installed
1.146     moko     1483:   --with-pcre=D           D is the directory where
1.142     moko     1484:                           PCRE library is installed
1.146     moko     1485:   --with-xml=D            D is the directory where
1.142     moko     1486:                           Gnome XML libraries are installed
1.154     moko     1487:   --with-mailreceive=D is the directory where
                   1488:                           Gnome MIME library is installed
1.62      paf      1489:   \"--with-sendmail=COMMAND\" forces this command to send mail.
                   1490:                           example: \"--with-sendmail=/usr/sbin/sendmail -t\"
                   1491:                           (makes parser ignore user-defined sendmail commands)
1.146     moko     1492:   --with-apache=FILE      FILE is the full path for APXS
1.122     moko     1493:                           builds apache DSO module using apxs
1.150     moko     1494:   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1.128     moko     1495:                           both]
                   1496:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
                   1497:   --with-sysroot=DIR Search for dependent libraries within DIR
                   1498:                         (or the compiler's sysroot if not specified).
                   1499:   --with-included-ltdl    use the GNU ltdl sources included here
                   1500:   --with-ltdl-include=DIR use the ltdl headers installed in DIR
                   1501:   --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1.62      paf      1502: 
                   1503: Some influential environment variables:
1.150     moko     1504:   YACC        The `Yet Another Compiler Compiler' implementation to use.
                   1505:               Defaults to the first program found out of: `bison -y', `byacc',
                   1506:               `yacc'.
                   1507:   YFLAGS      The list of arguments that will be passed by default to $YACC.
                   1508:               This script will default YFLAGS to the empty string to avoid a
                   1509:               default value of `-d' given by some make applications.
1.66      paf      1510:   CXX         C++ compiler command
                   1511:   CXXFLAGS    C++ compiler flags
1.62      paf      1512:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                   1513:               nonstandard directory <lib dir>
1.150     moko     1514:   LIBS        libraries to pass to the linker, e.g. -l<library>
                   1515:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
                   1516:               you have headers in a nonstandard directory <include dir>
1.66      paf      1517:   CC          C compiler command
                   1518:   CFLAGS      C compiler flags
                   1519:   CPP         C preprocessor
1.128     moko     1520:   CXXCPP      C++ preprocessor
1.62      paf      1521: 
                   1522: Use these variables to override the choices made by `configure' or to help
                   1523: it to find libraries and programs with nonstandard names/locations.
                   1524: 
1.150     moko     1525: Report bugs to the package provider.
1.62      paf      1526: _ACEOF
1.150     moko     1527: ac_status=$?
1.62      paf      1528: fi
                   1529: 
                   1530: if test "$ac_init_help" = "recursive"; then
                   1531:   # If there are subdirs, report their specific --help.
                   1532:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1.150     moko     1533:     test -d "$ac_dir" ||
                   1534:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
                   1535:       continue
1.62      paf      1536:     ac_builddir=.
                   1537: 
1.150     moko     1538: case "$ac_dir" in
                   1539: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1540: *)
                   1541:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   1542:   # A ".." for each directory in $ac_dir_suffix.
                   1543:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   1544:   case $ac_top_builddir_sub in
                   1545:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1546:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   1547:   esac ;;
                   1548: esac
                   1549: ac_abs_top_builddir=$ac_pwd
                   1550: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   1551: # for backward compatibility:
                   1552: ac_top_builddir=$ac_top_build_prefix
1.62      paf      1553: 
                   1554: case $srcdir in
1.150     moko     1555:   .)  # We are building in place.
1.62      paf      1556:     ac_srcdir=.
1.150     moko     1557:     ac_top_srcdir=$ac_top_builddir_sub
                   1558:     ac_abs_top_srcdir=$ac_pwd ;;
                   1559:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.62      paf      1560:     ac_srcdir=$srcdir$ac_dir_suffix;
1.150     moko     1561:     ac_top_srcdir=$srcdir
                   1562:     ac_abs_top_srcdir=$srcdir ;;
                   1563:   *) # Relative name.
                   1564:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   1565:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   1566:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.86      paf      1567: esac
1.150     moko     1568: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.62      paf      1569: 
1.150     moko     1570:     cd "$ac_dir" || { ac_status=$?; continue; }
                   1571:     # Check for guested configure.
                   1572:     if test -f "$ac_srcdir/configure.gnu"; then
                   1573:       echo &&
                   1574:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
                   1575:     elif test -f "$ac_srcdir/configure"; then
                   1576:       echo &&
                   1577:       $SHELL "$ac_srcdir/configure" --help=recursive
1.62      paf      1578:     else
1.150     moko     1579:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
                   1580:     fi || ac_status=$?
                   1581:     cd "$ac_pwd" || { ac_status=$?; break; }
1.62      paf      1582:   done
                   1583: fi
                   1584: 
1.150     moko     1585: test -n "$ac_init_help" && exit $ac_status
1.62      paf      1586: if $ac_init_version; then
                   1587:   cat <<\_ACEOF
1.186   ! moko     1588: parser configure 3.4.6b
1.166     moko     1589: generated by GNU Autoconf 2.69
1.62      paf      1590: 
1.166     moko     1591: Copyright (C) 2012 Free Software Foundation, Inc.
1.62      paf      1592: This configure script is free software; the Free Software Foundation
                   1593: gives unlimited permission to copy, distribute and modify it.
                   1594: _ACEOF
1.150     moko     1595:   exit
1.62      paf      1596: fi
                   1597: 
1.150     moko     1598: ## ------------------------ ##
                   1599: ## Autoconf initialization. ##
                   1600: ## ------------------------ ##
                   1601: 
                   1602: # ac_fn_cxx_try_compile LINENO
                   1603: # ----------------------------
                   1604: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1605: ac_fn_cxx_try_compile ()
1.62      paf      1606: {
1.150     moko     1607:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1608:   rm -f conftest.$ac_objext
                   1609:   if { { ac_try="$ac_compile"
                   1610: case "(($ac_try" in
                   1611:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1612:   *) ac_try_echo=$ac_try;;
                   1613: esac
                   1614: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1615: $as_echo "$ac_try_echo"; } >&5
                   1616:   (eval "$ac_compile") 2>conftest.err
                   1617:   ac_status=$?
                   1618:   if test -s conftest.err; then
                   1619:     grep -v '^ *+' conftest.err >conftest.er1
                   1620:     cat conftest.er1 >&5
                   1621:     mv -f conftest.er1 conftest.err
                   1622:   fi
                   1623:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1624:   test $ac_status = 0; } && {
                   1625:         test -z "$ac_cxx_werror_flag" ||
                   1626:         test ! -s conftest.err
                   1627:        } && test -s conftest.$ac_objext; then :
                   1628:   ac_retval=0
                   1629: else
                   1630:   $as_echo "$as_me: failed program was:" >&5
                   1631: sed 's/^/| /' conftest.$ac_ext >&5
1.62      paf      1632: 
1.150     moko     1633:        ac_retval=1
                   1634: fi
                   1635:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1636:   as_fn_set_status $ac_retval
1.62      paf      1637: 
1.150     moko     1638: } # ac_fn_cxx_try_compile
                   1639: 
                   1640: # ac_fn_c_try_compile LINENO
                   1641: # --------------------------
                   1642: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1643: ac_fn_c_try_compile ()
                   1644: {
                   1645:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1646:   rm -f conftest.$ac_objext
                   1647:   if { { ac_try="$ac_compile"
                   1648: case "(($ac_try" in
                   1649:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1650:   *) ac_try_echo=$ac_try;;
                   1651: esac
                   1652: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1653: $as_echo "$ac_try_echo"; } >&5
                   1654:   (eval "$ac_compile") 2>conftest.err
                   1655:   ac_status=$?
                   1656:   if test -s conftest.err; then
                   1657:     grep -v '^ *+' conftest.err >conftest.er1
                   1658:     cat conftest.er1 >&5
                   1659:     mv -f conftest.er1 conftest.err
                   1660:   fi
                   1661:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1662:   test $ac_status = 0; } && {
                   1663:         test -z "$ac_c_werror_flag" ||
                   1664:         test ! -s conftest.err
                   1665:        } && test -s conftest.$ac_objext; then :
                   1666:   ac_retval=0
                   1667: else
                   1668:   $as_echo "$as_me: failed program was:" >&5
                   1669: sed 's/^/| /' conftest.$ac_ext >&5
                   1670: 
                   1671:        ac_retval=1
                   1672: fi
                   1673:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1674:   as_fn_set_status $ac_retval
                   1675: 
                   1676: } # ac_fn_c_try_compile
                   1677: 
                   1678: # ac_fn_c_try_link LINENO
                   1679: # -----------------------
                   1680: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1681: ac_fn_c_try_link ()
                   1682: {
                   1683:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1684:   rm -f conftest.$ac_objext conftest$ac_exeext
                   1685:   if { { ac_try="$ac_link"
                   1686: case "(($ac_try" in
                   1687:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1688:   *) ac_try_echo=$ac_try;;
                   1689: esac
                   1690: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1691: $as_echo "$ac_try_echo"; } >&5
                   1692:   (eval "$ac_link") 2>conftest.err
                   1693:   ac_status=$?
                   1694:   if test -s conftest.err; then
                   1695:     grep -v '^ *+' conftest.err >conftest.er1
                   1696:     cat conftest.er1 >&5
                   1697:     mv -f conftest.er1 conftest.err
                   1698:   fi
                   1699:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1700:   test $ac_status = 0; } && {
                   1701:         test -z "$ac_c_werror_flag" ||
                   1702:         test ! -s conftest.err
                   1703:        } && test -s conftest$ac_exeext && {
                   1704:         test "$cross_compiling" = yes ||
1.166     moko     1705:         test -x conftest$ac_exeext
1.150     moko     1706:        }; then :
                   1707:   ac_retval=0
                   1708: else
                   1709:   $as_echo "$as_me: failed program was:" >&5
                   1710: sed 's/^/| /' conftest.$ac_ext >&5
                   1711: 
                   1712:        ac_retval=1
                   1713: fi
                   1714:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   1715:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   1716:   # interfere with the next link command; also delete a directory that is
                   1717:   # left behind by Apple's compiler.  We do this before executing the actions.
                   1718:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1719:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1720:   as_fn_set_status $ac_retval
                   1721: 
                   1722: } # ac_fn_c_try_link
                   1723: 
                   1724: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
                   1725: # -------------------------------------------------------
                   1726: # Tests whether HEADER exists and can be compiled using the include files in
                   1727: # INCLUDES, setting the cache variable VAR accordingly.
                   1728: ac_fn_c_check_header_compile ()
                   1729: {
                   1730:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1731:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1732: $as_echo_n "checking for $2... " >&6; }
                   1733: if eval \${$3+:} false; then :
                   1734:   $as_echo_n "(cached) " >&6
                   1735: else
                   1736:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1737: /* end confdefs.h.  */
                   1738: $4
                   1739: #include <$2>
                   1740: _ACEOF
                   1741: if ac_fn_c_try_compile "$LINENO"; then :
                   1742:   eval "$3=yes"
                   1743: else
                   1744:   eval "$3=no"
                   1745: fi
                   1746: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1747: fi
                   1748: eval ac_res=\$$3
                   1749:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1750: $as_echo "$ac_res" >&6; }
                   1751:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1752: 
                   1753: } # ac_fn_c_check_header_compile
                   1754: 
                   1755: # ac_fn_c_try_cpp LINENO
                   1756: # ----------------------
                   1757: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
                   1758: ac_fn_c_try_cpp ()
                   1759: {
                   1760:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1761:   if { { ac_try="$ac_cpp conftest.$ac_ext"
                   1762: case "(($ac_try" in
                   1763:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1764:   *) ac_try_echo=$ac_try;;
                   1765: esac
                   1766: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1767: $as_echo "$ac_try_echo"; } >&5
                   1768:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
                   1769:   ac_status=$?
                   1770:   if test -s conftest.err; then
                   1771:     grep -v '^ *+' conftest.err >conftest.er1
                   1772:     cat conftest.er1 >&5
                   1773:     mv -f conftest.er1 conftest.err
                   1774:   fi
                   1775:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1776:   test $ac_status = 0; } > conftest.i && {
                   1777:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   1778:         test ! -s conftest.err
                   1779:        }; then :
                   1780:   ac_retval=0
                   1781: else
                   1782:   $as_echo "$as_me: failed program was:" >&5
                   1783: sed 's/^/| /' conftest.$ac_ext >&5
                   1784: 
                   1785:     ac_retval=1
                   1786: fi
                   1787:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1788:   as_fn_set_status $ac_retval
                   1789: 
                   1790: } # ac_fn_c_try_cpp
                   1791: 
                   1792: # ac_fn_c_try_run LINENO
                   1793: # ----------------------
                   1794: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
                   1795: # that executables *can* be run.
                   1796: ac_fn_c_try_run ()
                   1797: {
                   1798:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1799:   if { { ac_try="$ac_link"
                   1800: case "(($ac_try" in
                   1801:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1802:   *) ac_try_echo=$ac_try;;
                   1803: esac
                   1804: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1805: $as_echo "$ac_try_echo"; } >&5
                   1806:   (eval "$ac_link") 2>&5
                   1807:   ac_status=$?
                   1808:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1809:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
                   1810:   { { case "(($ac_try" in
                   1811:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1812:   *) ac_try_echo=$ac_try;;
                   1813: esac
                   1814: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1815: $as_echo "$ac_try_echo"; } >&5
                   1816:   (eval "$ac_try") 2>&5
                   1817:   ac_status=$?
                   1818:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1819:   test $ac_status = 0; }; }; then :
                   1820:   ac_retval=0
                   1821: else
                   1822:   $as_echo "$as_me: program exited with status $ac_status" >&5
                   1823:        $as_echo "$as_me: failed program was:" >&5
                   1824: sed 's/^/| /' conftest.$ac_ext >&5
                   1825: 
                   1826:        ac_retval=$ac_status
                   1827: fi
                   1828:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1829:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1830:   as_fn_set_status $ac_retval
                   1831: 
                   1832: } # ac_fn_c_try_run
                   1833: 
                   1834: # ac_fn_c_check_func LINENO FUNC VAR
                   1835: # ----------------------------------
                   1836: # Tests whether FUNC exists, setting the cache variable VAR accordingly
                   1837: ac_fn_c_check_func ()
                   1838: {
                   1839:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1840:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1841: $as_echo_n "checking for $2... " >&6; }
                   1842: if eval \${$3+:} false; then :
                   1843:   $as_echo_n "(cached) " >&6
                   1844: else
                   1845:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1846: /* end confdefs.h.  */
                   1847: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
                   1848:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   1849: #define $2 innocuous_$2
                   1850: 
                   1851: /* System header to define __stub macros and hopefully few prototypes,
                   1852:     which can conflict with char $2 (); below.
                   1853:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   1854:     <limits.h> exists even on freestanding compilers.  */
                   1855: 
                   1856: #ifdef __STDC__
                   1857: # include <limits.h>
                   1858: #else
                   1859: # include <assert.h>
                   1860: #endif
                   1861: 
                   1862: #undef $2
                   1863: 
                   1864: /* Override any GCC internal prototype to avoid an error.
                   1865:    Use char because int might match the return type of a GCC
                   1866:    builtin and then its argument prototype would still apply.  */
                   1867: #ifdef __cplusplus
                   1868: extern "C"
                   1869: #endif
                   1870: char $2 ();
                   1871: /* The GNU C library defines this for functions which it implements
                   1872:     to always fail with ENOSYS.  Some functions are actually named
                   1873:     something starting with __ and the normal name is an alias.  */
                   1874: #if defined __stub_$2 || defined __stub___$2
                   1875: choke me
                   1876: #endif
                   1877: 
                   1878: int
                   1879: main ()
                   1880: {
                   1881: return $2 ();
                   1882:   ;
                   1883:   return 0;
                   1884: }
                   1885: _ACEOF
                   1886: if ac_fn_c_try_link "$LINENO"; then :
                   1887:   eval "$3=yes"
                   1888: else
                   1889:   eval "$3=no"
                   1890: fi
                   1891: rm -f core conftest.err conftest.$ac_objext \
                   1892:     conftest$ac_exeext conftest.$ac_ext
                   1893: fi
                   1894: eval ac_res=\$$3
                   1895:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1896: $as_echo "$ac_res" >&6; }
                   1897:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1898: 
                   1899: } # ac_fn_c_check_func
                   1900: 
                   1901: # ac_fn_cxx_try_cpp LINENO
                   1902: # ------------------------
                   1903: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
                   1904: ac_fn_cxx_try_cpp ()
                   1905: {
                   1906:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1907:   if { { ac_try="$ac_cpp conftest.$ac_ext"
                   1908: case "(($ac_try" in
                   1909:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1910:   *) ac_try_echo=$ac_try;;
                   1911: esac
                   1912: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1913: $as_echo "$ac_try_echo"; } >&5
                   1914:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
                   1915:   ac_status=$?
                   1916:   if test -s conftest.err; then
                   1917:     grep -v '^ *+' conftest.err >conftest.er1
                   1918:     cat conftest.er1 >&5
                   1919:     mv -f conftest.er1 conftest.err
                   1920:   fi
                   1921:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1922:   test $ac_status = 0; } > conftest.i && {
                   1923:         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
                   1924:         test ! -s conftest.err
                   1925:        }; then :
                   1926:   ac_retval=0
                   1927: else
                   1928:   $as_echo "$as_me: failed program was:" >&5
                   1929: sed 's/^/| /' conftest.$ac_ext >&5
                   1930: 
                   1931:     ac_retval=1
                   1932: fi
                   1933:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1934:   as_fn_set_status $ac_retval
                   1935: 
                   1936: } # ac_fn_cxx_try_cpp
                   1937: 
                   1938: # ac_fn_cxx_try_link LINENO
                   1939: # -------------------------
                   1940: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1941: ac_fn_cxx_try_link ()
                   1942: {
                   1943:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1944:   rm -f conftest.$ac_objext conftest$ac_exeext
                   1945:   if { { ac_try="$ac_link"
                   1946: case "(($ac_try" in
                   1947:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1948:   *) ac_try_echo=$ac_try;;
                   1949: esac
                   1950: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1951: $as_echo "$ac_try_echo"; } >&5
                   1952:   (eval "$ac_link") 2>conftest.err
                   1953:   ac_status=$?
                   1954:   if test -s conftest.err; then
                   1955:     grep -v '^ *+' conftest.err >conftest.er1
                   1956:     cat conftest.er1 >&5
                   1957:     mv -f conftest.er1 conftest.err
                   1958:   fi
                   1959:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1960:   test $ac_status = 0; } && {
                   1961:         test -z "$ac_cxx_werror_flag" ||
                   1962:         test ! -s conftest.err
                   1963:        } && test -s conftest$ac_exeext && {
                   1964:         test "$cross_compiling" = yes ||
1.166     moko     1965:         test -x conftest$ac_exeext
1.150     moko     1966:        }; then :
                   1967:   ac_retval=0
                   1968: else
                   1969:   $as_echo "$as_me: failed program was:" >&5
                   1970: sed 's/^/| /' conftest.$ac_ext >&5
                   1971: 
                   1972:        ac_retval=1
                   1973: fi
                   1974:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   1975:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   1976:   # interfere with the next link command; also delete a directory that is
                   1977:   # left behind by Apple's compiler.  We do this before executing the actions.
                   1978:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1979:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1980:   as_fn_set_status $ac_retval
                   1981: 
                   1982: } # ac_fn_cxx_try_link
                   1983: 
                   1984: # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
                   1985: # ---------------------------------------------
                   1986: # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
                   1987: # accordingly.
                   1988: ac_fn_c_check_decl ()
                   1989: {
                   1990:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1991:   as_decl_name=`echo $2|sed 's/ *(.*//'`
                   1992:   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
                   1993:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
                   1994: $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
                   1995: if eval \${$3+:} false; then :
                   1996:   $as_echo_n "(cached) " >&6
                   1997: else
                   1998:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1999: /* end confdefs.h.  */
                   2000: $4
                   2001: int
                   2002: main ()
                   2003: {
                   2004: #ifndef $as_decl_name
                   2005: #ifdef __cplusplus
                   2006:   (void) $as_decl_use;
                   2007: #else
                   2008:   (void) $as_decl_name;
                   2009: #endif
                   2010: #endif
                   2011: 
                   2012:   ;
                   2013:   return 0;
                   2014: }
                   2015: _ACEOF
                   2016: if ac_fn_c_try_compile "$LINENO"; then :
                   2017:   eval "$3=yes"
                   2018: else
                   2019:   eval "$3=no"
                   2020: fi
                   2021: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2022: fi
                   2023: eval ac_res=\$$3
                   2024:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2025: $as_echo "$ac_res" >&6; }
                   2026:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2027: 
                   2028: } # ac_fn_c_check_decl
                   2029: 
                   2030: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
                   2031: # -------------------------------------------
                   2032: # Tests whether TYPE exists after having included INCLUDES, setting cache
                   2033: # variable VAR accordingly.
                   2034: ac_fn_c_check_type ()
                   2035: {
                   2036:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2037:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2038: $as_echo_n "checking for $2... " >&6; }
                   2039: if eval \${$3+:} false; then :
                   2040:   $as_echo_n "(cached) " >&6
                   2041: else
                   2042:   eval "$3=no"
                   2043:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2044: /* end confdefs.h.  */
                   2045: $4
                   2046: int
                   2047: main ()
                   2048: {
                   2049: if (sizeof ($2))
                   2050:         return 0;
                   2051:   ;
                   2052:   return 0;
                   2053: }
                   2054: _ACEOF
                   2055: if ac_fn_c_try_compile "$LINENO"; then :
                   2056:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2057: /* end confdefs.h.  */
                   2058: $4
                   2059: int
                   2060: main ()
                   2061: {
                   2062: if (sizeof (($2)))
                   2063:            return 0;
                   2064:   ;
                   2065:   return 0;
                   2066: }
                   2067: _ACEOF
                   2068: if ac_fn_c_try_compile "$LINENO"; then :
                   2069: 
                   2070: else
                   2071:   eval "$3=yes"
                   2072: fi
                   2073: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2074: fi
                   2075: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2076: fi
                   2077: eval ac_res=\$$3
                   2078:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2079: $as_echo "$ac_res" >&6; }
                   2080:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2081: 
                   2082: } # ac_fn_c_check_type
                   2083: 
1.156     moko     2084: # ac_fn_c_find_uintX_t LINENO BITS VAR
                   2085: # ------------------------------------
                   2086: # Finds an unsigned integer type with width BITS, setting cache variable VAR
                   2087: # accordingly.
                   2088: ac_fn_c_find_uintX_t ()
                   2089: {
                   2090:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2091:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
                   2092: $as_echo_n "checking for uint$2_t... " >&6; }
                   2093: if eval \${$3+:} false; then :
                   2094:   $as_echo_n "(cached) " >&6
                   2095: else
                   2096:   eval "$3=no"
                   2097:      # Order is important - never check a type that is potentially smaller
                   2098:      # than half of the expected target width.
                   2099:      for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
                   2100:         'unsigned long long int' 'unsigned short int' 'unsigned char'; do
                   2101:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2102: /* end confdefs.h.  */
                   2103: $ac_includes_default
                   2104: int
                   2105: main ()
                   2106: {
                   2107: static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1.166     moko     2108: test_array [0] = 0;
                   2109: return test_array [0];
1.156     moko     2110: 
                   2111:   ;
                   2112:   return 0;
                   2113: }
                   2114: _ACEOF
                   2115: if ac_fn_c_try_compile "$LINENO"; then :
                   2116:   case $ac_type in #(
                   2117:   uint$2_t) :
                   2118:     eval "$3=yes" ;; #(
                   2119:   *) :
                   2120:     eval "$3=\$ac_type" ;;
                   2121: esac
                   2122: fi
                   2123: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2124:        if eval test \"x\$"$3"\" = x"no"; then :
                   2125: 
                   2126: else
                   2127:   break
                   2128: fi
                   2129:      done
                   2130: fi
                   2131: eval ac_res=\$$3
                   2132:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2133: $as_echo "$ac_res" >&6; }
                   2134:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2135: 
                   2136: } # ac_fn_c_find_uintX_t
                   2137: 
1.161     moko     2138: # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
                   2139: # ----------------------------------------------------
                   2140: # Tries to find if the field MEMBER exists in type AGGR, after including
                   2141: # INCLUDES, setting cache variable VAR accordingly.
                   2142: ac_fn_c_check_member ()
                   2143: {
                   2144:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2145:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
                   2146: $as_echo_n "checking for $2.$3... " >&6; }
                   2147: if eval \${$4+:} false; then :
                   2148:   $as_echo_n "(cached) " >&6
                   2149: else
                   2150:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2151: /* end confdefs.h.  */
                   2152: $5
                   2153: int
                   2154: main ()
                   2155: {
                   2156: static $2 ac_aggr;
                   2157: if (ac_aggr.$3)
                   2158: return 0;
                   2159:   ;
                   2160:   return 0;
                   2161: }
                   2162: _ACEOF
                   2163: if ac_fn_c_try_compile "$LINENO"; then :
                   2164:   eval "$4=yes"
                   2165: else
                   2166:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2167: /* end confdefs.h.  */
                   2168: $5
                   2169: int
                   2170: main ()
                   2171: {
                   2172: static $2 ac_aggr;
                   2173: if (sizeof ac_aggr.$3)
                   2174: return 0;
                   2175:   ;
                   2176:   return 0;
                   2177: }
                   2178: _ACEOF
                   2179: if ac_fn_c_try_compile "$LINENO"; then :
                   2180:   eval "$4=yes"
                   2181: else
                   2182:   eval "$4=no"
                   2183: fi
                   2184: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2185: fi
                   2186: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2187: fi
                   2188: eval ac_res=\$$4
                   2189:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2190: $as_echo "$ac_res" >&6; }
                   2191:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2192: 
                   2193: } # ac_fn_c_check_member
                   2194: 
1.150     moko     2195: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
                   2196: # -------------------------------------------------------
                   2197: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
                   2198: # the include files in INCLUDES and setting the cache variable VAR
                   2199: # accordingly.
                   2200: ac_fn_c_check_header_mongrel ()
                   2201: {
                   2202:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2203:   if eval \${$3+:} false; then :
                   2204:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2205: $as_echo_n "checking for $2... " >&6; }
                   2206: if eval \${$3+:} false; then :
                   2207:   $as_echo_n "(cached) " >&6
                   2208: fi
                   2209: eval ac_res=\$$3
                   2210:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2211: $as_echo "$ac_res" >&6; }
                   2212: else
                   2213:   # Is the header compilable?
                   2214: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
                   2215: $as_echo_n "checking $2 usability... " >&6; }
                   2216: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2217: /* end confdefs.h.  */
                   2218: $4
                   2219: #include <$2>
                   2220: _ACEOF
                   2221: if ac_fn_c_try_compile "$LINENO"; then :
                   2222:   ac_header_compiler=yes
                   2223: else
                   2224:   ac_header_compiler=no
                   2225: fi
                   2226: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2227: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
                   2228: $as_echo "$ac_header_compiler" >&6; }
                   2229: 
                   2230: # Is the header present?
                   2231: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
                   2232: $as_echo_n "checking $2 presence... " >&6; }
                   2233: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2234: /* end confdefs.h.  */
                   2235: #include <$2>
                   2236: _ACEOF
                   2237: if ac_fn_c_try_cpp "$LINENO"; then :
                   2238:   ac_header_preproc=yes
                   2239: else
                   2240:   ac_header_preproc=no
                   2241: fi
                   2242: rm -f conftest.err conftest.i conftest.$ac_ext
                   2243: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
                   2244: $as_echo "$ac_header_preproc" >&6; }
                   2245: 
                   2246: # So?  What about this header?
                   2247: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
                   2248:   yes:no: )
                   2249:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
                   2250: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   2251:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   2252: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   2253:     ;;
                   2254:   no:yes:* )
                   2255:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
                   2256: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
                   2257:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
                   2258: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
                   2259:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
                   2260: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
                   2261:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
                   2262: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
                   2263:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   2264: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   2265:     ;;
                   2266: esac
                   2267:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2268: $as_echo_n "checking for $2... " >&6; }
                   2269: if eval \${$3+:} false; then :
                   2270:   $as_echo_n "(cached) " >&6
                   2271: else
                   2272:   eval "$3=\$ac_header_compiler"
                   2273: fi
                   2274: eval ac_res=\$$3
                   2275:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2276: $as_echo "$ac_res" >&6; }
                   2277: fi
                   2278:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2279: 
                   2280: } # ac_fn_c_check_header_mongrel
                   2281: cat >config.log <<_ACEOF
                   2282: This file contains any messages produced by compilers while
                   2283: running configure, to aid debugging if configure makes a mistake.
                   2284: 
1.186   ! moko     2285: It was created by parser $as_me 3.4.6b, which was
1.166     moko     2286: generated by GNU Autoconf 2.69.  Invocation command line was
1.150     moko     2287: 
                   2288:   $ $0 $@
                   2289: 
                   2290: _ACEOF
                   2291: exec 5>>config.log
                   2292: {
                   2293: cat <<_ASUNAME
                   2294: ## --------- ##
                   2295: ## Platform. ##
                   2296: ## --------- ##
                   2297: 
                   2298: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   2299: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   2300: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   2301: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   2302: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                   2303: 
                   2304: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   2305: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1.62      paf      2306: 
                   2307: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   2308: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   2309: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1.150     moko     2310: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1.62      paf      2311: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   2312: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   2313: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   2314: 
                   2315: _ASUNAME
                   2316: 
                   2317: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2318: for as_dir in $PATH
                   2319: do
                   2320:   IFS=$as_save_IFS
                   2321:   test -z "$as_dir" && as_dir=.
1.150     moko     2322:     $as_echo "PATH: $as_dir"
                   2323:   done
                   2324: IFS=$as_save_IFS
1.1       paf      2325: 
1.62      paf      2326: } >&5
                   2327: 
                   2328: cat >&5 <<_ACEOF
                   2329: 
                   2330: 
                   2331: ## ----------- ##
                   2332: ## Core tests. ##
                   2333: ## ----------- ##
                   2334: 
                   2335: _ACEOF
                   2336: 
                   2337: 
                   2338: # Keep a trace of the command line.
                   2339: # Strip out --no-create and --no-recursion so they do not pile up.
                   2340: # Strip out --silent because we don't want to record it for future runs.
                   2341: # Also quote any args containing shell meta-characters.
                   2342: # Make two passes to allow for proper duplicate-argument suppression.
                   2343: ac_configure_args=
                   2344: ac_configure_args0=
                   2345: ac_configure_args1=
                   2346: ac_must_keep_next=false
                   2347: for ac_pass in 1 2
                   2348: do
                   2349:   for ac_arg
                   2350:   do
                   2351:     case $ac_arg in
                   2352:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   2353:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   2354:     | -silent | --silent | --silen | --sile | --sil)
                   2355:       continue ;;
1.150     moko     2356:     *\'*)
                   2357:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.62      paf      2358:     esac
                   2359:     case $ac_pass in
1.150     moko     2360:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1.62      paf      2361:     2)
1.150     moko     2362:       as_fn_append ac_configure_args1 " '$ac_arg'"
1.62      paf      2363:       if test $ac_must_keep_next = true; then
1.86      paf      2364:        ac_must_keep_next=false # Got value, back to normal.
1.62      paf      2365:       else
1.86      paf      2366:        case $ac_arg in
                   2367:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   2368:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   2369:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   2370:          | -with-* | --with-* | -without-* | --without-* | --x)
                   2371:            case "$ac_configure_args0 " in
                   2372:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   2373:            esac
                   2374:            ;;
                   2375:          -* ) ac_must_keep_next=true ;;
                   2376:        esac
1.62      paf      2377:       fi
1.150     moko     2378:       as_fn_append ac_configure_args " '$ac_arg'"
1.62      paf      2379:       ;;
                   2380:     esac
                   2381:   done
                   2382: done
1.150     moko     2383: { ac_configure_args0=; unset ac_configure_args0;}
                   2384: { ac_configure_args1=; unset ac_configure_args1;}
1.62      paf      2385: 
                   2386: # When interrupted or exit'd, cleanup temporary files, and complete
                   2387: # config.log.  We remove comments because anyway the quotes in there
                   2388: # would cause problems or look ugly.
1.150     moko     2389: # WARNING: Use '\'' to represent an apostrophe within the trap.
                   2390: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1.62      paf      2391: trap 'exit_status=$?
                   2392:   # Save into config.log some information that might help in debugging.
                   2393:   {
                   2394:     echo
                   2395: 
1.150     moko     2396:     $as_echo "## ---------------- ##
1.62      paf      2397: ## Cache variables. ##
1.150     moko     2398: ## ---------------- ##"
1.62      paf      2399:     echo
                   2400:     # The following way of writing the cache mishandles newlines in values,
1.150     moko     2401: (
                   2402:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
                   2403:     eval ac_val=\$$ac_var
                   2404:     case $ac_val in #(
                   2405:     *${as_nl}*)
                   2406:       case $ac_var in #(
                   2407:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   2408: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   2409:       esac
                   2410:       case $ac_var in #(
                   2411:       _ | IFS | as_nl) ;; #(
                   2412:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   2413:       *) { eval $ac_var=; unset $ac_var;} ;;
                   2414:       esac ;;
                   2415:     esac
                   2416:   done
1.62      paf      2417:   (set) 2>&1 |
1.150     moko     2418:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
                   2419:     *${as_nl}ac_space=\ *)
1.62      paf      2420:       sed -n \
1.150     moko     2421:        "s/'\''/'\''\\\\'\'''\''/g;
                   2422:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
                   2423:       ;; #(
1.62      paf      2424:     *)
1.150     moko     2425:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.62      paf      2426:       ;;
1.150     moko     2427:     esac |
                   2428:     sort
                   2429: )
1.62      paf      2430:     echo
                   2431: 
1.150     moko     2432:     $as_echo "## ----------------- ##
1.62      paf      2433: ## Output variables. ##
1.150     moko     2434: ## ----------------- ##"
1.62      paf      2435:     echo
                   2436:     for ac_var in $ac_subst_vars
                   2437:     do
1.150     moko     2438:       eval ac_val=\$$ac_var
                   2439:       case $ac_val in
                   2440:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2441:       esac
                   2442:       $as_echo "$ac_var='\''$ac_val'\''"
1.62      paf      2443:     done | sort
                   2444:     echo
                   2445: 
                   2446:     if test -n "$ac_subst_files"; then
1.150     moko     2447:       $as_echo "## ------------------- ##
                   2448: ## File substitutions. ##
                   2449: ## ------------------- ##"
1.62      paf      2450:       echo
                   2451:       for ac_var in $ac_subst_files
                   2452:       do
1.150     moko     2453:        eval ac_val=\$$ac_var
                   2454:        case $ac_val in
                   2455:        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2456:        esac
                   2457:        $as_echo "$ac_var='\''$ac_val'\''"
1.62      paf      2458:       done | sort
                   2459:       echo
                   2460:     fi
                   2461: 
                   2462:     if test -s confdefs.h; then
1.150     moko     2463:       $as_echo "## ----------- ##
1.62      paf      2464: ## confdefs.h. ##
1.150     moko     2465: ## ----------- ##"
1.62      paf      2466:       echo
1.150     moko     2467:       cat confdefs.h
1.62      paf      2468:       echo
                   2469:     fi
                   2470:     test "$ac_signal" != 0 &&
1.150     moko     2471:       $as_echo "$as_me: caught signal $ac_signal"
                   2472:     $as_echo "$as_me: exit $exit_status"
1.62      paf      2473:   } >&5
1.150     moko     2474:   rm -f core *.core core.conftest.* &&
                   2475:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1.62      paf      2476:     exit $exit_status
1.150     moko     2477: ' 0
1.62      paf      2478: for ac_signal in 1 2 13 15; do
1.150     moko     2479:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1.62      paf      2480: done
                   2481: ac_signal=0
                   2482: 
                   2483: # confdefs.h avoids OS command line length limits that DEFS can exceed.
1.150     moko     2484: rm -f -r conftest* confdefs.h
                   2485: 
                   2486: $as_echo "/* confdefs.h */" > confdefs.h
1.62      paf      2487: 
                   2488: # Predefined preprocessor variables.
                   2489: 
                   2490: cat >>confdefs.h <<_ACEOF
                   2491: #define PACKAGE_NAME "$PACKAGE_NAME"
                   2492: _ACEOF
                   2493: 
                   2494: cat >>confdefs.h <<_ACEOF
                   2495: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   2496: _ACEOF
                   2497: 
                   2498: cat >>confdefs.h <<_ACEOF
                   2499: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   2500: _ACEOF
                   2501: 
                   2502: cat >>confdefs.h <<_ACEOF
                   2503: #define PACKAGE_STRING "$PACKAGE_STRING"
                   2504: _ACEOF
                   2505: 
1.150     moko     2506: cat >>confdefs.h <<_ACEOF
                   2507: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   2508: _ACEOF
1.62      paf      2509: 
                   2510: cat >>confdefs.h <<_ACEOF
1.150     moko     2511: #define PACKAGE_URL "$PACKAGE_URL"
1.62      paf      2512: _ACEOF
                   2513: 
                   2514: 
                   2515: # Let the site file select an alternate cache file if it wants to.
1.150     moko     2516: # Prefer an explicitly selected file to automatically selected ones.
                   2517: ac_site_file1=NONE
                   2518: ac_site_file2=NONE
                   2519: if test -n "$CONFIG_SITE"; then
                   2520:   # We do not want a PATH search for config.site.
                   2521:   case $CONFIG_SITE in #((
                   2522:     -*)  ac_site_file1=./$CONFIG_SITE;;
                   2523:     */*) ac_site_file1=$CONFIG_SITE;;
                   2524:     *)   ac_site_file1=./$CONFIG_SITE;;
                   2525:   esac
                   2526: elif test "x$prefix" != xNONE; then
                   2527:   ac_site_file1=$prefix/share/config.site
                   2528:   ac_site_file2=$prefix/etc/config.site
                   2529: else
                   2530:   ac_site_file1=$ac_default_prefix/share/config.site
                   2531:   ac_site_file2=$ac_default_prefix/etc/config.site
                   2532: fi
                   2533: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
                   2534: do
                   2535:   test "x$ac_site_file" = xNONE && continue
                   2536:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
                   2537:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
                   2538: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1.62      paf      2539:     sed 's/^/| /' "$ac_site_file" >&5
1.150     moko     2540:     . "$ac_site_file" \
                   2541:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2542: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2543: as_fn_error $? "failed to load site script $ac_site_file
                   2544: See \`config.log' for more details" "$LINENO" 5; }
1.1       paf      2545:   fi
                   2546: done
                   2547: 
                   2548: if test -r "$cache_file"; then
1.150     moko     2549:   # Some versions of bash will fail to source /dev/null (special files
                   2550:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
                   2551:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
                   2552:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
                   2553: $as_echo "$as_me: loading cache $cache_file" >&6;}
1.62      paf      2554:     case $cache_file in
1.150     moko     2555:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
                   2556:       *)                      . "./$cache_file";;
1.62      paf      2557:     esac
                   2558:   fi
1.1       paf      2559: else
1.150     moko     2560:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
                   2561: $as_echo "$as_me: creating cache $cache_file" >&6;}
1.62      paf      2562:   >$cache_file
                   2563: fi
                   2564: 
                   2565: # Check that the precious variables saved in the cache have kept the same
                   2566: # value.
                   2567: ac_cache_corrupted=false
1.150     moko     2568: for ac_var in $ac_precious_vars; do
1.62      paf      2569:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   2570:   eval ac_new_set=\$ac_env_${ac_var}_set
1.150     moko     2571:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
                   2572:   eval ac_new_val=\$ac_env_${ac_var}_value
1.62      paf      2573:   case $ac_old_set,$ac_new_set in
                   2574:     set,)
1.150     moko     2575:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   2576: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1.62      paf      2577:       ac_cache_corrupted=: ;;
                   2578:     ,set)
1.150     moko     2579:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
                   2580: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1.62      paf      2581:       ac_cache_corrupted=: ;;
                   2582:     ,);;
                   2583:     *)
                   2584:       if test "x$ac_old_val" != "x$ac_new_val"; then
1.150     moko     2585:        # differences in whitespace do not lead to failure.
                   2586:        ac_old_val_w=`echo x $ac_old_val`
                   2587:        ac_new_val_w=`echo x $ac_new_val`
                   2588:        if test "$ac_old_val_w" != "$ac_new_val_w"; then
                   2589:          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
                   2590: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
                   2591:          ac_cache_corrupted=:
                   2592:        else
                   2593:          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
                   2594: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
                   2595:          eval $ac_var=\$ac_old_val
                   2596:        fi
                   2597:        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
                   2598: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
                   2599:        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
                   2600: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1.62      paf      2601:       fi;;
                   2602:   esac
                   2603:   # Pass precious variables to config.status.
                   2604:   if test "$ac_new_set" = set; then
                   2605:     case $ac_new_val in
1.150     moko     2606:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1.62      paf      2607:     *) ac_arg=$ac_var=$ac_new_val ;;
                   2608:     esac
                   2609:     case " $ac_configure_args " in
                   2610:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1.150     moko     2611:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1.62      paf      2612:     esac
                   2613:   fi
                   2614: done
                   2615: if $ac_cache_corrupted; then
1.150     moko     2616:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2617: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2618:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
                   2619: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
                   2620:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
                   2621: fi
                   2622: ## -------------------- ##
                   2623: ## Main body of script. ##
                   2624: ## -------------------- ##
1.1       paf      2625: 
                   2626: ac_ext=c
                   2627: ac_cpp='$CPP $CPPFLAGS'
1.62      paf      2628: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2629: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2630: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2631: 
                   2632: 
                   2633: 
                   2634: 
                   2635: 
1.150     moko     2636: am__api_version='1.11'
1.62      paf      2637: 
1.1       paf      2638: ac_aux_dir=
1.150     moko     2639: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
                   2640:   if test -f "$ac_dir/install-sh"; then
1.1       paf      2641:     ac_aux_dir=$ac_dir
                   2642:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   2643:     break
1.150     moko     2644:   elif test -f "$ac_dir/install.sh"; then
1.1       paf      2645:     ac_aux_dir=$ac_dir
                   2646:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   2647:     break
1.150     moko     2648:   elif test -f "$ac_dir/shtool"; then
1.62      paf      2649:     ac_aux_dir=$ac_dir
                   2650:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   2651:     break
1.1       paf      2652:   fi
                   2653: done
                   2654: if test -z "$ac_aux_dir"; then
1.150     moko     2655:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
                   2656: fi
                   2657: 
                   2658: # These three variables are undocumented and unsupported,
                   2659: # and are intended to be withdrawn in a future Autoconf release.
                   2660: # They can cause serious problems if a builder's source tree is in a directory
                   2661: # whose full name contains unusual characters.
                   2662: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
                   2663: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
                   2664: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
                   2665: 
1.1       paf      2666: 
                   2667: # Find a good install program.  We prefer a C program (faster),
                   2668: # so one script is as good as another.  But avoid the broken or
                   2669: # incompatible versions:
                   2670: # SysV /etc/install, /usr/sbin/install
                   2671: # SunOS /usr/etc/install
                   2672: # IRIX /sbin/install
                   2673: # AIX /bin/install
1.62      paf      2674: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1       paf      2675: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   2676: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   2677: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.86      paf      2678: # OS/2's system install, which has a completely different semantic
1.1       paf      2679: # ./install, which can be erroneously created by make from ./install.sh.
1.150     moko     2680: # Reject install programs that cannot install multiple files.
                   2681: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
                   2682: $as_echo_n "checking for a BSD-compatible install... " >&6; }
1.1       paf      2683: if test -z "$INSTALL"; then
1.150     moko     2684: if ${ac_cv_path_install+:} false; then :
                   2685:   $as_echo_n "(cached) " >&6
1.1       paf      2686: else
1.62      paf      2687:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2688: for as_dir in $PATH
                   2689: do
                   2690:   IFS=$as_save_IFS
                   2691:   test -z "$as_dir" && as_dir=.
1.150     moko     2692:     # Account for people who put trailing slashes in PATH elements.
                   2693: case $as_dir/ in #((
                   2694:   ./ | .// | /[cC]/* | \
1.62      paf      2695:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.150     moko     2696:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1.62      paf      2697:   /usr/ucb/* ) ;;
                   2698:   *)
                   2699:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   2700:     # Don't use installbsd from OSF since it installs stuff as root
                   2701:     # by default.
                   2702:     for ac_prog in ginstall scoinst install; do
                   2703:       for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     2704:        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1.86      paf      2705:          if test $ac_prog = install &&
                   2706:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2707:            # AIX install.  It has an incompatible calling convention.
                   2708:            :
                   2709:          elif test $ac_prog = install &&
                   2710:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2711:            # program-specific install script used by HP pwplus--don't use.
                   2712:            :
                   2713:          else
1.150     moko     2714:            rm -rf conftest.one conftest.two conftest.dir
                   2715:            echo one > conftest.one
                   2716:            echo two > conftest.two
                   2717:            mkdir conftest.dir
                   2718:            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
                   2719:              test -s conftest.one && test -s conftest.two &&
                   2720:              test -s conftest.dir/conftest.one &&
                   2721:              test -s conftest.dir/conftest.two
                   2722:            then
                   2723:              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   2724:              break 3
                   2725:            fi
1.86      paf      2726:          fi
                   2727:        fi
1.1       paf      2728:       done
1.62      paf      2729:     done
                   2730:     ;;
                   2731: esac
                   2732: 
1.150     moko     2733:   done
                   2734: IFS=$as_save_IFS
                   2735: 
                   2736: rm -rf conftest.one conftest.two conftest.dir
1.1       paf      2737: 
                   2738: fi
                   2739:   if test "${ac_cv_path_install+set}" = set; then
1.62      paf      2740:     INSTALL=$ac_cv_path_install
1.1       paf      2741:   else
1.150     moko     2742:     # As a last resort, use the slow shell script.  Don't cache a
                   2743:     # value for INSTALL within a source directory, because that will
1.1       paf      2744:     # break other packages using the cache if that directory is
1.150     moko     2745:     # removed, or if the value is a relative name.
1.62      paf      2746:     INSTALL=$ac_install_sh
1.1       paf      2747:   fi
                   2748: fi
1.150     moko     2749: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
                   2750: $as_echo "$INSTALL" >&6; }
1.1       paf      2751: 
                   2752: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   2753: # It thinks the first close brace ends the variable substitution.
                   2754: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   2755: 
1.62      paf      2756: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1       paf      2757: 
                   2758: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   2759: 
1.150     moko     2760: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
                   2761: $as_echo_n "checking whether build environment is sane... " >&6; }
1.1       paf      2762: # Just in case
                   2763: sleep 1
1.62      paf      2764: echo timestamp > conftest.file
1.150     moko     2765: # Reject unsafe characters in $srcdir or the absolute working directory
                   2766: # name.  Accept space and tab only in the latter.
                   2767: am_lf='
                   2768: '
                   2769: case `pwd` in
                   2770:   *[\\\"\#\$\&\'\`$am_lf]*)
                   2771:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
                   2772: esac
                   2773: case $srcdir in
                   2774:   *[\\\"\#\$\&\'\`$am_lf\ \    ]*)
                   2775:     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
                   2776: esac
                   2777: 
1.1       paf      2778: # Do `set' in a subshell so we don't clobber the current shell's
                   2779: # arguments.  Must try -L first in case configure is actually a
                   2780: # symlink; some systems play weird games with the mod time of symlinks
                   2781: # (eg FreeBSD returns the mod time of the symlink's containing
                   2782: # directory).
                   2783: if (
1.150     moko     2784:    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1.1       paf      2785:    if test "$*" = "X"; then
                   2786:       # -L didn't work.
1.150     moko     2787:       set X `ls -t "$srcdir/configure" conftest.file`
1.1       paf      2788:    fi
1.62      paf      2789:    rm -f conftest.file
                   2790:    if test "$*" != "X $srcdir/configure conftest.file" \
                   2791:       && test "$*" != "X conftest.file $srcdir/configure"; then
1.1       paf      2792: 
                   2793:       # If neither matched, then we have a broken ls.  This can happen
                   2794:       # if, for instance, CONFIG_SHELL is bash and it inherits a
                   2795:       # broken ls alias from the environment.  This has actually
                   2796:       # happened.  Such a system could not be considered "sane".
1.150     moko     2797:       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
                   2798: alias in your environment" "$LINENO" 5
1.1       paf      2799:    fi
                   2800: 
1.62      paf      2801:    test "$2" = conftest.file
1.1       paf      2802:    )
                   2803: then
                   2804:    # Ok.
                   2805:    :
                   2806: else
1.150     moko     2807:    as_fn_error $? "newly created file is older than distributed files!
                   2808: Check your system clock" "$LINENO" 5
1.1       paf      2809: fi
1.150     moko     2810: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2811: $as_echo "yes" >&6; }
1.1       paf      2812: test "$program_prefix" != NONE &&
1.150     moko     2813:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
1.1       paf      2814: # Use a double $ so make ignores it.
                   2815: test "$program_suffix" != NONE &&
1.150     moko     2816:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
                   2817: # Double any \ or $.
1.62      paf      2818: # By default was `s,x,x', remove it if useless.
1.150     moko     2819: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
                   2820: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1.62      paf      2821: 
                   2822: # expand $ac_aux_dir to an absolute path
                   2823: am_aux_dir=`cd $ac_aux_dir && pwd`
                   2824: 
1.150     moko     2825: if test x"${MISSING+set}" != xset; then
                   2826:   case $am_aux_dir in
                   2827:   *\ * | *\    *)
                   2828:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
                   2829:   *)
                   2830:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
                   2831:   esac
                   2832: fi
1.62      paf      2833: # Use eval to expand $SHELL
                   2834: if eval "$MISSING --run true"; then
                   2835:   am_missing_run="$MISSING --run "
                   2836: else
                   2837:   am_missing_run=
1.150     moko     2838:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
                   2839: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1.62      paf      2840: fi
                   2841: 
1.150     moko     2842: if test x"${install_sh}" != xset; then
                   2843:   case $am_aux_dir in
                   2844:   *\ * | *\    *)
                   2845:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
                   2846:   *)
                   2847:     install_sh="\${SHELL} $am_aux_dir/install-sh"
                   2848:   esac
1.86      paf      2849: fi
                   2850: 
1.150     moko     2851: # Installed binaries are usually stripped using `strip' when the user
                   2852: # run `make install-strip'.  However `strip' might not be the right
                   2853: # tool to use in cross-compilation environments, therefore Automake
                   2854: # will honor the `STRIP' environment variable to overrule this program.
                   2855: if test "$cross_compiling" != no; then
                   2856:   if test -n "$ac_tool_prefix"; then
                   2857:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   2858: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   2859: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2860: $as_echo_n "checking for $ac_word... " >&6; }
                   2861: if ${ac_cv_prog_STRIP+:} false; then :
                   2862:   $as_echo_n "(cached) " >&6
                   2863: else
                   2864:   if test -n "$STRIP"; then
                   2865:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   2866: else
                   2867: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2868: for as_dir in $PATH
                   2869: do
                   2870:   IFS=$as_save_IFS
                   2871:   test -z "$as_dir" && as_dir=.
                   2872:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     2873:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.150     moko     2874:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   2875:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2876:     break 2
                   2877:   fi
                   2878: done
                   2879:   done
                   2880: IFS=$as_save_IFS
                   2881: 
                   2882: fi
                   2883: fi
                   2884: STRIP=$ac_cv_prog_STRIP
                   2885: if test -n "$STRIP"; then
                   2886:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   2887: $as_echo "$STRIP" >&6; }
                   2888: else
                   2889:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2890: $as_echo "no" >&6; }
                   2891: fi
                   2892: 
                   2893: 
                   2894: fi
                   2895: if test -z "$ac_cv_prog_STRIP"; then
                   2896:   ac_ct_STRIP=$STRIP
                   2897:   # Extract the first word of "strip", so it can be a program name with args.
                   2898: set dummy strip; ac_word=$2
                   2899: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2900: $as_echo_n "checking for $ac_word... " >&6; }
                   2901: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
                   2902:   $as_echo_n "(cached) " >&6
                   2903: else
                   2904:   if test -n "$ac_ct_STRIP"; then
                   2905:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   2906: else
                   2907: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2908: for as_dir in $PATH
                   2909: do
                   2910:   IFS=$as_save_IFS
                   2911:   test -z "$as_dir" && as_dir=.
                   2912:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     2913:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.150     moko     2914:     ac_cv_prog_ac_ct_STRIP="strip"
                   2915:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2916:     break 2
                   2917:   fi
                   2918: done
                   2919:   done
                   2920: IFS=$as_save_IFS
                   2921: 
                   2922: fi
                   2923: fi
                   2924: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   2925: if test -n "$ac_ct_STRIP"; then
                   2926:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   2927: $as_echo "$ac_ct_STRIP" >&6; }
                   2928: else
                   2929:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2930: $as_echo "no" >&6; }
                   2931: fi
                   2932: 
                   2933:   if test "x$ac_ct_STRIP" = x; then
                   2934:     STRIP=":"
                   2935:   else
                   2936:     case $cross_compiling:$ac_tool_warned in
                   2937: yes:)
                   2938: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   2939: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   2940: ac_tool_warned=yes ;;
                   2941: esac
                   2942:     STRIP=$ac_ct_STRIP
                   2943:   fi
                   2944: else
                   2945:   STRIP="$ac_cv_prog_STRIP"
                   2946: fi
                   2947: 
                   2948: fi
                   2949: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
                   2950: 
                   2951: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
                   2952: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
                   2953: if test -z "$MKDIR_P"; then
                   2954:   if ${ac_cv_path_mkdir+:} false; then :
                   2955:   $as_echo_n "(cached) " >&6
                   2956: else
                   2957:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2958: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
                   2959: do
                   2960:   IFS=$as_save_IFS
                   2961:   test -z "$as_dir" && as_dir=.
                   2962:     for ac_prog in mkdir gmkdir; do
                   2963:         for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     2964:           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
1.150     moko     2965:           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
                   2966:             'mkdir (GNU coreutils) '* | \
                   2967:             'mkdir (coreutils) '* | \
                   2968:             'mkdir (fileutils) '4.1*)
                   2969:               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
                   2970:               break 3;;
                   2971:           esac
                   2972:         done
                   2973:        done
                   2974:   done
                   2975: IFS=$as_save_IFS
                   2976: 
                   2977: fi
                   2978: 
                   2979:   test -d ./--version && rmdir ./--version
                   2980:   if test "${ac_cv_path_mkdir+set}" = set; then
                   2981:     MKDIR_P="$ac_cv_path_mkdir -p"
                   2982:   else
                   2983:     # As a last resort, use the slow shell script.  Don't cache a
                   2984:     # value for MKDIR_P within a source directory, because that will
                   2985:     # break other packages using the cache if that directory is
                   2986:     # removed, or if the value is a relative name.
                   2987:     MKDIR_P="$ac_install_sh -d"
                   2988:   fi
                   2989: fi
                   2990: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
                   2991: $as_echo "$MKDIR_P" >&6; }
                   2992: 
                   2993: mkdir_p="$MKDIR_P"
                   2994: case $mkdir_p in
                   2995:   [\\/$]* | ?:[\\/]*) ;;
                   2996:   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
                   2997: esac
                   2998: 
                   2999: for ac_prog in gawk mawk nawk awk
1.62      paf      3000: do
                   3001:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3002: set dummy $ac_prog; ac_word=$2
1.150     moko     3003: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3004: $as_echo_n "checking for $ac_word... " >&6; }
                   3005: if ${ac_cv_prog_AWK+:} false; then :
                   3006:   $as_echo_n "(cached) " >&6
1.62      paf      3007: else
                   3008:   if test -n "$AWK"; then
                   3009:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   3010: else
                   3011: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3012: for as_dir in $PATH
                   3013: do
                   3014:   IFS=$as_save_IFS
                   3015:   test -z "$as_dir" && as_dir=.
1.150     moko     3016:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     3017:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.62      paf      3018:     ac_cv_prog_AWK="$ac_prog"
1.150     moko     3019:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3020:     break 2
                   3021:   fi
                   3022: done
1.150     moko     3023:   done
                   3024: IFS=$as_save_IFS
1.62      paf      3025: 
                   3026: fi
                   3027: fi
                   3028: AWK=$ac_cv_prog_AWK
                   3029: if test -n "$AWK"; then
1.150     moko     3030:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   3031: $as_echo "$AWK" >&6; }
1.62      paf      3032: else
1.150     moko     3033:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3034: $as_echo "no" >&6; }
1.62      paf      3035: fi
1.1       paf      3036: 
1.150     moko     3037: 
1.62      paf      3038:   test -n "$AWK" && break
                   3039: done
1.1       paf      3040: 
1.150     moko     3041: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   3042: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
                   3043: set x ${MAKE-make}
                   3044: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
                   3045: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
                   3046:   $as_echo_n "(cached) " >&6
1.1       paf      3047: else
1.62      paf      3048:   cat >conftest.make <<\_ACEOF
1.150     moko     3049: SHELL = /bin/sh
1.1       paf      3050: all:
1.150     moko     3051:        @echo '@@@%%%=$(MAKE)=@@@%%%'
1.62      paf      3052: _ACEOF
1.150     moko     3053: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
                   3054: case `${MAKE-make} -f conftest.make 2>/dev/null` in
                   3055:   *@@@%%%=?*=@@@%%%*)
                   3056:     eval ac_cv_prog_make_${ac_make}_set=yes;;
                   3057:   *)
                   3058:     eval ac_cv_prog_make_${ac_make}_set=no;;
                   3059: esac
1.62      paf      3060: rm -f conftest.make
1.1       paf      3061: fi
1.150     moko     3062: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
                   3063:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3064: $as_echo "yes" >&6; }
1.1       paf      3065:   SET_MAKE=
                   3066: else
1.150     moko     3067:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3068: $as_echo "no" >&6; }
1.1       paf      3069:   SET_MAKE="MAKE=${MAKE-make}"
                   3070: fi
                   3071: 
1.86      paf      3072: rm -rf .tst 2>/dev/null
                   3073: mkdir .tst 2>/dev/null
                   3074: if test -d .tst; then
                   3075:   am__leading_dot=.
                   3076: else
                   3077:   am__leading_dot=_
                   3078: fi
                   3079: rmdir .tst 2>/dev/null
                   3080: 
1.150     moko     3081: if test "`cd $srcdir && pwd`" != "`pwd`"; then
                   3082:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
                   3083:   # is not polluted with repeated "-I."
                   3084:   am__isrc=' -I$(srcdir)'
                   3085:   # test to see if srcdir already configured
                   3086:   if test -f $srcdir/config.status; then
                   3087:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
                   3088:   fi
1.62      paf      3089: fi
                   3090: 
                   3091: # test whether we have cygpath
                   3092: if test -z "$CYGPATH_W"; then
                   3093:   if (cygpath --version) >/dev/null 2>/dev/null; then
                   3094:     CYGPATH_W='cygpath -w'
                   3095:   else
                   3096:     CYGPATH_W=echo
                   3097:   fi
                   3098: fi
                   3099: 
                   3100: 
                   3101: # Define the identity of the package.
1.128     moko     3102:  PACKAGE='parser'
1.186   ! moko     3103:  VERSION='3.4.6b'
1.128     moko     3104: 
                   3105: 
                   3106: cat >>confdefs.h <<_ACEOF
                   3107: #define PACKAGE "$PACKAGE"
                   3108: _ACEOF
1.1       paf      3109: 
                   3110: 
1.128     moko     3111: cat >>confdefs.h <<_ACEOF
                   3112: #define VERSION "$VERSION"
                   3113: _ACEOF
                   3114: 
1.62      paf      3115: # Some tools Automake needs.
                   3116: 
                   3117: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
                   3118: 
                   3119: 
                   3120: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   3121: 
                   3122: 
                   3123: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
                   3124: 
                   3125: 
                   3126: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   3127: 
                   3128: 
                   3129: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1.1       paf      3130: 
1.62      paf      3131: # We need awk for the "check" target.  The system "awk" is bad on
                   3132: # some platforms.
1.86      paf      3133: # Always define AMTAR for backward compatibility.
                   3134: 
                   3135: AMTAR=${AMTAR-"${am_missing_run}tar"}
                   3136: 
                   3137: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
                   3138: 
                   3139: 
1.62      paf      3140: 
1.1       paf      3141: 
                   3142: 
                   3143: 
1.128     moko     3144: 
1.12      paf      3145: P3S=`cd $srcdir/src ; pwd`
1.1       paf      3146: 
                   3147: 
1.128     moko     3148: 
1.41      paf      3149: # Make sure we can run config.sub.
1.150     moko     3150: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
                   3151:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1.62      paf      3152: 
1.150     moko     3153: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
                   3154: $as_echo_n "checking build system type... " >&6; }
                   3155: if ${ac_cv_build+:} false; then :
                   3156:   $as_echo_n "(cached) " >&6
                   3157: else
                   3158:   ac_build_alias=$build_alias
                   3159: test "x$ac_build_alias" = x &&
                   3160:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
                   3161: test "x$ac_build_alias" = x &&
                   3162:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
                   3163: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
                   3164:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
                   3165: 
                   3166: fi
                   3167: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
                   3168: $as_echo "$ac_cv_build" >&6; }
                   3169: case $ac_cv_build in
                   3170: *-*-*) ;;
                   3171: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
                   3172: esac
                   3173: build=$ac_cv_build
                   3174: ac_save_IFS=$IFS; IFS='-'
                   3175: set x $ac_cv_build
                   3176: shift
                   3177: build_cpu=$1
                   3178: build_vendor=$2
                   3179: shift; shift
                   3180: # Remember, the first character of IFS is used to create $*,
                   3181: # except with old shells:
                   3182: build_os=$*
                   3183: IFS=$ac_save_IFS
                   3184: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
                   3185: 
                   3186: 
                   3187: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
                   3188: $as_echo_n "checking host system type... " >&6; }
                   3189: if ${ac_cv_host+:} false; then :
                   3190:   $as_echo_n "(cached) " >&6
                   3191: else
                   3192:   if test "x$host_alias" = x; then
                   3193:   ac_cv_host=$ac_cv_build
                   3194: else
                   3195:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
                   3196:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1.62      paf      3197: fi
                   3198: 
                   3199: fi
1.150     moko     3200: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
                   3201: $as_echo "$ac_cv_host" >&6; }
                   3202: case $ac_cv_host in
                   3203: *-*-*) ;;
                   3204: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
                   3205: esac
1.62      paf      3206: host=$ac_cv_host
1.150     moko     3207: ac_save_IFS=$IFS; IFS='-'
                   3208: set x $ac_cv_host
                   3209: shift
                   3210: host_cpu=$1
                   3211: host_vendor=$2
                   3212: shift; shift
                   3213: # Remember, the first character of IFS is used to create $*,
                   3214: # except with old shells:
                   3215: host_os=$*
                   3216: IFS=$ac_save_IFS
                   3217: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1.81      paf      3218: 
                   3219: 
                   3220: 
1.148     moko     3221: cat >>confdefs.h <<_ACEOF
                   3222: #define PARSER_VERSION "$VERSION (compiled on $host)"
1.147     moko     3223: _ACEOF
                   3224: 
                   3225: 
1.41      paf      3226: 
1.67      paf      3227: case $host_os in
                   3228:   *cygwin* )
1.150     moko     3229: $as_echo "#define CYGWIN /**/" >>confdefs.h
1.67      paf      3230: ;;
                   3231: esac
1.41      paf      3232: 
1.128     moko     3233: 
1.1       paf      3234: 
1.62      paf      3235: for ac_prog in gawk mawk nawk awk
1.41      paf      3236: do
1.62      paf      3237:   # Extract the first word of "$ac_prog", so it can be a program name with args.
1.41      paf      3238: set dummy $ac_prog; ac_word=$2
1.150     moko     3239: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3240: $as_echo_n "checking for $ac_word... " >&6; }
                   3241: if ${ac_cv_prog_AWK+:} false; then :
                   3242:   $as_echo_n "(cached) " >&6
1.41      paf      3243: else
                   3244:   if test -n "$AWK"; then
                   3245:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   3246: else
1.62      paf      3247: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3248: for as_dir in $PATH
                   3249: do
                   3250:   IFS=$as_save_IFS
                   3251:   test -z "$as_dir" && as_dir=.
1.150     moko     3252:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     3253:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.62      paf      3254:     ac_cv_prog_AWK="$ac_prog"
1.150     moko     3255:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3256:     break 2
                   3257:   fi
                   3258: done
1.150     moko     3259:   done
                   3260: IFS=$as_save_IFS
1.62      paf      3261: 
1.41      paf      3262: fi
                   3263: fi
1.62      paf      3264: AWK=$ac_cv_prog_AWK
1.41      paf      3265: if test -n "$AWK"; then
1.150     moko     3266:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   3267: $as_echo "$AWK" >&6; }
1.41      paf      3268: else
1.150     moko     3269:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3270: $as_echo "no" >&6; }
1.41      paf      3271: fi
                   3272: 
1.150     moko     3273: 
1.62      paf      3274:   test -n "$AWK" && break
1.41      paf      3275: done
                   3276: 
                   3277: 
                   3278: for ac_prog in 'bison -y' byacc
                   3279: do
1.62      paf      3280:   # Extract the first word of "$ac_prog", so it can be a program name with args.
1.41      paf      3281: set dummy $ac_prog; ac_word=$2
1.150     moko     3282: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3283: $as_echo_n "checking for $ac_word... " >&6; }
                   3284: if ${ac_cv_prog_YACC+:} false; then :
                   3285:   $as_echo_n "(cached) " >&6
1.41      paf      3286: else
                   3287:   if test -n "$YACC"; then
                   3288:   ac_cv_prog_YACC="$YACC" # Let the user override the test.
                   3289: else
1.62      paf      3290: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3291: for as_dir in $PATH
                   3292: do
                   3293:   IFS=$as_save_IFS
                   3294:   test -z "$as_dir" && as_dir=.
1.150     moko     3295:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     3296:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.62      paf      3297:     ac_cv_prog_YACC="$ac_prog"
1.150     moko     3298:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3299:     break 2
                   3300:   fi
                   3301: done
1.150     moko     3302:   done
                   3303: IFS=$as_save_IFS
1.62      paf      3304: 
1.41      paf      3305: fi
                   3306: fi
1.62      paf      3307: YACC=$ac_cv_prog_YACC
1.41      paf      3308: if test -n "$YACC"; then
1.150     moko     3309:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
                   3310: $as_echo "$YACC" >&6; }
1.41      paf      3311: else
1.150     moko     3312:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3313: $as_echo "no" >&6; }
1.41      paf      3314: fi
                   3315: 
1.150     moko     3316: 
1.62      paf      3317:   test -n "$YACC" && break
1.41      paf      3318: done
                   3319: test -n "$YACC" || YACC="yacc"
                   3320: 
                   3321: if test "$YACC" != "bison -y"; then
1.150     moko     3322:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&5
                   3323: $as_echo "$as_me: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&2;}
1.41      paf      3324: else
1.150     moko     3325:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking bison version" >&5
                   3326: $as_echo_n "checking bison version... " >&6; }
1.67      paf      3327:        oldIFS=$IFS; IFS=.
                   3328:        set `bison -V | sed -e 's/^GNU Bison version //' -e 's/^bison (GNU Bison) //' -e 's/$/./'`
                   3329:        IFS=$oldIFS
                   3330:        if test "$1" = "1" -a "$2" -lt "25"; then
1.150     moko     3331:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&5
                   3332: $as_echo "$as_me: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&2;}
1.67      paf      3333:        fi
1.150     moko     3334:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $1.$2 (ok)" >&5
                   3335: $as_echo "$1.$2 (ok)" >&6; }
1.62      paf      3336: fi
                   3337: 
1.150     moko     3338: ac_ext=cpp
1.66      paf      3339: ac_cpp='$CXXCPP $CPPFLAGS'
                   3340: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3341: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3342: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.150     moko     3343: if test -z "$CXX"; then
                   3344:   if test -n "$CCC"; then
                   3345:     CXX=$CCC
                   3346:   else
                   3347:     if test -n "$ac_tool_prefix"; then
                   3348:   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1.66      paf      3349:   do
                   3350:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3351: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150     moko     3352: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3353: $as_echo_n "checking for $ac_word... " >&6; }
                   3354: if ${ac_cv_prog_CXX+:} false; then :
                   3355:   $as_echo_n "(cached) " >&6
1.62      paf      3356: else
1.66      paf      3357:   if test -n "$CXX"; then
                   3358:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
1.62      paf      3359: else
                   3360: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3361: for as_dir in $PATH
                   3362: do
                   3363:   IFS=$as_save_IFS
                   3364:   test -z "$as_dir" && as_dir=.
1.150     moko     3365:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     3366:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      3367:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1.150     moko     3368:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3369:     break 2
                   3370:   fi
                   3371: done
1.150     moko     3372:   done
                   3373: IFS=$as_save_IFS
1.62      paf      3374: 
                   3375: fi
                   3376: fi
1.66      paf      3377: CXX=$ac_cv_prog_CXX
                   3378: if test -n "$CXX"; then
1.150     moko     3379:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
                   3380: $as_echo "$CXX" >&6; }
1.62      paf      3381: else
1.150     moko     3382:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3383: $as_echo "no" >&6; }
1.41      paf      3384: fi
                   3385: 
1.150     moko     3386: 
1.66      paf      3387:     test -n "$CXX" && break
                   3388:   done
1.62      paf      3389: fi
1.66      paf      3390: if test -z "$CXX"; then
                   3391:   ac_ct_CXX=$CXX
1.150     moko     3392:   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1.66      paf      3393: do
                   3394:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3395: set dummy $ac_prog; ac_word=$2
1.150     moko     3396: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3397: $as_echo_n "checking for $ac_word... " >&6; }
                   3398: if ${ac_cv_prog_ac_ct_CXX+:} false; then :
                   3399:   $as_echo_n "(cached) " >&6
1.62      paf      3400: else
1.66      paf      3401:   if test -n "$ac_ct_CXX"; then
                   3402:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1.62      paf      3403: else
                   3404: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3405: for as_dir in $PATH
                   3406: do
                   3407:   IFS=$as_save_IFS
                   3408:   test -z "$as_dir" && as_dir=.
1.150     moko     3409:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     3410:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      3411:     ac_cv_prog_ac_ct_CXX="$ac_prog"
1.150     moko     3412:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3413:     break 2
                   3414:   fi
                   3415: done
1.150     moko     3416:   done
                   3417: IFS=$as_save_IFS
1.62      paf      3418: 
                   3419: fi
                   3420: fi
1.66      paf      3421: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
                   3422: if test -n "$ac_ct_CXX"; then
1.150     moko     3423:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
                   3424: $as_echo "$ac_ct_CXX" >&6; }
1.62      paf      3425: else
1.150     moko     3426:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3427: $as_echo "no" >&6; }
1.62      paf      3428: fi
                   3429: 
1.150     moko     3430: 
1.66      paf      3431:   test -n "$ac_ct_CXX" && break
                   3432: done
                   3433: 
1.150     moko     3434:   if test "x$ac_ct_CXX" = x; then
                   3435:     CXX="g++"
                   3436:   else
                   3437:     case $cross_compiling:$ac_tool_warned in
                   3438: yes:)
                   3439: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3440: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3441: ac_tool_warned=yes ;;
                   3442: esac
                   3443:     CXX=$ac_ct_CXX
                   3444:   fi
1.62      paf      3445: fi
                   3446: 
1.150     moko     3447:   fi
                   3448: fi
1.66      paf      3449: # Provide some information about the compiler.
1.150     moko     3450: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
                   3451: set X $ac_compile
                   3452: ac_compiler=$2
                   3453: for ac_option in --version -v -V -qversion; do
                   3454:   { { ac_try="$ac_compiler $ac_option >&5"
                   3455: case "(($ac_try" in
                   3456:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3457:   *) ac_try_echo=$ac_try;;
                   3458: esac
                   3459: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3460: $as_echo "$ac_try_echo"; } >&5
                   3461:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.66      paf      3462:   ac_status=$?
1.150     moko     3463:   if test -s conftest.err; then
                   3464:     sed '10a\
                   3465: ... rest of stderr output deleted ...
                   3466:          10q' conftest.err >conftest.er1
                   3467:     cat conftest.er1 >&5
                   3468:   fi
                   3469:   rm -f conftest.er1 conftest.err
                   3470:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3471:   test $ac_status = 0; }
                   3472: done
1.66      paf      3473: 
1.150     moko     3474: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      3475: /* end confdefs.h.  */
                   3476: 
                   3477: int
                   3478: main ()
                   3479: {
                   3480: 
                   3481:   ;
                   3482:   return 0;
                   3483: }
                   3484: _ACEOF
                   3485: ac_clean_files_save=$ac_clean_files
1.150     moko     3486: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
1.66      paf      3487: # Try to create an executable without -o first, disregard a.out.
                   3488: # It will help us diagnose broken compilers, and finding out an intuition
                   3489: # of exeext.
1.150     moko     3490: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
                   3491: $as_echo_n "checking whether the C++ compiler works... " >&6; }
                   3492: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   3493: 
                   3494: # The possible output files:
                   3495: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
                   3496: 
                   3497: ac_rmfiles=
                   3498: for ac_file in $ac_files
                   3499: do
                   3500:   case $ac_file in
                   3501:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3502:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
                   3503:   esac
                   3504: done
                   3505: rm -f $ac_rmfiles
                   3506: 
                   3507: if { { ac_try="$ac_link_default"
                   3508: case "(($ac_try" in
                   3509:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3510:   *) ac_try_echo=$ac_try;;
                   3511: esac
                   3512: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3513: $as_echo "$ac_try_echo"; } >&5
                   3514:   (eval "$ac_link_default") 2>&5
                   3515:   ac_status=$?
                   3516:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3517:   test $ac_status = 0; }; then :
                   3518:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
                   3519: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
                   3520: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
                   3521: # so that the user can short-circuit this test for compilers unknown to
                   3522: # Autoconf.
                   3523: for ac_file in $ac_files ''
1.62      paf      3524: do
1.66      paf      3525:   test -f "$ac_file" || continue
                   3526:   case $ac_file in
1.150     moko     3527:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
1.86      paf      3528:        ;;
1.66      paf      3529:     [ab].out )
1.86      paf      3530:        # We found the default executable, but exeext='' is most
                   3531:        # certainly right.
                   3532:        break;;
1.66      paf      3533:     *.* )
1.150     moko     3534:        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
                   3535:        then :; else
                   3536:           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3537:        fi
                   3538:        # We set ac_cv_exeext here because the later test for it is not
                   3539:        # safe: cross compilers may not add the suffix if given an `-o'
                   3540:        # argument, so we may need to know it at that point already.
                   3541:        # Even if this section looks crufty: it has the advantage of
                   3542:        # actually working.
1.86      paf      3543:        break;;
1.66      paf      3544:     * )
1.86      paf      3545:        break;;
1.66      paf      3546:   esac
1.62      paf      3547: done
1.150     moko     3548: test "$ac_cv_exeext" = no && ac_cv_exeext=
                   3549: 
1.66      paf      3550: else
1.150     moko     3551:   ac_file=''
                   3552: fi
                   3553: if test -z "$ac_file"; then :
                   3554:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3555: $as_echo "no" >&6; }
                   3556: $as_echo "$as_me: failed program was:" >&5
1.66      paf      3557: sed 's/^/| /' conftest.$ac_ext >&5
1.62      paf      3558: 
1.150     moko     3559: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3560: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3561: as_fn_error 77 "C++ compiler cannot create executables
                   3562: See \`config.log' for more details" "$LINENO" 5; }
                   3563: else
                   3564:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3565: $as_echo "yes" >&6; }
1.1       paf      3566: fi
1.150     moko     3567: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
                   3568: $as_echo_n "checking for C++ compiler default output file name... " >&6; }
                   3569: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
                   3570: $as_echo "$ac_file" >&6; }
1.66      paf      3571: ac_exeext=$ac_cv_exeext
1.62      paf      3572: 
1.150     moko     3573: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
1.66      paf      3574: ac_clean_files=$ac_clean_files_save
1.150     moko     3575: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
                   3576: $as_echo_n "checking for suffix of executables... " >&6; }
                   3577: if { { ac_try="$ac_link"
                   3578: case "(($ac_try" in
                   3579:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3580:   *) ac_try_echo=$ac_try;;
                   3581: esac
                   3582: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3583: $as_echo "$ac_try_echo"; } >&5
                   3584:   (eval "$ac_link") 2>&5
1.62      paf      3585:   ac_status=$?
1.150     moko     3586:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3587:   test $ac_status = 0; }; then :
1.62      paf      3588:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   3589: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   3590: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   3591: # `rm'.
                   3592: for ac_file in conftest.exe conftest conftest.*; do
                   3593:   test -f "$ac_file" || continue
                   3594:   case $ac_file in
1.150     moko     3595:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
1.62      paf      3596:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.86      paf      3597:          break;;
1.62      paf      3598:     * ) break;;
                   3599:   esac
                   3600: done
                   3601: else
1.150     moko     3602:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3603: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3604: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
                   3605: See \`config.log' for more details" "$LINENO" 5; }
                   3606: fi
                   3607: rm -f conftest conftest$ac_cv_exeext
                   3608: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
                   3609: $as_echo "$ac_cv_exeext" >&6; }
1.62      paf      3610: 
                   3611: rm -f conftest.$ac_ext
                   3612: EXEEXT=$ac_cv_exeext
                   3613: ac_exeext=$EXEEXT
1.150     moko     3614: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3615: /* end confdefs.h.  */
                   3616: #include <stdio.h>
                   3617: int
                   3618: main ()
                   3619: {
                   3620: FILE *f = fopen ("conftest.out", "w");
                   3621:  return ferror (f) || fclose (f) != 0;
                   3622: 
                   3623:   ;
                   3624:   return 0;
                   3625: }
                   3626: _ACEOF
                   3627: ac_clean_files="$ac_clean_files conftest.out"
                   3628: # Check that the compiler produces executables we can run.  If not, either
                   3629: # the compiler is broken, or we cross compile.
                   3630: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
                   3631: $as_echo_n "checking whether we are cross compiling... " >&6; }
                   3632: if test "$cross_compiling" != yes; then
                   3633:   { { ac_try="$ac_link"
                   3634: case "(($ac_try" in
                   3635:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3636:   *) ac_try_echo=$ac_try;;
                   3637: esac
                   3638: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3639: $as_echo "$ac_try_echo"; } >&5
                   3640:   (eval "$ac_link") 2>&5
                   3641:   ac_status=$?
                   3642:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3643:   test $ac_status = 0; }
                   3644:   if { ac_try='./conftest$ac_cv_exeext'
                   3645:   { { case "(($ac_try" in
                   3646:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3647:   *) ac_try_echo=$ac_try;;
                   3648: esac
                   3649: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3650: $as_echo "$ac_try_echo"; } >&5
                   3651:   (eval "$ac_try") 2>&5
                   3652:   ac_status=$?
                   3653:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3654:   test $ac_status = 0; }; }; then
                   3655:     cross_compiling=no
                   3656:   else
                   3657:     if test "$cross_compiling" = maybe; then
                   3658:        cross_compiling=yes
                   3659:     else
                   3660:        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3661: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3662: as_fn_error $? "cannot run C++ compiled programs.
                   3663: If you meant to cross compile, use \`--host'.
                   3664: See \`config.log' for more details" "$LINENO" 5; }
                   3665:     fi
                   3666:   fi
                   3667: fi
                   3668: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
                   3669: $as_echo "$cross_compiling" >&6; }
                   3670: 
                   3671: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
                   3672: ac_clean_files=$ac_clean_files_save
                   3673: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
                   3674: $as_echo_n "checking for suffix of object files... " >&6; }
                   3675: if ${ac_cv_objext+:} false; then :
                   3676:   $as_echo_n "(cached) " >&6
1.62      paf      3677: else
1.150     moko     3678:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      3679: /* end confdefs.h.  */
                   3680: 
                   3681: int
                   3682: main ()
                   3683: {
                   3684: 
                   3685:   ;
                   3686:   return 0;
                   3687: }
                   3688: _ACEOF
                   3689: rm -f conftest.o conftest.obj
1.150     moko     3690: if { { ac_try="$ac_compile"
                   3691: case "(($ac_try" in
                   3692:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3693:   *) ac_try_echo=$ac_try;;
                   3694: esac
                   3695: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3696: $as_echo "$ac_try_echo"; } >&5
                   3697:   (eval "$ac_compile") 2>&5
                   3698:   ac_status=$?
                   3699:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3700:   test $ac_status = 0; }; then :
                   3701:   for ac_file in conftest.o conftest.obj conftest.*; do
                   3702:   test -f "$ac_file" || continue;
1.62      paf      3703:   case $ac_file in
1.150     moko     3704:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
1.62      paf      3705:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   3706:        break;;
                   3707:   esac
                   3708: done
                   3709: else
1.150     moko     3710:   $as_echo "$as_me: failed program was:" >&5
1.62      paf      3711: sed 's/^/| /' conftest.$ac_ext >&5
                   3712: 
1.150     moko     3713: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3714: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3715: as_fn_error $? "cannot compute suffix of object files: cannot compile
                   3716: See \`config.log' for more details" "$LINENO" 5; }
1.62      paf      3717: fi
                   3718: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   3719: fi
1.150     moko     3720: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
                   3721: $as_echo "$ac_cv_objext" >&6; }
1.66      paf      3722: OBJEXT=$ac_cv_objext
                   3723: ac_objext=$OBJEXT
1.150     moko     3724: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
                   3725: $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
                   3726: if ${ac_cv_cxx_compiler_gnu+:} false; then :
                   3727:   $as_echo_n "(cached) " >&6
1.62      paf      3728: else
1.150     moko     3729:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      3730: /* end confdefs.h.  */
1.66      paf      3731: 
1.62      paf      3732: int
                   3733: main ()
                   3734: {
1.66      paf      3735: #ifndef __GNUC__
                   3736:        choke me
                   3737: #endif
                   3738: 
1.62      paf      3739:   ;
                   3740:   return 0;
                   3741: }
                   3742: _ACEOF
1.150     moko     3743: if ac_fn_cxx_try_compile "$LINENO"; then :
1.66      paf      3744:   ac_compiler_gnu=yes
1.62      paf      3745: else
1.150     moko     3746:   ac_compiler_gnu=no
1.1       paf      3747: fi
1.150     moko     3748: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      3749: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1.1       paf      3750: 
                   3751: fi
1.150     moko     3752: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
                   3753: $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
                   3754: if test $ac_compiler_gnu = yes; then
                   3755:   GXX=yes
                   3756: else
                   3757:   GXX=
                   3758: fi
1.66      paf      3759: ac_test_CXXFLAGS=${CXXFLAGS+set}
                   3760: ac_save_CXXFLAGS=$CXXFLAGS
1.150     moko     3761: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
                   3762: $as_echo_n "checking whether $CXX accepts -g... " >&6; }
                   3763: if ${ac_cv_prog_cxx_g+:} false; then :
                   3764:   $as_echo_n "(cached) " >&6
                   3765: else
                   3766:   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
                   3767:    ac_cxx_werror_flag=yes
                   3768:    ac_cv_prog_cxx_g=no
                   3769:    CXXFLAGS="-g"
                   3770:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      3771: /* end confdefs.h.  */
1.1       paf      3772: 
1.66      paf      3773: int
                   3774: main ()
                   3775: {
1.1       paf      3776: 
1.66      paf      3777:   ;
                   3778:   return 0;
                   3779: }
1.62      paf      3780: _ACEOF
1.150     moko     3781: if ac_fn_cxx_try_compile "$LINENO"; then :
1.66      paf      3782:   ac_cv_prog_cxx_g=yes
                   3783: else
1.150     moko     3784:   CXXFLAGS=""
                   3785:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3786: /* end confdefs.h.  */
1.66      paf      3787: 
1.62      paf      3788: int
                   3789: main ()
                   3790: {
1.150     moko     3791: 
1.62      paf      3792:   ;
                   3793:   return 0;
                   3794: }
                   3795: _ACEOF
1.150     moko     3796: if ac_fn_cxx_try_compile "$LINENO"; then :
                   3797: 
1.1       paf      3798: else
1.150     moko     3799:   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
                   3800:         CXXFLAGS="-g"
                   3801:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3802: /* end confdefs.h.  */
1.62      paf      3803: 
                   3804: int
                   3805: main ()
                   3806: {
1.150     moko     3807: 
1.62      paf      3808:   ;
                   3809:   return 0;
                   3810: }
                   3811: _ACEOF
1.150     moko     3812: if ac_fn_cxx_try_compile "$LINENO"; then :
                   3813:   ac_cv_prog_cxx_g=yes
                   3814: fi
                   3815: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3816: fi
                   3817: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3818: fi
                   3819: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3820:    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
                   3821: fi
                   3822: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
                   3823: $as_echo "$ac_cv_prog_cxx_g" >&6; }
                   3824: if test "$ac_test_CXXFLAGS" = set; then
                   3825:   CXXFLAGS=$ac_save_CXXFLAGS
                   3826: elif test $ac_cv_prog_cxx_g = yes; then
                   3827:   if test "$GXX" = yes; then
                   3828:     CXXFLAGS="-g -O2"
                   3829:   else
                   3830:     CXXFLAGS="-g"
                   3831:   fi
1.1       paf      3832: else
1.150     moko     3833:   if test "$GXX" = yes; then
                   3834:     CXXFLAGS="-O2"
                   3835:   else
                   3836:     CXXFLAGS=
                   3837:   fi
1.1       paf      3838: fi
1.62      paf      3839: ac_ext=c
                   3840: ac_cpp='$CPP $CPPFLAGS'
                   3841: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3842: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3843: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.86      paf      3844: DEPDIR="${am__leading_dot}deps"
1.62      paf      3845: 
1.150     moko     3846: ac_config_commands="$ac_config_commands depfiles"
1.62      paf      3847: 
                   3848: 
                   3849: am_make=${MAKE-make}
                   3850: cat > confinc << 'END'
1.86      paf      3851: am__doit:
1.150     moko     3852:        @echo this is the am__doit target
1.86      paf      3853: .PHONY: am__doit
1.62      paf      3854: END
                   3855: # If we don't find an include directive, just comment out the code.
1.150     moko     3856: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
                   3857: $as_echo_n "checking for style of include used by $am_make... " >&6; }
1.62      paf      3858: am__include="#"
                   3859: am__quote=
                   3860: _am_result=none
                   3861: # First try GNU make style include.
                   3862: echo "include confinc" > confmf
1.150     moko     3863: # Ignore all kinds of additional output from `make'.
                   3864: case `$am_make -s -f confmf 2> /dev/null` in #(
                   3865: *the\ am__doit\ target*)
                   3866:   am__include=include
                   3867:   am__quote=
                   3868:   _am_result=GNU
                   3869:   ;;
                   3870: esac
1.62      paf      3871: # Now try BSD make style include.
                   3872: if test "$am__include" = "#"; then
                   3873:    echo '.include "confinc"' > confmf
1.150     moko     3874:    case `$am_make -s -f confmf 2> /dev/null` in #(
                   3875:    *the\ am__doit\ target*)
                   3876:      am__include=.include
                   3877:      am__quote="\""
                   3878:      _am_result=BSD
                   3879:      ;;
                   3880:    esac
1.62      paf      3881: fi
                   3882: 
                   3883: 
1.150     moko     3884: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
                   3885: $as_echo "$_am_result" >&6; }
1.62      paf      3886: rm -f confinc confmf
                   3887: 
1.150     moko     3888: # Check whether --enable-dependency-tracking was given.
                   3889: if test "${enable_dependency_tracking+set}" = set; then :
                   3890:   enableval=$enable_dependency_tracking;
                   3891: fi
1.62      paf      3892: 
                   3893: if test "x$enable_dependency_tracking" != xno; then
                   3894:   am_depcomp="$ac_aux_dir/depcomp"
                   3895:   AMDEPBACKSLASH='\'
1.1       paf      3896: fi
1.150     moko     3897:  if test "x$enable_dependency_tracking" != xno; then
1.62      paf      3898:   AMDEP_TRUE=
                   3899:   AMDEP_FALSE='#'
                   3900: else
                   3901:   AMDEP_TRUE='#'
                   3902:   AMDEP_FALSE=
                   3903: fi
1.1       paf      3904: 
                   3905: 
                   3906: 
1.66      paf      3907: depcc="$CXX"  am_compiler_list=
1.1       paf      3908: 
1.150     moko     3909: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   3910: $as_echo_n "checking dependency style of $depcc... " >&6; }
                   3911: if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
                   3912:   $as_echo_n "(cached) " >&6
1.62      paf      3913: else
                   3914:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   3915:   # We make a subdir and do the tests there.  Otherwise we can end up
                   3916:   # making bogus files that we don't know about and never remove.  For
                   3917:   # instance it was reported that on HP-UX the gcc test will end up
                   3918:   # making a dummy file named `D' -- because `-MD' means `put the output
                   3919:   # in D'.
                   3920:   mkdir conftest.dir
                   3921:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   3922:   # using a relative directory.
                   3923:   cp "$am_depcomp" conftest.dir
                   3924:   cd conftest.dir
1.86      paf      3925:   # We will build objects and dependencies in a subdirectory because
                   3926:   # it helps to detect inapplicable dependency modes.  For instance
                   3927:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   3928:   # side effect of compilation, but ICC will put the dependencies in
                   3929:   # the current directory while Tru64 will put them in the object
                   3930:   # directory.
                   3931:   mkdir sub
1.1       paf      3932: 
1.66      paf      3933:   am_cv_CXX_dependencies_compiler_type=none
1.62      paf      3934:   if test "$am_compiler_list" = ""; then
                   3935:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.1       paf      3936:   fi
1.150     moko     3937:   am__universal=false
                   3938:   case " $depcc " in #(
                   3939:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   3940:      esac
                   3941: 
1.62      paf      3942:   for depmode in $am_compiler_list; do
1.86      paf      3943:     # Setup a source with many dependencies, because some compilers
                   3944:     # like to wrap large dependency lists on column 80 (with \), and
                   3945:     # we should not choose a depcomp mode which is confused by this.
                   3946:     #
1.62      paf      3947:     # We need to recreate these files for each test, as the compiler may
                   3948:     # overwrite some of them when testing with obscure command lines.
                   3949:     # This happens at least with the AIX C compiler.
1.86      paf      3950:     : > sub/conftest.c
                   3951:     for i in 1 2 3 4 5 6; do
                   3952:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   3953:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   3954:       # Solaris 8's {/usr,}/bin/sh.
                   3955:       touch sub/conftst$i.h
                   3956:     done
                   3957:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.62      paf      3958: 
1.150     moko     3959:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   3960:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   3961:     # handle `-M -o', and we need to detect this.  Also, some Intel
                   3962:     # versions had trouble with output in subdirs
                   3963:     am__obj=sub/conftest.${OBJEXT-o}
                   3964:     am__minus_obj="-o $am__obj"
1.62      paf      3965:     case $depmode in
1.150     moko     3966:     gcc)
                   3967:       # This depmode causes a compiler race in universal mode.
                   3968:       test "$am__universal" = false || continue
                   3969:       ;;
1.62      paf      3970:     nosideeffect)
                   3971:       # after this tag, mechanisms are not by side-effect, so they'll
                   3972:       # only be used when explicitly requested
                   3973:       if test "x$enable_dependency_tracking" = xyes; then
                   3974:        continue
                   3975:       else
                   3976:        break
                   3977:       fi
                   3978:       ;;
1.150     moko     3979:     msvisualcpp | msvcmsys)
                   3980:       # This compiler won't grok `-c -o', but also, the minuso test has
                   3981:       # not run yet.  These depmodes are late enough in the game, and
                   3982:       # so weak that their functioning should not be impacted.
                   3983:       am__obj=conftest.${OBJEXT-o}
                   3984:       am__minus_obj=
                   3985:       ;;
1.62      paf      3986:     none) break ;;
                   3987:     esac
                   3988:     if depmode=$depmode \
1.150     moko     3989:        source=sub/conftest.c object=$am__obj \
1.86      paf      3990:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.150     moko     3991:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1.86      paf      3992:          >/dev/null 2>conftest.err &&
1.150     moko     3993:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1.86      paf      3994:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.150     moko     3995:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1.62      paf      3996:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.86      paf      3997:       # icc doesn't choke on unknown options, it will just issue warnings
                   3998:       # or remarks (even with -Werror).  So we grep stderr for any message
                   3999:       # that says an option was ignored or not supported.
                   4000:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   4001:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   4002:       # The diagnosis changed in icc 8.0:
                   4003:       #   icc: Command line remark: option '-MP' not supported
                   4004:       if (grep 'ignoring option' conftest.err ||
                   4005:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   4006:         am_cv_CXX_dependencies_compiler_type=$depmode
                   4007:         break
                   4008:       fi
1.66      paf      4009:     fi
                   4010:   done
                   4011: 
                   4012:   cd ..
                   4013:   rm -rf conftest.dir
                   4014: else
                   4015:   am_cv_CXX_dependencies_compiler_type=none
                   4016: fi
                   4017: 
                   4018: fi
1.150     moko     4019: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
                   4020: $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
1.66      paf      4021: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
                   4022: 
1.150     moko     4023:  if
1.66      paf      4024:   test "x$enable_dependency_tracking" != xno \
                   4025:   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
                   4026:   am__fastdepCXX_TRUE=
                   4027:   am__fastdepCXX_FALSE='#'
                   4028: else
                   4029:   am__fastdepCXX_TRUE='#'
                   4030:   am__fastdepCXX_FALSE=
                   4031: fi
                   4032: 
                   4033: 
                   4034: ac_ext=c
                   4035: ac_cpp='$CPP $CPPFLAGS'
                   4036: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4037: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4038: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4039: if test -n "$ac_tool_prefix"; then
                   4040:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   4041: set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.150     moko     4042: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4043: $as_echo_n "checking for $ac_word... " >&6; }
                   4044: if ${ac_cv_prog_CC+:} false; then :
                   4045:   $as_echo_n "(cached) " >&6
1.66      paf      4046: else
                   4047:   if test -n "$CC"; then
                   4048:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   4049: else
                   4050: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4051: for as_dir in $PATH
                   4052: do
                   4053:   IFS=$as_save_IFS
                   4054:   test -z "$as_dir" && as_dir=.
1.150     moko     4055:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     4056:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      4057:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.150     moko     4058:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.66      paf      4059:     break 2
                   4060:   fi
                   4061: done
1.150     moko     4062:   done
                   4063: IFS=$as_save_IFS
1.66      paf      4064: 
                   4065: fi
                   4066: fi
                   4067: CC=$ac_cv_prog_CC
                   4068: if test -n "$CC"; then
1.150     moko     4069:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4070: $as_echo "$CC" >&6; }
1.66      paf      4071: else
1.150     moko     4072:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4073: $as_echo "no" >&6; }
1.66      paf      4074: fi
                   4075: 
1.150     moko     4076: 
1.66      paf      4077: fi
                   4078: if test -z "$ac_cv_prog_CC"; then
                   4079:   ac_ct_CC=$CC
                   4080:   # Extract the first word of "gcc", so it can be a program name with args.
                   4081: set dummy gcc; ac_word=$2
1.150     moko     4082: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4083: $as_echo_n "checking for $ac_word... " >&6; }
                   4084: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   4085:   $as_echo_n "(cached) " >&6
1.66      paf      4086: else
                   4087:   if test -n "$ac_ct_CC"; then
                   4088:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   4089: else
                   4090: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4091: for as_dir in $PATH
                   4092: do
                   4093:   IFS=$as_save_IFS
                   4094:   test -z "$as_dir" && as_dir=.
1.150     moko     4095:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     4096:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      4097:     ac_cv_prog_ac_ct_CC="gcc"
1.150     moko     4098:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.66      paf      4099:     break 2
                   4100:   fi
                   4101: done
1.150     moko     4102:   done
                   4103: IFS=$as_save_IFS
1.66      paf      4104: 
                   4105: fi
                   4106: fi
                   4107: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   4108: if test -n "$ac_ct_CC"; then
1.150     moko     4109:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   4110: $as_echo "$ac_ct_CC" >&6; }
1.1       paf      4111: else
1.150     moko     4112:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4113: $as_echo "no" >&6; }
1.62      paf      4114: fi
                   4115: 
1.150     moko     4116:   if test "x$ac_ct_CC" = x; then
                   4117:     CC=""
                   4118:   else
                   4119:     case $cross_compiling:$ac_tool_warned in
                   4120: yes:)
                   4121: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   4122: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   4123: ac_tool_warned=yes ;;
                   4124: esac
                   4125:     CC=$ac_ct_CC
                   4126:   fi
1.66      paf      4127: else
                   4128:   CC="$ac_cv_prog_CC"
1.1       paf      4129: fi
1.62      paf      4130: 
1.66      paf      4131: if test -z "$CC"; then
1.150     moko     4132:           if test -n "$ac_tool_prefix"; then
                   4133:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1.66      paf      4134: set dummy ${ac_tool_prefix}cc; ac_word=$2
1.150     moko     4135: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4136: $as_echo_n "checking for $ac_word... " >&6; }
                   4137: if ${ac_cv_prog_CC+:} false; then :
                   4138:   $as_echo_n "(cached) " >&6
1.66      paf      4139: else
                   4140:   if test -n "$CC"; then
                   4141:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   4142: else
                   4143: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4144: for as_dir in $PATH
                   4145: do
                   4146:   IFS=$as_save_IFS
                   4147:   test -z "$as_dir" && as_dir=.
1.150     moko     4148:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     4149:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      4150:     ac_cv_prog_CC="${ac_tool_prefix}cc"
1.150     moko     4151:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.66      paf      4152:     break 2
                   4153:   fi
                   4154: done
1.150     moko     4155:   done
                   4156: IFS=$as_save_IFS
1.62      paf      4157: 
1.66      paf      4158: fi
                   4159: fi
                   4160: CC=$ac_cv_prog_CC
                   4161: if test -n "$CC"; then
1.150     moko     4162:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4163: $as_echo "$CC" >&6; }
1.62      paf      4164: else
1.150     moko     4165:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4166: $as_echo "no" >&6; }
1.1       paf      4167: fi
                   4168: 
1.150     moko     4169: 
1.66      paf      4170:   fi
1.1       paf      4171: fi
1.66      paf      4172: if test -z "$CC"; then
                   4173:   # Extract the first word of "cc", so it can be a program name with args.
                   4174: set dummy cc; ac_word=$2
1.150     moko     4175: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4176: $as_echo_n "checking for $ac_word... " >&6; }
                   4177: if ${ac_cv_prog_CC+:} false; then :
                   4178:   $as_echo_n "(cached) " >&6
1.66      paf      4179: else
                   4180:   if test -n "$CC"; then
                   4181:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   4182: else
                   4183:   ac_prog_rejected=no
                   4184: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4185: for as_dir in $PATH
                   4186: do
                   4187:   IFS=$as_save_IFS
                   4188:   test -z "$as_dir" && as_dir=.
1.150     moko     4189:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     4190:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      4191:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   4192:        ac_prog_rejected=yes
                   4193:        continue
                   4194:      fi
                   4195:     ac_cv_prog_CC="cc"
1.150     moko     4196:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.66      paf      4197:     break 2
                   4198:   fi
                   4199: done
1.150     moko     4200:   done
                   4201: IFS=$as_save_IFS
1.62      paf      4202: 
1.66      paf      4203: if test $ac_prog_rejected = yes; then
                   4204:   # We found a bogon in the path, so make sure we never use it.
                   4205:   set dummy $ac_cv_prog_CC
                   4206:   shift
                   4207:   if test $# != 0; then
                   4208:     # We chose a different compiler from the bogus one.
                   4209:     # However, it has the same basename, so the bogon will be chosen
                   4210:     # first if we set CC to just the basename; use the full file name.
                   4211:     shift
                   4212:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
                   4213:   fi
                   4214: fi
                   4215: fi
                   4216: fi
                   4217: CC=$ac_cv_prog_CC
                   4218: if test -n "$CC"; then
1.150     moko     4219:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4220: $as_echo "$CC" >&6; }
1.66      paf      4221: else
1.150     moko     4222:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4223: $as_echo "no" >&6; }
1.1       paf      4224: fi
                   4225: 
1.150     moko     4226: 
1.66      paf      4227: fi
                   4228: if test -z "$CC"; then
                   4229:   if test -n "$ac_tool_prefix"; then
1.150     moko     4230:   for ac_prog in cl.exe
1.62      paf      4231:   do
                   4232:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   4233: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150     moko     4234: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4235: $as_echo_n "checking for $ac_word... " >&6; }
                   4236: if ${ac_cv_prog_CC+:} false; then :
                   4237:   $as_echo_n "(cached) " >&6
1.62      paf      4238: else
1.66      paf      4239:   if test -n "$CC"; then
                   4240:   ac_cv_prog_CC="$CC" # Let the user override the test.
1.62      paf      4241: else
                   4242: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4243: for as_dir in $PATH
                   4244: do
                   4245:   IFS=$as_save_IFS
                   4246:   test -z "$as_dir" && as_dir=.
1.150     moko     4247:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     4248:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      4249:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.150     moko     4250:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      4251:     break 2
                   4252:   fi
                   4253: done
1.150     moko     4254:   done
                   4255: IFS=$as_save_IFS
1.1       paf      4256: 
1.62      paf      4257: fi
                   4258: fi
1.66      paf      4259: CC=$ac_cv_prog_CC
                   4260: if test -n "$CC"; then
1.150     moko     4261:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4262: $as_echo "$CC" >&6; }
1.1       paf      4263: else
1.150     moko     4264:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4265: $as_echo "no" >&6; }
1.1       paf      4266: fi
                   4267: 
1.150     moko     4268: 
1.66      paf      4269:     test -n "$CC" && break
1.62      paf      4270:   done
                   4271: fi
1.66      paf      4272: if test -z "$CC"; then
                   4273:   ac_ct_CC=$CC
1.150     moko     4274:   for ac_prog in cl.exe
1.62      paf      4275: do
                   4276:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   4277: set dummy $ac_prog; ac_word=$2
1.150     moko     4278: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4279: $as_echo_n "checking for $ac_word... " >&6; }
                   4280: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   4281:   $as_echo_n "(cached) " >&6
1.62      paf      4282: else
1.66      paf      4283:   if test -n "$ac_ct_CC"; then
                   4284:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.1       paf      4285: else
1.62      paf      4286: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4287: for as_dir in $PATH
                   4288: do
                   4289:   IFS=$as_save_IFS
                   4290:   test -z "$as_dir" && as_dir=.
1.150     moko     4291:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     4292:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      4293:     ac_cv_prog_ac_ct_CC="$ac_prog"
1.150     moko     4294:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      4295:     break 2
                   4296:   fi
                   4297: done
1.150     moko     4298:   done
                   4299: IFS=$as_save_IFS
1.62      paf      4300: 
                   4301: fi
                   4302: fi
1.66      paf      4303: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   4304: if test -n "$ac_ct_CC"; then
1.150     moko     4305:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   4306: $as_echo "$ac_ct_CC" >&6; }
1.1       paf      4307: else
1.150     moko     4308:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4309: $as_echo "no" >&6; }
1.1       paf      4310: fi
                   4311: 
1.150     moko     4312: 
1.66      paf      4313:   test -n "$ac_ct_CC" && break
                   4314: done
                   4315: 
1.150     moko     4316:   if test "x$ac_ct_CC" = x; then
                   4317:     CC=""
                   4318:   else
                   4319:     case $cross_compiling:$ac_tool_warned in
                   4320: yes:)
                   4321: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   4322: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   4323: ac_tool_warned=yes ;;
                   4324: esac
                   4325:     CC=$ac_ct_CC
                   4326:   fi
1.66      paf      4327: fi
                   4328: 
                   4329: fi
1.62      paf      4330: 
1.1       paf      4331: 
1.150     moko     4332: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   4333: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   4334: as_fn_error $? "no acceptable C compiler found in \$PATH
                   4335: See \`config.log' for more details" "$LINENO" 5; }
1.62      paf      4336: 
                   4337: # Provide some information about the compiler.
1.150     moko     4338: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
                   4339: set X $ac_compile
                   4340: ac_compiler=$2
                   4341: for ac_option in --version -v -V -qversion; do
                   4342:   { { ac_try="$ac_compiler $ac_option >&5"
                   4343: case "(($ac_try" in
                   4344:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4345:   *) ac_try_echo=$ac_try;;
                   4346: esac
                   4347: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4348: $as_echo "$ac_try_echo"; } >&5
                   4349:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.62      paf      4350:   ac_status=$?
1.150     moko     4351:   if test -s conftest.err; then
                   4352:     sed '10a\
                   4353: ... rest of stderr output deleted ...
                   4354:          10q' conftest.err >conftest.er1
                   4355:     cat conftest.er1 >&5
                   4356:   fi
                   4357:   rm -f conftest.er1 conftest.err
                   4358:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4359:   test $ac_status = 0; }
                   4360: done
                   4361: 
                   4362: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
                   4363: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
                   4364: if ${ac_cv_c_compiler_gnu+:} false; then :
                   4365:   $as_echo_n "(cached) " >&6
1.62      paf      4366: else
1.150     moko     4367:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      4368: /* end confdefs.h.  */
                   4369: 
                   4370: int
                   4371: main ()
                   4372: {
                   4373: #ifndef __GNUC__
                   4374:        choke me
                   4375: #endif
                   4376: 
                   4377:   ;
                   4378:   return 0;
                   4379: }
                   4380: _ACEOF
1.150     moko     4381: if ac_fn_c_try_compile "$LINENO"; then :
1.62      paf      4382:   ac_compiler_gnu=yes
                   4383: else
1.150     moko     4384:   ac_compiler_gnu=no
1.62      paf      4385: fi
1.150     moko     4386: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      4387: ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.62      paf      4388: 
                   4389: fi
1.150     moko     4390: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
                   4391: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
                   4392: if test $ac_compiler_gnu = yes; then
                   4393:   GCC=yes
                   4394: else
                   4395:   GCC=
                   4396: fi
1.66      paf      4397: ac_test_CFLAGS=${CFLAGS+set}
                   4398: ac_save_CFLAGS=$CFLAGS
1.150     moko     4399: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
                   4400: $as_echo_n "checking whether $CC accepts -g... " >&6; }
                   4401: if ${ac_cv_prog_cc_g+:} false; then :
                   4402:   $as_echo_n "(cached) " >&6
                   4403: else
                   4404:   ac_save_c_werror_flag=$ac_c_werror_flag
                   4405:    ac_c_werror_flag=yes
                   4406:    ac_cv_prog_cc_g=no
                   4407:    CFLAGS="-g"
                   4408:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      4409: /* end confdefs.h.  */
                   4410: 
                   4411: int
                   4412: main ()
                   4413: {
                   4414: 
                   4415:   ;
                   4416:   return 0;
                   4417: }
                   4418: _ACEOF
1.150     moko     4419: if ac_fn_c_try_compile "$LINENO"; then :
1.66      paf      4420:   ac_cv_prog_cc_g=yes
1.62      paf      4421: else
1.150     moko     4422:   CFLAGS=""
                   4423:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4424: /* end confdefs.h.  */
                   4425: 
                   4426: int
                   4427: main ()
                   4428: {
1.62      paf      4429: 
1.150     moko     4430:   ;
                   4431:   return 0;
                   4432: }
                   4433: _ACEOF
                   4434: if ac_fn_c_try_compile "$LINENO"; then :
                   4435: 
                   4436: else
                   4437:   ac_c_werror_flag=$ac_save_c_werror_flag
                   4438:         CFLAGS="-g"
                   4439:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4440: /* end confdefs.h.  */
                   4441: 
                   4442: int
                   4443: main ()
                   4444: {
                   4445: 
                   4446:   ;
                   4447:   return 0;
                   4448: }
                   4449: _ACEOF
                   4450: if ac_fn_c_try_compile "$LINENO"; then :
                   4451:   ac_cv_prog_cc_g=yes
                   4452: fi
                   4453: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      4454: fi
1.150     moko     4455: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      4456: fi
1.150     moko     4457: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4458:    ac_c_werror_flag=$ac_save_c_werror_flag
                   4459: fi
                   4460: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
                   4461: $as_echo "$ac_cv_prog_cc_g" >&6; }
1.66      paf      4462: if test "$ac_test_CFLAGS" = set; then
                   4463:   CFLAGS=$ac_save_CFLAGS
                   4464: elif test $ac_cv_prog_cc_g = yes; then
                   4465:   if test "$GCC" = yes; then
                   4466:     CFLAGS="-g -O2"
1.1       paf      4467:   else
1.66      paf      4468:     CFLAGS="-g"
1.1       paf      4469:   fi
                   4470: else
1.66      paf      4471:   if test "$GCC" = yes; then
                   4472:     CFLAGS="-O2"
1.1       paf      4473:   else
1.66      paf      4474:     CFLAGS=
1.1       paf      4475:   fi
                   4476: fi
1.150     moko     4477: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
                   4478: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
                   4479: if ${ac_cv_prog_cc_c89+:} false; then :
                   4480:   $as_echo_n "(cached) " >&6
1.66      paf      4481: else
1.150     moko     4482:   ac_cv_prog_cc_c89=no
1.66      paf      4483: ac_save_CC=$CC
1.150     moko     4484: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      4485: /* end confdefs.h.  */
                   4486: #include <stdarg.h>
                   4487: #include <stdio.h>
1.166     moko     4488: struct stat;
1.66      paf      4489: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   4490: struct buf { int x; };
                   4491: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   4492: static char *e (p, i)
                   4493:      char **p;
                   4494:      int i;
                   4495: {
                   4496:   return p[i];
                   4497: }
                   4498: static char *f (char * (*g) (char **, int), char **p, ...)
                   4499: {
                   4500:   char *s;
                   4501:   va_list v;
                   4502:   va_start (v,p);
                   4503:   s = g (p, va_arg (v,int));
                   4504:   va_end (v);
                   4505:   return s;
                   4506: }
1.86      paf      4507: 
                   4508: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   4509:    function prototypes and stuff, but not '\xHH' hex character constants.
                   4510:    These don't provoke an error unfortunately, instead are silently treated
1.150     moko     4511:    as 'x'.  The following induces an error, until -std is added to get
1.86      paf      4512:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   4513:    array size at least.  It's necessary to write '\x00'==0 to get something
1.150     moko     4514:    that's true only with -std.  */
1.86      paf      4515: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   4516: 
1.150     moko     4517: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
                   4518:    inside strings and character constants.  */
                   4519: #define FOO(x) 'x'
                   4520: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
                   4521: 
1.66      paf      4522: int test (int i, double x);
                   4523: struct s1 {int (*f) (int a);};
                   4524: struct s2 {int (*f) (double a);};
                   4525: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   4526: int argc;
                   4527: char **argv;
                   4528: int
                   4529: main ()
                   4530: {
                   4531: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   4532:   ;
                   4533:   return 0;
                   4534: }
                   4535: _ACEOF
1.150     moko     4536: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
                   4537:        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.66      paf      4538: do
                   4539:   CC="$ac_save_CC $ac_arg"
1.150     moko     4540:   if ac_fn_c_try_compile "$LINENO"; then :
                   4541:   ac_cv_prog_cc_c89=$ac_arg
1.66      paf      4542: fi
1.150     moko     4543: rm -f core conftest.err conftest.$ac_objext
                   4544:   test "x$ac_cv_prog_cc_c89" != "xno" && break
1.66      paf      4545: done
1.150     moko     4546: rm -f conftest.$ac_ext
1.66      paf      4547: CC=$ac_save_CC
                   4548: 
                   4549: fi
1.150     moko     4550: # AC_CACHE_VAL
                   4551: case "x$ac_cv_prog_cc_c89" in
                   4552:   x)
                   4553:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   4554: $as_echo "none needed" >&6; } ;;
                   4555:   xno)
                   4556:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   4557: $as_echo "unsupported" >&6; } ;;
1.66      paf      4558:   *)
1.150     moko     4559:     CC="$CC $ac_cv_prog_cc_c89"
                   4560:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
                   4561: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
1.66      paf      4562: esac
1.150     moko     4563: if test "x$ac_cv_prog_cc_c89" != xno; then :
1.62      paf      4564: 
                   4565: fi
1.66      paf      4566: 
1.62      paf      4567: ac_ext=c
                   4568: ac_cpp='$CPP $CPPFLAGS'
                   4569: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4570: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4571: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4572: 
1.66      paf      4573: depcc="$CC"   am_compiler_list=
1.62      paf      4574: 
1.150     moko     4575: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   4576: $as_echo_n "checking dependency style of $depcc... " >&6; }
                   4577: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
                   4578:   $as_echo_n "(cached) " >&6
1.62      paf      4579: else
                   4580:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   4581:   # We make a subdir and do the tests there.  Otherwise we can end up
                   4582:   # making bogus files that we don't know about and never remove.  For
                   4583:   # instance it was reported that on HP-UX the gcc test will end up
                   4584:   # making a dummy file named `D' -- because `-MD' means `put the output
                   4585:   # in D'.
                   4586:   mkdir conftest.dir
                   4587:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   4588:   # using a relative directory.
                   4589:   cp "$am_depcomp" conftest.dir
                   4590:   cd conftest.dir
1.86      paf      4591:   # We will build objects and dependencies in a subdirectory because
                   4592:   # it helps to detect inapplicable dependency modes.  For instance
                   4593:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   4594:   # side effect of compilation, but ICC will put the dependencies in
                   4595:   # the current directory while Tru64 will put them in the object
                   4596:   # directory.
                   4597:   mkdir sub
1.62      paf      4598: 
1.66      paf      4599:   am_cv_CC_dependencies_compiler_type=none
1.62      paf      4600:   if test "$am_compiler_list" = ""; then
                   4601:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   4602:   fi
1.150     moko     4603:   am__universal=false
                   4604:   case " $depcc " in #(
                   4605:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   4606:      esac
                   4607: 
1.62      paf      4608:   for depmode in $am_compiler_list; do
1.86      paf      4609:     # Setup a source with many dependencies, because some compilers
                   4610:     # like to wrap large dependency lists on column 80 (with \), and
                   4611:     # we should not choose a depcomp mode which is confused by this.
                   4612:     #
1.62      paf      4613:     # We need to recreate these files for each test, as the compiler may
                   4614:     # overwrite some of them when testing with obscure command lines.
                   4615:     # This happens at least with the AIX C compiler.
1.86      paf      4616:     : > sub/conftest.c
                   4617:     for i in 1 2 3 4 5 6; do
                   4618:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   4619:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   4620:       # Solaris 8's {/usr,}/bin/sh.
                   4621:       touch sub/conftst$i.h
                   4622:     done
                   4623:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.62      paf      4624: 
1.150     moko     4625:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   4626:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   4627:     # handle `-M -o', and we need to detect this.  Also, some Intel
                   4628:     # versions had trouble with output in subdirs
                   4629:     am__obj=sub/conftest.${OBJEXT-o}
                   4630:     am__minus_obj="-o $am__obj"
1.62      paf      4631:     case $depmode in
1.150     moko     4632:     gcc)
                   4633:       # This depmode causes a compiler race in universal mode.
                   4634:       test "$am__universal" = false || continue
                   4635:       ;;
1.62      paf      4636:     nosideeffect)
                   4637:       # after this tag, mechanisms are not by side-effect, so they'll
                   4638:       # only be used when explicitly requested
                   4639:       if test "x$enable_dependency_tracking" = xyes; then
                   4640:        continue
                   4641:       else
                   4642:        break
                   4643:       fi
                   4644:       ;;
1.150     moko     4645:     msvisualcpp | msvcmsys)
                   4646:       # This compiler won't grok `-c -o', but also, the minuso test has
                   4647:       # not run yet.  These depmodes are late enough in the game, and
                   4648:       # so weak that their functioning should not be impacted.
                   4649:       am__obj=conftest.${OBJEXT-o}
                   4650:       am__minus_obj=
                   4651:       ;;
1.62      paf      4652:     none) break ;;
                   4653:     esac
1.66      paf      4654:     if depmode=$depmode \
1.150     moko     4655:        source=sub/conftest.c object=$am__obj \
1.86      paf      4656:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.150     moko     4657:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1.86      paf      4658:          >/dev/null 2>conftest.err &&
1.150     moko     4659:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1.86      paf      4660:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.150     moko     4661:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1.66      paf      4662:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.86      paf      4663:       # icc doesn't choke on unknown options, it will just issue warnings
                   4664:       # or remarks (even with -Werror).  So we grep stderr for any message
                   4665:       # that says an option was ignored or not supported.
                   4666:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   4667:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   4668:       # The diagnosis changed in icc 8.0:
                   4669:       #   icc: Command line remark: option '-MP' not supported
                   4670:       if (grep 'ignoring option' conftest.err ||
                   4671:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   4672:         am_cv_CC_dependencies_compiler_type=$depmode
                   4673:         break
                   4674:       fi
1.66      paf      4675:     fi
                   4676:   done
                   4677: 
                   4678:   cd ..
                   4679:   rm -rf conftest.dir
                   4680: else
                   4681:   am_cv_CC_dependencies_compiler_type=none
                   4682: fi
                   4683: 
                   4684: fi
1.150     moko     4685: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
                   4686: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
1.66      paf      4687: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   4688: 
1.150     moko     4689:  if
1.66      paf      4690:   test "x$enable_dependency_tracking" != xno \
                   4691:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   4692:   am__fastdepCC_TRUE=
                   4693:   am__fastdepCC_FALSE='#'
                   4694: else
                   4695:   am__fastdepCC_TRUE='#'
                   4696:   am__fastdepCC_FALSE=
                   4697: fi
                   4698: 
                   4699: 
1.128     moko     4700: 
1.66      paf      4701: ac_ext=c
                   4702: ac_cpp='$CPP $CPPFLAGS'
                   4703: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4704: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4705: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4706: 
1.67      paf      4707: 
1.62      paf      4708: 
1.150     moko     4709: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dynamic-link library extension" >&5
                   4710: $as_echo_n "checking for dynamic-link library extension... " >&6; }
1.128     moko     4711: case "$host_os" in
1.158     moko     4712:   *cygwin* ) dll_extension=dll;;
                   4713:   * ) dll_extension=so
1.66      paf      4714: esac
1.150     moko     4715: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dll_extension" >&5
                   4716: $as_echo "$dll_extension" >&6; }
1.1       paf      4717: 
1.71      paf      4718: 
                   4719: 
                   4720: 
1.150     moko     4721: # Check whether --with-build-warnings was given.
                   4722: if test "${with_build_warnings+set}" = set; then :
                   4723:   withval=$with_build_warnings; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling compiler warnings" >&5
                   4724: $as_echo "$as_me: WARNING: enabling compiler warnings" >&2;}
1.183     moko     4725:        CXXFLAGS="$CXXFLAGS -Wextra -Wall -Wno-parentheses"
1.71      paf      4726: 
1.150     moko     4727: fi
                   4728: 
1.1       paf      4729: 
                   4730: 
1.182     moko     4731: # Check whether --with-coverage was given.
                   4732: if test "${with_coverage+set}" = set; then :
                   4733:   withval=$with_coverage; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling gcov support" >&5
                   4734: $as_echo "$as_me: WARNING: enabling gcov support" >&2;}
                   4735:        CFLAGS=`echo "$CFLAGS" | $SED -e 's/-O0-9*//g'`
                   4736:        CXXFLAGS=`echo "$XXCFLAGS" | $SED -e 's/-O0-9*//g'`
                   4737:        CFLAGS="$CFLAGS -O0 -fprofile-arcs -ftest-coverage"
                   4738:        CXXFLAGS="$CXXFLAGS -O0 -fprofile-arcs -ftest-coverage"
                   4739:        LDFLAGS="$LDFLAGS -lgcov"
                   4740: 
                   4741: fi
                   4742: 
                   4743: 
                   4744: 
                   4745: # Check whether --with-profiler was given.
                   4746: if test "${with_profiler+set}" = set; then :
                   4747:   withval=$with_profiler; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling gprof support" >&5
                   4748: $as_echo "$as_me: WARNING: enabling gprof support" >&2;}
1.185     moko     4749:        CFLAGS="$CFLAGS -O0 -pg"
                   4750:        CXXFLAGS="$CXXFLAGS -O0 -pg"
1.182     moko     4751: 
                   4752: fi
                   4753: 
                   4754: 
                   4755: 
1.150     moko     4756: # Check whether --with-assertions was given.
                   4757: if test "${with_assertions+set}" = set; then :
                   4758:   withval=$with_assertions; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling assertions" >&5
                   4759: $as_echo "$as_me: WARNING: enabling assertions" >&2;}
1.67      paf      4760: 
                   4761: else
                   4762: 
1.150     moko     4763: $as_echo "#define NDEBUG /**/" >>confdefs.h
                   4764: 
1.67      paf      4765: 
1.150     moko     4766: fi
1.67      paf      4767: 
                   4768: 
1.94      misha    4769: 
1.150     moko     4770: # Check whether --with-sjlj-exceptions was given.
                   4771: if test "${with_sjlj_exceptions+set}" = set; then :
                   4772:   withval=$with_sjlj_exceptions;
                   4773: $as_echo "#define PA_WITH_SJLJ_EXCEPTIONS /**/" >>confdefs.h
1.128     moko     4774: 
                   4775: 
1.150     moko     4776: fi
1.128     moko     4777: 
                   4778: 
1.62      paf      4779: 
1.150     moko     4780: # Check whether --enable-safe-mode was given.
                   4781: if test "${enable_safe_mode+set}" = set; then :
                   4782:   enableval=$enable_safe_mode;
1.67      paf      4783:        SAFE_MODE=$enableval
1.60      paf      4784: 
1.1       paf      4785: 
1.150     moko     4786: fi
                   4787: 
1.128     moko     4788: 
1.60      paf      4789: if test "$SAFE_MODE" = "no"; then
1.150     moko     4790:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling reading of files belonging to group+user other then effective" >&5
                   4791: $as_echo "$as_me: WARNING: enabling reading of files belonging to group+user other then effective" >&2;}
1.60      paf      4792: else
1.62      paf      4793: 
1.150     moko     4794: $as_echo "#define PA_SAFE_MODE /**/" >>confdefs.h
1.1       paf      4795: 
                   4796: fi
                   4797: 
1.94      misha    4798: 
1.150     moko     4799: # Check whether --enable-execs was given.
                   4800: if test "${enable_execs+set}" = set; then :
                   4801:   enableval=$enable_execs;
1.13      paf      4802: if test "$enableval" = "no"; then
1.150     moko     4803:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabling file execs" >&5
                   4804: $as_echo "$as_me: WARNING: disabling file execs" >&2;}
1.62      paf      4805: 
1.150     moko     4806: $as_echo "#define NO_PA_EXECS /**/" >>confdefs.h
1.13      paf      4807: 
                   4808: fi
                   4809: 
                   4810: 
1.150     moko     4811: fi
1.13      paf      4812: 
1.60      paf      4813: 
1.94      misha    4814: 
1.150     moko     4815: # Check whether --enable-stringstream was given.
                   4816: if test "${enable_stringstream+set}" = set; then :
                   4817:   enableval=$enable_stringstream;
1.94      misha    4818: if test "$enableval" = "no"; then
1.150     moko     4819:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabling stringstream usage" >&5
                   4820: $as_echo "$as_me: WARNING: disabling stringstream usage" >&2;}
1.94      misha    4821: 
1.150     moko     4822: $as_echo "#define NO_STRINGSTREAM /**/" >>confdefs.h
1.94      misha    4823: 
                   4824: fi
                   4825: 
                   4826: 
1.150     moko     4827: fi
1.94      misha    4828: 
                   4829: 
1.62      paf      4830: 
1.17      paf      4831: 
1.150     moko     4832: # Check whether --with-gc was given.
                   4833: if test "${with_gc+set}" = set; then :
                   4834:   withval=$with_gc;
1.17      paf      4835: 
1.142     moko     4836:        GC=$withval
                   4837:        GC_LIBS="$GC/libgc.la"
                   4838: 
                   4839:        if test -f $GC_LIBS; then
                   4840:                GC_OK="yes"
                   4841:        else
                   4842:                GC_LIBS="-L$GC -lgc"
                   4843:        fi
1.62      paf      4844: 
1.151     moko     4845:        if test "$GC" = "yes"; then
                   4846:                GC=""
                   4847:                GC_LIBS="-lgc"
                   4848:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-gc value was not specified, hoping linker would find it" >&5
                   4849: $as_echo "$as_me: WARNING: --with-gc value was not specified, hoping linker would find it" >&2;}
                   4850:        fi
                   4851: 
1.142     moko     4852: else
1.17      paf      4853: 
1.142     moko     4854:        GC_LIBS="-lgc"
1.150     moko     4855:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-gc was not specified, hoping linker would find it" >&5
                   4856: $as_echo "$as_me: WARNING: --with-gc was not specified, hoping linker would find it" >&2;}
                   4857: 
                   4858: fi
1.17      paf      4859: 
                   4860: 
1.142     moko     4861: if test -z "$GC_OK"; then
1.150     moko     4862:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgc" >&5
                   4863: $as_echo_n "checking for libgc... " >&6; }
1.138     moko     4864:        SAVE_LIBS=$LIBS
                   4865:        LIBS="$LIBS $GC_LIBS"
1.128     moko     4866: 
1.150     moko     4867: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.67      paf      4868: /* end confdefs.h.  */
1.142     moko     4869:  extern int GC_dont_gc;
1.67      paf      4870: int
                   4871: main ()
                   4872: {
1.142     moko     4873:  GC_dont_gc=0;
1.67      paf      4874:   ;
                   4875:   return 0;
                   4876: }
                   4877: _ACEOF
1.150     moko     4878: if ac_fn_c_try_link "$LINENO"; then :
                   4879:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4880: $as_echo "yes" >&6; }
1.67      paf      4881: 
                   4882: else
1.150     moko     4883:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4884: $as_echo "no" >&6; }
1.142     moko     4885:                if test -z "$GC"; then
1.151     moko     4886:                        as_fn_error $? "please specify path to libgc: --with-gc=D" "$LINENO" 5
1.142     moko     4887:                else
1.150     moko     4888:                        as_fn_error $? "$GC does not seem to be valid libgc installation directory" "$LINENO" 5
1.142     moko     4889:                fi
1.67      paf      4890: 
                   4891: fi
1.150     moko     4892: rm -f core conftest.err conftest.$ac_objext \
                   4893:     conftest$ac_exeext conftest.$ac_ext
1.138     moko     4894:        LIBS=$SAVE_LIBS
                   4895: fi
1.67      paf      4896: 
                   4897: 
1.1       paf      4898: 
1.15      paf      4899: 
1.142     moko     4900: 
1.150     moko     4901: # Check whether --with-pcre was given.
                   4902: if test "${with_pcre+set}" = set; then :
                   4903:   withval=$with_pcre;
1.100     misha    4904:        PCRE=$withval
1.142     moko     4905:        PCRE_INCLUDES="-I$PCRE/include"
                   4906:        PCRE_LIBS="$PCRE/lib/libpcre.la"
1.100     misha    4907: 
1.142     moko     4908:        if test -f $PCRE/include/pcre.h -a -f $PCRE_LIBS; then
                   4909:                PCRE_OK="yes"
                   4910:        else
                   4911:                PCRE_LIBS="-L$PCRE -lpcre"
1.100     misha    4912:        fi
                   4913: 
1.151     moko     4914:        if test "$PCRE" = "yes"; then
                   4915:                PCRE=""
                   4916:                PCRE_LIBS="-lpcre"
                   4917:                PCRE_INCLUDES=""
                   4918:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-pcre value was not specified, hoping linker would find it" >&5
                   4919: $as_echo "$as_me: WARNING: --with-pcre value was not specified, hoping linker would find it" >&2;}
                   4920:        fi
1.142     moko     4921: 
                   4922: else
                   4923: 
                   4924:        PCRE_LIBS="-lpcre"
1.149     moko     4925:        PCRE_INCLUDES=""
1.150     moko     4926:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-pcre was not specified, hoping linker would find it" >&5
                   4927: $as_echo "$as_me: WARNING: --with-pcre was not specified, hoping linker would find it" >&2;}
                   4928: 
                   4929: fi
1.100     misha    4930: 
                   4931: 
1.142     moko     4932: if test -z "$PCRE_OK"; then
1.150     moko     4933:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prce" >&5
                   4934: $as_echo_n "checking for prce... " >&6; }
1.142     moko     4935:        SAVE_LIBS=$LIBS
                   4936:        LIBS="$LIBS $PCRE_LIBS $PCRE_INCLUDES"
1.150     moko     4937:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.142     moko     4938: /* end confdefs.h.  */
                   4939:  #include <pcre.h>
                   4940: int
                   4941: main ()
                   4942: {
                   4943:  const char *v=pcre_version();
                   4944:   ;
                   4945:   return 0;
                   4946: }
                   4947: _ACEOF
1.150     moko     4948: if ac_fn_c_try_link "$LINENO"; then :
                   4949:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4950: $as_echo "yes" >&6; }
1.142     moko     4951: 
                   4952: else
1.150     moko     4953:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4954: $as_echo "no" >&6; }
1.142     moko     4955:                if test -z "$PCRE"; then
1.151     moko     4956:                        as_fn_error $? "please specify path to PCRE: --with-pcre=D" "$LINENO" 5
1.142     moko     4957:                else
1.150     moko     4958:                        as_fn_error $? "$PCRE does not seem to be valid PCRE installation directory" "$LINENO" 5
1.142     moko     4959:                fi
                   4960: 
                   4961: fi
1.150     moko     4962: rm -f core conftest.err conftest.$ac_objext \
                   4963:     conftest$ac_exeext conftest.$ac_ext
1.142     moko     4964:        LIBS=$SAVE_LIBS
                   4965: fi
1.100     misha    4966: 
                   4967: 
                   4968: 
                   4969: 
1.66      paf      4970: 
                   4971: 
1.150     moko     4972: # Check whether --with-xml was given.
                   4973: if test "${with_xml+set}" = set; then :
                   4974:   withval=$with_xml;
1.66      paf      4975: 
1.142     moko     4976:        XML=$withval
                   4977:        XML_LIBS="-lxml2 -lxslt -lexslt"
                   4978: 
                   4979:        if test -z "$XML" -o "$XML" = "yes"; then
                   4980:                XML=""
                   4981:                XML_INCLUDES="-I/usr/include/libxml2"
1.150     moko     4982:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-xml value was not specified, hoping linker would find it" >&5
                   4983: $as_echo "$as_me: WARNING: --with-xml value was not specified, hoping linker would find it" >&2;}
1.142     moko     4984:        else
                   4985:                XML_INCLUDES="-I$XML/include -I$XML/include/libxml2"
1.67      paf      4986: 
1.142     moko     4987:                if test -f $XML/include/libxslt/xslt.h -a -f $XML/lib/libxml2.la \
                   4988:                        -a -f $XML/lib/libxslt.la -a -f $XML/lib/libexslt.la; then
                   4989:                        XML_LIBS="$XML/lib/libxml2.la $XML/lib/libxslt.la $XML/lib/libexslt.la"
                   4990:                        XML_OK="yes"
                   4991:                fi
1.67      paf      4992:        fi
1.66      paf      4993: 
1.142     moko     4994:        if test -z "$XML_OK"; then
1.150     moko     4995:                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xml" >&5
                   4996: $as_echo_n "checking for xml... " >&6; }
1.142     moko     4997:                SAVE_LIBS=$LIBS
                   4998:                LIBS="$LIBS $XML_LIBS $XML_INCLUDES"
1.150     moko     4999:                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.142     moko     5000: /* end confdefs.h.  */
                   5001:  #include <libxslt/xslt.h>
                   5002: int
                   5003: main ()
                   5004: {
                   5005:  const char *v=xsltEngineVersion;
                   5006:   ;
                   5007:   return 0;
                   5008: }
                   5009: _ACEOF
1.150     moko     5010: if ac_fn_c_try_link "$LINENO"; then :
                   5011:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5012: $as_echo "yes" >&6; }
1.142     moko     5013: 
                   5014: else
1.150     moko     5015:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5016: $as_echo "no" >&6; }
1.142     moko     5017:                        if test -z "$XML"; then
1.151     moko     5018:                                as_fn_error $? "please specify path to Gnome XML libraries: --with-xml=D" "$LINENO" 5
1.142     moko     5019:                        else
1.150     moko     5020:                                as_fn_error $? "$XML does not seem to be valid Gnome XML installation directory" "$LINENO" 5
1.142     moko     5021:                        fi
                   5022: 
                   5023: fi
1.150     moko     5024: rm -f core conftest.err conftest.$ac_objext \
                   5025:     conftest$ac_exeext conftest.$ac_ext
1.142     moko     5026:                LIBS=$SAVE_LIBS
1.67      paf      5027:        fi
1.66      paf      5028: 
1.150     moko     5029: $as_echo "#define XML /**/" >>confdefs.h
                   5030: 
1.66      paf      5031: 
1.150     moko     5032: fi
1.66      paf      5033: 
1.90      paf      5034: 
1.66      paf      5035: 
                   5036: 
                   5037: 
                   5038: 
1.90      paf      5039: 
1.154     moko     5040: # Check whether --with-mailreceive was given.
                   5041: if test "${with_mailreceive+set}" = set; then :
                   5042:   withval=$with_mailreceive;
                   5043:        MIME=$withval
1.155     moko     5044:        GLIB="glib-2.0"
1.154     moko     5045:        GMIME="gmime-2.4"
                   5046: 
                   5047:        if test -z "$MIME" -o "$MIME" = "yes"; then
                   5048:                MIME=""
                   5049:                MIME_INCLUDES=`pkg-config --cflags $GMIME 2>/dev/null`
                   5050:                MIME_LIBS=`pkg-config --libs $GMIME 2>/dev/null`
                   5051:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-mailreceive value was not specified, hoping linker would find Gnome MIME library" >&5
                   5052: $as_echo "$as_me: WARNING: --with-mailreceive value was not specified, hoping linker would find Gnome MIME library" >&2;}
                   5053:        else
1.155     moko     5054:                MIME_INCLUDES="-I$MIME/include/$GMIME"
1.154     moko     5055:                MIME_LIBS="-l$GMIME"
                   5056:                if test -f $MIME/include/$GMIME/gmime/gmime.h -a -f $MIME/lib/lib$GMIME.la; then
                   5057:                        MIME_LIBS="$MIME/lib/lib$GMIME.la"
1.155     moko     5058:                        if test -f $MIME/lib/lib$GLIB.la; then
                   5059:                                MIME_INCLUDES="$MIME_INCLUDES -I$MIME/include/$GLIB -I$MIME/lib/$GLIB/include"
                   5060:                        else
                   5061:                                GLIB_INCLUDES=`pkg-config --cflags $GLIB 2>/dev/null`
                   5062:                                MIME_INCLUDES="$MIME_INCLUDES $GLIB_INCLUDES"
                   5063:                        fi
1.154     moko     5064:                        MIME_OK="yes"
                   5065:                fi
1.67      paf      5066:        fi
1.66      paf      5067: 
1.154     moko     5068:        if test -z "$MIME_OK"; then
                   5069:                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mime" >&5
                   5070: $as_echo_n "checking for mime... " >&6; }
                   5071:                SAVE_LIBS=$LIBS
                   5072:                LIBS="$LIBS $MIME_LIBS $MIME_INCLUDES"
                   5073:                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5074: /* end confdefs.h.  */
                   5075:  #include <gmime/gmime.h>
                   5076: int
                   5077: main ()
                   5078: {
                   5079:  guint v=gmime_major_version;
                   5080:   ;
                   5081:   return 0;
                   5082: }
                   5083: _ACEOF
                   5084: if ac_fn_c_try_link "$LINENO"; then :
                   5085:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5086: $as_echo "yes" >&6; }
1.66      paf      5087: 
1.154     moko     5088: else
                   5089:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5090: $as_echo "no" >&6; }
                   5091:                        if test -z "$MIME"; then
                   5092:                                as_fn_error $? "please specify path to Gnome MIME library: --with-mailreceive=D" "$LINENO" 5
                   5093:                        else
                   5094:                                as_fn_error $? "$MIME does not seem to be valid Gnome MIME installation directory" "$LINENO" 5
1.90      paf      5095:                        fi
1.66      paf      5096: 
1.150     moko     5097: fi
1.154     moko     5098: rm -f core conftest.err conftest.$ac_objext \
                   5099:     conftest$ac_exeext conftest.$ac_ext
                   5100:                LIBS=$SAVE_LIBS
1.67      paf      5101:        fi
1.66      paf      5102: 
1.150     moko     5103: $as_echo "#define WITH_MAILRECEIVE /**/" >>confdefs.h
1.66      paf      5104: 
                   5105: 
1.154     moko     5106: fi
1.66      paf      5107: 
                   5108: 
                   5109: 
                   5110: 
                   5111: 
                   5112: 
                   5113: 
1.150     moko     5114: # Check whether --with-sendmail was given.
                   5115: if test "${with_sendmail+set}" = set; then :
                   5116:   withval=$with_sendmail;
1.66      paf      5117: cat >>confdefs.h <<_ACEOF
                   5118: #define PA_FORCED_SENDMAIL "$withval"
                   5119: _ACEOF
                   5120: 
                   5121: 
1.150     moko     5122: fi
1.66      paf      5123: 
                   5124: 
                   5125: 
1.122     moko     5126: 
1.150     moko     5127: # Check whether --with-apache was given.
                   5128: if test "${with_apache+set}" = set; then :
                   5129:   withval=$with_apache;
1.122     moko     5130:        APXS=$withval
                   5131: 
                   5132:        if test -z "$APXS" -o "$APXS" = "yes"; then
                   5133:                APXS=`which apxs 2>/dev/null`
1.142     moko     5134:                if test -z "$APXS"; then
                   5135:                        APXS=`which apxs2 2>/dev/null`
                   5136:                fi
                   5137:        fi
1.122     moko     5138: 
                   5139:        APACHE=`$APXS -q TARGET 2>/dev/null`
                   5140: 
                   5141:        if test -z "$APACHE"; then
1.150     moko     5142:                as_fn_error $? "$APXS does not seem to be valid apache apxs utility path" "$LINENO" 5
1.67      paf      5143:        fi
1.7       paf      5144: 
1.122     moko     5145:        APACHE_MAIN_INC=`$APXS -q INCLUDEDIR`
                   5146:        APACHE_EXTRA_INC=`$APXS -q EXTRA_INCLUDES 2>/dev/null`
                   5147:        APACHE_INC="-I$APACHE_MAIN_INC $APACHE_EXTRA_INC"
                   5148:        APACHE_CFLAGS=`$APXS -q CFLAGS`
                   5149: 
1.150     moko     5150: fi
1.7       paf      5151: 
                   5152: 
1.62      paf      5153: 
1.122     moko     5154: 
1.150     moko     5155:  if test -n "$APACHE"; then
1.122     moko     5156:   COMPILE_APACHE_MODULE_TRUE=
                   5157:   COMPILE_APACHE_MODULE_FALSE='#'
1.66      paf      5158: else
1.122     moko     5159:   COMPILE_APACHE_MODULE_TRUE='#'
                   5160:   COMPILE_APACHE_MODULE_FALSE=
1.66      paf      5161: fi
1.1       paf      5162: 
                   5163: 
                   5164: 
1.62      paf      5165: 
                   5166: 
1.7       paf      5167: 
1.1       paf      5168: 
                   5169: 
                   5170: 
1.62      paf      5171: 
1.128     moko     5172: case `pwd` in
                   5173:   *\ * | *\    *)
1.150     moko     5174:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
                   5175: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
1.128     moko     5176: esac
                   5177: 
                   5178: 
                   5179: 
                   5180: macro_version='2.4.2'
                   5181: macro_revision='1.3337'
                   5182: 
                   5183: 
                   5184: 
                   5185: 
                   5186: 
                   5187: 
                   5188: 
                   5189: 
                   5190: 
                   5191: 
                   5192: 
                   5193: 
                   5194: 
                   5195: ltmain="$ac_aux_dir/ltmain.sh"
                   5196: 
                   5197: # Backslashify metacharacters that are still active within
                   5198: # double-quoted strings.
                   5199: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
1.10      paf      5200: 
1.128     moko     5201: # Same as above, but do not quote variable references.
                   5202: double_quote_subst='s/\(["`\\]\)/\\\1/g'
1.10      paf      5203: 
1.128     moko     5204: # Sed substitution to delay expansion of an escaped shell variable in a
                   5205: # double_quote_subst'ed string.
                   5206: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1.62      paf      5207: 
1.128     moko     5208: # Sed substitution to delay expansion of an escaped single quote.
                   5209: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
1.86      paf      5210: 
1.128     moko     5211: # Sed substitution to avoid accidental globbing in evaled expressions
                   5212: no_glob_subst='s/\*/\\\*/g'
1.86      paf      5213: 
1.128     moko     5214: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   5215: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
                   5216: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
1.86      paf      5217: 
1.150     moko     5218: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
                   5219: $as_echo_n "checking how to print strings... " >&6; }
1.128     moko     5220: # Test print first, because it will be a builtin if present.
                   5221: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
                   5222:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
                   5223:   ECHO='print -r --'
                   5224: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
                   5225:   ECHO='printf %s\n'
                   5226: else
                   5227:   # Use this function as a fallback that always works.
                   5228:   func_fallback_echo ()
                   5229:   {
                   5230:     eval 'cat <<_LTECHO_EOF
                   5231: $1
                   5232: _LTECHO_EOF'
                   5233:   }
                   5234:   ECHO='func_fallback_echo'
                   5235: fi
1.86      paf      5236: 
1.128     moko     5237: # func_echo_all arg...
                   5238: # Invoke $ECHO with all args, space-separated.
                   5239: func_echo_all ()
1.66      paf      5240: {
1.128     moko     5241:     $ECHO ""
1.66      paf      5242: }
1.10      paf      5243: 
1.128     moko     5244: case "$ECHO" in
1.150     moko     5245:   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
                   5246: $as_echo "printf" >&6; } ;;
                   5247:   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
                   5248: $as_echo "print -r" >&6; } ;;
                   5249:   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
                   5250: $as_echo "cat" >&6; } ;;
1.128     moko     5251: esac
                   5252: 
                   5253: 
                   5254: 
                   5255: 
                   5256: 
                   5257: 
                   5258: 
                   5259: 
                   5260: 
                   5261: 
                   5262: 
                   5263: 
                   5264: 
                   5265: 
1.150     moko     5266: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
                   5267: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
                   5268: if ${ac_cv_path_SED+:} false; then :
                   5269:   $as_echo_n "(cached) " >&6
                   5270: else
                   5271:             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
                   5272:      for ac_i in 1 2 3 4 5 6 7; do
                   5273:        ac_script="$ac_script$as_nl$ac_script"
                   5274:      done
                   5275:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
                   5276:      { ac_script=; unset ac_script;}
                   5277:      if test -z "$SED"; then
                   5278:   ac_path_SED_found=false
                   5279:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5280:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.128     moko     5281: for as_dir in $PATH
                   5282: do
                   5283:   IFS=$as_save_IFS
                   5284:   test -z "$as_dir" && as_dir=.
1.150     moko     5285:     for ac_prog in sed gsed; do
1.128     moko     5286:     for ac_exec_ext in '' $ac_executable_extensions; do
1.150     moko     5287:       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
1.166     moko     5288:       as_fn_executable_p "$ac_path_SED" || continue
1.150     moko     5289: # Check for GNU ac_path_SED and select it if it is found.
                   5290:   # Check for GNU $ac_path_SED
                   5291: case `"$ac_path_SED" --version 2>&1` in
                   5292: *GNU*)
                   5293:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
                   5294: *)
                   5295:   ac_count=0
                   5296:   $as_echo_n 0123456789 >"conftest.in"
                   5297:   while :
                   5298:   do
                   5299:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5300:     mv "conftest.tmp" "conftest.in"
                   5301:     cp "conftest.in" "conftest.nl"
                   5302:     $as_echo '' >> "conftest.nl"
                   5303:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5304:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5305:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5306:     if test $ac_count -gt ${ac_path_SED_max-0}; then
                   5307:       # Best one so far, save it but keep looking for a better one
                   5308:       ac_cv_path_SED="$ac_path_SED"
                   5309:       ac_path_SED_max=$ac_count
                   5310:     fi
                   5311:     # 10*(2^10) chars as input seems more than enough
                   5312:     test $ac_count -gt 10 && break
                   5313:   done
                   5314:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5315: esac
                   5316: 
                   5317:       $ac_path_SED_found && break 3
1.128     moko     5318:     done
                   5319:   done
1.150     moko     5320:   done
1.128     moko     5321: IFS=$as_save_IFS
1.150     moko     5322:   if test -z "$ac_cv_path_SED"; then
                   5323:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
1.128     moko     5324:   fi
1.150     moko     5325: else
                   5326:   ac_cv_path_SED=$SED
                   5327: fi
1.10      paf      5328: 
1.66      paf      5329: fi
1.150     moko     5330: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
                   5331: $as_echo "$ac_cv_path_SED" >&6; }
                   5332:  SED="$ac_cv_path_SED"
                   5333:   rm -f conftest.sed
1.128     moko     5334: 
                   5335: test -z "$SED" && SED=sed
                   5336: Xsed="$SED -e 1s/^X//"
1.10      paf      5337: 
1.128     moko     5338: 
                   5339: 
                   5340: 
                   5341: 
                   5342: 
                   5343: 
                   5344: 
                   5345: 
                   5346: 
                   5347: 
1.150     moko     5348: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
                   5349: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
                   5350: if ${ac_cv_path_GREP+:} false; then :
                   5351:   $as_echo_n "(cached) " >&6
                   5352: else
                   5353:   if test -z "$GREP"; then
                   5354:   ac_path_GREP_found=false
                   5355:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5356:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5357: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5358: do
                   5359:   IFS=$as_save_IFS
                   5360:   test -z "$as_dir" && as_dir=.
                   5361:     for ac_prog in grep ggrep; do
                   5362:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5363:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
1.166     moko     5364:       as_fn_executable_p "$ac_path_GREP" || continue
1.150     moko     5365: # Check for GNU ac_path_GREP and select it if it is found.
                   5366:   # Check for GNU $ac_path_GREP
                   5367: case `"$ac_path_GREP" --version 2>&1` in
                   5368: *GNU*)
                   5369:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
                   5370: *)
                   5371:   ac_count=0
                   5372:   $as_echo_n 0123456789 >"conftest.in"
                   5373:   while :
                   5374:   do
                   5375:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5376:     mv "conftest.tmp" "conftest.in"
                   5377:     cp "conftest.in" "conftest.nl"
                   5378:     $as_echo 'GREP' >> "conftest.nl"
                   5379:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5380:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5381:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5382:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
                   5383:       # Best one so far, save it but keep looking for a better one
                   5384:       ac_cv_path_GREP="$ac_path_GREP"
                   5385:       ac_path_GREP_max=$ac_count
1.128     moko     5386:     fi
1.150     moko     5387:     # 10*(2^10) chars as input seems more than enough
                   5388:     test $ac_count -gt 10 && break
                   5389:   done
                   5390:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5391: esac
                   5392: 
                   5393:       $ac_path_GREP_found && break 3
                   5394:     done
                   5395:   done
                   5396:   done
                   5397: IFS=$as_save_IFS
                   5398:   if test -z "$ac_cv_path_GREP"; then
                   5399:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   5400:   fi
                   5401: else
                   5402:   ac_cv_path_GREP=$GREP
                   5403: fi
                   5404: 
1.128     moko     5405: fi
1.150     moko     5406: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
                   5407: $as_echo "$ac_cv_path_GREP" >&6; }
                   5408:  GREP="$ac_cv_path_GREP"
                   5409: 
                   5410: 
                   5411: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
                   5412: $as_echo_n "checking for egrep... " >&6; }
                   5413: if ${ac_cv_path_EGREP+:} false; then :
                   5414:   $as_echo_n "(cached) " >&6
                   5415: else
                   5416:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
                   5417:    then ac_cv_path_EGREP="$GREP -E"
                   5418:    else
                   5419:      if test -z "$EGREP"; then
                   5420:   ac_path_EGREP_found=false
                   5421:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5422:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5423: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5424: do
                   5425:   IFS=$as_save_IFS
                   5426:   test -z "$as_dir" && as_dir=.
                   5427:     for ac_prog in egrep; do
                   5428:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5429:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
1.166     moko     5430:       as_fn_executable_p "$ac_path_EGREP" || continue
1.150     moko     5431: # Check for GNU ac_path_EGREP and select it if it is found.
                   5432:   # Check for GNU $ac_path_EGREP
                   5433: case `"$ac_path_EGREP" --version 2>&1` in
                   5434: *GNU*)
                   5435:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
                   5436: *)
                   5437:   ac_count=0
                   5438:   $as_echo_n 0123456789 >"conftest.in"
                   5439:   while :
                   5440:   do
                   5441:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5442:     mv "conftest.tmp" "conftest.in"
                   5443:     cp "conftest.in" "conftest.nl"
                   5444:     $as_echo 'EGREP' >> "conftest.nl"
                   5445:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5446:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5447:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5448:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
                   5449:       # Best one so far, save it but keep looking for a better one
                   5450:       ac_cv_path_EGREP="$ac_path_EGREP"
                   5451:       ac_path_EGREP_max=$ac_count
                   5452:     fi
                   5453:     # 10*(2^10) chars as input seems more than enough
                   5454:     test $ac_count -gt 10 && break
                   5455:   done
                   5456:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5457: esac
1.128     moko     5458: 
1.150     moko     5459:       $ac_path_EGREP_found && break 3
                   5460:     done
                   5461:   done
                   5462:   done
                   5463: IFS=$as_save_IFS
                   5464:   if test -z "$ac_cv_path_EGREP"; then
                   5465:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   5466:   fi
                   5467: else
                   5468:   ac_cv_path_EGREP=$EGREP
                   5469: fi
1.128     moko     5470: 
1.150     moko     5471:    fi
                   5472: fi
                   5473: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
                   5474: $as_echo "$ac_cv_path_EGREP" >&6; }
                   5475:  EGREP="$ac_cv_path_EGREP"
                   5476: 
                   5477: 
                   5478: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
                   5479: $as_echo_n "checking for fgrep... " >&6; }
                   5480: if ${ac_cv_path_FGREP+:} false; then :
                   5481:   $as_echo_n "(cached) " >&6
                   5482: else
                   5483:   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
                   5484:    then ac_cv_path_FGREP="$GREP -F"
                   5485:    else
                   5486:      if test -z "$FGREP"; then
                   5487:   ac_path_FGREP_found=false
                   5488:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5489:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5490: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5491: do
                   5492:   IFS=$as_save_IFS
                   5493:   test -z "$as_dir" && as_dir=.
                   5494:     for ac_prog in fgrep; do
                   5495:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5496:       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
1.166     moko     5497:       as_fn_executable_p "$ac_path_FGREP" || continue
1.150     moko     5498: # Check for GNU ac_path_FGREP and select it if it is found.
                   5499:   # Check for GNU $ac_path_FGREP
                   5500: case `"$ac_path_FGREP" --version 2>&1` in
                   5501: *GNU*)
                   5502:   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
                   5503: *)
                   5504:   ac_count=0
                   5505:   $as_echo_n 0123456789 >"conftest.in"
                   5506:   while :
                   5507:   do
                   5508:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5509:     mv "conftest.tmp" "conftest.in"
                   5510:     cp "conftest.in" "conftest.nl"
                   5511:     $as_echo 'FGREP' >> "conftest.nl"
                   5512:     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5513:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5514:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5515:     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
                   5516:       # Best one so far, save it but keep looking for a better one
                   5517:       ac_cv_path_FGREP="$ac_path_FGREP"
                   5518:       ac_path_FGREP_max=$ac_count
1.128     moko     5519:     fi
1.150     moko     5520:     # 10*(2^10) chars as input seems more than enough
                   5521:     test $ac_count -gt 10 && break
                   5522:   done
                   5523:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5524: esac
                   5525: 
                   5526:       $ac_path_FGREP_found && break 3
                   5527:     done
                   5528:   done
                   5529:   done
                   5530: IFS=$as_save_IFS
                   5531:   if test -z "$ac_cv_path_FGREP"; then
                   5532:     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   5533:   fi
                   5534: else
                   5535:   ac_cv_path_FGREP=$FGREP
                   5536: fi
                   5537: 
                   5538:    fi
1.128     moko     5539: fi
1.150     moko     5540: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
                   5541: $as_echo "$ac_cv_path_FGREP" >&6; }
                   5542:  FGREP="$ac_cv_path_FGREP"
1.128     moko     5543: 
                   5544: 
                   5545: test -z "$GREP" && GREP=grep
                   5546: 
                   5547: 
                   5548: 
                   5549: 
                   5550: 
                   5551: 
                   5552: 
                   5553: 
                   5554: 
                   5555: 
                   5556: 
                   5557: 
                   5558: 
                   5559: 
                   5560: 
                   5561: 
                   5562: 
                   5563: 
                   5564: 
1.150     moko     5565: # Check whether --with-gnu-ld was given.
                   5566: if test "${with_gnu_ld+set}" = set; then :
                   5567:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
1.128     moko     5568: else
                   5569:   with_gnu_ld=no
1.150     moko     5570: fi
                   5571: 
1.128     moko     5572: ac_prog=ld
                   5573: if test "$GCC" = yes; then
                   5574:   # Check if gcc -print-prog-name=ld gives a path.
1.150     moko     5575:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   5576: $as_echo_n "checking for ld used by $CC... " >&6; }
1.128     moko     5577:   case $host in
                   5578:   *-*-mingw*)
                   5579:     # gcc leaves a trailing carriage return which upsets mingw
                   5580:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   5581:   *)
                   5582:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   5583:   esac
                   5584:   case $ac_prog in
                   5585:     # Accept absolute paths.
                   5586:     [\\/]* | ?:[\\/]*)
                   5587:       re_direlt='/[^/][^/]*/\.\./'
                   5588:       # Canonicalize the pathname of ld
                   5589:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   5590:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   5591:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   5592:       done
                   5593:       test -z "$LD" && LD="$ac_prog"
                   5594:       ;;
                   5595:   "")
                   5596:     # If it fails, then pretend we aren't using GCC.
                   5597:     ac_prog=ld
                   5598:     ;;
                   5599:   *)
                   5600:     # If it is relative, then search for the first ld in PATH.
                   5601:     with_gnu_ld=unknown
                   5602:     ;;
                   5603:   esac
                   5604: elif test "$with_gnu_ld" = yes; then
1.150     moko     5605:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   5606: $as_echo_n "checking for GNU ld... " >&6; }
1.128     moko     5607: else
1.150     moko     5608:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   5609: $as_echo_n "checking for non-GNU ld... " >&6; }
1.128     moko     5610: fi
1.150     moko     5611: if ${lt_cv_path_LD+:} false; then :
                   5612:   $as_echo_n "(cached) " >&6
1.128     moko     5613: else
                   5614:   if test -z "$LD"; then
                   5615:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   5616:   for ac_dir in $PATH; do
                   5617:     IFS="$lt_save_ifs"
                   5618:     test -z "$ac_dir" && ac_dir=.
                   5619:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   5620:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   5621:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   5622:       # but apparently some variants of GNU ld only accept -v.
                   5623:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   5624:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   5625:       *GNU* | *'with BFD'*)
                   5626:        test "$with_gnu_ld" != no && break
                   5627:        ;;
                   5628:       *)
                   5629:        test "$with_gnu_ld" != yes && break
                   5630:        ;;
                   5631:       esac
                   5632:     fi
                   5633:   done
                   5634:   IFS="$lt_save_ifs"
                   5635: else
                   5636:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   5637: fi
                   5638: fi
                   5639: 
                   5640: LD="$lt_cv_path_LD"
                   5641: if test -n "$LD"; then
1.150     moko     5642:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   5643: $as_echo "$LD" >&6; }
1.128     moko     5644: else
1.150     moko     5645:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5646: $as_echo "no" >&6; }
1.128     moko     5647: fi
1.150     moko     5648: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
                   5649: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   5650: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
                   5651: if ${lt_cv_prog_gnu_ld+:} false; then :
                   5652:   $as_echo_n "(cached) " >&6
1.128     moko     5653: else
                   5654:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   5655: case `$LD -v 2>&1 </dev/null` in
                   5656: *GNU* | *'with BFD'*)
                   5657:   lt_cv_prog_gnu_ld=yes
                   5658:   ;;
                   5659: *)
                   5660:   lt_cv_prog_gnu_ld=no
                   5661:   ;;
                   5662: esac
                   5663: fi
1.150     moko     5664: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   5665: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
1.128     moko     5666: with_gnu_ld=$lt_cv_prog_gnu_ld
                   5667: 
                   5668: 
                   5669: 
                   5670: 
                   5671: 
                   5672: 
                   5673: 
                   5674: 
                   5675: 
1.150     moko     5676: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
                   5677: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
                   5678: if ${lt_cv_path_NM+:} false; then :
                   5679:   $as_echo_n "(cached) " >&6
1.128     moko     5680: else
                   5681:   if test -n "$NM"; then
                   5682:   # Let the user override the test.
                   5683:   lt_cv_path_NM="$NM"
                   5684: else
                   5685:   lt_nm_to_check="${ac_tool_prefix}nm"
                   5686:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
                   5687:     lt_nm_to_check="$lt_nm_to_check nm"
                   5688:   fi
                   5689:   for lt_tmp_nm in $lt_nm_to_check; do
                   5690:     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   5691:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
                   5692:       IFS="$lt_save_ifs"
                   5693:       test -z "$ac_dir" && ac_dir=.
                   5694:       tmp_nm="$ac_dir/$lt_tmp_nm"
                   5695:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
                   5696:        # Check to see if the nm accepts a BSD-compat flag.
                   5697:        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
                   5698:        #   nm: unknown option "B" ignored
                   5699:        # Tru64's nm complains that /dev/null is an invalid object file
                   5700:        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
                   5701:        */dev/null* | *'Invalid file or object type'*)
                   5702:          lt_cv_path_NM="$tmp_nm -B"
                   5703:          break
                   5704:          ;;
                   5705:        *)
                   5706:          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
                   5707:          */dev/null*)
                   5708:            lt_cv_path_NM="$tmp_nm -p"
                   5709:            break
                   5710:            ;;
                   5711:          *)
                   5712:            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
                   5713:            continue # so that we can try to find one that supports BSD flags
                   5714:            ;;
                   5715:          esac
                   5716:          ;;
                   5717:        esac
                   5718:       fi
                   5719:     done
                   5720:     IFS="$lt_save_ifs"
                   5721:   done
                   5722:   : ${lt_cv_path_NM=no}
                   5723: fi
                   5724: fi
1.150     moko     5725: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
                   5726: $as_echo "$lt_cv_path_NM" >&6; }
1.128     moko     5727: if test "$lt_cv_path_NM" != "no"; then
                   5728:   NM="$lt_cv_path_NM"
                   5729: else
                   5730:   # Didn't find any BSD compatible name lister, look for dumpbin.
                   5731:   if test -n "$DUMPBIN"; then :
                   5732:     # Let the user override the test.
                   5733:   else
                   5734:     if test -n "$ac_tool_prefix"; then
                   5735:   for ac_prog in dumpbin "link -dump"
                   5736:   do
                   5737:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   5738: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150     moko     5739: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5740: $as_echo_n "checking for $ac_word... " >&6; }
                   5741: if ${ac_cv_prog_DUMPBIN+:} false; then :
                   5742:   $as_echo_n "(cached) " >&6
1.128     moko     5743: else
                   5744:   if test -n "$DUMPBIN"; then
                   5745:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
                   5746: else
                   5747: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5748: for as_dir in $PATH
                   5749: do
                   5750:   IFS=$as_save_IFS
                   5751:   test -z "$as_dir" && as_dir=.
1.150     moko     5752:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     5753:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     5754:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
1.150     moko     5755:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     5756:     break 2
                   5757:   fi
                   5758: done
1.150     moko     5759:   done
                   5760: IFS=$as_save_IFS
1.128     moko     5761: 
                   5762: fi
                   5763: fi
                   5764: DUMPBIN=$ac_cv_prog_DUMPBIN
                   5765: if test -n "$DUMPBIN"; then
1.150     moko     5766:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
                   5767: $as_echo "$DUMPBIN" >&6; }
1.128     moko     5768: else
1.150     moko     5769:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5770: $as_echo "no" >&6; }
1.128     moko     5771: fi
                   5772: 
1.150     moko     5773: 
1.128     moko     5774:     test -n "$DUMPBIN" && break
                   5775:   done
                   5776: fi
                   5777: if test -z "$DUMPBIN"; then
                   5778:   ac_ct_DUMPBIN=$DUMPBIN
                   5779:   for ac_prog in dumpbin "link -dump"
                   5780: do
                   5781:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   5782: set dummy $ac_prog; ac_word=$2
1.150     moko     5783: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5784: $as_echo_n "checking for $ac_word... " >&6; }
                   5785: if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
                   5786:   $as_echo_n "(cached) " >&6
1.128     moko     5787: else
                   5788:   if test -n "$ac_ct_DUMPBIN"; then
                   5789:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
                   5790: else
                   5791: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5792: for as_dir in $PATH
                   5793: do
                   5794:   IFS=$as_save_IFS
                   5795:   test -z "$as_dir" && as_dir=.
1.150     moko     5796:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     5797:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     5798:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
1.150     moko     5799:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     5800:     break 2
                   5801:   fi
                   5802: done
1.150     moko     5803:   done
                   5804: IFS=$as_save_IFS
1.128     moko     5805: 
                   5806: fi
                   5807: fi
                   5808: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
                   5809: if test -n "$ac_ct_DUMPBIN"; then
1.150     moko     5810:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
                   5811: $as_echo "$ac_ct_DUMPBIN" >&6; }
1.128     moko     5812: else
1.150     moko     5813:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5814: $as_echo "no" >&6; }
1.128     moko     5815: fi
                   5816: 
1.150     moko     5817: 
1.128     moko     5818:   test -n "$ac_ct_DUMPBIN" && break
                   5819: done
                   5820: 
1.150     moko     5821:   if test "x$ac_ct_DUMPBIN" = x; then
                   5822:     DUMPBIN=":"
                   5823:   else
                   5824:     case $cross_compiling:$ac_tool_warned in
                   5825: yes:)
                   5826: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5827: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5828: ac_tool_warned=yes ;;
                   5829: esac
                   5830:     DUMPBIN=$ac_ct_DUMPBIN
                   5831:   fi
1.128     moko     5832: fi
                   5833: 
                   5834:     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
                   5835:     *COFF*)
                   5836:       DUMPBIN="$DUMPBIN -symbols"
                   5837:       ;;
                   5838:     *)
                   5839:       DUMPBIN=:
                   5840:       ;;
                   5841:     esac
                   5842:   fi
                   5843: 
                   5844:   if test "$DUMPBIN" != ":"; then
                   5845:     NM="$DUMPBIN"
                   5846:   fi
                   5847: fi
                   5848: test -z "$NM" && NM=nm
                   5849: 
                   5850: 
                   5851: 
                   5852: 
                   5853: 
                   5854: 
1.150     moko     5855: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
                   5856: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
                   5857: if ${lt_cv_nm_interface+:} false; then :
                   5858:   $as_echo_n "(cached) " >&6
1.128     moko     5859: else
                   5860:   lt_cv_nm_interface="BSD nm"
                   5861:   echo "int some_variable = 0;" > conftest.$ac_ext
                   5862:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
                   5863:   (eval "$ac_compile" 2>conftest.err)
                   5864:   cat conftest.err >&5
                   5865:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
                   5866:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
                   5867:   cat conftest.err >&5
                   5868:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
                   5869:   cat conftest.out >&5
                   5870:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
                   5871:     lt_cv_nm_interface="MS dumpbin"
                   5872:   fi
                   5873:   rm -f conftest*
                   5874: fi
1.150     moko     5875: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
                   5876: $as_echo "$lt_cv_nm_interface" >&6; }
1.128     moko     5877: 
1.150     moko     5878: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
                   5879: $as_echo_n "checking whether ln -s works... " >&6; }
1.128     moko     5880: LN_S=$as_ln_s
                   5881: if test "$LN_S" = "ln -s"; then
1.150     moko     5882:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5883: $as_echo "yes" >&6; }
1.128     moko     5884: else
1.150     moko     5885:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
                   5886: $as_echo "no, using $LN_S" >&6; }
1.128     moko     5887: fi
                   5888: 
                   5889: # find the maximum length of command line arguments
1.150     moko     5890: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
                   5891: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
                   5892: if ${lt_cv_sys_max_cmd_len+:} false; then :
                   5893:   $as_echo_n "(cached) " >&6
1.128     moko     5894: else
                   5895:     i=0
                   5896:   teststring="ABCD"
                   5897: 
                   5898:   case $build_os in
                   5899:   msdosdjgpp*)
                   5900:     # On DJGPP, this test can blow up pretty badly due to problems in libc
                   5901:     # (any single argument exceeding 2000 bytes causes a buffer overrun
                   5902:     # during glob expansion).  Even if it were fixed, the result of this
                   5903:     # check would be larger than it should be.
                   5904:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
                   5905:     ;;
                   5906: 
                   5907:   gnu*)
                   5908:     # Under GNU Hurd, this test is not required because there is
                   5909:     # no limit to the length of command line arguments.
                   5910:     # Libtool will interpret -1 as no limit whatsoever
                   5911:     lt_cv_sys_max_cmd_len=-1;
                   5912:     ;;
                   5913: 
                   5914:   cygwin* | mingw* | cegcc*)
                   5915:     # On Win9x/ME, this test blows up -- it succeeds, but takes
                   5916:     # about 5 minutes as the teststring grows exponentially.
                   5917:     # Worse, since 9x/ME are not pre-emptively multitasking,
                   5918:     # you end up with a "frozen" computer, even though with patience
                   5919:     # the test eventually succeeds (with a max line length of 256k).
                   5920:     # Instead, let's just punt: use the minimum linelength reported by
                   5921:     # all of the supported platforms: 8192 (on NT/2K/XP).
                   5922:     lt_cv_sys_max_cmd_len=8192;
                   5923:     ;;
                   5924: 
                   5925:   mint*)
                   5926:     # On MiNT this can take a long time and run out of memory.
                   5927:     lt_cv_sys_max_cmd_len=8192;
                   5928:     ;;
                   5929: 
                   5930:   amigaos*)
                   5931:     # On AmigaOS with pdksh, this test takes hours, literally.
                   5932:     # So we just punt and use a minimum line length of 8192.
                   5933:     lt_cv_sys_max_cmd_len=8192;
                   5934:     ;;
                   5935: 
                   5936:   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
                   5937:     # This has been around since 386BSD, at least.  Likely further.
                   5938:     if test -x /sbin/sysctl; then
                   5939:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
                   5940:     elif test -x /usr/sbin/sysctl; then
                   5941:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
                   5942:     else
                   5943:       lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
                   5944:     fi
                   5945:     # And add a safety zone
                   5946:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   5947:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   5948:     ;;
                   5949: 
                   5950:   interix*)
                   5951:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
                   5952:     lt_cv_sys_max_cmd_len=196608
                   5953:     ;;
                   5954: 
                   5955:   os2*)
                   5956:     # The test takes a long time on OS/2.
                   5957:     lt_cv_sys_max_cmd_len=8192
                   5958:     ;;
                   5959: 
                   5960:   osf*)
                   5961:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
                   5962:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
                   5963:     # nice to cause kernel panics so lets avoid the loop below.
                   5964:     # First set a reasonable default.
                   5965:     lt_cv_sys_max_cmd_len=16384
                   5966:     #
                   5967:     if test -x /sbin/sysconfig; then
                   5968:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
                   5969:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
                   5970:       esac
                   5971:     fi
                   5972:     ;;
                   5973:   sco3.2v5*)
                   5974:     lt_cv_sys_max_cmd_len=102400
                   5975:     ;;
                   5976:   sysv5* | sco5v6* | sysv4.2uw2*)
                   5977:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
                   5978:     if test -n "$kargmax"; then
                   5979:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
                   5980:     else
                   5981:       lt_cv_sys_max_cmd_len=32768
                   5982:     fi
                   5983:     ;;
                   5984:   *)
                   5985:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
                   5986:     if test -n "$lt_cv_sys_max_cmd_len"; then
                   5987:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   5988:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   5989:     else
                   5990:       # Make teststring a little bigger before we do anything with it.
                   5991:       # a 1K string should be a reasonable start.
                   5992:       for i in 1 2 3 4 5 6 7 8 ; do
                   5993:         teststring=$teststring$teststring
                   5994:       done
                   5995:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
                   5996:       # If test is not a shell built-in, we'll probably end up computing a
                   5997:       # maximum length that is only half of the actual maximum length, but
                   5998:       # we can't tell.
                   5999:       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
                   6000:                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
                   6001:              test $i != 17 # 1/2 MB should be enough
                   6002:       do
                   6003:         i=`expr $i + 1`
                   6004:         teststring=$teststring$teststring
                   6005:       done
                   6006:       # Only check the string length outside the loop.
                   6007:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
                   6008:       teststring=
                   6009:       # Add a significant safety factor because C++ compilers can tack on
                   6010:       # massive amounts of additional arguments before passing them to the
                   6011:       # linker.  It appears as though 1/2 is a usable value.
                   6012:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
                   6013:     fi
                   6014:     ;;
                   6015:   esac
                   6016: 
                   6017: fi
                   6018: 
                   6019: if test -n $lt_cv_sys_max_cmd_len ; then
1.150     moko     6020:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
                   6021: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
1.128     moko     6022: else
1.150     moko     6023:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
                   6024: $as_echo "none" >&6; }
1.128     moko     6025: fi
                   6026: max_cmd_len=$lt_cv_sys_max_cmd_len
                   6027: 
                   6028: 
                   6029: 
                   6030: 
                   6031: 
                   6032: 
                   6033: : ${CP="cp -f"}
                   6034: : ${MV="mv -f"}
                   6035: : ${RM="rm -f"}
                   6036: 
1.150     moko     6037: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
                   6038: $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
1.128     moko     6039: # Try some XSI features
                   6040: xsi_shell=no
                   6041: ( _lt_dummy="a/b/c"
                   6042:   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
                   6043:       = c,a/b,b/c, \
                   6044:     && eval 'test $(( 1 + 1 )) -eq 2 \
                   6045:     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
                   6046:   && xsi_shell=yes
1.150     moko     6047: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
                   6048: $as_echo "$xsi_shell" >&6; }
1.128     moko     6049: 
                   6050: 
1.150     moko     6051: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
                   6052: $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
1.128     moko     6053: lt_shell_append=no
                   6054: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
                   6055:     >/dev/null 2>&1 \
                   6056:   && lt_shell_append=yes
1.150     moko     6057: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
                   6058: $as_echo "$lt_shell_append" >&6; }
1.128     moko     6059: 
                   6060: 
                   6061: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                   6062:   lt_unset=unset
                   6063: else
                   6064:   lt_unset=false
                   6065: fi
                   6066: 
                   6067: 
                   6068: 
                   6069: 
                   6070: 
                   6071: # test EBCDIC or ASCII
                   6072: case `echo X|tr X '\101'` in
                   6073:  A) # ASCII based system
                   6074:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
                   6075:   lt_SP2NL='tr \040 \012'
                   6076:   lt_NL2SP='tr \015\012 \040\040'
                   6077:   ;;
                   6078:  *) # EBCDIC based system
                   6079:   lt_SP2NL='tr \100 \n'
                   6080:   lt_NL2SP='tr \r\n \100\100'
                   6081:   ;;
                   6082: esac
                   6083: 
                   6084: 
                   6085: 
                   6086: 
                   6087: 
                   6088: 
                   6089: 
                   6090: 
                   6091: 
1.150     moko     6092: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
                   6093: $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
                   6094: if ${lt_cv_to_host_file_cmd+:} false; then :
                   6095:   $as_echo_n "(cached) " >&6
1.128     moko     6096: else
                   6097:   case $host in
                   6098:   *-*-mingw* )
                   6099:     case $build in
                   6100:       *-*-mingw* ) # actually msys
                   6101:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
                   6102:         ;;
                   6103:       *-*-cygwin* )
                   6104:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
                   6105:         ;;
                   6106:       * ) # otherwise, assume *nix
                   6107:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
                   6108:         ;;
                   6109:     esac
                   6110:     ;;
                   6111:   *-*-cygwin* )
                   6112:     case $build in
                   6113:       *-*-mingw* ) # actually msys
                   6114:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
                   6115:         ;;
                   6116:       *-*-cygwin* )
                   6117:         lt_cv_to_host_file_cmd=func_convert_file_noop
                   6118:         ;;
                   6119:       * ) # otherwise, assume *nix
                   6120:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
                   6121:         ;;
                   6122:     esac
                   6123:     ;;
                   6124:   * ) # unhandled hosts (and "normal" native builds)
                   6125:     lt_cv_to_host_file_cmd=func_convert_file_noop
                   6126:     ;;
                   6127: esac
                   6128: 
                   6129: fi
                   6130: 
                   6131: to_host_file_cmd=$lt_cv_to_host_file_cmd
1.150     moko     6132: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
                   6133: $as_echo "$lt_cv_to_host_file_cmd" >&6; }
1.128     moko     6134: 
                   6135: 
                   6136: 
                   6137: 
                   6138: 
1.150     moko     6139: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
                   6140: $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
                   6141: if ${lt_cv_to_tool_file_cmd+:} false; then :
                   6142:   $as_echo_n "(cached) " >&6
1.128     moko     6143: else
                   6144:   #assume ordinary cross tools, or native build.
                   6145: lt_cv_to_tool_file_cmd=func_convert_file_noop
                   6146: case $host in
                   6147:   *-*-mingw* )
                   6148:     case $build in
                   6149:       *-*-mingw* ) # actually msys
                   6150:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
                   6151:         ;;
                   6152:     esac
                   6153:     ;;
                   6154: esac
                   6155: 
                   6156: fi
                   6157: 
                   6158: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
1.150     moko     6159: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
                   6160: $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
1.128     moko     6161: 
                   6162: 
                   6163: 
                   6164: 
                   6165: 
1.150     moko     6166: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
                   6167: $as_echo_n "checking for $LD option to reload object files... " >&6; }
                   6168: if ${lt_cv_ld_reload_flag+:} false; then :
                   6169:   $as_echo_n "(cached) " >&6
1.128     moko     6170: else
                   6171:   lt_cv_ld_reload_flag='-r'
                   6172: fi
1.150     moko     6173: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
                   6174: $as_echo "$lt_cv_ld_reload_flag" >&6; }
1.128     moko     6175: reload_flag=$lt_cv_ld_reload_flag
                   6176: case $reload_flag in
                   6177: "" | " "*) ;;
                   6178: *) reload_flag=" $reload_flag" ;;
                   6179: esac
                   6180: reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   6181: case $host_os in
                   6182:   cygwin* | mingw* | pw32* | cegcc*)
                   6183:     if test "$GCC" != yes; then
                   6184:       reload_cmds=false
                   6185:     fi
                   6186:     ;;
                   6187:   darwin*)
                   6188:     if test "$GCC" = yes; then
                   6189:       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
                   6190:     else
                   6191:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   6192:     fi
                   6193:     ;;
                   6194: esac
                   6195: 
                   6196: 
                   6197: 
                   6198: 
                   6199: 
                   6200: 
                   6201: 
                   6202: 
                   6203: 
                   6204: if test -n "$ac_tool_prefix"; then
                   6205:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   6206: set dummy ${ac_tool_prefix}objdump; ac_word=$2
1.150     moko     6207: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6208: $as_echo_n "checking for $ac_word... " >&6; }
                   6209: if ${ac_cv_prog_OBJDUMP+:} false; then :
                   6210:   $as_echo_n "(cached) " >&6
1.128     moko     6211: else
                   6212:   if test -n "$OBJDUMP"; then
                   6213:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   6214: else
                   6215: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6216: for as_dir in $PATH
                   6217: do
                   6218:   IFS=$as_save_IFS
                   6219:   test -z "$as_dir" && as_dir=.
1.150     moko     6220:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     6221:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     6222:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1.150     moko     6223:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6224:     break 2
                   6225:   fi
                   6226: done
1.150     moko     6227:   done
                   6228: IFS=$as_save_IFS
1.128     moko     6229: 
                   6230: fi
                   6231: fi
                   6232: OBJDUMP=$ac_cv_prog_OBJDUMP
                   6233: if test -n "$OBJDUMP"; then
1.150     moko     6234:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   6235: $as_echo "$OBJDUMP" >&6; }
1.128     moko     6236: else
1.150     moko     6237:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6238: $as_echo "no" >&6; }
1.128     moko     6239: fi
                   6240: 
1.150     moko     6241: 
1.128     moko     6242: fi
                   6243: if test -z "$ac_cv_prog_OBJDUMP"; then
                   6244:   ac_ct_OBJDUMP=$OBJDUMP
                   6245:   # Extract the first word of "objdump", so it can be a program name with args.
                   6246: set dummy objdump; ac_word=$2
1.150     moko     6247: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6248: $as_echo_n "checking for $ac_word... " >&6; }
                   6249: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
                   6250:   $as_echo_n "(cached) " >&6
1.128     moko     6251: else
                   6252:   if test -n "$ac_ct_OBJDUMP"; then
                   6253:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   6254: else
                   6255: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6256: for as_dir in $PATH
                   6257: do
                   6258:   IFS=$as_save_IFS
                   6259:   test -z "$as_dir" && as_dir=.
1.150     moko     6260:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     6261:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     6262:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.150     moko     6263:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6264:     break 2
                   6265:   fi
                   6266: done
1.150     moko     6267:   done
                   6268: IFS=$as_save_IFS
1.128     moko     6269: 
                   6270: fi
                   6271: fi
                   6272: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   6273: if test -n "$ac_ct_OBJDUMP"; then
1.150     moko     6274:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   6275: $as_echo "$ac_ct_OBJDUMP" >&6; }
1.128     moko     6276: else
1.150     moko     6277:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6278: $as_echo "no" >&6; }
1.128     moko     6279: fi
                   6280: 
1.150     moko     6281:   if test "x$ac_ct_OBJDUMP" = x; then
                   6282:     OBJDUMP="false"
                   6283:   else
                   6284:     case $cross_compiling:$ac_tool_warned in
                   6285: yes:)
                   6286: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6287: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6288: ac_tool_warned=yes ;;
                   6289: esac
                   6290:     OBJDUMP=$ac_ct_OBJDUMP
                   6291:   fi
1.128     moko     6292: else
                   6293:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   6294: fi
                   6295: 
                   6296: test -z "$OBJDUMP" && OBJDUMP=objdump
                   6297: 
                   6298: 
                   6299: 
                   6300: 
                   6301: 
                   6302: 
1.150     moko     6303: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
                   6304: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
                   6305: if ${lt_cv_deplibs_check_method+:} false; then :
                   6306:   $as_echo_n "(cached) " >&6
1.128     moko     6307: else
                   6308:   lt_cv_file_magic_cmd='$MAGIC_CMD'
                   6309: lt_cv_file_magic_test_file=
                   6310: lt_cv_deplibs_check_method='unknown'
                   6311: # Need to set the preceding variable on all platforms that support
                   6312: # interlibrary dependencies.
                   6313: # 'none' -- dependencies not supported.
                   6314: # `unknown' -- same as none, but documents that we really don't know.
                   6315: # 'pass_all' -- all dependencies passed with no checks.
                   6316: # 'test_compile' -- check by making test program.
                   6317: # 'file_magic [[regex]]' -- check by looking for files in library path
                   6318: # which responds to the $file_magic_cmd with a given extended regex.
                   6319: # If you have `file' or equivalent on your system and you're not sure
                   6320: # whether `pass_all' will *always* work, you probably want this one.
                   6321: 
                   6322: case $host_os in
                   6323: aix[4-9]*)
                   6324:   lt_cv_deplibs_check_method=pass_all
                   6325:   ;;
                   6326: 
                   6327: beos*)
                   6328:   lt_cv_deplibs_check_method=pass_all
                   6329:   ;;
                   6330: 
                   6331: bsdi[45]*)
                   6332:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
                   6333:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   6334:   lt_cv_file_magic_test_file=/shlib/libc.so
                   6335:   ;;
                   6336: 
                   6337: cygwin*)
                   6338:   # func_win32_libid is a shell function defined in ltmain.sh
                   6339:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   6340:   lt_cv_file_magic_cmd='func_win32_libid'
                   6341:   ;;
                   6342: 
                   6343: mingw* | pw32*)
                   6344:   # Base MSYS/MinGW do not provide the 'file' command needed by
                   6345:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
                   6346:   # unless we find 'file', for example because we are cross-compiling.
                   6347:   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
                   6348:   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
                   6349:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   6350:     lt_cv_file_magic_cmd='func_win32_libid'
                   6351:   else
                   6352:     # Keep this pattern in sync with the one in func_win32_libid.
                   6353:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
                   6354:     lt_cv_file_magic_cmd='$OBJDUMP -f'
                   6355:   fi
                   6356:   ;;
                   6357: 
                   6358: cegcc*)
                   6359:   # use the weaker test based on 'objdump'. See mingw*.
                   6360:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
                   6361:   lt_cv_file_magic_cmd='$OBJDUMP -f'
                   6362:   ;;
                   6363: 
                   6364: darwin* | rhapsody*)
                   6365:   lt_cv_deplibs_check_method=pass_all
                   6366:   ;;
                   6367: 
                   6368: freebsd* | dragonfly*)
                   6369:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   6370:     case $host_cpu in
                   6371:     i*86 )
                   6372:       # Not sure whether the presence of OpenBSD here was a mistake.
                   6373:       # Let's accept both of them until this is cleared up.
                   6374:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
                   6375:       lt_cv_file_magic_cmd=/usr/bin/file
                   6376:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
                   6377:       ;;
                   6378:     esac
                   6379:   else
                   6380:     lt_cv_deplibs_check_method=pass_all
                   6381:   fi
                   6382:   ;;
                   6383: 
                   6384: gnu*)
                   6385:   lt_cv_deplibs_check_method=pass_all
                   6386:   ;;
                   6387: 
                   6388: haiku*)
                   6389:   lt_cv_deplibs_check_method=pass_all
                   6390:   ;;
                   6391: 
                   6392: hpux10.20* | hpux11*)
                   6393:   lt_cv_file_magic_cmd=/usr/bin/file
                   6394:   case $host_cpu in
                   6395:   ia64*)
                   6396:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
                   6397:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
                   6398:     ;;
                   6399:   hppa*64*)
                   6400:     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]'
                   6401:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
                   6402:     ;;
                   6403:   *)
                   6404:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
                   6405:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
                   6406:     ;;
                   6407:   esac
                   6408:   ;;
                   6409: 
                   6410: interix[3-9]*)
                   6411:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
                   6412:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
                   6413:   ;;
                   6414: 
                   6415: irix5* | irix6* | nonstopux*)
                   6416:   case $LD in
                   6417:   *-32|*"-32 ") libmagic=32-bit;;
                   6418:   *-n32|*"-n32 ") libmagic=N32;;
                   6419:   *-64|*"-64 ") libmagic=64-bit;;
                   6420:   *) libmagic=never-match;;
                   6421:   esac
                   6422:   lt_cv_deplibs_check_method=pass_all
                   6423:   ;;
                   6424: 
                   6425: # This must be glibc/ELF.
                   6426: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   6427:   lt_cv_deplibs_check_method=pass_all
                   6428:   ;;
                   6429: 
                   6430: netbsd*)
                   6431:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   6432:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   6433:   else
                   6434:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
                   6435:   fi
                   6436:   ;;
                   6437: 
                   6438: newos6*)
                   6439:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
                   6440:   lt_cv_file_magic_cmd=/usr/bin/file
                   6441:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
                   6442:   ;;
                   6443: 
                   6444: *nto* | *qnx*)
                   6445:   lt_cv_deplibs_check_method=pass_all
                   6446:   ;;
                   6447: 
                   6448: openbsd*)
                   6449:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   6450:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
                   6451:   else
                   6452:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   6453:   fi
                   6454:   ;;
                   6455: 
                   6456: osf3* | osf4* | osf5*)
                   6457:   lt_cv_deplibs_check_method=pass_all
                   6458:   ;;
                   6459: 
                   6460: rdos*)
                   6461:   lt_cv_deplibs_check_method=pass_all
                   6462:   ;;
                   6463: 
                   6464: solaris*)
                   6465:   lt_cv_deplibs_check_method=pass_all
                   6466:   ;;
                   6467: 
                   6468: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   6469:   lt_cv_deplibs_check_method=pass_all
                   6470:   ;;
                   6471: 
                   6472: sysv4 | sysv4.3*)
                   6473:   case $host_vendor in
                   6474:   motorola)
                   6475:     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]'
                   6476:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
                   6477:     ;;
                   6478:   ncr)
                   6479:     lt_cv_deplibs_check_method=pass_all
                   6480:     ;;
                   6481:   sequent)
                   6482:     lt_cv_file_magic_cmd='/bin/file'
                   6483:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
                   6484:     ;;
                   6485:   sni)
                   6486:     lt_cv_file_magic_cmd='/bin/file'
                   6487:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
                   6488:     lt_cv_file_magic_test_file=/lib/libc.so
                   6489:     ;;
                   6490:   siemens)
                   6491:     lt_cv_deplibs_check_method=pass_all
                   6492:     ;;
                   6493:   pc)
                   6494:     lt_cv_deplibs_check_method=pass_all
                   6495:     ;;
                   6496:   esac
                   6497:   ;;
                   6498: 
                   6499: tpf*)
                   6500:   lt_cv_deplibs_check_method=pass_all
                   6501:   ;;
                   6502: esac
                   6503: 
                   6504: fi
1.150     moko     6505: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
                   6506: $as_echo "$lt_cv_deplibs_check_method" >&6; }
1.128     moko     6507: 
                   6508: file_magic_glob=
                   6509: want_nocaseglob=no
                   6510: if test "$build" = "$host"; then
                   6511:   case $host_os in
                   6512:   mingw* | pw32*)
                   6513:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
                   6514:       want_nocaseglob=yes
                   6515:     else
                   6516:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
                   6517:     fi
                   6518:     ;;
                   6519:   esac
                   6520: fi
                   6521: 
                   6522: file_magic_cmd=$lt_cv_file_magic_cmd
                   6523: deplibs_check_method=$lt_cv_deplibs_check_method
                   6524: test -z "$deplibs_check_method" && deplibs_check_method=unknown
                   6525: 
                   6526: 
                   6527: 
                   6528: 
                   6529: 
                   6530: 
                   6531: 
                   6532: 
                   6533: 
                   6534: 
                   6535: 
                   6536: 
                   6537: 
                   6538: 
                   6539: 
                   6540: 
                   6541: 
                   6542: 
                   6543: 
                   6544: 
                   6545: 
                   6546: 
                   6547: if test -n "$ac_tool_prefix"; then
                   6548:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   6549: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1.150     moko     6550: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6551: $as_echo_n "checking for $ac_word... " >&6; }
                   6552: if ${ac_cv_prog_DLLTOOL+:} false; then :
                   6553:   $as_echo_n "(cached) " >&6
1.128     moko     6554: else
                   6555:   if test -n "$DLLTOOL"; then
                   6556:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   6557: else
                   6558: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6559: for as_dir in $PATH
                   6560: do
                   6561:   IFS=$as_save_IFS
                   6562:   test -z "$as_dir" && as_dir=.
1.150     moko     6563:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     6564:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     6565:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
1.150     moko     6566:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6567:     break 2
                   6568:   fi
                   6569: done
1.150     moko     6570:   done
                   6571: IFS=$as_save_IFS
1.128     moko     6572: 
                   6573: fi
                   6574: fi
                   6575: DLLTOOL=$ac_cv_prog_DLLTOOL
                   6576: if test -n "$DLLTOOL"; then
1.150     moko     6577:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
                   6578: $as_echo "$DLLTOOL" >&6; }
1.128     moko     6579: else
1.150     moko     6580:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6581: $as_echo "no" >&6; }
1.128     moko     6582: fi
                   6583: 
1.150     moko     6584: 
1.128     moko     6585: fi
                   6586: if test -z "$ac_cv_prog_DLLTOOL"; then
                   6587:   ac_ct_DLLTOOL=$DLLTOOL
                   6588:   # Extract the first word of "dlltool", so it can be a program name with args.
                   6589: set dummy dlltool; ac_word=$2
1.150     moko     6590: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6591: $as_echo_n "checking for $ac_word... " >&6; }
                   6592: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
                   6593:   $as_echo_n "(cached) " >&6
1.128     moko     6594: else
                   6595:   if test -n "$ac_ct_DLLTOOL"; then
                   6596:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   6597: else
                   6598: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6599: for as_dir in $PATH
                   6600: do
                   6601:   IFS=$as_save_IFS
                   6602:   test -z "$as_dir" && as_dir=.
1.150     moko     6603:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     6604:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     6605:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
1.150     moko     6606:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6607:     break 2
                   6608:   fi
                   6609: done
1.150     moko     6610:   done
                   6611: IFS=$as_save_IFS
1.128     moko     6612: 
                   6613: fi
                   6614: fi
                   6615: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   6616: if test -n "$ac_ct_DLLTOOL"; then
1.150     moko     6617:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
                   6618: $as_echo "$ac_ct_DLLTOOL" >&6; }
1.128     moko     6619: else
1.150     moko     6620:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6621: $as_echo "no" >&6; }
1.128     moko     6622: fi
                   6623: 
1.150     moko     6624:   if test "x$ac_ct_DLLTOOL" = x; then
                   6625:     DLLTOOL="false"
                   6626:   else
                   6627:     case $cross_compiling:$ac_tool_warned in
                   6628: yes:)
                   6629: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6630: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6631: ac_tool_warned=yes ;;
                   6632: esac
                   6633:     DLLTOOL=$ac_ct_DLLTOOL
                   6634:   fi
1.128     moko     6635: else
                   6636:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   6637: fi
                   6638: 
                   6639: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   6640: 
                   6641: 
                   6642: 
                   6643: 
                   6644: 
                   6645: 
                   6646: 
1.150     moko     6647: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
                   6648: $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
                   6649: if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
                   6650:   $as_echo_n "(cached) " >&6
1.128     moko     6651: else
                   6652:   lt_cv_sharedlib_from_linklib_cmd='unknown'
                   6653: 
                   6654: case $host_os in
                   6655: cygwin* | mingw* | pw32* | cegcc*)
                   6656:   # two different shell functions defined in ltmain.sh
                   6657:   # decide which to use based on capabilities of $DLLTOOL
                   6658:   case `$DLLTOOL --help 2>&1` in
                   6659:   *--identify-strict*)
                   6660:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
                   6661:     ;;
                   6662:   *)
                   6663:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
                   6664:     ;;
                   6665:   esac
                   6666:   ;;
                   6667: *)
                   6668:   # fallback: assume linklib IS sharedlib
                   6669:   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
                   6670:   ;;
                   6671: esac
                   6672: 
                   6673: fi
1.150     moko     6674: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
                   6675: $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
1.128     moko     6676: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
                   6677: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
                   6678: 
                   6679: 
                   6680: 
                   6681: 
                   6682: 
                   6683: 
                   6684: 
                   6685: if test -n "$ac_tool_prefix"; then
                   6686:   for ac_prog in ar
                   6687:   do
                   6688:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   6689: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150     moko     6690: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6691: $as_echo_n "checking for $ac_word... " >&6; }
                   6692: if ${ac_cv_prog_AR+:} false; then :
                   6693:   $as_echo_n "(cached) " >&6
1.128     moko     6694: else
                   6695:   if test -n "$AR"; then
                   6696:   ac_cv_prog_AR="$AR" # Let the user override the test.
                   6697: else
                   6698: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6699: for as_dir in $PATH
                   6700: do
                   6701:   IFS=$as_save_IFS
                   6702:   test -z "$as_dir" && as_dir=.
1.150     moko     6703:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     6704:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     6705:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
1.150     moko     6706:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6707:     break 2
                   6708:   fi
                   6709: done
1.150     moko     6710:   done
                   6711: IFS=$as_save_IFS
1.128     moko     6712: 
                   6713: fi
                   6714: fi
                   6715: AR=$ac_cv_prog_AR
                   6716: if test -n "$AR"; then
1.150     moko     6717:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
                   6718: $as_echo "$AR" >&6; }
1.128     moko     6719: else
1.150     moko     6720:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6721: $as_echo "no" >&6; }
1.128     moko     6722: fi
                   6723: 
1.150     moko     6724: 
1.128     moko     6725:     test -n "$AR" && break
                   6726:   done
                   6727: fi
                   6728: if test -z "$AR"; then
                   6729:   ac_ct_AR=$AR
                   6730:   for ac_prog in ar
                   6731: do
                   6732:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   6733: set dummy $ac_prog; ac_word=$2
1.150     moko     6734: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6735: $as_echo_n "checking for $ac_word... " >&6; }
                   6736: if ${ac_cv_prog_ac_ct_AR+:} false; then :
                   6737:   $as_echo_n "(cached) " >&6
1.128     moko     6738: else
                   6739:   if test -n "$ac_ct_AR"; then
                   6740:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
                   6741: else
                   6742: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6743: for as_dir in $PATH
                   6744: do
                   6745:   IFS=$as_save_IFS
                   6746:   test -z "$as_dir" && as_dir=.
1.150     moko     6747:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     6748:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     6749:     ac_cv_prog_ac_ct_AR="$ac_prog"
1.150     moko     6750:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6751:     break 2
                   6752:   fi
                   6753: done
1.150     moko     6754:   done
                   6755: IFS=$as_save_IFS
1.128     moko     6756: 
                   6757: fi
                   6758: fi
                   6759: ac_ct_AR=$ac_cv_prog_ac_ct_AR
                   6760: if test -n "$ac_ct_AR"; then
1.150     moko     6761:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
                   6762: $as_echo "$ac_ct_AR" >&6; }
1.128     moko     6763: else
1.150     moko     6764:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6765: $as_echo "no" >&6; }
1.128     moko     6766: fi
                   6767: 
1.150     moko     6768: 
1.128     moko     6769:   test -n "$ac_ct_AR" && break
                   6770: done
                   6771: 
1.150     moko     6772:   if test "x$ac_ct_AR" = x; then
                   6773:     AR="false"
                   6774:   else
                   6775:     case $cross_compiling:$ac_tool_warned in
                   6776: yes:)
                   6777: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6778: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6779: ac_tool_warned=yes ;;
                   6780: esac
                   6781:     AR=$ac_ct_AR
                   6782:   fi
1.128     moko     6783: fi
                   6784: 
                   6785: : ${AR=ar}
                   6786: : ${AR_FLAGS=cru}
                   6787: 
                   6788: 
                   6789: 
                   6790: 
                   6791: 
                   6792: 
                   6793: 
                   6794: 
                   6795: 
                   6796: 
                   6797: 
1.150     moko     6798: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
                   6799: $as_echo_n "checking for archiver @FILE support... " >&6; }
                   6800: if ${lt_cv_ar_at_file+:} false; then :
                   6801:   $as_echo_n "(cached) " >&6
1.128     moko     6802: else
                   6803:   lt_cv_ar_at_file=no
1.150     moko     6804:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     6805: /* end confdefs.h.  */
                   6806: 
                   6807: int
                   6808: main ()
                   6809: {
                   6810: 
                   6811:   ;
                   6812:   return 0;
                   6813: }
                   6814: _ACEOF
1.150     moko     6815: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     6816:   echo conftest.$ac_objext > conftest.lst
                   6817:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
1.150     moko     6818:       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
1.128     moko     6819:   (eval $lt_ar_try) 2>&5
                   6820:   ac_status=$?
1.150     moko     6821:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6822:   test $ac_status = 0; }
1.128     moko     6823:       if test "$ac_status" -eq 0; then
                   6824:        # Ensure the archiver fails upon bogus file names.
                   6825:        rm -f conftest.$ac_objext libconftest.a
1.150     moko     6826:        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
1.128     moko     6827:   (eval $lt_ar_try) 2>&5
                   6828:   ac_status=$?
1.150     moko     6829:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6830:   test $ac_status = 0; }
1.128     moko     6831:        if test "$ac_status" -ne 0; then
                   6832:           lt_cv_ar_at_file=@
                   6833:         fi
                   6834:       fi
                   6835:       rm -f conftest.* libconftest.a
                   6836: 
                   6837: fi
1.150     moko     6838: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     6839: 
                   6840: fi
1.150     moko     6841: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
                   6842: $as_echo "$lt_cv_ar_at_file" >&6; }
1.128     moko     6843: 
                   6844: if test "x$lt_cv_ar_at_file" = xno; then
                   6845:   archiver_list_spec=
                   6846: else
                   6847:   archiver_list_spec=$lt_cv_ar_at_file
                   6848: fi
                   6849: 
                   6850: 
                   6851: 
                   6852: 
                   6853: 
                   6854: 
                   6855: 
                   6856: if test -n "$ac_tool_prefix"; then
                   6857:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   6858: set dummy ${ac_tool_prefix}strip; ac_word=$2
1.150     moko     6859: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6860: $as_echo_n "checking for $ac_word... " >&6; }
                   6861: if ${ac_cv_prog_STRIP+:} false; then :
                   6862:   $as_echo_n "(cached) " >&6
1.128     moko     6863: else
                   6864:   if test -n "$STRIP"; then
                   6865:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   6866: else
                   6867: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6868: for as_dir in $PATH
                   6869: do
                   6870:   IFS=$as_save_IFS
                   6871:   test -z "$as_dir" && as_dir=.
1.150     moko     6872:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     6873:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     6874:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1.150     moko     6875:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6876:     break 2
                   6877:   fi
                   6878: done
1.150     moko     6879:   done
                   6880: IFS=$as_save_IFS
1.128     moko     6881: 
                   6882: fi
                   6883: fi
                   6884: STRIP=$ac_cv_prog_STRIP
                   6885: if test -n "$STRIP"; then
1.150     moko     6886:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   6887: $as_echo "$STRIP" >&6; }
1.128     moko     6888: else
1.150     moko     6889:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6890: $as_echo "no" >&6; }
1.128     moko     6891: fi
                   6892: 
1.150     moko     6893: 
1.128     moko     6894: fi
                   6895: if test -z "$ac_cv_prog_STRIP"; then
                   6896:   ac_ct_STRIP=$STRIP
                   6897:   # Extract the first word of "strip", so it can be a program name with args.
                   6898: set dummy strip; ac_word=$2
1.150     moko     6899: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6900: $as_echo_n "checking for $ac_word... " >&6; }
                   6901: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
                   6902:   $as_echo_n "(cached) " >&6
1.128     moko     6903: else
                   6904:   if test -n "$ac_ct_STRIP"; then
                   6905:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   6906: else
                   6907: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6908: for as_dir in $PATH
                   6909: do
                   6910:   IFS=$as_save_IFS
                   6911:   test -z "$as_dir" && as_dir=.
1.150     moko     6912:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     6913:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     6914:     ac_cv_prog_ac_ct_STRIP="strip"
1.150     moko     6915:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6916:     break 2
                   6917:   fi
                   6918: done
1.150     moko     6919:   done
                   6920: IFS=$as_save_IFS
1.128     moko     6921: 
                   6922: fi
                   6923: fi
                   6924: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   6925: if test -n "$ac_ct_STRIP"; then
1.150     moko     6926:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   6927: $as_echo "$ac_ct_STRIP" >&6; }
1.128     moko     6928: else
1.150     moko     6929:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6930: $as_echo "no" >&6; }
1.128     moko     6931: fi
                   6932: 
1.150     moko     6933:   if test "x$ac_ct_STRIP" = x; then
                   6934:     STRIP=":"
                   6935:   else
                   6936:     case $cross_compiling:$ac_tool_warned in
                   6937: yes:)
                   6938: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6939: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6940: ac_tool_warned=yes ;;
                   6941: esac
                   6942:     STRIP=$ac_ct_STRIP
                   6943:   fi
1.128     moko     6944: else
                   6945:   STRIP="$ac_cv_prog_STRIP"
                   6946: fi
                   6947: 
                   6948: test -z "$STRIP" && STRIP=:
                   6949: 
                   6950: 
                   6951: 
                   6952: 
                   6953: 
                   6954: 
                   6955: if test -n "$ac_tool_prefix"; then
                   6956:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   6957: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1.150     moko     6958: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6959: $as_echo_n "checking for $ac_word... " >&6; }
                   6960: if ${ac_cv_prog_RANLIB+:} false; then :
                   6961:   $as_echo_n "(cached) " >&6
1.128     moko     6962: else
                   6963:   if test -n "$RANLIB"; then
                   6964:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   6965: else
                   6966: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6967: for as_dir in $PATH
                   6968: do
                   6969:   IFS=$as_save_IFS
                   6970:   test -z "$as_dir" && as_dir=.
1.150     moko     6971:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     6972:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     6973:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1.150     moko     6974:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6975:     break 2
                   6976:   fi
                   6977: done
1.150     moko     6978:   done
                   6979: IFS=$as_save_IFS
1.128     moko     6980: 
                   6981: fi
                   6982: fi
                   6983: RANLIB=$ac_cv_prog_RANLIB
                   6984: if test -n "$RANLIB"; then
1.150     moko     6985:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
                   6986: $as_echo "$RANLIB" >&6; }
1.128     moko     6987: else
1.150     moko     6988:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6989: $as_echo "no" >&6; }
1.128     moko     6990: fi
                   6991: 
1.150     moko     6992: 
1.128     moko     6993: fi
                   6994: if test -z "$ac_cv_prog_RANLIB"; then
                   6995:   ac_ct_RANLIB=$RANLIB
                   6996:   # Extract the first word of "ranlib", so it can be a program name with args.
                   6997: set dummy ranlib; ac_word=$2
1.150     moko     6998: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6999: $as_echo_n "checking for $ac_word... " >&6; }
                   7000: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
                   7001:   $as_echo_n "(cached) " >&6
1.128     moko     7002: else
                   7003:   if test -n "$ac_ct_RANLIB"; then
                   7004:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   7005: else
                   7006: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7007: for as_dir in $PATH
                   7008: do
                   7009:   IFS=$as_save_IFS
                   7010:   test -z "$as_dir" && as_dir=.
1.150     moko     7011:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     7012:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     7013:     ac_cv_prog_ac_ct_RANLIB="ranlib"
1.150     moko     7014:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7015:     break 2
                   7016:   fi
                   7017: done
1.150     moko     7018:   done
                   7019: IFS=$as_save_IFS
1.128     moko     7020: 
                   7021: fi
                   7022: fi
                   7023: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   7024: if test -n "$ac_ct_RANLIB"; then
1.150     moko     7025:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
                   7026: $as_echo "$ac_ct_RANLIB" >&6; }
1.128     moko     7027: else
1.150     moko     7028:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7029: $as_echo "no" >&6; }
1.128     moko     7030: fi
                   7031: 
1.150     moko     7032:   if test "x$ac_ct_RANLIB" = x; then
                   7033:     RANLIB=":"
                   7034:   else
                   7035:     case $cross_compiling:$ac_tool_warned in
                   7036: yes:)
                   7037: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7038: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7039: ac_tool_warned=yes ;;
                   7040: esac
                   7041:     RANLIB=$ac_ct_RANLIB
                   7042:   fi
1.128     moko     7043: else
                   7044:   RANLIB="$ac_cv_prog_RANLIB"
                   7045: fi
                   7046: 
                   7047: test -z "$RANLIB" && RANLIB=:
                   7048: 
                   7049: 
                   7050: 
                   7051: 
                   7052: 
                   7053: 
                   7054: # Determine commands to create old-style static archives.
                   7055: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
                   7056: old_postinstall_cmds='chmod 644 $oldlib'
                   7057: old_postuninstall_cmds=
                   7058: 
                   7059: if test -n "$RANLIB"; then
                   7060:   case $host_os in
                   7061:   openbsd*)
                   7062:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
                   7063:     ;;
                   7064:   *)
                   7065:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
                   7066:     ;;
                   7067:   esac
                   7068:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
                   7069: fi
                   7070: 
                   7071: case $host_os in
                   7072:   darwin*)
                   7073:     lock_old_archive_extraction=yes ;;
                   7074:   *)
                   7075:     lock_old_archive_extraction=no ;;
                   7076: esac
                   7077: 
                   7078: 
                   7079: 
                   7080: 
                   7081: 
                   7082: 
                   7083: 
                   7084: 
                   7085: 
                   7086: 
                   7087: 
                   7088: 
                   7089: 
                   7090: 
                   7091: 
                   7092: 
                   7093: 
                   7094: 
                   7095: 
                   7096: 
                   7097: 
                   7098: 
                   7099: 
                   7100: 
                   7101: 
                   7102: 
                   7103: 
                   7104: 
                   7105: 
                   7106: 
                   7107: 
                   7108: 
                   7109: 
                   7110: 
                   7111: 
                   7112: 
                   7113: 
                   7114: 
                   7115: 
                   7116: # If no C compiler was specified, use CC.
                   7117: LTCC=${LTCC-"$CC"}
                   7118: 
                   7119: # If no C compiler flags were specified, use CFLAGS.
                   7120: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   7121: 
                   7122: # Allow CC to be a program name with arguments.
                   7123: compiler=$CC
                   7124: 
                   7125: 
                   7126: # Check for command to grab the raw symbol name followed by C symbol from nm.
1.150     moko     7127: { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
                   7128: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
                   7129: if ${lt_cv_sys_global_symbol_pipe+:} false; then :
                   7130:   $as_echo_n "(cached) " >&6
1.128     moko     7131: else
                   7132: 
                   7133: # These are sane defaults that work on at least a few old systems.
                   7134: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
                   7135: 
                   7136: # Character class describing NM global symbol codes.
                   7137: symcode='[BCDEGRST]'
                   7138: 
                   7139: # Regexp to match symbols that can be accessed directly from C.
                   7140: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
                   7141: 
                   7142: # Define system-specific variables.
                   7143: case $host_os in
                   7144: aix*)
                   7145:   symcode='[BCDT]'
                   7146:   ;;
                   7147: cygwin* | mingw* | pw32* | cegcc*)
                   7148:   symcode='[ABCDGISTW]'
                   7149:   ;;
                   7150: hpux*)
                   7151:   if test "$host_cpu" = ia64; then
                   7152:     symcode='[ABCDEGRST]'
                   7153:   fi
                   7154:   ;;
                   7155: irix* | nonstopux*)
                   7156:   symcode='[BCDEGRST]'
                   7157:   ;;
                   7158: osf*)
                   7159:   symcode='[BCDEGQRST]'
                   7160:   ;;
                   7161: solaris*)
                   7162:   symcode='[BDRT]'
                   7163:   ;;
                   7164: sco3.2v5*)
                   7165:   symcode='[DT]'
                   7166:   ;;
                   7167: sysv4.2uw2*)
                   7168:   symcode='[DT]'
                   7169:   ;;
                   7170: sysv5* | sco5v6* | unixware* | OpenUNIX*)
                   7171:   symcode='[ABDT]'
                   7172:   ;;
                   7173: sysv4)
                   7174:   symcode='[DFNSTU]'
                   7175:   ;;
                   7176: esac
                   7177: 
                   7178: # If we're using GNU nm, then use its standard symbol codes.
                   7179: case `$NM -V 2>&1` in
                   7180: *GNU* | *'with BFD'*)
                   7181:   symcode='[ABCDGIRSTW]' ;;
                   7182: esac
                   7183: 
                   7184: # Transform an extracted symbol line into a proper C declaration.
                   7185: # Some systems (esp. on ia64) link data and code symbols differently,
                   7186: # so use this general approach.
                   7187: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
                   7188: 
                   7189: # Transform an extracted symbol line into symbol name and symbol address
                   7190: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
                   7191: 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'"
                   7192: 
                   7193: # Handle CRLF in mingw tool chain
                   7194: opt_cr=
                   7195: case $build_os in
                   7196: mingw*)
                   7197:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
                   7198:   ;;
                   7199: esac
                   7200: 
                   7201: # Try without a prefix underscore, then with it.
                   7202: for ac_symprfx in "" "_"; do
                   7203: 
                   7204:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
                   7205:   symxfrm="\\1 $ac_symprfx\\2 \\2"
                   7206: 
                   7207:   # Write the raw and C identifiers.
                   7208:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   7209:     # Fake it for dumpbin and say T for any non-static function
                   7210:     # and D for any global variable.
                   7211:     # Also find C++ and __fastcall symbols from MSVC++,
                   7212:     # which start with @ or ?.
                   7213:     lt_cv_sys_global_symbol_pipe="$AWK '"\
                   7214: "     {last_section=section; section=\$ 3};"\
                   7215: "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
                   7216: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
                   7217: "     \$ 0!~/External *\|/{next};"\
                   7218: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
                   7219: "     {if(hide[section]) next};"\
                   7220: "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
                   7221: "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
                   7222: "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
                   7223: "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
                   7224: "     ' prfx=^$ac_symprfx"
                   7225:   else
                   7226:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
                   7227:   fi
                   7228:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
                   7229: 
                   7230:   # Check to see that the pipe works correctly.
                   7231:   pipe_works=no
                   7232: 
                   7233:   rm -f conftest*
                   7234:   cat > conftest.$ac_ext <<_LT_EOF
                   7235: #ifdef __cplusplus
                   7236: extern "C" {
                   7237: #endif
                   7238: char nm_test_var;
                   7239: void nm_test_func(void);
                   7240: void nm_test_func(void){}
                   7241: #ifdef __cplusplus
                   7242: }
                   7243: #endif
                   7244: int main(){nm_test_var='a';nm_test_func();return(0);}
                   7245: _LT_EOF
                   7246: 
1.150     moko     7247:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7248:   (eval $ac_compile) 2>&5
                   7249:   ac_status=$?
1.150     moko     7250:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7251:   test $ac_status = 0; }; then
1.128     moko     7252:     # Now try to grab the symbols.
                   7253:     nlist=conftest.nm
1.150     moko     7254:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
1.128     moko     7255:   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
                   7256:   ac_status=$?
1.150     moko     7257:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7258:   test $ac_status = 0; } && test -s "$nlist"; then
1.128     moko     7259:       # Try sorting and uniquifying the output.
                   7260:       if sort "$nlist" | uniq > "$nlist"T; then
                   7261:        mv -f "$nlist"T "$nlist"
                   7262:       else
                   7263:        rm -f "$nlist"T
                   7264:       fi
                   7265: 
                   7266:       # Make sure that we snagged all the symbols we need.
                   7267:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
                   7268:        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
                   7269:          cat <<_LT_EOF > conftest.$ac_ext
                   7270: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
                   7271: #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
                   7272: /* DATA imports from DLLs on WIN32 con't be const, because runtime
                   7273:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
                   7274: # define LT_DLSYM_CONST
                   7275: #elif defined(__osf__)
                   7276: /* This system does not cope well with relocations in const data.  */
                   7277: # define LT_DLSYM_CONST
                   7278: #else
                   7279: # define LT_DLSYM_CONST const
                   7280: #endif
                   7281: 
                   7282: #ifdef __cplusplus
                   7283: extern "C" {
                   7284: #endif
                   7285: 
                   7286: _LT_EOF
                   7287:          # Now generate the symbol file.
                   7288:          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
                   7289: 
                   7290:          cat <<_LT_EOF >> conftest.$ac_ext
                   7291: 
                   7292: /* The mapping between symbol names and symbols.  */
                   7293: LT_DLSYM_CONST struct {
                   7294:   const char *name;
                   7295:   void       *address;
                   7296: }
                   7297: lt__PROGRAM__LTX_preloaded_symbols[] =
                   7298: {
                   7299:   { "@PROGRAM@", (void *) 0 },
                   7300: _LT_EOF
                   7301:          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
                   7302:          cat <<\_LT_EOF >> conftest.$ac_ext
                   7303:   {0, (void *) 0}
                   7304: };
                   7305: 
                   7306: /* This works around a problem in FreeBSD linker */
                   7307: #ifdef FREEBSD_WORKAROUND
                   7308: static const void *lt_preloaded_setup() {
                   7309:   return lt__PROGRAM__LTX_preloaded_symbols;
                   7310: }
                   7311: #endif
                   7312: 
                   7313: #ifdef __cplusplus
                   7314: }
                   7315: #endif
                   7316: _LT_EOF
                   7317:          # Now try linking the two files.
                   7318:          mv conftest.$ac_objext conftstm.$ac_objext
                   7319:          lt_globsym_save_LIBS=$LIBS
                   7320:          lt_globsym_save_CFLAGS=$CFLAGS
                   7321:          LIBS="conftstm.$ac_objext"
                   7322:          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
1.150     moko     7323:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     7324:   (eval $ac_link) 2>&5
                   7325:   ac_status=$?
1.150     moko     7326:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7327:   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
1.128     moko     7328:            pipe_works=yes
                   7329:          fi
                   7330:          LIBS=$lt_globsym_save_LIBS
                   7331:          CFLAGS=$lt_globsym_save_CFLAGS
                   7332:        else
                   7333:          echo "cannot find nm_test_func in $nlist" >&5
                   7334:        fi
                   7335:       else
                   7336:        echo "cannot find nm_test_var in $nlist" >&5
                   7337:       fi
                   7338:     else
                   7339:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   7340:     fi
                   7341:   else
                   7342:     echo "$progname: failed program was:" >&5
                   7343:     cat conftest.$ac_ext >&5
                   7344:   fi
                   7345:   rm -rf conftest* conftst*
                   7346: 
                   7347:   # Do not use the global_symbol_pipe unless it works.
                   7348:   if test "$pipe_works" = yes; then
                   7349:     break
                   7350:   else
                   7351:     lt_cv_sys_global_symbol_pipe=
                   7352:   fi
                   7353: done
                   7354: 
                   7355: fi
                   7356: 
                   7357: if test -z "$lt_cv_sys_global_symbol_pipe"; then
                   7358:   lt_cv_sys_global_symbol_to_cdecl=
                   7359: fi
                   7360: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
1.150     moko     7361:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
                   7362: $as_echo "failed" >&6; }
1.128     moko     7363: else
1.150     moko     7364:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
                   7365: $as_echo "ok" >&6; }
1.128     moko     7366: fi
                   7367: 
                   7368: # Response file support.
                   7369: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   7370:   nm_file_list_spec='@'
                   7371: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
                   7372:   nm_file_list_spec='@'
                   7373: fi
                   7374: 
                   7375: 
                   7376: 
                   7377: 
                   7378: 
                   7379: 
                   7380: 
                   7381: 
                   7382: 
                   7383: 
                   7384: 
                   7385: 
                   7386: 
                   7387: 
                   7388: 
                   7389: 
                   7390: 
                   7391: 
                   7392: 
                   7393: 
                   7394: 
                   7395: 
                   7396: 
                   7397: 
                   7398: 
                   7399: 
                   7400: 
1.150     moko     7401: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
                   7402: $as_echo_n "checking for sysroot... " >&6; }
1.128     moko     7403: 
1.150     moko     7404: # Check whether --with-sysroot was given.
                   7405: if test "${with_sysroot+set}" = set; then :
                   7406:   withval=$with_sysroot;
1.128     moko     7407: else
                   7408:   with_sysroot=no
1.150     moko     7409: fi
                   7410: 
1.128     moko     7411: 
                   7412: lt_sysroot=
                   7413: case ${with_sysroot} in #(
                   7414:  yes)
                   7415:    if test "$GCC" = yes; then
                   7416:      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
                   7417:    fi
                   7418:    ;; #(
                   7419:  /*)
                   7420:    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
                   7421:    ;; #(
                   7422:  no|'')
                   7423:    ;; #(
                   7424:  *)
1.150     moko     7425:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
                   7426: $as_echo "${with_sysroot}" >&6; }
                   7427:    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
1.128     moko     7428:    ;;
                   7429: esac
                   7430: 
1.150     moko     7431:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
                   7432: $as_echo "${lt_sysroot:-no}" >&6; }
1.128     moko     7433: 
                   7434: 
                   7435: 
                   7436: 
                   7437: 
1.150     moko     7438: # Check whether --enable-libtool-lock was given.
                   7439: if test "${enable_libtool_lock+set}" = set; then :
                   7440:   enableval=$enable_libtool_lock;
                   7441: fi
1.128     moko     7442: 
                   7443: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
                   7444: 
                   7445: # Some flags need to be propagated to the compiler or linker for good
                   7446: # libtool support.
                   7447: case $host in
                   7448: ia64-*-hpux*)
                   7449:   # Find out which ABI we are using.
                   7450:   echo 'int i;' > conftest.$ac_ext
1.150     moko     7451:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7452:   (eval $ac_compile) 2>&5
                   7453:   ac_status=$?
1.150     moko     7454:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7455:   test $ac_status = 0; }; then
1.128     moko     7456:     case `/usr/bin/file conftest.$ac_objext` in
                   7457:       *ELF-32*)
                   7458:        HPUX_IA64_MODE="32"
                   7459:        ;;
                   7460:       *ELF-64*)
                   7461:        HPUX_IA64_MODE="64"
                   7462:        ;;
                   7463:     esac
                   7464:   fi
                   7465:   rm -rf conftest*
                   7466:   ;;
                   7467: *-*-irix6*)
                   7468:   # Find out which ABI we are using.
                   7469:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
1.150     moko     7470:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7471:   (eval $ac_compile) 2>&5
                   7472:   ac_status=$?
1.150     moko     7473:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7474:   test $ac_status = 0; }; then
1.128     moko     7475:     if test "$lt_cv_prog_gnu_ld" = yes; then
                   7476:       case `/usr/bin/file conftest.$ac_objext` in
                   7477:        *32-bit*)
                   7478:          LD="${LD-ld} -melf32bsmip"
                   7479:          ;;
                   7480:        *N32*)
                   7481:          LD="${LD-ld} -melf32bmipn32"
                   7482:          ;;
                   7483:        *64-bit*)
                   7484:          LD="${LD-ld} -melf64bmip"
                   7485:        ;;
                   7486:       esac
                   7487:     else
                   7488:       case `/usr/bin/file conftest.$ac_objext` in
                   7489:        *32-bit*)
                   7490:          LD="${LD-ld} -32"
                   7491:          ;;
                   7492:        *N32*)
                   7493:          LD="${LD-ld} -n32"
                   7494:          ;;
                   7495:        *64-bit*)
                   7496:          LD="${LD-ld} -64"
                   7497:          ;;
                   7498:       esac
                   7499:     fi
                   7500:   fi
                   7501:   rm -rf conftest*
                   7502:   ;;
                   7503: 
                   7504: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
                   7505: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
                   7506:   # Find out which ABI we are using.
                   7507:   echo 'int i;' > conftest.$ac_ext
1.150     moko     7508:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7509:   (eval $ac_compile) 2>&5
                   7510:   ac_status=$?
1.150     moko     7511:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7512:   test $ac_status = 0; }; then
1.128     moko     7513:     case `/usr/bin/file conftest.o` in
                   7514:       *32-bit*)
                   7515:        case $host in
                   7516:          x86_64-*kfreebsd*-gnu)
                   7517:            LD="${LD-ld} -m elf_i386_fbsd"
                   7518:            ;;
                   7519:          x86_64-*linux*)
                   7520:            LD="${LD-ld} -m elf_i386"
                   7521:            ;;
                   7522:          ppc64-*linux*|powerpc64-*linux*)
                   7523:            LD="${LD-ld} -m elf32ppclinux"
                   7524:            ;;
                   7525:          s390x-*linux*)
                   7526:            LD="${LD-ld} -m elf_s390"
                   7527:            ;;
                   7528:          sparc64-*linux*)
                   7529:            LD="${LD-ld} -m elf32_sparc"
                   7530:            ;;
                   7531:        esac
                   7532:        ;;
                   7533:       *64-bit*)
                   7534:        case $host in
                   7535:          x86_64-*kfreebsd*-gnu)
                   7536:            LD="${LD-ld} -m elf_x86_64_fbsd"
                   7537:            ;;
                   7538:          x86_64-*linux*)
                   7539:            LD="${LD-ld} -m elf_x86_64"
                   7540:            ;;
                   7541:          ppc*-*linux*|powerpc*-*linux*)
                   7542:            LD="${LD-ld} -m elf64ppc"
                   7543:            ;;
                   7544:          s390*-*linux*|s390*-*tpf*)
                   7545:            LD="${LD-ld} -m elf64_s390"
                   7546:            ;;
                   7547:          sparc*-*linux*)
                   7548:            LD="${LD-ld} -m elf64_sparc"
                   7549:            ;;
                   7550:        esac
                   7551:        ;;
                   7552:     esac
                   7553:   fi
                   7554:   rm -rf conftest*
                   7555:   ;;
                   7556: 
                   7557: *-*-sco3.2v5*)
                   7558:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
                   7559:   SAVE_CFLAGS="$CFLAGS"
                   7560:   CFLAGS="$CFLAGS -belf"
1.150     moko     7561:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
                   7562: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
                   7563: if ${lt_cv_cc_needs_belf+:} false; then :
                   7564:   $as_echo_n "(cached) " >&6
1.128     moko     7565: else
                   7566:   ac_ext=c
                   7567: ac_cpp='$CPP $CPPFLAGS'
                   7568: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7569: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7570: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7571: 
1.150     moko     7572:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     7573: /* end confdefs.h.  */
                   7574: 
                   7575: int
                   7576: main ()
                   7577: {
                   7578: 
                   7579:   ;
                   7580:   return 0;
                   7581: }
                   7582: _ACEOF
1.150     moko     7583: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     7584:   lt_cv_cc_needs_belf=yes
                   7585: else
1.150     moko     7586:   lt_cv_cc_needs_belf=no
1.128     moko     7587: fi
1.150     moko     7588: rm -f core conftest.err conftest.$ac_objext \
                   7589:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     7590:      ac_ext=c
                   7591: ac_cpp='$CPP $CPPFLAGS'
                   7592: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7593: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7594: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7595: 
                   7596: fi
1.150     moko     7597: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
                   7598: $as_echo "$lt_cv_cc_needs_belf" >&6; }
1.128     moko     7599:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
                   7600:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
                   7601:     CFLAGS="$SAVE_CFLAGS"
                   7602:   fi
                   7603:   ;;
                   7604: *-*solaris*)
                   7605:   # Find out which ABI we are using.
                   7606:   echo 'int i;' > conftest.$ac_ext
1.150     moko     7607:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7608:   (eval $ac_compile) 2>&5
                   7609:   ac_status=$?
1.150     moko     7610:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7611:   test $ac_status = 0; }; then
1.128     moko     7612:     case `/usr/bin/file conftest.o` in
                   7613:     *64-bit*)
                   7614:       case $lt_cv_prog_gnu_ld in
                   7615:       yes*)
                   7616:         case $host in
                   7617:         i?86-*-solaris*)
                   7618:           LD="${LD-ld} -m elf_x86_64"
                   7619:           ;;
                   7620:         sparc*-*-solaris*)
                   7621:           LD="${LD-ld} -m elf64_sparc"
                   7622:           ;;
                   7623:         esac
                   7624:         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
                   7625:         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
                   7626:           LD="${LD-ld}_sol2"
                   7627:         fi
                   7628:         ;;
                   7629:       *)
                   7630:        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
                   7631:          LD="${LD-ld} -64"
                   7632:        fi
                   7633:        ;;
                   7634:       esac
                   7635:       ;;
                   7636:     esac
                   7637:   fi
                   7638:   rm -rf conftest*
                   7639:   ;;
                   7640: esac
                   7641: 
                   7642: need_locks="$enable_libtool_lock"
                   7643: 
                   7644: if test -n "$ac_tool_prefix"; then
                   7645:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
                   7646: set dummy ${ac_tool_prefix}mt; ac_word=$2
1.150     moko     7647: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7648: $as_echo_n "checking for $ac_word... " >&6; }
                   7649: if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
                   7650:   $as_echo_n "(cached) " >&6
1.128     moko     7651: else
                   7652:   if test -n "$MANIFEST_TOOL"; then
                   7653:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
                   7654: else
                   7655: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7656: for as_dir in $PATH
                   7657: do
                   7658:   IFS=$as_save_IFS
                   7659:   test -z "$as_dir" && as_dir=.
1.150     moko     7660:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     7661:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     7662:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
1.150     moko     7663:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7664:     break 2
                   7665:   fi
                   7666: done
1.150     moko     7667:   done
                   7668: IFS=$as_save_IFS
1.128     moko     7669: 
                   7670: fi
                   7671: fi
                   7672: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
                   7673: if test -n "$MANIFEST_TOOL"; then
1.150     moko     7674:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
                   7675: $as_echo "$MANIFEST_TOOL" >&6; }
1.128     moko     7676: else
1.150     moko     7677:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7678: $as_echo "no" >&6; }
1.128     moko     7679: fi
                   7680: 
1.150     moko     7681: 
1.128     moko     7682: fi
                   7683: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
                   7684:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
                   7685:   # Extract the first word of "mt", so it can be a program name with args.
                   7686: set dummy mt; ac_word=$2
1.150     moko     7687: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7688: $as_echo_n "checking for $ac_word... " >&6; }
                   7689: if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
                   7690:   $as_echo_n "(cached) " >&6
1.128     moko     7691: else
                   7692:   if test -n "$ac_ct_MANIFEST_TOOL"; then
                   7693:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
                   7694: else
                   7695: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7696: for as_dir in $PATH
                   7697: do
                   7698:   IFS=$as_save_IFS
                   7699:   test -z "$as_dir" && as_dir=.
1.150     moko     7700:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     7701:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     7702:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
1.150     moko     7703:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7704:     break 2
                   7705:   fi
                   7706: done
1.150     moko     7707:   done
                   7708: IFS=$as_save_IFS
1.128     moko     7709: 
                   7710: fi
                   7711: fi
                   7712: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
                   7713: if test -n "$ac_ct_MANIFEST_TOOL"; then
1.150     moko     7714:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
                   7715: $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
1.128     moko     7716: else
1.150     moko     7717:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7718: $as_echo "no" >&6; }
1.128     moko     7719: fi
                   7720: 
1.150     moko     7721:   if test "x$ac_ct_MANIFEST_TOOL" = x; then
                   7722:     MANIFEST_TOOL=":"
                   7723:   else
                   7724:     case $cross_compiling:$ac_tool_warned in
                   7725: yes:)
                   7726: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7727: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7728: ac_tool_warned=yes ;;
                   7729: esac
                   7730:     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
                   7731:   fi
1.128     moko     7732: else
                   7733:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
                   7734: fi
                   7735: 
                   7736: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
1.150     moko     7737: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
                   7738: $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
                   7739: if ${lt_cv_path_mainfest_tool+:} false; then :
                   7740:   $as_echo_n "(cached) " >&6
1.128     moko     7741: else
                   7742:   lt_cv_path_mainfest_tool=no
                   7743:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
                   7744:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
                   7745:   cat conftest.err >&5
                   7746:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
                   7747:     lt_cv_path_mainfest_tool=yes
                   7748:   fi
                   7749:   rm -f conftest*
                   7750: fi
1.150     moko     7751: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
                   7752: $as_echo "$lt_cv_path_mainfest_tool" >&6; }
1.128     moko     7753: if test "x$lt_cv_path_mainfest_tool" != xyes; then
                   7754:   MANIFEST_TOOL=:
                   7755: fi
                   7756: 
                   7757: 
                   7758: 
                   7759: 
                   7760: 
                   7761: 
                   7762:   case $host_os in
                   7763:     rhapsody* | darwin*)
                   7764:     if test -n "$ac_tool_prefix"; then
                   7765:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
                   7766: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
1.150     moko     7767: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7768: $as_echo_n "checking for $ac_word... " >&6; }
                   7769: if ${ac_cv_prog_DSYMUTIL+:} false; then :
                   7770:   $as_echo_n "(cached) " >&6
1.128     moko     7771: else
                   7772:   if test -n "$DSYMUTIL"; then
                   7773:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
                   7774: else
                   7775: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7776: for as_dir in $PATH
                   7777: do
                   7778:   IFS=$as_save_IFS
                   7779:   test -z "$as_dir" && as_dir=.
1.150     moko     7780:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     7781:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     7782:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
1.150     moko     7783:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7784:     break 2
                   7785:   fi
                   7786: done
1.150     moko     7787:   done
                   7788: IFS=$as_save_IFS
1.128     moko     7789: 
                   7790: fi
                   7791: fi
                   7792: DSYMUTIL=$ac_cv_prog_DSYMUTIL
                   7793: if test -n "$DSYMUTIL"; then
1.150     moko     7794:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
                   7795: $as_echo "$DSYMUTIL" >&6; }
1.128     moko     7796: else
1.150     moko     7797:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7798: $as_echo "no" >&6; }
1.128     moko     7799: fi
                   7800: 
1.150     moko     7801: 
1.128     moko     7802: fi
                   7803: if test -z "$ac_cv_prog_DSYMUTIL"; then
                   7804:   ac_ct_DSYMUTIL=$DSYMUTIL
                   7805:   # Extract the first word of "dsymutil", so it can be a program name with args.
                   7806: set dummy dsymutil; ac_word=$2
1.150     moko     7807: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7808: $as_echo_n "checking for $ac_word... " >&6; }
                   7809: if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
                   7810:   $as_echo_n "(cached) " >&6
1.128     moko     7811: else
                   7812:   if test -n "$ac_ct_DSYMUTIL"; then
                   7813:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
                   7814: else
                   7815: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7816: for as_dir in $PATH
                   7817: do
                   7818:   IFS=$as_save_IFS
                   7819:   test -z "$as_dir" && as_dir=.
1.150     moko     7820:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     7821:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     7822:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
1.150     moko     7823:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7824:     break 2
                   7825:   fi
                   7826: done
1.150     moko     7827:   done
                   7828: IFS=$as_save_IFS
1.128     moko     7829: 
                   7830: fi
                   7831: fi
                   7832: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
                   7833: if test -n "$ac_ct_DSYMUTIL"; then
1.150     moko     7834:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
                   7835: $as_echo "$ac_ct_DSYMUTIL" >&6; }
1.128     moko     7836: else
1.150     moko     7837:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7838: $as_echo "no" >&6; }
1.128     moko     7839: fi
                   7840: 
1.150     moko     7841:   if test "x$ac_ct_DSYMUTIL" = x; then
                   7842:     DSYMUTIL=":"
                   7843:   else
                   7844:     case $cross_compiling:$ac_tool_warned in
                   7845: yes:)
                   7846: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7847: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7848: ac_tool_warned=yes ;;
                   7849: esac
                   7850:     DSYMUTIL=$ac_ct_DSYMUTIL
                   7851:   fi
1.128     moko     7852: else
                   7853:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
                   7854: fi
                   7855: 
                   7856:     if test -n "$ac_tool_prefix"; then
                   7857:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
                   7858: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
1.150     moko     7859: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7860: $as_echo_n "checking for $ac_word... " >&6; }
                   7861: if ${ac_cv_prog_NMEDIT+:} false; then :
                   7862:   $as_echo_n "(cached) " >&6
1.128     moko     7863: else
                   7864:   if test -n "$NMEDIT"; then
                   7865:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
                   7866: else
                   7867: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7868: for as_dir in $PATH
                   7869: do
                   7870:   IFS=$as_save_IFS
                   7871:   test -z "$as_dir" && as_dir=.
1.150     moko     7872:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     7873:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     7874:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
1.150     moko     7875:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7876:     break 2
                   7877:   fi
                   7878: done
1.150     moko     7879:   done
                   7880: IFS=$as_save_IFS
1.128     moko     7881: 
                   7882: fi
                   7883: fi
                   7884: NMEDIT=$ac_cv_prog_NMEDIT
                   7885: if test -n "$NMEDIT"; then
1.150     moko     7886:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
                   7887: $as_echo "$NMEDIT" >&6; }
1.128     moko     7888: else
1.150     moko     7889:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7890: $as_echo "no" >&6; }
1.128     moko     7891: fi
                   7892: 
1.150     moko     7893: 
1.128     moko     7894: fi
                   7895: if test -z "$ac_cv_prog_NMEDIT"; then
                   7896:   ac_ct_NMEDIT=$NMEDIT
                   7897:   # Extract the first word of "nmedit", so it can be a program name with args.
                   7898: set dummy nmedit; ac_word=$2
1.150     moko     7899: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7900: $as_echo_n "checking for $ac_word... " >&6; }
                   7901: if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
                   7902:   $as_echo_n "(cached) " >&6
1.128     moko     7903: else
                   7904:   if test -n "$ac_ct_NMEDIT"; then
                   7905:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
                   7906: else
                   7907: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7908: for as_dir in $PATH
                   7909: do
                   7910:   IFS=$as_save_IFS
                   7911:   test -z "$as_dir" && as_dir=.
1.150     moko     7912:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     7913:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     7914:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
1.150     moko     7915:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7916:     break 2
                   7917:   fi
                   7918: done
1.150     moko     7919:   done
                   7920: IFS=$as_save_IFS
1.128     moko     7921: 
                   7922: fi
                   7923: fi
                   7924: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
                   7925: if test -n "$ac_ct_NMEDIT"; then
1.150     moko     7926:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
                   7927: $as_echo "$ac_ct_NMEDIT" >&6; }
1.128     moko     7928: else
1.150     moko     7929:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7930: $as_echo "no" >&6; }
1.128     moko     7931: fi
                   7932: 
1.150     moko     7933:   if test "x$ac_ct_NMEDIT" = x; then
                   7934:     NMEDIT=":"
                   7935:   else
                   7936:     case $cross_compiling:$ac_tool_warned in
                   7937: yes:)
                   7938: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7939: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7940: ac_tool_warned=yes ;;
                   7941: esac
                   7942:     NMEDIT=$ac_ct_NMEDIT
                   7943:   fi
1.128     moko     7944: else
                   7945:   NMEDIT="$ac_cv_prog_NMEDIT"
                   7946: fi
                   7947: 
                   7948:     if test -n "$ac_tool_prefix"; then
                   7949:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
                   7950: set dummy ${ac_tool_prefix}lipo; ac_word=$2
1.150     moko     7951: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7952: $as_echo_n "checking for $ac_word... " >&6; }
                   7953: if ${ac_cv_prog_LIPO+:} false; then :
                   7954:   $as_echo_n "(cached) " >&6
1.128     moko     7955: else
                   7956:   if test -n "$LIPO"; then
                   7957:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
                   7958: else
                   7959: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7960: for as_dir in $PATH
                   7961: do
                   7962:   IFS=$as_save_IFS
                   7963:   test -z "$as_dir" && as_dir=.
1.150     moko     7964:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     7965:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     7966:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
1.150     moko     7967:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7968:     break 2
                   7969:   fi
                   7970: done
1.150     moko     7971:   done
                   7972: IFS=$as_save_IFS
1.128     moko     7973: 
                   7974: fi
                   7975: fi
                   7976: LIPO=$ac_cv_prog_LIPO
                   7977: if test -n "$LIPO"; then
1.150     moko     7978:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
                   7979: $as_echo "$LIPO" >&6; }
1.128     moko     7980: else
1.150     moko     7981:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7982: $as_echo "no" >&6; }
1.128     moko     7983: fi
                   7984: 
1.150     moko     7985: 
1.128     moko     7986: fi
                   7987: if test -z "$ac_cv_prog_LIPO"; then
                   7988:   ac_ct_LIPO=$LIPO
                   7989:   # Extract the first word of "lipo", so it can be a program name with args.
                   7990: set dummy lipo; ac_word=$2
1.150     moko     7991: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7992: $as_echo_n "checking for $ac_word... " >&6; }
                   7993: if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
                   7994:   $as_echo_n "(cached) " >&6
1.128     moko     7995: else
                   7996:   if test -n "$ac_ct_LIPO"; then
                   7997:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
                   7998: else
                   7999: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8000: for as_dir in $PATH
                   8001: do
                   8002:   IFS=$as_save_IFS
                   8003:   test -z "$as_dir" && as_dir=.
1.150     moko     8004:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8005:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8006:     ac_cv_prog_ac_ct_LIPO="lipo"
1.150     moko     8007:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8008:     break 2
                   8009:   fi
                   8010: done
1.150     moko     8011:   done
                   8012: IFS=$as_save_IFS
1.128     moko     8013: 
                   8014: fi
                   8015: fi
                   8016: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
                   8017: if test -n "$ac_ct_LIPO"; then
1.150     moko     8018:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
                   8019: $as_echo "$ac_ct_LIPO" >&6; }
1.128     moko     8020: else
1.150     moko     8021:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8022: $as_echo "no" >&6; }
1.128     moko     8023: fi
                   8024: 
1.150     moko     8025:   if test "x$ac_ct_LIPO" = x; then
                   8026:     LIPO=":"
                   8027:   else
                   8028:     case $cross_compiling:$ac_tool_warned in
                   8029: yes:)
                   8030: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8031: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8032: ac_tool_warned=yes ;;
                   8033: esac
                   8034:     LIPO=$ac_ct_LIPO
                   8035:   fi
1.128     moko     8036: else
                   8037:   LIPO="$ac_cv_prog_LIPO"
                   8038: fi
                   8039: 
                   8040:     if test -n "$ac_tool_prefix"; then
                   8041:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
                   8042: set dummy ${ac_tool_prefix}otool; ac_word=$2
1.150     moko     8043: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8044: $as_echo_n "checking for $ac_word... " >&6; }
                   8045: if ${ac_cv_prog_OTOOL+:} false; then :
                   8046:   $as_echo_n "(cached) " >&6
1.128     moko     8047: else
                   8048:   if test -n "$OTOOL"; then
                   8049:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
                   8050: else
                   8051: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8052: for as_dir in $PATH
                   8053: do
                   8054:   IFS=$as_save_IFS
                   8055:   test -z "$as_dir" && as_dir=.
1.150     moko     8056:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8057:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8058:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
1.150     moko     8059:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8060:     break 2
                   8061:   fi
                   8062: done
1.150     moko     8063:   done
                   8064: IFS=$as_save_IFS
1.128     moko     8065: 
                   8066: fi
                   8067: fi
                   8068: OTOOL=$ac_cv_prog_OTOOL
                   8069: if test -n "$OTOOL"; then
1.150     moko     8070:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
                   8071: $as_echo "$OTOOL" >&6; }
1.128     moko     8072: else
1.150     moko     8073:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8074: $as_echo "no" >&6; }
1.128     moko     8075: fi
                   8076: 
1.150     moko     8077: 
1.128     moko     8078: fi
                   8079: if test -z "$ac_cv_prog_OTOOL"; then
                   8080:   ac_ct_OTOOL=$OTOOL
                   8081:   # Extract the first word of "otool", so it can be a program name with args.
                   8082: set dummy otool; ac_word=$2
1.150     moko     8083: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8084: $as_echo_n "checking for $ac_word... " >&6; }
                   8085: if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
                   8086:   $as_echo_n "(cached) " >&6
1.128     moko     8087: else
                   8088:   if test -n "$ac_ct_OTOOL"; then
                   8089:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
                   8090: else
                   8091: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8092: for as_dir in $PATH
                   8093: do
                   8094:   IFS=$as_save_IFS
                   8095:   test -z "$as_dir" && as_dir=.
1.150     moko     8096:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8097:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8098:     ac_cv_prog_ac_ct_OTOOL="otool"
1.150     moko     8099:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8100:     break 2
                   8101:   fi
                   8102: done
1.150     moko     8103:   done
                   8104: IFS=$as_save_IFS
1.128     moko     8105: 
                   8106: fi
                   8107: fi
                   8108: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
                   8109: if test -n "$ac_ct_OTOOL"; then
1.150     moko     8110:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
                   8111: $as_echo "$ac_ct_OTOOL" >&6; }
1.128     moko     8112: else
1.150     moko     8113:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8114: $as_echo "no" >&6; }
1.128     moko     8115: fi
                   8116: 
1.150     moko     8117:   if test "x$ac_ct_OTOOL" = x; then
                   8118:     OTOOL=":"
                   8119:   else
                   8120:     case $cross_compiling:$ac_tool_warned in
                   8121: yes:)
                   8122: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8123: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8124: ac_tool_warned=yes ;;
                   8125: esac
                   8126:     OTOOL=$ac_ct_OTOOL
                   8127:   fi
1.128     moko     8128: else
                   8129:   OTOOL="$ac_cv_prog_OTOOL"
                   8130: fi
                   8131: 
                   8132:     if test -n "$ac_tool_prefix"; then
                   8133:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
                   8134: set dummy ${ac_tool_prefix}otool64; ac_word=$2
1.150     moko     8135: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8136: $as_echo_n "checking for $ac_word... " >&6; }
                   8137: if ${ac_cv_prog_OTOOL64+:} false; then :
                   8138:   $as_echo_n "(cached) " >&6
1.128     moko     8139: else
                   8140:   if test -n "$OTOOL64"; then
                   8141:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
                   8142: else
                   8143: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8144: for as_dir in $PATH
                   8145: do
                   8146:   IFS=$as_save_IFS
                   8147:   test -z "$as_dir" && as_dir=.
1.150     moko     8148:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8149:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8150:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
1.150     moko     8151:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8152:     break 2
                   8153:   fi
                   8154: done
1.150     moko     8155:   done
                   8156: IFS=$as_save_IFS
1.128     moko     8157: 
                   8158: fi
                   8159: fi
                   8160: OTOOL64=$ac_cv_prog_OTOOL64
                   8161: if test -n "$OTOOL64"; then
1.150     moko     8162:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
                   8163: $as_echo "$OTOOL64" >&6; }
1.128     moko     8164: else
1.150     moko     8165:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8166: $as_echo "no" >&6; }
1.128     moko     8167: fi
                   8168: 
1.150     moko     8169: 
1.128     moko     8170: fi
                   8171: if test -z "$ac_cv_prog_OTOOL64"; then
                   8172:   ac_ct_OTOOL64=$OTOOL64
                   8173:   # Extract the first word of "otool64", so it can be a program name with args.
                   8174: set dummy otool64; ac_word=$2
1.150     moko     8175: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8176: $as_echo_n "checking for $ac_word... " >&6; }
                   8177: if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
                   8178:   $as_echo_n "(cached) " >&6
1.128     moko     8179: else
                   8180:   if test -n "$ac_ct_OTOOL64"; then
                   8181:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
                   8182: else
                   8183: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8184: for as_dir in $PATH
                   8185: do
                   8186:   IFS=$as_save_IFS
                   8187:   test -z "$as_dir" && as_dir=.
1.150     moko     8188:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8189:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8190:     ac_cv_prog_ac_ct_OTOOL64="otool64"
1.150     moko     8191:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8192:     break 2
                   8193:   fi
                   8194: done
1.150     moko     8195:   done
                   8196: IFS=$as_save_IFS
1.128     moko     8197: 
                   8198: fi
                   8199: fi
                   8200: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
                   8201: if test -n "$ac_ct_OTOOL64"; then
1.150     moko     8202:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
                   8203: $as_echo "$ac_ct_OTOOL64" >&6; }
1.128     moko     8204: else
1.150     moko     8205:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8206: $as_echo "no" >&6; }
1.128     moko     8207: fi
                   8208: 
1.150     moko     8209:   if test "x$ac_ct_OTOOL64" = x; then
                   8210:     OTOOL64=":"
                   8211:   else
                   8212:     case $cross_compiling:$ac_tool_warned in
                   8213: yes:)
                   8214: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8215: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8216: ac_tool_warned=yes ;;
                   8217: esac
                   8218:     OTOOL64=$ac_ct_OTOOL64
                   8219:   fi
1.128     moko     8220: else
                   8221:   OTOOL64="$ac_cv_prog_OTOOL64"
                   8222: fi
                   8223: 
                   8224: 
                   8225: 
                   8226: 
                   8227: 
                   8228: 
                   8229: 
                   8230: 
                   8231: 
                   8232: 
                   8233: 
                   8234: 
                   8235: 
                   8236: 
                   8237: 
                   8238: 
                   8239: 
                   8240: 
                   8241: 
                   8242: 
                   8243: 
                   8244: 
                   8245: 
                   8246: 
                   8247: 
                   8248: 
                   8249: 
1.150     moko     8250:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
                   8251: $as_echo_n "checking for -single_module linker flag... " >&6; }
                   8252: if ${lt_cv_apple_cc_single_mod+:} false; then :
                   8253:   $as_echo_n "(cached) " >&6
1.128     moko     8254: else
                   8255:   lt_cv_apple_cc_single_mod=no
                   8256:       if test -z "${LT_MULTI_MODULE}"; then
                   8257:        # By default we will add the -single_module flag. You can override
                   8258:        # by either setting the environment variable LT_MULTI_MODULE
                   8259:        # non-empty at configure time, or by adding -multi_module to the
                   8260:        # link flags.
                   8261:        rm -rf libconftest.dylib*
                   8262:        echo "int foo(void){return 1;}" > conftest.c
                   8263:        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   8264: -dynamiclib -Wl,-single_module conftest.c" >&5
                   8265:        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   8266:          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
                   8267:         _lt_result=$?
                   8268:        # If there is a non-empty error log, and "single_module"
                   8269:        # appears in it, assume the flag caused a linker warning
                   8270:         if test -s conftest.err && $GREP single_module conftest.err; then
                   8271:          cat conftest.err >&5
                   8272:        # Otherwise, if the output was created with a 0 exit code from
                   8273:        # the compiler, it worked.
                   8274:        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
                   8275:          lt_cv_apple_cc_single_mod=yes
                   8276:        else
                   8277:          cat conftest.err >&5
                   8278:        fi
                   8279:        rm -rf libconftest.dylib*
                   8280:        rm -f conftest.*
                   8281:       fi
                   8282: fi
1.150     moko     8283: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
                   8284: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
1.128     moko     8285: 
1.150     moko     8286:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
                   8287: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
                   8288: if ${lt_cv_ld_exported_symbols_list+:} false; then :
                   8289:   $as_echo_n "(cached) " >&6
1.128     moko     8290: else
                   8291:   lt_cv_ld_exported_symbols_list=no
                   8292:       save_LDFLAGS=$LDFLAGS
                   8293:       echo "_main" > conftest.sym
                   8294:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
1.150     moko     8295:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8296: /* end confdefs.h.  */
                   8297: 
                   8298: int
                   8299: main ()
                   8300: {
                   8301: 
                   8302:   ;
                   8303:   return 0;
                   8304: }
                   8305: _ACEOF
1.150     moko     8306: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     8307:   lt_cv_ld_exported_symbols_list=yes
                   8308: else
1.150     moko     8309:   lt_cv_ld_exported_symbols_list=no
1.128     moko     8310: fi
1.150     moko     8311: rm -f core conftest.err conftest.$ac_objext \
                   8312:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     8313:        LDFLAGS="$save_LDFLAGS"
                   8314: 
                   8315: fi
1.150     moko     8316: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
                   8317: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
1.128     moko     8318: 
1.150     moko     8319:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
                   8320: $as_echo_n "checking for -force_load linker flag... " >&6; }
                   8321: if ${lt_cv_ld_force_load+:} false; then :
                   8322:   $as_echo_n "(cached) " >&6
1.128     moko     8323: else
                   8324:   lt_cv_ld_force_load=no
                   8325:       cat > conftest.c << _LT_EOF
                   8326: int forced_loaded() { return 2;}
                   8327: _LT_EOF
                   8328:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
                   8329:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
                   8330:       echo "$AR cru libconftest.a conftest.o" >&5
                   8331:       $AR cru libconftest.a conftest.o 2>&5
                   8332:       echo "$RANLIB libconftest.a" >&5
                   8333:       $RANLIB libconftest.a 2>&5
                   8334:       cat > conftest.c << _LT_EOF
                   8335: int main() { return 0;}
                   8336: _LT_EOF
                   8337:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
                   8338:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
                   8339:       _lt_result=$?
                   8340:       if test -s conftest.err && $GREP force_load conftest.err; then
                   8341:        cat conftest.err >&5
                   8342:       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
                   8343:        lt_cv_ld_force_load=yes
                   8344:       else
                   8345:        cat conftest.err >&5
                   8346:       fi
                   8347:         rm -f conftest.err libconftest.a conftest conftest.c
                   8348:         rm -rf conftest.dSYM
                   8349: 
                   8350: fi
1.150     moko     8351: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
                   8352: $as_echo "$lt_cv_ld_force_load" >&6; }
1.128     moko     8353:     case $host_os in
                   8354:     rhapsody* | darwin1.[012])
                   8355:       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
                   8356:     darwin1.*)
                   8357:       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   8358:     darwin*) # darwin 5.x on
                   8359:       # if running on 10.5 or later, the deployment target defaults
                   8360:       # to the OS version, if on x86, and 10.4, the deployment
                   8361:       # target defaults to 10.4. Don't you love it?
                   8362:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
                   8363:        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
                   8364:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   8365:        10.[012]*)
                   8366:          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   8367:        10.*)
                   8368:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   8369:       esac
                   8370:     ;;
                   8371:   esac
                   8372:     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
                   8373:       _lt_dar_single_mod='$single_module'
                   8374:     fi
                   8375:     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
                   8376:       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
                   8377:     else
                   8378:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
                   8379:     fi
                   8380:     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
                   8381:       _lt_dsymutil='~$DSYMUTIL $lib || :'
                   8382:     else
                   8383:       _lt_dsymutil=
                   8384:     fi
                   8385:     ;;
                   8386:   esac
                   8387: 
                   8388: ac_ext=c
                   8389: ac_cpp='$CPP $CPPFLAGS'
                   8390: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   8391: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   8392: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.150     moko     8393: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
                   8394: $as_echo_n "checking how to run the C preprocessor... " >&6; }
1.128     moko     8395: # On Suns, sometimes $CPP names a directory.
                   8396: if test -n "$CPP" && test -d "$CPP"; then
                   8397:   CPP=
                   8398: fi
                   8399: if test -z "$CPP"; then
1.150     moko     8400:   if ${ac_cv_prog_CPP+:} false; then :
                   8401:   $as_echo_n "(cached) " >&6
1.128     moko     8402: else
                   8403:       # Double quotes because CPP needs to be expanded
                   8404:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   8405:     do
                   8406:       ac_preproc_ok=false
                   8407: for ac_c_preproc_warn_flag in '' yes
                   8408: do
                   8409:   # Use a header file that comes with gcc, so configuring glibc
                   8410:   # with a fresh cross-compiler works.
                   8411:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   8412:   # <limits.h> exists even on freestanding compilers.
                   8413:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   8414:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     8415:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8416: /* end confdefs.h.  */
                   8417: #ifdef __STDC__
                   8418: # include <limits.h>
                   8419: #else
                   8420: # include <assert.h>
                   8421: #endif
                   8422:                     Syntax error
                   8423: _ACEOF
1.150     moko     8424: if ac_fn_c_try_cpp "$LINENO"; then :
                   8425: 
1.128     moko     8426: else
                   8427:   # Broken: fails on valid input.
                   8428: continue
                   8429: fi
1.150     moko     8430: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8431: 
1.150     moko     8432:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     8433:   # can be detected and how.
1.150     moko     8434:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8435: /* end confdefs.h.  */
                   8436: #include <ac_nonexistent.h>
                   8437: _ACEOF
1.150     moko     8438: if ac_fn_c_try_cpp "$LINENO"; then :
1.128     moko     8439:   # Broken: success on invalid input.
                   8440: continue
                   8441: else
                   8442:   # Passes both tests.
                   8443: ac_preproc_ok=:
                   8444: break
                   8445: fi
1.150     moko     8446: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8447: 
                   8448: done
                   8449: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     8450: rm -f conftest.i conftest.err conftest.$ac_ext
                   8451: if $ac_preproc_ok; then :
1.128     moko     8452:   break
                   8453: fi
                   8454: 
                   8455:     done
                   8456:     ac_cv_prog_CPP=$CPP
                   8457: 
                   8458: fi
                   8459:   CPP=$ac_cv_prog_CPP
                   8460: else
                   8461:   ac_cv_prog_CPP=$CPP
                   8462: fi
1.150     moko     8463: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
                   8464: $as_echo "$CPP" >&6; }
1.128     moko     8465: ac_preproc_ok=false
                   8466: for ac_c_preproc_warn_flag in '' yes
                   8467: do
                   8468:   # Use a header file that comes with gcc, so configuring glibc
                   8469:   # with a fresh cross-compiler works.
                   8470:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   8471:   # <limits.h> exists even on freestanding compilers.
                   8472:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   8473:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     8474:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8475: /* end confdefs.h.  */
                   8476: #ifdef __STDC__
                   8477: # include <limits.h>
                   8478: #else
                   8479: # include <assert.h>
                   8480: #endif
                   8481:                     Syntax error
                   8482: _ACEOF
1.150     moko     8483: if ac_fn_c_try_cpp "$LINENO"; then :
                   8484: 
1.128     moko     8485: else
                   8486:   # Broken: fails on valid input.
                   8487: continue
                   8488: fi
1.150     moko     8489: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8490: 
1.150     moko     8491:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     8492:   # can be detected and how.
1.150     moko     8493:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8494: /* end confdefs.h.  */
                   8495: #include <ac_nonexistent.h>
                   8496: _ACEOF
1.150     moko     8497: if ac_fn_c_try_cpp "$LINENO"; then :
1.128     moko     8498:   # Broken: success on invalid input.
                   8499: continue
                   8500: else
                   8501:   # Passes both tests.
                   8502: ac_preproc_ok=:
                   8503: break
                   8504: fi
1.150     moko     8505: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8506: 
                   8507: done
                   8508: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     8509: rm -f conftest.i conftest.err conftest.$ac_ext
                   8510: if $ac_preproc_ok; then :
                   8511: 
1.128     moko     8512: else
1.150     moko     8513:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   8514: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   8515: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
                   8516: See \`config.log' for more details" "$LINENO" 5; }
1.128     moko     8517: fi
                   8518: 
                   8519: ac_ext=c
                   8520: ac_cpp='$CPP $CPPFLAGS'
                   8521: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   8522: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   8523: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   8524: 
                   8525: 
1.150     moko     8526: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   8527: $as_echo_n "checking for ANSI C header files... " >&6; }
                   8528: if ${ac_cv_header_stdc+:} false; then :
                   8529:   $as_echo_n "(cached) " >&6
1.128     moko     8530: else
1.150     moko     8531:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8532: /* end confdefs.h.  */
                   8533: #include <stdlib.h>
                   8534: #include <stdarg.h>
                   8535: #include <string.h>
                   8536: #include <float.h>
                   8537: 
                   8538: int
                   8539: main ()
                   8540: {
                   8541: 
                   8542:   ;
                   8543:   return 0;
                   8544: }
                   8545: _ACEOF
1.150     moko     8546: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     8547:   ac_cv_header_stdc=yes
                   8548: else
1.150     moko     8549:   ac_cv_header_stdc=no
1.128     moko     8550: fi
1.150     moko     8551: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     8552: 
                   8553: if test $ac_cv_header_stdc = yes; then
                   8554:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.150     moko     8555:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8556: /* end confdefs.h.  */
                   8557: #include <string.h>
                   8558: 
                   8559: _ACEOF
                   8560: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.150     moko     8561:   $EGREP "memchr" >/dev/null 2>&1; then :
                   8562: 
1.128     moko     8563: else
                   8564:   ac_cv_header_stdc=no
                   8565: fi
                   8566: rm -f conftest*
                   8567: 
                   8568: fi
                   8569: 
                   8570: if test $ac_cv_header_stdc = yes; then
                   8571:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.150     moko     8572:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8573: /* end confdefs.h.  */
                   8574: #include <stdlib.h>
                   8575: 
                   8576: _ACEOF
                   8577: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.150     moko     8578:   $EGREP "free" >/dev/null 2>&1; then :
                   8579: 
1.128     moko     8580: else
                   8581:   ac_cv_header_stdc=no
                   8582: fi
                   8583: rm -f conftest*
                   8584: 
                   8585: fi
                   8586: 
                   8587: if test $ac_cv_header_stdc = yes; then
                   8588:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.150     moko     8589:   if test "$cross_compiling" = yes; then :
1.128     moko     8590:   :
                   8591: else
1.150     moko     8592:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8593: /* end confdefs.h.  */
                   8594: #include <ctype.h>
1.150     moko     8595: #include <stdlib.h>
1.128     moko     8596: #if ((' ' & 0x0FF) == 0x020)
                   8597: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   8598: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   8599: #else
                   8600: # define ISLOWER(c) \
                   8601:                   (('a' <= (c) && (c) <= 'i') \
                   8602:                     || ('j' <= (c) && (c) <= 'r') \
                   8603:                     || ('s' <= (c) && (c) <= 'z'))
                   8604: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   8605: #endif
                   8606: 
                   8607: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   8608: int
                   8609: main ()
                   8610: {
                   8611:   int i;
                   8612:   for (i = 0; i < 256; i++)
                   8613:     if (XOR (islower (i), ISLOWER (i))
                   8614:        || toupper (i) != TOUPPER (i))
1.150     moko     8615:       return 2;
                   8616:   return 0;
1.128     moko     8617: }
                   8618: _ACEOF
1.150     moko     8619: if ac_fn_c_try_run "$LINENO"; then :
                   8620: 
1.128     moko     8621: else
1.150     moko     8622:   ac_cv_header_stdc=no
1.128     moko     8623: fi
1.150     moko     8624: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   8625:   conftest.$ac_objext conftest.beam conftest.$ac_ext
1.128     moko     8626: fi
1.150     moko     8627: 
1.128     moko     8628: fi
                   8629: fi
1.150     moko     8630: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   8631: $as_echo "$ac_cv_header_stdc" >&6; }
1.128     moko     8632: if test $ac_cv_header_stdc = yes; then
                   8633: 
1.150     moko     8634: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
1.128     moko     8635: 
                   8636: fi
                   8637: 
                   8638: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
1.150     moko     8639: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   8640:                  inttypes.h stdint.h unistd.h
                   8641: do :
                   8642:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   8643: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   8644: "
                   8645: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   8646:   cat >>confdefs.h <<_ACEOF
                   8647: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   8648: _ACEOF
1.128     moko     8649: 
1.150     moko     8650: fi
1.128     moko     8651: 
1.150     moko     8652: done
1.128     moko     8653: 
                   8654: 
1.150     moko     8655: for ac_header in dlfcn.h
                   8656: do :
                   8657:   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
                   8658: "
                   8659: if test "x$ac_cv_header_dlfcn_h" = xyes; then :
                   8660:   cat >>confdefs.h <<_ACEOF
                   8661: #define HAVE_DLFCN_H 1
                   8662: _ACEOF
1.128     moko     8663: 
1.150     moko     8664: fi
1.128     moko     8665: 
1.150     moko     8666: done
1.128     moko     8667: 
                   8668: 
                   8669: 
                   8670: 
1.150     moko     8671: func_stripname_cnf ()
                   8672: {
                   8673:   case ${2} in
                   8674:   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
                   8675:   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
                   8676:   esac
                   8677: } # func_stripname_cnf
1.128     moko     8678: 
                   8679: 
                   8680: 
                   8681: 
                   8682: 
                   8683: # Set options
                   8684: enable_dlopen=yes
                   8685: enable_win32_dll=yes
                   8686: 
                   8687: case $host in
                   8688: *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
                   8689:   if test -n "$ac_tool_prefix"; then
                   8690:   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
                   8691: set dummy ${ac_tool_prefix}as; ac_word=$2
1.150     moko     8692: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8693: $as_echo_n "checking for $ac_word... " >&6; }
                   8694: if ${ac_cv_prog_AS+:} false; then :
                   8695:   $as_echo_n "(cached) " >&6
1.128     moko     8696: else
                   8697:   if test -n "$AS"; then
                   8698:   ac_cv_prog_AS="$AS" # Let the user override the test.
                   8699: else
                   8700: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8701: for as_dir in $PATH
                   8702: do
                   8703:   IFS=$as_save_IFS
                   8704:   test -z "$as_dir" && as_dir=.
1.150     moko     8705:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8706:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8707:     ac_cv_prog_AS="${ac_tool_prefix}as"
1.150     moko     8708:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8709:     break 2
                   8710:   fi
                   8711: done
1.150     moko     8712:   done
                   8713: IFS=$as_save_IFS
1.128     moko     8714: 
                   8715: fi
                   8716: fi
                   8717: AS=$ac_cv_prog_AS
                   8718: if test -n "$AS"; then
1.150     moko     8719:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
                   8720: $as_echo "$AS" >&6; }
1.128     moko     8721: else
1.150     moko     8722:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8723: $as_echo "no" >&6; }
1.128     moko     8724: fi
                   8725: 
1.150     moko     8726: 
1.128     moko     8727: fi
                   8728: if test -z "$ac_cv_prog_AS"; then
                   8729:   ac_ct_AS=$AS
                   8730:   # Extract the first word of "as", so it can be a program name with args.
                   8731: set dummy as; ac_word=$2
1.150     moko     8732: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8733: $as_echo_n "checking for $ac_word... " >&6; }
                   8734: if ${ac_cv_prog_ac_ct_AS+:} false; then :
                   8735:   $as_echo_n "(cached) " >&6
1.128     moko     8736: else
                   8737:   if test -n "$ac_ct_AS"; then
                   8738:   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
                   8739: else
                   8740: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8741: for as_dir in $PATH
                   8742: do
                   8743:   IFS=$as_save_IFS
                   8744:   test -z "$as_dir" && as_dir=.
1.150     moko     8745:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8746:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8747:     ac_cv_prog_ac_ct_AS="as"
1.150     moko     8748:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8749:     break 2
                   8750:   fi
                   8751: done
1.150     moko     8752:   done
                   8753: IFS=$as_save_IFS
1.128     moko     8754: 
                   8755: fi
                   8756: fi
                   8757: ac_ct_AS=$ac_cv_prog_ac_ct_AS
                   8758: if test -n "$ac_ct_AS"; then
1.150     moko     8759:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
                   8760: $as_echo "$ac_ct_AS" >&6; }
1.128     moko     8761: else
1.150     moko     8762:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8763: $as_echo "no" >&6; }
1.128     moko     8764: fi
                   8765: 
1.150     moko     8766:   if test "x$ac_ct_AS" = x; then
                   8767:     AS="false"
                   8768:   else
                   8769:     case $cross_compiling:$ac_tool_warned in
                   8770: yes:)
                   8771: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8772: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8773: ac_tool_warned=yes ;;
                   8774: esac
                   8775:     AS=$ac_ct_AS
                   8776:   fi
1.128     moko     8777: else
                   8778:   AS="$ac_cv_prog_AS"
                   8779: fi
                   8780: 
                   8781:   if test -n "$ac_tool_prefix"; then
                   8782:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   8783: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1.150     moko     8784: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8785: $as_echo_n "checking for $ac_word... " >&6; }
                   8786: if ${ac_cv_prog_DLLTOOL+:} false; then :
                   8787:   $as_echo_n "(cached) " >&6
1.128     moko     8788: else
                   8789:   if test -n "$DLLTOOL"; then
                   8790:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   8791: else
                   8792: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8793: for as_dir in $PATH
                   8794: do
                   8795:   IFS=$as_save_IFS
                   8796:   test -z "$as_dir" && as_dir=.
1.150     moko     8797:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8798:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8799:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
1.150     moko     8800:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8801:     break 2
                   8802:   fi
                   8803: done
1.150     moko     8804:   done
                   8805: IFS=$as_save_IFS
1.128     moko     8806: 
                   8807: fi
                   8808: fi
                   8809: DLLTOOL=$ac_cv_prog_DLLTOOL
                   8810: if test -n "$DLLTOOL"; then
1.150     moko     8811:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
                   8812: $as_echo "$DLLTOOL" >&6; }
1.128     moko     8813: else
1.150     moko     8814:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8815: $as_echo "no" >&6; }
1.128     moko     8816: fi
                   8817: 
1.150     moko     8818: 
1.128     moko     8819: fi
                   8820: if test -z "$ac_cv_prog_DLLTOOL"; then
                   8821:   ac_ct_DLLTOOL=$DLLTOOL
                   8822:   # Extract the first word of "dlltool", so it can be a program name with args.
                   8823: set dummy dlltool; ac_word=$2
1.150     moko     8824: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8825: $as_echo_n "checking for $ac_word... " >&6; }
                   8826: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
                   8827:   $as_echo_n "(cached) " >&6
1.128     moko     8828: else
                   8829:   if test -n "$ac_ct_DLLTOOL"; then
                   8830:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   8831: else
                   8832: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8833: for as_dir in $PATH
                   8834: do
                   8835:   IFS=$as_save_IFS
                   8836:   test -z "$as_dir" && as_dir=.
1.150     moko     8837:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8838:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8839:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
1.150     moko     8840:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8841:     break 2
                   8842:   fi
                   8843: done
1.150     moko     8844:   done
                   8845: IFS=$as_save_IFS
1.128     moko     8846: 
                   8847: fi
                   8848: fi
                   8849: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   8850: if test -n "$ac_ct_DLLTOOL"; then
1.150     moko     8851:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
                   8852: $as_echo "$ac_ct_DLLTOOL" >&6; }
1.128     moko     8853: else
1.150     moko     8854:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8855: $as_echo "no" >&6; }
1.128     moko     8856: fi
                   8857: 
1.150     moko     8858:   if test "x$ac_ct_DLLTOOL" = x; then
                   8859:     DLLTOOL="false"
                   8860:   else
                   8861:     case $cross_compiling:$ac_tool_warned in
                   8862: yes:)
                   8863: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8864: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8865: ac_tool_warned=yes ;;
                   8866: esac
                   8867:     DLLTOOL=$ac_ct_DLLTOOL
                   8868:   fi
1.128     moko     8869: else
                   8870:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   8871: fi
                   8872: 
                   8873:   if test -n "$ac_tool_prefix"; then
                   8874:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   8875: set dummy ${ac_tool_prefix}objdump; ac_word=$2
1.150     moko     8876: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8877: $as_echo_n "checking for $ac_word... " >&6; }
                   8878: if ${ac_cv_prog_OBJDUMP+:} false; then :
                   8879:   $as_echo_n "(cached) " >&6
1.128     moko     8880: else
                   8881:   if test -n "$OBJDUMP"; then
                   8882:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   8883: else
                   8884: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8885: for as_dir in $PATH
                   8886: do
                   8887:   IFS=$as_save_IFS
                   8888:   test -z "$as_dir" && as_dir=.
1.150     moko     8889:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8890:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8891:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1.150     moko     8892:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8893:     break 2
                   8894:   fi
                   8895: done
1.150     moko     8896:   done
                   8897: IFS=$as_save_IFS
1.128     moko     8898: 
                   8899: fi
                   8900: fi
                   8901: OBJDUMP=$ac_cv_prog_OBJDUMP
                   8902: if test -n "$OBJDUMP"; then
1.150     moko     8903:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   8904: $as_echo "$OBJDUMP" >&6; }
1.128     moko     8905: else
1.150     moko     8906:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8907: $as_echo "no" >&6; }
1.128     moko     8908: fi
                   8909: 
1.150     moko     8910: 
1.128     moko     8911: fi
                   8912: if test -z "$ac_cv_prog_OBJDUMP"; then
                   8913:   ac_ct_OBJDUMP=$OBJDUMP
                   8914:   # Extract the first word of "objdump", so it can be a program name with args.
                   8915: set dummy objdump; ac_word=$2
1.150     moko     8916: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8917: $as_echo_n "checking for $ac_word... " >&6; }
                   8918: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
                   8919:   $as_echo_n "(cached) " >&6
1.128     moko     8920: else
                   8921:   if test -n "$ac_ct_OBJDUMP"; then
                   8922:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   8923: else
                   8924: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8925: for as_dir in $PATH
                   8926: do
                   8927:   IFS=$as_save_IFS
                   8928:   test -z "$as_dir" && as_dir=.
1.150     moko     8929:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8930:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8931:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.150     moko     8932:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8933:     break 2
                   8934:   fi
                   8935: done
1.150     moko     8936:   done
                   8937: IFS=$as_save_IFS
1.128     moko     8938: 
                   8939: fi
                   8940: fi
                   8941: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   8942: if test -n "$ac_ct_OBJDUMP"; then
1.150     moko     8943:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   8944: $as_echo "$ac_ct_OBJDUMP" >&6; }
1.128     moko     8945: else
1.150     moko     8946:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8947: $as_echo "no" >&6; }
1.128     moko     8948: fi
                   8949: 
1.150     moko     8950:   if test "x$ac_ct_OBJDUMP" = x; then
                   8951:     OBJDUMP="false"
                   8952:   else
                   8953:     case $cross_compiling:$ac_tool_warned in
                   8954: yes:)
                   8955: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8956: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8957: ac_tool_warned=yes ;;
                   8958: esac
                   8959:     OBJDUMP=$ac_ct_OBJDUMP
                   8960:   fi
1.128     moko     8961: else
                   8962:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   8963: fi
                   8964: 
                   8965:   ;;
                   8966: esac
                   8967: 
                   8968: test -z "$AS" && AS=as
                   8969: 
                   8970: 
                   8971: 
                   8972: 
                   8973: 
                   8974: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   8975: 
                   8976: 
                   8977: 
                   8978: 
                   8979: 
                   8980: test -z "$OBJDUMP" && OBJDUMP=objdump
                   8981: 
                   8982: 
                   8983: 
                   8984: 
                   8985: 
1.150     moko     8986: # Check whether --with-pic was given.
                   8987: if test "${with_pic+set}" = set; then :
                   8988:   withval=$with_pic; lt_p=${PACKAGE-default}
1.145     moko     8989:     case $withval in
                   8990:     yes|no) pic_mode=$withval ;;
                   8991:     *)
                   8992:       pic_mode=default
                   8993:       # Look at the argument we got.  We use all the common list separators.
                   8994:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8995:       for lt_pkg in $withval; do
                   8996:        IFS="$lt_save_ifs"
                   8997:        if test "X$lt_pkg" = "X$lt_p"; then
                   8998:          pic_mode=yes
                   8999:        fi
                   9000:       done
                   9001:       IFS="$lt_save_ifs"
                   9002:       ;;
                   9003:     esac
                   9004: else
                   9005:   pic_mode=default
1.150     moko     9006: fi
                   9007: 
1.145     moko     9008: 
                   9009: test -z "$pic_mode" && pic_mode=no
                   9010: 
                   9011: 
                   9012: 
                   9013: 
                   9014: 
                   9015: 
1.128     moko     9016: 
                   9017: 
                   9018: 
                   9019: 
1.150     moko     9020:             # Check whether --enable-shared was given.
                   9021: if test "${enable_shared+set}" = set; then :
                   9022:   enableval=$enable_shared; p=${PACKAGE-default}
1.128     moko     9023:     case $enableval in
                   9024:     yes) enable_shared=yes ;;
                   9025:     no) enable_shared=no ;;
                   9026:     *)
                   9027:       enable_shared=no
                   9028:       # Look at the argument we got.  We use all the common list separators.
                   9029:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   9030:       for pkg in $enableval; do
                   9031:        IFS="$lt_save_ifs"
                   9032:        if test "X$pkg" = "X$p"; then
                   9033:          enable_shared=yes
                   9034:        fi
                   9035:       done
                   9036:       IFS="$lt_save_ifs"
                   9037:       ;;
                   9038:     esac
                   9039: else
                   9040:   enable_shared=yes
1.150     moko     9041: fi
                   9042: 
1.128     moko     9043: 
                   9044: 
                   9045: 
                   9046: 
                   9047: 
                   9048: 
                   9049: 
                   9050: 
1.150     moko     9051:   # Check whether --enable-static was given.
                   9052: if test "${enable_static+set}" = set; then :
                   9053:   enableval=$enable_static; p=${PACKAGE-default}
1.138     moko     9054:     case $enableval in
                   9055:     yes) enable_static=yes ;;
                   9056:     no) enable_static=no ;;
                   9057:     *)
                   9058:      enable_static=no
                   9059:       # Look at the argument we got.  We use all the common list separators.
                   9060:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   9061:       for pkg in $enableval; do
                   9062:        IFS="$lt_save_ifs"
                   9063:        if test "X$pkg" = "X$p"; then
                   9064:          enable_static=yes
                   9065:        fi
                   9066:       done
                   9067:       IFS="$lt_save_ifs"
                   9068:       ;;
                   9069:     esac
                   9070: else
                   9071:   enable_static=yes
1.150     moko     9072: fi
                   9073: 
1.138     moko     9074: 
                   9075: 
                   9076: 
                   9077: 
                   9078: 
                   9079: 
                   9080: 
1.128     moko     9081: 
                   9082: 
1.150     moko     9083:   # Check whether --enable-fast-install was given.
                   9084: if test "${enable_fast_install+set}" = set; then :
                   9085:   enableval=$enable_fast_install; p=${PACKAGE-default}
1.128     moko     9086:     case $enableval in
                   9087:     yes) enable_fast_install=yes ;;
                   9088:     no) enable_fast_install=no ;;
                   9089:     *)
                   9090:       enable_fast_install=no
                   9091:       # Look at the argument we got.  We use all the common list separators.
                   9092:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   9093:       for pkg in $enableval; do
                   9094:        IFS="$lt_save_ifs"
                   9095:        if test "X$pkg" = "X$p"; then
                   9096:          enable_fast_install=yes
                   9097:        fi
                   9098:       done
                   9099:       IFS="$lt_save_ifs"
                   9100:       ;;
                   9101:     esac
                   9102: else
                   9103:   enable_fast_install=yes
1.150     moko     9104: fi
                   9105: 
1.128     moko     9106: 
                   9107: 
                   9108: 
                   9109: 
                   9110: 
                   9111: 
                   9112: 
                   9113: 
                   9114: 
                   9115: 
                   9116: # This can be used to rebuild libtool when needed
                   9117: LIBTOOL_DEPS="$ltmain"
                   9118: 
                   9119: # Always use our own libtool.
                   9120: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
                   9121: 
                   9122: 
                   9123: 
                   9124: 
                   9125: 
                   9126: 
                   9127: 
                   9128: 
                   9129: 
                   9130: 
                   9131: 
                   9132: 
                   9133: 
                   9134: 
                   9135: 
                   9136: 
                   9137: 
                   9138: 
                   9139: 
                   9140: 
                   9141: 
                   9142: 
                   9143: 
                   9144: 
                   9145: 
                   9146: 
                   9147: 
                   9148: 
                   9149: 
                   9150: 
                   9151: test -z "$LN_S" && LN_S="ln -s"
                   9152: 
                   9153: 
                   9154: 
                   9155: 
                   9156: 
                   9157: 
                   9158: 
                   9159: 
                   9160: 
                   9161: 
                   9162: 
                   9163: 
                   9164: 
                   9165: 
                   9166: if test -n "${ZSH_VERSION+set}" ; then
                   9167:    setopt NO_GLOB_SUBST
                   9168: fi
                   9169: 
1.150     moko     9170: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
                   9171: $as_echo_n "checking for objdir... " >&6; }
                   9172: if ${lt_cv_objdir+:} false; then :
                   9173:   $as_echo_n "(cached) " >&6
1.128     moko     9174: else
                   9175:   rm -f .libs 2>/dev/null
                   9176: mkdir .libs 2>/dev/null
                   9177: if test -d .libs; then
                   9178:   lt_cv_objdir=.libs
                   9179: else
                   9180:   # MS-DOS does not allow filenames that begin with a dot.
                   9181:   lt_cv_objdir=_libs
                   9182: fi
                   9183: rmdir .libs 2>/dev/null
                   9184: fi
1.150     moko     9185: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
                   9186: $as_echo "$lt_cv_objdir" >&6; }
1.128     moko     9187: objdir=$lt_cv_objdir
                   9188: 
                   9189: 
                   9190: 
                   9191: 
                   9192: 
                   9193: cat >>confdefs.h <<_ACEOF
                   9194: #define LT_OBJDIR "$lt_cv_objdir/"
                   9195: _ACEOF
                   9196: 
                   9197: 
                   9198: 
                   9199: 
                   9200: case $host_os in
                   9201: aix3*)
                   9202:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   9203:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   9204:   # vanish in a puff of smoke.
                   9205:   if test "X${COLLECT_NAMES+set}" != Xset; then
                   9206:     COLLECT_NAMES=
                   9207:     export COLLECT_NAMES
                   9208:   fi
                   9209:   ;;
                   9210: esac
                   9211: 
                   9212: # Global variables:
                   9213: ofile=libtool
                   9214: can_build_shared=yes
                   9215: 
                   9216: # All known linkers require a `.a' archive for static linking (except MSVC,
                   9217: # which needs '.lib').
                   9218: libext=a
                   9219: 
                   9220: with_gnu_ld="$lt_cv_prog_gnu_ld"
                   9221: 
                   9222: old_CC="$CC"
                   9223: old_CFLAGS="$CFLAGS"
                   9224: 
                   9225: # Set sane defaults for various variables
                   9226: test -z "$CC" && CC=cc
                   9227: test -z "$LTCC" && LTCC=$CC
                   9228: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
                   9229: test -z "$LD" && LD=ld
                   9230: test -z "$ac_objext" && ac_objext=o
                   9231: 
                   9232: for cc_temp in $compiler""; do
                   9233:   case $cc_temp in
                   9234:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   9235:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   9236:     \-*) ;;
                   9237:     *) break;;
                   9238:   esac
                   9239: done
                   9240: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   9241: 
                   9242: 
                   9243: # Only perform the check for file, if the check method requires it
                   9244: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   9245: case $deplibs_check_method in
                   9246: file_magic*)
                   9247:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1.150     moko     9248:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
                   9249: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
                   9250: if ${lt_cv_path_MAGIC_CMD+:} false; then :
                   9251:   $as_echo_n "(cached) " >&6
1.128     moko     9252: else
                   9253:   case $MAGIC_CMD in
                   9254: [\\/*] |  ?:[\\/]*)
                   9255:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   9256:   ;;
                   9257: *)
                   9258:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   9259:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   9260:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   9261:   for ac_dir in $ac_dummy; do
                   9262:     IFS="$lt_save_ifs"
                   9263:     test -z "$ac_dir" && ac_dir=.
                   9264:     if test -f $ac_dir/${ac_tool_prefix}file; then
                   9265:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
                   9266:       if test -n "$file_magic_test_file"; then
                   9267:        case $deplibs_check_method in
                   9268:        "file_magic "*)
                   9269:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   9270:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9271:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   9272:            $EGREP "$file_magic_regex" > /dev/null; then
                   9273:            :
                   9274:          else
                   9275:            cat <<_LT_EOF 1>&2
                   9276: 
                   9277: *** Warning: the command libtool uses to detect shared libraries,
                   9278: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   9279: *** The result is that libtool may fail to recognize shared libraries
                   9280: *** as such.  This will affect the creation of libtool libraries that
                   9281: *** depend on shared libraries, but programs linked with such libtool
                   9282: *** libraries will work regardless of this problem.  Nevertheless, you
                   9283: *** may want to report the problem to your system manager and/or to
                   9284: *** bug-libtool@gnu.org
                   9285: 
                   9286: _LT_EOF
                   9287:          fi ;;
                   9288:        esac
                   9289:       fi
                   9290:       break
                   9291:     fi
                   9292:   done
                   9293:   IFS="$lt_save_ifs"
                   9294:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   9295:   ;;
                   9296: esac
                   9297: fi
                   9298: 
                   9299: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9300: if test -n "$MAGIC_CMD"; then
1.150     moko     9301:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   9302: $as_echo "$MAGIC_CMD" >&6; }
1.128     moko     9303: else
1.150     moko     9304:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9305: $as_echo "no" >&6; }
1.128     moko     9306: fi
                   9307: 
                   9308: 
                   9309: 
                   9310: 
                   9311: 
                   9312: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   9313:   if test -n "$ac_tool_prefix"; then
1.150     moko     9314:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
                   9315: $as_echo_n "checking for file... " >&6; }
                   9316: if ${lt_cv_path_MAGIC_CMD+:} false; then :
                   9317:   $as_echo_n "(cached) " >&6
1.128     moko     9318: else
                   9319:   case $MAGIC_CMD in
                   9320: [\\/*] |  ?:[\\/]*)
                   9321:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   9322:   ;;
                   9323: *)
                   9324:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   9325:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   9326:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   9327:   for ac_dir in $ac_dummy; do
                   9328:     IFS="$lt_save_ifs"
                   9329:     test -z "$ac_dir" && ac_dir=.
                   9330:     if test -f $ac_dir/file; then
                   9331:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
                   9332:       if test -n "$file_magic_test_file"; then
                   9333:        case $deplibs_check_method in
                   9334:        "file_magic "*)
                   9335:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   9336:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9337:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   9338:            $EGREP "$file_magic_regex" > /dev/null; then
                   9339:            :
                   9340:          else
                   9341:            cat <<_LT_EOF 1>&2
                   9342: 
                   9343: *** Warning: the command libtool uses to detect shared libraries,
                   9344: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   9345: *** The result is that libtool may fail to recognize shared libraries
                   9346: *** as such.  This will affect the creation of libtool libraries that
                   9347: *** depend on shared libraries, but programs linked with such libtool
                   9348: *** libraries will work regardless of this problem.  Nevertheless, you
                   9349: *** may want to report the problem to your system manager and/or to
                   9350: *** bug-libtool@gnu.org
                   9351: 
                   9352: _LT_EOF
                   9353:          fi ;;
                   9354:        esac
                   9355:       fi
                   9356:       break
                   9357:     fi
                   9358:   done
                   9359:   IFS="$lt_save_ifs"
                   9360:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   9361:   ;;
                   9362: esac
                   9363: fi
                   9364: 
                   9365: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9366: if test -n "$MAGIC_CMD"; then
1.150     moko     9367:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   9368: $as_echo "$MAGIC_CMD" >&6; }
1.128     moko     9369: else
1.150     moko     9370:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9371: $as_echo "no" >&6; }
1.128     moko     9372: fi
                   9373: 
                   9374: 
                   9375:   else
                   9376:     MAGIC_CMD=:
                   9377:   fi
                   9378: fi
                   9379: 
                   9380:   fi
                   9381:   ;;
                   9382: esac
                   9383: 
                   9384: # Use C for the default configuration in the libtool script
                   9385: 
                   9386: lt_save_CC="$CC"
                   9387: ac_ext=c
                   9388: ac_cpp='$CPP $CPPFLAGS'
                   9389: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   9390: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   9391: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   9392: 
                   9393: 
                   9394: # Source file extension for C test sources.
                   9395: ac_ext=c
                   9396: 
                   9397: # Object file extension for compiled C test sources.
                   9398: objext=o
                   9399: objext=$objext
                   9400: 
                   9401: # Code to be used in simple compile tests
                   9402: lt_simple_compile_test_code="int some_variable = 0;"
                   9403: 
                   9404: # Code to be used in simple link tests
                   9405: lt_simple_link_test_code='int main(){return(0);}'
                   9406: 
                   9407: 
                   9408: 
                   9409: 
                   9410: 
                   9411: 
                   9412: 
                   9413: # If no C compiler was specified, use CC.
                   9414: LTCC=${LTCC-"$CC"}
                   9415: 
                   9416: # If no C compiler flags were specified, use CFLAGS.
                   9417: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   9418: 
                   9419: # Allow CC to be a program name with arguments.
                   9420: compiler=$CC
                   9421: 
                   9422: # Save the default compiler, since it gets overwritten when the other
                   9423: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
                   9424: compiler_DEFAULT=$CC
                   9425: 
                   9426: # save warnings/boilerplate of simple test code
                   9427: ac_outfile=conftest.$ac_objext
                   9428: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   9429: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   9430: _lt_compiler_boilerplate=`cat conftest.err`
                   9431: $RM conftest*
                   9432: 
                   9433: ac_outfile=conftest.$ac_objext
                   9434: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   9435: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   9436: _lt_linker_boilerplate=`cat conftest.err`
                   9437: $RM -r conftest*
                   9438: 
                   9439: 
                   9440: ## CAVEAT EMPTOR:
                   9441: ## There is no encapsulation within the following macros, do not change
                   9442: ## the running order or otherwise move them around unless you know exactly
                   9443: ## what you are doing...
                   9444: if test -n "$compiler"; then
                   9445: 
                   9446: lt_prog_compiler_no_builtin_flag=
                   9447: 
                   9448: if test "$GCC" = yes; then
                   9449:   case $cc_basename in
                   9450:   nvcc*)
                   9451:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
                   9452:   *)
                   9453:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
                   9454:   esac
                   9455: 
1.150     moko     9456:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
                   9457: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
                   9458: if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
                   9459:   $as_echo_n "(cached) " >&6
1.128     moko     9460: else
                   9461:   lt_cv_prog_compiler_rtti_exceptions=no
                   9462:    ac_outfile=conftest.$ac_objext
                   9463:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9464:    lt_compiler_flag="-fno-rtti -fno-exceptions"
                   9465:    # Insert the option either (1) after the last *FLAGS variable, or
                   9466:    # (2) before a word containing "conftest.", or (3) at the end.
                   9467:    # Note that $ac_compile itself does not contain backslashes and begins
                   9468:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9469:    # The option is referenced via a variable to avoid confusing sed.
                   9470:    lt_compile=`echo "$ac_compile" | $SED \
                   9471:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9472:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9473:    -e 's:$: $lt_compiler_flag:'`
                   9474:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9475:    (eval "$lt_compile" 2>conftest.err)
                   9476:    ac_status=$?
                   9477:    cat conftest.err >&5
                   9478:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9479:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   9480:      # The compiler can only warn and ignore the option if not recognized
                   9481:      # So say no if there are warnings other than the usual output.
                   9482:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   9483:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9484:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   9485:        lt_cv_prog_compiler_rtti_exceptions=yes
                   9486:      fi
                   9487:    fi
                   9488:    $RM conftest*
                   9489: 
                   9490: fi
1.150     moko     9491: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
                   9492: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
1.128     moko     9493: 
                   9494: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
                   9495:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
                   9496: else
                   9497:     :
                   9498: fi
                   9499: 
                   9500: fi
                   9501: 
                   9502: 
                   9503: 
                   9504: 
                   9505: 
                   9506: 
                   9507:   lt_prog_compiler_wl=
                   9508: lt_prog_compiler_pic=
                   9509: lt_prog_compiler_static=
                   9510: 
                   9511: 
                   9512:   if test "$GCC" = yes; then
                   9513:     lt_prog_compiler_wl='-Wl,'
                   9514:     lt_prog_compiler_static='-static'
                   9515: 
                   9516:     case $host_os in
                   9517:       aix*)
                   9518:       # All AIX code is PIC.
                   9519:       if test "$host_cpu" = ia64; then
                   9520:        # AIX 5 now supports IA64 processor
                   9521:        lt_prog_compiler_static='-Bstatic'
                   9522:       fi
                   9523:       ;;
                   9524: 
                   9525:     amigaos*)
                   9526:       case $host_cpu in
                   9527:       powerpc)
                   9528:             # see comment about AmigaOS4 .so support
                   9529:             lt_prog_compiler_pic='-fPIC'
                   9530:         ;;
                   9531:       m68k)
                   9532:             # FIXME: we need at least 68020 code to build shared libraries, but
                   9533:             # adding the `-m68020' flag to GCC prevents building anything better,
                   9534:             # like `-m68040'.
                   9535:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
                   9536:         ;;
                   9537:       esac
                   9538:       ;;
                   9539: 
                   9540:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   9541:       # PIC is the default for these OSes.
                   9542:       ;;
                   9543: 
                   9544:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   9545:       # This hack is so that the source file can tell whether it is being
                   9546:       # built for inclusion in a dll (and should export symbols for example).
                   9547:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   9548:       # (--disable-auto-import) libraries
                   9549:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   9550:       ;;
                   9551: 
                   9552:     darwin* | rhapsody*)
                   9553:       # PIC is the default on this platform
                   9554:       # Common symbols not allowed in MH_DYLIB files
                   9555:       lt_prog_compiler_pic='-fno-common'
                   9556:       ;;
                   9557: 
                   9558:     haiku*)
                   9559:       # PIC is the default for Haiku.
                   9560:       # The "-static" flag exists, but is broken.
                   9561:       lt_prog_compiler_static=
                   9562:       ;;
                   9563: 
                   9564:     hpux*)
                   9565:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   9566:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   9567:       # sets the default TLS model and affects inlining.
                   9568:       case $host_cpu in
                   9569:       hppa*64*)
                   9570:        # +Z the default
                   9571:        ;;
                   9572:       *)
                   9573:        lt_prog_compiler_pic='-fPIC'
                   9574:        ;;
                   9575:       esac
                   9576:       ;;
                   9577: 
                   9578:     interix[3-9]*)
                   9579:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   9580:       # Instead, we relocate shared libraries at runtime.
                   9581:       ;;
                   9582: 
                   9583:     msdosdjgpp*)
                   9584:       # Just because we use GCC doesn't mean we suddenly get shared libraries
                   9585:       # on systems that don't support them.
                   9586:       lt_prog_compiler_can_build_shared=no
                   9587:       enable_shared=no
                   9588:       ;;
                   9589: 
                   9590:     *nto* | *qnx*)
                   9591:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   9592:       # it will coredump.
                   9593:       lt_prog_compiler_pic='-fPIC -shared'
                   9594:       ;;
                   9595: 
                   9596:     sysv4*MP*)
                   9597:       if test -d /usr/nec; then
                   9598:        lt_prog_compiler_pic=-Kconform_pic
                   9599:       fi
                   9600:       ;;
                   9601: 
                   9602:     *)
                   9603:       lt_prog_compiler_pic='-fPIC'
                   9604:       ;;
                   9605:     esac
                   9606: 
                   9607:     case $cc_basename in
                   9608:     nvcc*) # Cuda Compiler Driver 2.2
                   9609:       lt_prog_compiler_wl='-Xlinker '
                   9610:       if test -n "$lt_prog_compiler_pic"; then
                   9611:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
                   9612:       fi
                   9613:       ;;
                   9614:     esac
                   9615:   else
                   9616:     # PORTME Check for flag to pass linker flags through the system compiler.
                   9617:     case $host_os in
                   9618:     aix*)
                   9619:       lt_prog_compiler_wl='-Wl,'
                   9620:       if test "$host_cpu" = ia64; then
                   9621:        # AIX 5 now supports IA64 processor
                   9622:        lt_prog_compiler_static='-Bstatic'
                   9623:       else
                   9624:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
                   9625:       fi
                   9626:       ;;
                   9627: 
                   9628:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   9629:       # This hack is so that the source file can tell whether it is being
                   9630:       # built for inclusion in a dll (and should export symbols for example).
                   9631:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   9632:       ;;
                   9633: 
                   9634:     hpux9* | hpux10* | hpux11*)
                   9635:       lt_prog_compiler_wl='-Wl,'
                   9636:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
                   9637:       # not for PA HP-UX.
                   9638:       case $host_cpu in
                   9639:       hppa*64*|ia64*)
                   9640:        # +Z the default
                   9641:        ;;
                   9642:       *)
                   9643:        lt_prog_compiler_pic='+Z'
                   9644:        ;;
                   9645:       esac
                   9646:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
                   9647:       lt_prog_compiler_static='${wl}-a ${wl}archive'
                   9648:       ;;
                   9649: 
                   9650:     irix5* | irix6* | nonstopux*)
                   9651:       lt_prog_compiler_wl='-Wl,'
                   9652:       # PIC (with -KPIC) is the default.
                   9653:       lt_prog_compiler_static='-non_shared'
                   9654:       ;;
                   9655: 
                   9656:     linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   9657:       case $cc_basename in
                   9658:       # old Intel for x86_64 which still supported -KPIC.
                   9659:       ecc*)
                   9660:        lt_prog_compiler_wl='-Wl,'
                   9661:        lt_prog_compiler_pic='-KPIC'
                   9662:        lt_prog_compiler_static='-static'
                   9663:         ;;
                   9664:       # icc used to be incompatible with GCC.
                   9665:       # ICC 10 doesn't accept -KPIC any more.
                   9666:       icc* | ifort*)
                   9667:        lt_prog_compiler_wl='-Wl,'
                   9668:        lt_prog_compiler_pic='-fPIC'
                   9669:        lt_prog_compiler_static='-static'
                   9670:         ;;
                   9671:       # Lahey Fortran 8.1.
                   9672:       lf95*)
                   9673:        lt_prog_compiler_wl='-Wl,'
                   9674:        lt_prog_compiler_pic='--shared'
                   9675:        lt_prog_compiler_static='--static'
                   9676:        ;;
                   9677:       nagfor*)
                   9678:        # NAG Fortran compiler
                   9679:        lt_prog_compiler_wl='-Wl,-Wl,,'
                   9680:        lt_prog_compiler_pic='-PIC'
                   9681:        lt_prog_compiler_static='-Bstatic'
                   9682:        ;;
                   9683:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
                   9684:         # Portland Group compilers (*not* the Pentium gcc compiler,
                   9685:        # which looks to be a dead project)
                   9686:        lt_prog_compiler_wl='-Wl,'
                   9687:        lt_prog_compiler_pic='-fpic'
                   9688:        lt_prog_compiler_static='-Bstatic'
                   9689:         ;;
                   9690:       ccc*)
                   9691:         lt_prog_compiler_wl='-Wl,'
                   9692:         # All Alpha code is PIC.
                   9693:         lt_prog_compiler_static='-non_shared'
                   9694:         ;;
                   9695:       xl* | bgxl* | bgf* | mpixl*)
                   9696:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
                   9697:        lt_prog_compiler_wl='-Wl,'
                   9698:        lt_prog_compiler_pic='-qpic'
                   9699:        lt_prog_compiler_static='-qstaticlink'
                   9700:        ;;
                   9701:       *)
                   9702:        case `$CC -V 2>&1 | sed 5q` in
                   9703:        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
                   9704:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
                   9705:          lt_prog_compiler_pic='-KPIC'
                   9706:          lt_prog_compiler_static='-Bstatic'
                   9707:          lt_prog_compiler_wl=''
                   9708:          ;;
                   9709:        *Sun\ F* | *Sun*Fortran*)
                   9710:          lt_prog_compiler_pic='-KPIC'
                   9711:          lt_prog_compiler_static='-Bstatic'
                   9712:          lt_prog_compiler_wl='-Qoption ld '
                   9713:          ;;
                   9714:        *Sun\ C*)
                   9715:          # Sun C 5.9
                   9716:          lt_prog_compiler_pic='-KPIC'
                   9717:          lt_prog_compiler_static='-Bstatic'
                   9718:          lt_prog_compiler_wl='-Wl,'
                   9719:          ;;
                   9720:         *Intel*\ [CF]*Compiler*)
                   9721:          lt_prog_compiler_wl='-Wl,'
                   9722:          lt_prog_compiler_pic='-fPIC'
                   9723:          lt_prog_compiler_static='-static'
                   9724:          ;;
                   9725:        *Portland\ Group*)
                   9726:          lt_prog_compiler_wl='-Wl,'
                   9727:          lt_prog_compiler_pic='-fpic'
                   9728:          lt_prog_compiler_static='-Bstatic'
                   9729:          ;;
                   9730:        esac
                   9731:        ;;
                   9732:       esac
                   9733:       ;;
                   9734: 
                   9735:     newsos6)
                   9736:       lt_prog_compiler_pic='-KPIC'
                   9737:       lt_prog_compiler_static='-Bstatic'
                   9738:       ;;
                   9739: 
                   9740:     *nto* | *qnx*)
                   9741:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   9742:       # it will coredump.
                   9743:       lt_prog_compiler_pic='-fPIC -shared'
                   9744:       ;;
                   9745: 
                   9746:     osf3* | osf4* | osf5*)
                   9747:       lt_prog_compiler_wl='-Wl,'
                   9748:       # All OSF/1 code is PIC.
                   9749:       lt_prog_compiler_static='-non_shared'
                   9750:       ;;
                   9751: 
                   9752:     rdos*)
                   9753:       lt_prog_compiler_static='-non_shared'
                   9754:       ;;
                   9755: 
                   9756:     solaris*)
                   9757:       lt_prog_compiler_pic='-KPIC'
                   9758:       lt_prog_compiler_static='-Bstatic'
                   9759:       case $cc_basename in
                   9760:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
                   9761:        lt_prog_compiler_wl='-Qoption ld ';;
                   9762:       *)
                   9763:        lt_prog_compiler_wl='-Wl,';;
                   9764:       esac
                   9765:       ;;
                   9766: 
                   9767:     sunos4*)
                   9768:       lt_prog_compiler_wl='-Qoption ld '
                   9769:       lt_prog_compiler_pic='-PIC'
                   9770:       lt_prog_compiler_static='-Bstatic'
                   9771:       ;;
                   9772: 
                   9773:     sysv4 | sysv4.2uw2* | sysv4.3*)
                   9774:       lt_prog_compiler_wl='-Wl,'
                   9775:       lt_prog_compiler_pic='-KPIC'
                   9776:       lt_prog_compiler_static='-Bstatic'
                   9777:       ;;
                   9778: 
                   9779:     sysv4*MP*)
                   9780:       if test -d /usr/nec ;then
                   9781:        lt_prog_compiler_pic='-Kconform_pic'
                   9782:        lt_prog_compiler_static='-Bstatic'
                   9783:       fi
                   9784:       ;;
                   9785: 
                   9786:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   9787:       lt_prog_compiler_wl='-Wl,'
                   9788:       lt_prog_compiler_pic='-KPIC'
                   9789:       lt_prog_compiler_static='-Bstatic'
                   9790:       ;;
                   9791: 
                   9792:     unicos*)
                   9793:       lt_prog_compiler_wl='-Wl,'
                   9794:       lt_prog_compiler_can_build_shared=no
                   9795:       ;;
                   9796: 
                   9797:     uts4*)
                   9798:       lt_prog_compiler_pic='-pic'
                   9799:       lt_prog_compiler_static='-Bstatic'
                   9800:       ;;
                   9801: 
                   9802:     *)
                   9803:       lt_prog_compiler_can_build_shared=no
                   9804:       ;;
                   9805:     esac
                   9806:   fi
                   9807: 
                   9808: case $host_os in
                   9809:   # For platforms which do not support PIC, -DPIC is meaningless:
                   9810:   *djgpp*)
                   9811:     lt_prog_compiler_pic=
                   9812:     ;;
                   9813:   *)
                   9814:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
                   9815:     ;;
                   9816: esac
                   9817: 
1.150     moko     9818: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   9819: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
                   9820: if ${lt_cv_prog_compiler_pic+:} false; then :
                   9821:   $as_echo_n "(cached) " >&6
1.128     moko     9822: else
                   9823:   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
                   9824: fi
1.150     moko     9825: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
                   9826: $as_echo "$lt_cv_prog_compiler_pic" >&6; }
1.128     moko     9827: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
                   9828: 
                   9829: #
                   9830: # Check to make sure the PIC flag actually works.
                   9831: #
                   9832: if test -n "$lt_prog_compiler_pic"; then
1.150     moko     9833:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
                   9834: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
                   9835: if ${lt_cv_prog_compiler_pic_works+:} false; then :
                   9836:   $as_echo_n "(cached) " >&6
1.128     moko     9837: else
                   9838:   lt_cv_prog_compiler_pic_works=no
                   9839:    ac_outfile=conftest.$ac_objext
                   9840:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9841:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
                   9842:    # Insert the option either (1) after the last *FLAGS variable, or
                   9843:    # (2) before a word containing "conftest.", or (3) at the end.
                   9844:    # Note that $ac_compile itself does not contain backslashes and begins
                   9845:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9846:    # The option is referenced via a variable to avoid confusing sed.
                   9847:    lt_compile=`echo "$ac_compile" | $SED \
                   9848:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9849:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9850:    -e 's:$: $lt_compiler_flag:'`
                   9851:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9852:    (eval "$lt_compile" 2>conftest.err)
                   9853:    ac_status=$?
                   9854:    cat conftest.err >&5
                   9855:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9856:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   9857:      # The compiler can only warn and ignore the option if not recognized
                   9858:      # So say no if there are warnings other than the usual output.
                   9859:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   9860:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9861:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   9862:        lt_cv_prog_compiler_pic_works=yes
                   9863:      fi
                   9864:    fi
                   9865:    $RM conftest*
                   9866: 
                   9867: fi
1.150     moko     9868: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
                   9869: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
1.128     moko     9870: 
                   9871: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
                   9872:     case $lt_prog_compiler_pic in
                   9873:      "" | " "*) ;;
                   9874:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
                   9875:      esac
                   9876: else
                   9877:     lt_prog_compiler_pic=
                   9878:      lt_prog_compiler_can_build_shared=no
                   9879: fi
                   9880: 
                   9881: fi
                   9882: 
                   9883: 
                   9884: 
                   9885: 
                   9886: 
                   9887: 
                   9888: 
                   9889: 
                   9890: 
                   9891: 
                   9892: 
                   9893: #
                   9894: # Check to make sure the static flag actually works.
                   9895: #
                   9896: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
1.150     moko     9897: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   9898: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   9899: if ${lt_cv_prog_compiler_static_works+:} false; then :
                   9900:   $as_echo_n "(cached) " >&6
1.128     moko     9901: else
                   9902:   lt_cv_prog_compiler_static_works=no
                   9903:    save_LDFLAGS="$LDFLAGS"
                   9904:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   9905:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   9906:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   9907:      # The linker can only warn and ignore the option if not recognized
                   9908:      # So say no if there are warnings
                   9909:      if test -s conftest.err; then
                   9910:        # Append any errors to the config.log.
                   9911:        cat conftest.err 1>&5
                   9912:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   9913:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9914:        if diff conftest.exp conftest.er2 >/dev/null; then
                   9915:          lt_cv_prog_compiler_static_works=yes
                   9916:        fi
                   9917:      else
                   9918:        lt_cv_prog_compiler_static_works=yes
                   9919:      fi
                   9920:    fi
                   9921:    $RM -r conftest*
                   9922:    LDFLAGS="$save_LDFLAGS"
                   9923: 
                   9924: fi
1.150     moko     9925: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
                   9926: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
1.128     moko     9927: 
                   9928: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
                   9929:     :
                   9930: else
                   9931:     lt_prog_compiler_static=
                   9932: fi
                   9933: 
                   9934: 
                   9935: 
                   9936: 
                   9937: 
                   9938: 
                   9939: 
1.150     moko     9940:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   9941: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   9942: if ${lt_cv_prog_compiler_c_o+:} false; then :
                   9943:   $as_echo_n "(cached) " >&6
1.128     moko     9944: else
                   9945:   lt_cv_prog_compiler_c_o=no
                   9946:    $RM -r conftest 2>/dev/null
                   9947:    mkdir conftest
                   9948:    cd conftest
                   9949:    mkdir out
                   9950:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9951: 
                   9952:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   9953:    # Insert the option either (1) after the last *FLAGS variable, or
                   9954:    # (2) before a word containing "conftest.", or (3) at the end.
                   9955:    # Note that $ac_compile itself does not contain backslashes and begins
                   9956:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9957:    lt_compile=`echo "$ac_compile" | $SED \
                   9958:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9959:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9960:    -e 's:$: $lt_compiler_flag:'`
                   9961:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9962:    (eval "$lt_compile" 2>out/conftest.err)
                   9963:    ac_status=$?
                   9964:    cat out/conftest.err >&5
                   9965:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9966:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   9967:    then
                   9968:      # The compiler can only warn and ignore the option if not recognized
                   9969:      # So say no if there are warnings
                   9970:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   9971:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   9972:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   9973:        lt_cv_prog_compiler_c_o=yes
                   9974:      fi
                   9975:    fi
                   9976:    chmod u+w . 2>&5
                   9977:    $RM conftest*
                   9978:    # SGI C++ compiler will create directory out/ii_files/ for
                   9979:    # template instantiation
                   9980:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   9981:    $RM out/* && rmdir out
                   9982:    cd ..
                   9983:    $RM -r conftest
                   9984:    $RM conftest*
                   9985: 
                   9986: fi
1.150     moko     9987: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   9988: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
1.128     moko     9989: 
                   9990: 
                   9991: 
                   9992: 
                   9993: 
                   9994: 
1.150     moko     9995:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   9996: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   9997: if ${lt_cv_prog_compiler_c_o+:} false; then :
                   9998:   $as_echo_n "(cached) " >&6
1.128     moko     9999: else
                   10000:   lt_cv_prog_compiler_c_o=no
                   10001:    $RM -r conftest 2>/dev/null
                   10002:    mkdir conftest
                   10003:    cd conftest
                   10004:    mkdir out
                   10005:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   10006: 
                   10007:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   10008:    # Insert the option either (1) after the last *FLAGS variable, or
                   10009:    # (2) before a word containing "conftest.", or (3) at the end.
                   10010:    # Note that $ac_compile itself does not contain backslashes and begins
                   10011:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   10012:    lt_compile=`echo "$ac_compile" | $SED \
                   10013:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   10014:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   10015:    -e 's:$: $lt_compiler_flag:'`
                   10016:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   10017:    (eval "$lt_compile" 2>out/conftest.err)
                   10018:    ac_status=$?
                   10019:    cat out/conftest.err >&5
                   10020:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10021:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   10022:    then
                   10023:      # The compiler can only warn and ignore the option if not recognized
                   10024:      # So say no if there are warnings
                   10025:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   10026:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   10027:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   10028:        lt_cv_prog_compiler_c_o=yes
                   10029:      fi
                   10030:    fi
                   10031:    chmod u+w . 2>&5
                   10032:    $RM conftest*
                   10033:    # SGI C++ compiler will create directory out/ii_files/ for
                   10034:    # template instantiation
                   10035:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   10036:    $RM out/* && rmdir out
                   10037:    cd ..
                   10038:    $RM -r conftest
                   10039:    $RM conftest*
                   10040: 
                   10041: fi
1.150     moko     10042: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   10043: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
1.128     moko     10044: 
                   10045: 
                   10046: 
                   10047: 
                   10048: hard_links="nottested"
                   10049: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
                   10050:   # do not overwrite the value of need_locks provided by the user
1.150     moko     10051:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   10052: $as_echo_n "checking if we can lock with hard links... " >&6; }
1.128     moko     10053:   hard_links=yes
                   10054:   $RM conftest*
                   10055:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   10056:   touch conftest.a
                   10057:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   10058:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.150     moko     10059:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   10060: $as_echo "$hard_links" >&6; }
1.128     moko     10061:   if test "$hard_links" = no; then
1.150     moko     10062:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   10063: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.128     moko     10064:     need_locks=warn
                   10065:   fi
                   10066: else
                   10067:   need_locks=no
                   10068: fi
                   10069: 
                   10070: 
                   10071: 
                   10072: 
                   10073: 
                   10074: 
1.150     moko     10075:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   10076: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     10077: 
                   10078:   runpath_var=
                   10079:   allow_undefined_flag=
                   10080:   always_export_symbols=no
                   10081:   archive_cmds=
                   10082:   archive_expsym_cmds=
                   10083:   compiler_needs_object=no
                   10084:   enable_shared_with_static_runtimes=no
                   10085:   export_dynamic_flag_spec=
                   10086:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   10087:   hardcode_automatic=no
                   10088:   hardcode_direct=no
                   10089:   hardcode_direct_absolute=no
                   10090:   hardcode_libdir_flag_spec=
                   10091:   hardcode_libdir_separator=
                   10092:   hardcode_minus_L=no
                   10093:   hardcode_shlibpath_var=unsupported
                   10094:   inherit_rpath=no
                   10095:   link_all_deplibs=unknown
                   10096:   module_cmds=
                   10097:   module_expsym_cmds=
                   10098:   old_archive_from_new_cmds=
                   10099:   old_archive_from_expsyms_cmds=
                   10100:   thread_safe_flag_spec=
                   10101:   whole_archive_flag_spec=
                   10102:   # include_expsyms should be a list of space-separated symbols to be *always*
                   10103:   # included in the symbol list
                   10104:   include_expsyms=
                   10105:   # exclude_expsyms can be an extended regexp of symbols to exclude
                   10106:   # it will be wrapped by ` (' and `)$', so one must not match beginning or
                   10107:   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
                   10108:   # as well as any symbol that contains `d'.
                   10109:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   10110:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   10111:   # platforms (ab)use it in PIC code, but their linkers get confused if
                   10112:   # the symbol is explicitly referenced.  Since portable code cannot
                   10113:   # rely on this symbol name, it's probably fine to never include it in
                   10114:   # preloaded symbol tables.
                   10115:   # Exclude shared library initialization/finalization symbols.
                   10116:   extract_expsyms_cmds=
                   10117: 
                   10118:   case $host_os in
                   10119:   cygwin* | mingw* | pw32* | cegcc*)
                   10120:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
                   10121:     # When not using gcc, we currently assume that we are using
                   10122:     # Microsoft Visual C++.
                   10123:     if test "$GCC" != yes; then
                   10124:       with_gnu_ld=no
                   10125:     fi
                   10126:     ;;
                   10127:   interix*)
                   10128:     # we just hope/assume this is gcc and not c89 (= MSVC++)
                   10129:     with_gnu_ld=yes
                   10130:     ;;
                   10131:   openbsd*)
                   10132:     with_gnu_ld=no
                   10133:     ;;
                   10134:   esac
                   10135: 
                   10136:   ld_shlibs=yes
                   10137: 
                   10138:   # On some targets, GNU ld is compatible enough with the native linker
                   10139:   # that we're better off using the native interface for both.
                   10140:   lt_use_gnu_ld_interface=no
                   10141:   if test "$with_gnu_ld" = yes; then
                   10142:     case $host_os in
                   10143:       aix*)
                   10144:        # The AIX port of GNU ld has always aspired to compatibility
                   10145:        # with the native linker.  However, as the warning in the GNU ld
                   10146:        # block says, versions before 2.19.5* couldn't really create working
                   10147:        # shared libraries, regardless of the interface used.
                   10148:        case `$LD -v 2>&1` in
                   10149:          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
                   10150:          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
                   10151:          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
                   10152:          *)
                   10153:            lt_use_gnu_ld_interface=yes
                   10154:            ;;
                   10155:        esac
                   10156:        ;;
                   10157:       *)
                   10158:        lt_use_gnu_ld_interface=yes
                   10159:        ;;
                   10160:     esac
                   10161:   fi
                   10162: 
                   10163:   if test "$lt_use_gnu_ld_interface" = yes; then
                   10164:     # If archive_cmds runs LD, not CC, wlarc should be empty
                   10165:     wlarc='${wl}'
                   10166: 
                   10167:     # Set some defaults for GNU ld with shared library support. These
                   10168:     # are reset later if shared libraries are not supported. Putting them
                   10169:     # here allows them to be overridden if necessary.
                   10170:     runpath_var=LD_RUN_PATH
                   10171:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10172:     export_dynamic_flag_spec='${wl}--export-dynamic'
                   10173:     # ancient GNU ld didn't support --whole-archive et. al.
                   10174:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
                   10175:       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   10176:     else
                   10177:       whole_archive_flag_spec=
                   10178:     fi
                   10179:     supports_anon_versioning=no
                   10180:     case `$LD -v 2>&1` in
                   10181:       *GNU\ gold*) supports_anon_versioning=yes ;;
                   10182:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
                   10183:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
                   10184:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
                   10185:       *\ 2.11.*) ;; # other 2.11 versions
                   10186:       *) supports_anon_versioning=yes ;;
                   10187:     esac
                   10188: 
                   10189:     # See if GNU ld supports shared libraries.
                   10190:     case $host_os in
                   10191:     aix[3-9]*)
                   10192:       # On AIX/PPC, the GNU linker is very broken
                   10193:       if test "$host_cpu" != ia64; then
                   10194:        ld_shlibs=no
                   10195:        cat <<_LT_EOF 1>&2
                   10196: 
                   10197: *** Warning: the GNU linker, at least up to release 2.19, is reported
                   10198: *** to be unable to reliably create shared libraries on AIX.
                   10199: *** Therefore, libtool is disabling shared libraries support.  If you
                   10200: *** really care for shared libraries, you may want to install binutils
                   10201: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
                   10202: *** You will then need to restart the configuration process.
                   10203: 
                   10204: _LT_EOF
                   10205:       fi
                   10206:       ;;
                   10207: 
                   10208:     amigaos*)
                   10209:       case $host_cpu in
                   10210:       powerpc)
                   10211:             # see comment about AmigaOS4 .so support
                   10212:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10213:             archive_expsym_cmds=''
                   10214:         ;;
                   10215:       m68k)
                   10216:             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)'
                   10217:             hardcode_libdir_flag_spec='-L$libdir'
                   10218:             hardcode_minus_L=yes
                   10219:         ;;
                   10220:       esac
                   10221:       ;;
                   10222: 
                   10223:     beos*)
                   10224:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10225:        allow_undefined_flag=unsupported
                   10226:        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   10227:        # support --undefined.  This deserves some investigation.  FIXME
                   10228:        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10229:       else
                   10230:        ld_shlibs=no
                   10231:       fi
                   10232:       ;;
                   10233: 
                   10234:     cygwin* | mingw* | pw32* | cegcc*)
                   10235:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
                   10236:       # as there is no search path for DLLs.
                   10237:       hardcode_libdir_flag_spec='-L$libdir'
                   10238:       export_dynamic_flag_spec='${wl}--export-all-symbols'
                   10239:       allow_undefined_flag=unsupported
                   10240:       always_export_symbols=no
                   10241:       enable_shared_with_static_runtimes=yes
                   10242:       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'
                   10243:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   10244: 
                   10245:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   10246:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   10247:        # If the export-symbols file already is a .def file (1st line
                   10248:        # is EXPORTS), use it as is; otherwise, prepend...
                   10249:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   10250:          cp $export_symbols $output_objdir/$soname.def;
                   10251:        else
                   10252:          echo EXPORTS > $output_objdir/$soname.def;
                   10253:          cat $export_symbols >> $output_objdir/$soname.def;
                   10254:        fi~
                   10255:        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   10256:       else
                   10257:        ld_shlibs=no
                   10258:       fi
                   10259:       ;;
                   10260: 
                   10261:     haiku*)
                   10262:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10263:       link_all_deplibs=yes
                   10264:       ;;
                   10265: 
                   10266:     interix[3-9]*)
                   10267:       hardcode_direct=no
                   10268:       hardcode_shlibpath_var=no
                   10269:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   10270:       export_dynamic_flag_spec='${wl}-E'
                   10271:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   10272:       # Instead, shared libraries are loaded at an image base (0x10000000 by
                   10273:       # default) and relocated if they conflict, which is a slow very memory
                   10274:       # consuming and fragmenting process.  To avoid this, we pick a random,
                   10275:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   10276:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   10277:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   10278:       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'
                   10279:       ;;
                   10280: 
                   10281:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
                   10282:       tmp_diet=no
                   10283:       if test "$host_os" = linux-dietlibc; then
                   10284:        case $cc_basename in
                   10285:          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
                   10286:        esac
                   10287:       fi
                   10288:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
                   10289:         && test "$tmp_diet" = no
                   10290:       then
                   10291:        tmp_addflag=' $pic_flag'
                   10292:        tmp_sharedflag='-shared'
                   10293:        case $cc_basename,$host_cpu in
                   10294:         pgcc*)                         # Portland Group C compiler
                   10295:          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'
                   10296:          tmp_addflag=' $pic_flag'
                   10297:          ;;
                   10298:        pgf77* | pgf90* | pgf95* | pgfortran*)
                   10299:                                        # Portland Group f77 and f90 compilers
                   10300:          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'
                   10301:          tmp_addflag=' $pic_flag -Mnomain' ;;
                   10302:        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
                   10303:          tmp_addflag=' -i_dynamic' ;;
                   10304:        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
                   10305:          tmp_addflag=' -i_dynamic -nofor_main' ;;
                   10306:        ifc* | ifort*)                  # Intel Fortran compiler
                   10307:          tmp_addflag=' -nofor_main' ;;
                   10308:        lf95*)                          # Lahey Fortran 8.1
                   10309:          whole_archive_flag_spec=
                   10310:          tmp_sharedflag='--shared' ;;
                   10311:        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
                   10312:          tmp_sharedflag='-qmkshrobj'
                   10313:          tmp_addflag= ;;
                   10314:        nvcc*)  # Cuda Compiler Driver 2.2
                   10315:          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'
                   10316:          compiler_needs_object=yes
                   10317:          ;;
                   10318:        esac
                   10319:        case `$CC -V 2>&1 | sed 5q` in
                   10320:        *Sun\ C*)                       # Sun C 5.9
                   10321:          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'
                   10322:          compiler_needs_object=yes
                   10323:          tmp_sharedflag='-G' ;;
                   10324:        *Sun\ F*)                       # Sun Fortran 8.3
                   10325:          tmp_sharedflag='-G' ;;
                   10326:        esac
                   10327:        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10328: 
                   10329:         if test "x$supports_anon_versioning" = xyes; then
                   10330:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   10331:            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   10332:            echo "local: *; };" >> $output_objdir/$libname.ver~
                   10333:            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   10334:         fi
                   10335: 
                   10336:        case $cc_basename in
                   10337:        xlf* | bgf* | bgxlf* | mpixlf*)
                   10338:          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
                   10339:          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
                   10340:          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10341:          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
                   10342:          if test "x$supports_anon_versioning" = xyes; then
                   10343:            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   10344:              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   10345:              echo "local: *; };" >> $output_objdir/$libname.ver~
                   10346:              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
                   10347:          fi
                   10348:          ;;
                   10349:        esac
                   10350:       else
                   10351:         ld_shlibs=no
                   10352:       fi
                   10353:       ;;
                   10354: 
                   10355:     netbsd*)
                   10356:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   10357:        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   10358:        wlarc=
                   10359:       else
                   10360:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10361:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10362:       fi
                   10363:       ;;
                   10364: 
                   10365:     solaris*)
                   10366:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
                   10367:        ld_shlibs=no
                   10368:        cat <<_LT_EOF 1>&2
                   10369: 
                   10370: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   10371: *** create shared libraries on Solaris systems.  Therefore, libtool
                   10372: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   10373: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   10374: *** your PATH or compiler configuration so that the native linker is
                   10375: *** used, and then restart.
                   10376: 
                   10377: _LT_EOF
                   10378:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10379:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10380:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10381:       else
                   10382:        ld_shlibs=no
                   10383:       fi
                   10384:       ;;
                   10385: 
                   10386:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
                   10387:       case `$LD -v 2>&1` in
                   10388:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
                   10389:        ld_shlibs=no
                   10390:        cat <<_LT_EOF 1>&2
                   10391: 
                   10392: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
                   10393: *** reliably create shared libraries on SCO systems.  Therefore, libtool
                   10394: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   10395: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
                   10396: *** your PATH or compiler configuration so that the native linker is
                   10397: *** used, and then restart.
                   10398: 
                   10399: _LT_EOF
                   10400:        ;;
                   10401:        *)
                   10402:          # For security reasons, it is highly recommended that you always
                   10403:          # use absolute paths for naming shared libraries, and exclude the
                   10404:          # DT_RUNPATH tag from executables and libraries.  But doing so
                   10405:          # requires that you compile everything twice, which is a pain.
                   10406:          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10407:            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10408:            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10409:            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10410:          else
                   10411:            ld_shlibs=no
                   10412:          fi
                   10413:        ;;
                   10414:       esac
                   10415:       ;;
                   10416: 
                   10417:     sunos4*)
                   10418:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   10419:       wlarc=
                   10420:       hardcode_direct=yes
                   10421:       hardcode_shlibpath_var=no
                   10422:       ;;
                   10423: 
                   10424:     *)
                   10425:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10426:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10427:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10428:       else
                   10429:        ld_shlibs=no
                   10430:       fi
                   10431:       ;;
                   10432:     esac
                   10433: 
                   10434:     if test "$ld_shlibs" = no; then
                   10435:       runpath_var=
                   10436:       hardcode_libdir_flag_spec=
                   10437:       export_dynamic_flag_spec=
                   10438:       whole_archive_flag_spec=
                   10439:     fi
                   10440:   else
                   10441:     # PORTME fill in a description of your system's linker (not GNU ld)
                   10442:     case $host_os in
                   10443:     aix3*)
                   10444:       allow_undefined_flag=unsupported
                   10445:       always_export_symbols=yes
                   10446:       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'
                   10447:       # Note: this linker hardcodes the directories in LIBPATH if there
                   10448:       # are no directories specified by -L.
                   10449:       hardcode_minus_L=yes
                   10450:       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
                   10451:        # Neither direct hardcoding nor static linking is supported with a
                   10452:        # broken collect2.
                   10453:        hardcode_direct=unsupported
                   10454:       fi
                   10455:       ;;
                   10456: 
                   10457:     aix[4-9]*)
                   10458:       if test "$host_cpu" = ia64; then
                   10459:        # On IA64, the linker does run time linking by default, so we don't
                   10460:        # have to do anything special.
                   10461:        aix_use_runtimelinking=no
                   10462:        exp_sym_flag='-Bexport'
                   10463:        no_entry_flag=""
                   10464:       else
                   10465:        # If we're using GNU nm, then we don't want the "-C" option.
                   10466:        # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   10467:        # Also, AIX nm treats weak defined symbols like other global
                   10468:        # defined symbols, whereas GNU nm marks them as "W".
                   10469:        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   10470:          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'
                   10471:        else
                   10472:          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'
                   10473:        fi
                   10474:        aix_use_runtimelinking=no
                   10475: 
                   10476:        # Test if we are trying to use run time linking or normal
                   10477:        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   10478:        # need to do runtime linking.
                   10479:        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   10480:          for ld_flag in $LDFLAGS; do
                   10481:          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
                   10482:            aix_use_runtimelinking=yes
                   10483:            break
                   10484:          fi
                   10485:          done
                   10486:          ;;
                   10487:        esac
                   10488: 
                   10489:        exp_sym_flag='-bexport'
                   10490:        no_entry_flag='-bnoentry'
                   10491:       fi
                   10492: 
                   10493:       # When large executables or shared objects are built, AIX ld can
                   10494:       # have problems creating the table of contents.  If linking a library
                   10495:       # or program results in "error TOC overflow" add -mminimal-toc to
                   10496:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   10497:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   10498: 
                   10499:       archive_cmds=''
                   10500:       hardcode_direct=yes
                   10501:       hardcode_direct_absolute=yes
                   10502:       hardcode_libdir_separator=':'
                   10503:       link_all_deplibs=yes
                   10504:       file_list_spec='${wl}-f,'
                   10505: 
                   10506:       if test "$GCC" = yes; then
                   10507:        case $host_os in aix4.[012]|aix4.[012].*)
                   10508:        # We only want to do this on AIX 4.2 and lower, the check
                   10509:        # below for broken collect2 doesn't work under 4.3+
                   10510:          collect2name=`${CC} -print-prog-name=collect2`
                   10511:          if test -f "$collect2name" &&
                   10512:           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   10513:          then
                   10514:          # We have reworked collect2
                   10515:          :
                   10516:          else
                   10517:          # We have old collect2
                   10518:          hardcode_direct=unsupported
                   10519:          # It fails to find uninstalled libraries when the uninstalled
                   10520:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   10521:          # to unsupported forces relinking
                   10522:          hardcode_minus_L=yes
                   10523:          hardcode_libdir_flag_spec='-L$libdir'
                   10524:          hardcode_libdir_separator=
                   10525:          fi
                   10526:          ;;
                   10527:        esac
                   10528:        shared_flag='-shared'
                   10529:        if test "$aix_use_runtimelinking" = yes; then
                   10530:          shared_flag="$shared_flag "'${wl}-G'
                   10531:        fi
                   10532:       else
                   10533:        # not using gcc
                   10534:        if test "$host_cpu" = ia64; then
                   10535:        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   10536:        # chokes on -Wl,-G. The following line is correct:
                   10537:          shared_flag='-G'
                   10538:        else
                   10539:          if test "$aix_use_runtimelinking" = yes; then
                   10540:            shared_flag='${wl}-G'
                   10541:          else
                   10542:            shared_flag='${wl}-bM:SRE'
                   10543:          fi
                   10544:        fi
                   10545:       fi
                   10546: 
                   10547:       export_dynamic_flag_spec='${wl}-bexpall'
                   10548:       # It seems that -bexpall does not export symbols beginning with
                   10549:       # underscore (_), so it is better to generate a list of symbols to export.
                   10550:       always_export_symbols=yes
                   10551:       if test "$aix_use_runtimelinking" = yes; then
                   10552:        # Warning - without using the other runtime loading flags (-brtl),
                   10553:        # -berok will link without error, but may produce a broken library.
                   10554:        allow_undefined_flag='-berok'
                   10555:         # Determine the default libpath from the value encoded in an
                   10556:         # empty executable.
                   10557:         if test "${lt_cv_aix_libpath+set}" = set; then
                   10558:   aix_libpath=$lt_cv_aix_libpath
                   10559: else
1.150     moko     10560:   if ${lt_cv_aix_libpath_+:} false; then :
                   10561:   $as_echo_n "(cached) " >&6
1.128     moko     10562: else
1.150     moko     10563:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     10564: /* end confdefs.h.  */
                   10565: 
                   10566: int
                   10567: main ()
                   10568: {
                   10569: 
                   10570:   ;
                   10571:   return 0;
                   10572: }
                   10573: _ACEOF
1.150     moko     10574: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     10575: 
                   10576:   lt_aix_libpath_sed='
                   10577:       /Import File Strings/,/^$/ {
                   10578:          /^0/ {
                   10579:              s/^0  *\([^ ]*\) *$/\1/
                   10580:              p
                   10581:          }
                   10582:       }'
                   10583:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10584:   # Check for a 64-bit object if we didn't find anything.
                   10585:   if test -z "$lt_cv_aix_libpath_"; then
                   10586:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10587:   fi
                   10588: fi
1.150     moko     10589: rm -f core conftest.err conftest.$ac_objext \
                   10590:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     10591:   if test -z "$lt_cv_aix_libpath_"; then
                   10592:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   10593:   fi
                   10594: 
                   10595: fi
                   10596: 
                   10597:   aix_libpath=$lt_cv_aix_libpath_
                   10598: fi
                   10599: 
                   10600:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   10601:         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"
                   10602:       else
                   10603:        if test "$host_cpu" = ia64; then
                   10604:          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
                   10605:          allow_undefined_flag="-z nodefs"
                   10606:          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"
                   10607:        else
                   10608:         # Determine the default libpath from the value encoded in an
                   10609:         # empty executable.
                   10610:         if test "${lt_cv_aix_libpath+set}" = set; then
                   10611:   aix_libpath=$lt_cv_aix_libpath
                   10612: else
1.150     moko     10613:   if ${lt_cv_aix_libpath_+:} false; then :
                   10614:   $as_echo_n "(cached) " >&6
1.128     moko     10615: else
1.150     moko     10616:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     10617: /* end confdefs.h.  */
                   10618: 
                   10619: int
                   10620: main ()
                   10621: {
                   10622: 
                   10623:   ;
                   10624:   return 0;
                   10625: }
                   10626: _ACEOF
1.150     moko     10627: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     10628: 
                   10629:   lt_aix_libpath_sed='
                   10630:       /Import File Strings/,/^$/ {
                   10631:          /^0/ {
                   10632:              s/^0  *\([^ ]*\) *$/\1/
                   10633:              p
                   10634:          }
                   10635:       }'
                   10636:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10637:   # Check for a 64-bit object if we didn't find anything.
                   10638:   if test -z "$lt_cv_aix_libpath_"; then
                   10639:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10640:   fi
                   10641: fi
1.150     moko     10642: rm -f core conftest.err conftest.$ac_objext \
                   10643:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     10644:   if test -z "$lt_cv_aix_libpath_"; then
                   10645:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   10646:   fi
                   10647: 
                   10648: fi
                   10649: 
                   10650:   aix_libpath=$lt_cv_aix_libpath_
                   10651: fi
                   10652: 
                   10653:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   10654:          # Warning - without using the other run time loading flags,
                   10655:          # -berok will link without error, but may produce a broken library.
                   10656:          no_undefined_flag=' ${wl}-bernotok'
                   10657:          allow_undefined_flag=' ${wl}-berok'
                   10658:          if test "$with_gnu_ld" = yes; then
                   10659:            # We only use this code for GNU lds that support --whole-archive.
                   10660:            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   10661:          else
                   10662:            # Exported symbols can be pulled into shared objects from archives
                   10663:            whole_archive_flag_spec='$convenience'
                   10664:          fi
                   10665:          archive_cmds_need_lc=yes
                   10666:          # This is similar to how AIX traditionally builds its shared libraries.
                   10667:          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'
                   10668:        fi
                   10669:       fi
                   10670:       ;;
                   10671: 
                   10672:     amigaos*)
                   10673:       case $host_cpu in
                   10674:       powerpc)
                   10675:             # see comment about AmigaOS4 .so support
                   10676:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10677:             archive_expsym_cmds=''
                   10678:         ;;
                   10679:       m68k)
                   10680:             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)'
                   10681:             hardcode_libdir_flag_spec='-L$libdir'
                   10682:             hardcode_minus_L=yes
                   10683:         ;;
                   10684:       esac
                   10685:       ;;
                   10686: 
                   10687:     bsdi[45]*)
                   10688:       export_dynamic_flag_spec=-rdynamic
                   10689:       ;;
                   10690: 
                   10691:     cygwin* | mingw* | pw32* | cegcc*)
                   10692:       # When not using gcc, we currently assume that we are using
                   10693:       # Microsoft Visual C++.
                   10694:       # hardcode_libdir_flag_spec is actually meaningless, as there is
                   10695:       # no search path for DLLs.
                   10696:       case $cc_basename in
                   10697:       cl*)
                   10698:        # Native MSVC
                   10699:        hardcode_libdir_flag_spec=' '
                   10700:        allow_undefined_flag=unsupported
                   10701:        always_export_symbols=yes
                   10702:        file_list_spec='@'
                   10703:        # Tell ltmain to make .lib files, not .a files.
                   10704:        libext=lib
                   10705:        # Tell ltmain to make .dll files, not .so files.
                   10706:        shrext_cmds=".dll"
                   10707:        # FIXME: Setting linknames here is a bad hack.
                   10708:        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   10709:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   10710:            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   10711:          else
                   10712:            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   10713:          fi~
                   10714:          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   10715:          linknames='
                   10716:        # The linker will not automatically build a static lib if we build a DLL.
                   10717:        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
                   10718:        enable_shared_with_static_runtimes=yes
                   10719:        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   10720:        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
                   10721:        # Don't use ranlib
                   10722:        old_postinstall_cmds='chmod 644 $oldlib'
                   10723:        postlink_cmds='lt_outputfile="@OUTPUT@"~
                   10724:          lt_tool_outputfile="@TOOL_OUTPUT@"~
                   10725:          case $lt_outputfile in
                   10726:            *.exe|*.EXE) ;;
                   10727:            *)
                   10728:              lt_outputfile="$lt_outputfile.exe"
                   10729:              lt_tool_outputfile="$lt_tool_outputfile.exe"
                   10730:              ;;
                   10731:          esac~
                   10732:          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   10733:            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   10734:            $RM "$lt_outputfile.manifest";
                   10735:          fi'
                   10736:        ;;
                   10737:       *)
                   10738:        # Assume MSVC wrapper
                   10739:        hardcode_libdir_flag_spec=' '
                   10740:        allow_undefined_flag=unsupported
                   10741:        # Tell ltmain to make .lib files, not .a files.
                   10742:        libext=lib
                   10743:        # Tell ltmain to make .dll files, not .so files.
                   10744:        shrext_cmds=".dll"
                   10745:        # FIXME: Setting linknames here is a bad hack.
                   10746:        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
                   10747:        # The linker will automatically build a .lib file if we build a DLL.
                   10748:        old_archive_from_new_cmds='true'
                   10749:        # FIXME: Should let the user specify the lib program.
                   10750:        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
                   10751:        enable_shared_with_static_runtimes=yes
                   10752:        ;;
                   10753:       esac
                   10754:       ;;
                   10755: 
                   10756:     darwin* | rhapsody*)
                   10757: 
                   10758: 
                   10759:   archive_cmds_need_lc=no
                   10760:   hardcode_direct=no
                   10761:   hardcode_automatic=yes
                   10762:   hardcode_shlibpath_var=unsupported
                   10763:   if test "$lt_cv_ld_force_load" = "yes"; then
                   10764:     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\"`'
                   10765: 
                   10766:   else
                   10767:     whole_archive_flag_spec=''
                   10768:   fi
                   10769:   link_all_deplibs=yes
                   10770:   allow_undefined_flag="$_lt_dar_allow_undefined"
                   10771:   case $cc_basename in
                   10772:      ifort*) _lt_dar_can_shared=yes ;;
                   10773:      *) _lt_dar_can_shared=$GCC ;;
                   10774:   esac
                   10775:   if test "$_lt_dar_can_shared" = "yes"; then
                   10776:     output_verbose_link_cmd=func_echo_all
                   10777:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
                   10778:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   10779:     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}"
                   10780:     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}"
                   10781: 
                   10782:   else
                   10783:   ld_shlibs=no
                   10784:   fi
                   10785: 
                   10786:       ;;
                   10787: 
                   10788:     dgux*)
                   10789:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10790:       hardcode_libdir_flag_spec='-L$libdir'
                   10791:       hardcode_shlibpath_var=no
                   10792:       ;;
                   10793: 
                   10794:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   10795:     # support.  Future versions do this automatically, but an explicit c++rt0.o
                   10796:     # does not break anything, and helps significantly (at the cost of a little
                   10797:     # extra space).
                   10798:     freebsd2.2*)
                   10799:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   10800:       hardcode_libdir_flag_spec='-R$libdir'
                   10801:       hardcode_direct=yes
                   10802:       hardcode_shlibpath_var=no
                   10803:       ;;
                   10804: 
                   10805:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
                   10806:     freebsd2.*)
                   10807:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   10808:       hardcode_direct=yes
                   10809:       hardcode_minus_L=yes
                   10810:       hardcode_shlibpath_var=no
                   10811:       ;;
                   10812: 
                   10813:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
                   10814:     freebsd* | dragonfly*)
                   10815:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   10816:       hardcode_libdir_flag_spec='-R$libdir'
                   10817:       hardcode_direct=yes
                   10818:       hardcode_shlibpath_var=no
                   10819:       ;;
                   10820: 
                   10821:     hpux9*)
                   10822:       if test "$GCC" = yes; then
                   10823:        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'
                   10824:       else
                   10825:        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'
                   10826:       fi
                   10827:       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   10828:       hardcode_libdir_separator=:
                   10829:       hardcode_direct=yes
                   10830: 
                   10831:       # hardcode_minus_L: Not really in the search PATH,
                   10832:       # but as the default location of the library.
                   10833:       hardcode_minus_L=yes
                   10834:       export_dynamic_flag_spec='${wl}-E'
                   10835:       ;;
                   10836: 
                   10837:     hpux10*)
                   10838:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   10839:        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   10840:       else
                   10841:        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   10842:       fi
                   10843:       if test "$with_gnu_ld" = no; then
                   10844:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   10845:        hardcode_libdir_separator=:
                   10846:        hardcode_direct=yes
                   10847:        hardcode_direct_absolute=yes
                   10848:        export_dynamic_flag_spec='${wl}-E'
                   10849:        # hardcode_minus_L: Not really in the search PATH,
                   10850:        # but as the default location of the library.
                   10851:        hardcode_minus_L=yes
                   10852:       fi
                   10853:       ;;
                   10854: 
                   10855:     hpux11*)
                   10856:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   10857:        case $host_cpu in
                   10858:        hppa*64*)
                   10859:          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10860:          ;;
                   10861:        ia64*)
                   10862:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   10863:          ;;
                   10864:        *)
                   10865:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   10866:          ;;
                   10867:        esac
                   10868:       else
                   10869:        case $host_cpu in
                   10870:        hppa*64*)
                   10871:          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10872:          ;;
                   10873:        ia64*)
                   10874:          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   10875:          ;;
                   10876:        *)
                   10877: 
                   10878:          # Older versions of the 11.00 compiler do not understand -b yet
                   10879:          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
1.150     moko     10880:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
                   10881: $as_echo_n "checking if $CC understands -b... " >&6; }
                   10882: if ${lt_cv_prog_compiler__b+:} false; then :
                   10883:   $as_echo_n "(cached) " >&6
1.128     moko     10884: else
                   10885:   lt_cv_prog_compiler__b=no
                   10886:    save_LDFLAGS="$LDFLAGS"
                   10887:    LDFLAGS="$LDFLAGS -b"
                   10888:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   10889:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   10890:      # The linker can only warn and ignore the option if not recognized
                   10891:      # So say no if there are warnings
                   10892:      if test -s conftest.err; then
                   10893:        # Append any errors to the config.log.
                   10894:        cat conftest.err 1>&5
                   10895:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   10896:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   10897:        if diff conftest.exp conftest.er2 >/dev/null; then
                   10898:          lt_cv_prog_compiler__b=yes
                   10899:        fi
                   10900:      else
                   10901:        lt_cv_prog_compiler__b=yes
                   10902:      fi
                   10903:    fi
                   10904:    $RM -r conftest*
                   10905:    LDFLAGS="$save_LDFLAGS"
                   10906: 
                   10907: fi
1.150     moko     10908: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
                   10909: $as_echo "$lt_cv_prog_compiler__b" >&6; }
1.128     moko     10910: 
                   10911: if test x"$lt_cv_prog_compiler__b" = xyes; then
                   10912:     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   10913: else
                   10914:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   10915: fi
                   10916: 
                   10917:          ;;
                   10918:        esac
                   10919:       fi
                   10920:       if test "$with_gnu_ld" = no; then
                   10921:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   10922:        hardcode_libdir_separator=:
                   10923: 
                   10924:        case $host_cpu in
                   10925:        hppa*64*|ia64*)
                   10926:          hardcode_direct=no
                   10927:          hardcode_shlibpath_var=no
                   10928:          ;;
                   10929:        *)
                   10930:          hardcode_direct=yes
                   10931:          hardcode_direct_absolute=yes
                   10932:          export_dynamic_flag_spec='${wl}-E'
                   10933: 
                   10934:          # hardcode_minus_L: Not really in the search PATH,
                   10935:          # but as the default location of the library.
                   10936:          hardcode_minus_L=yes
                   10937:          ;;
                   10938:        esac
                   10939:       fi
                   10940:       ;;
                   10941: 
                   10942:     irix5* | irix6* | nonstopux*)
                   10943:       if test "$GCC" = yes; then
                   10944:        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'
                   10945:        # Try to use the -exported_symbol ld option, if it does not
                   10946:        # work, assume that -exports_file does not work either and
                   10947:        # implicitly export all symbols.
                   10948:        # This should be the same for all languages, so no per-tag cache variable.
1.150     moko     10949:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
                   10950: $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
                   10951: if ${lt_cv_irix_exported_symbol+:} false; then :
                   10952:   $as_echo_n "(cached) " >&6
1.128     moko     10953: else
                   10954:   save_LDFLAGS="$LDFLAGS"
                   10955:           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
1.150     moko     10956:           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     10957: /* end confdefs.h.  */
                   10958: int foo (void) { return 0; }
                   10959: _ACEOF
1.150     moko     10960: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     10961:   lt_cv_irix_exported_symbol=yes
                   10962: else
1.150     moko     10963:   lt_cv_irix_exported_symbol=no
1.128     moko     10964: fi
1.150     moko     10965: rm -f core conftest.err conftest.$ac_objext \
                   10966:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     10967:            LDFLAGS="$save_LDFLAGS"
                   10968: fi
1.150     moko     10969: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
                   10970: $as_echo "$lt_cv_irix_exported_symbol" >&6; }
1.128     moko     10971:        if test "$lt_cv_irix_exported_symbol" = yes; then
                   10972:           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'
                   10973:        fi
                   10974:       else
                   10975:        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'
                   10976:        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'
                   10977:       fi
                   10978:       archive_cmds_need_lc='no'
                   10979:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10980:       hardcode_libdir_separator=:
                   10981:       inherit_rpath=yes
                   10982:       link_all_deplibs=yes
                   10983:       ;;
                   10984: 
                   10985:     netbsd*)
                   10986:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   10987:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   10988:       else
                   10989:        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   10990:       fi
                   10991:       hardcode_libdir_flag_spec='-R$libdir'
                   10992:       hardcode_direct=yes
                   10993:       hardcode_shlibpath_var=no
                   10994:       ;;
                   10995: 
                   10996:     newsos6)
                   10997:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10998:       hardcode_direct=yes
                   10999:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   11000:       hardcode_libdir_separator=:
                   11001:       hardcode_shlibpath_var=no
                   11002:       ;;
                   11003: 
                   11004:     *nto* | *qnx*)
                   11005:       ;;
                   11006: 
                   11007:     openbsd*)
                   11008:       if test -f /usr/libexec/ld.so; then
                   11009:        hardcode_direct=yes
                   11010:        hardcode_shlibpath_var=no
                   11011:        hardcode_direct_absolute=yes
                   11012:        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   11013:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   11014:          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
                   11015:          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   11016:          export_dynamic_flag_spec='${wl}-E'
                   11017:        else
                   11018:          case $host_os in
                   11019:           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
                   11020:             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   11021:             hardcode_libdir_flag_spec='-R$libdir'
                   11022:             ;;
                   11023:           *)
                   11024:             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   11025:             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   11026:             ;;
                   11027:          esac
                   11028:        fi
                   11029:       else
                   11030:        ld_shlibs=no
                   11031:       fi
                   11032:       ;;
                   11033: 
                   11034:     os2*)
                   11035:       hardcode_libdir_flag_spec='-L$libdir'
                   11036:       hardcode_minus_L=yes
                   11037:       allow_undefined_flag=unsupported
                   11038:       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'
                   11039:       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
                   11040:       ;;
                   11041: 
                   11042:     osf3*)
                   11043:       if test "$GCC" = yes; then
                   11044:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   11045:        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'
                   11046:       else
                   11047:        allow_undefined_flag=' -expect_unresolved \*'
                   11048:        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'
                   11049:       fi
                   11050:       archive_cmds_need_lc='no'
                   11051:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   11052:       hardcode_libdir_separator=:
                   11053:       ;;
                   11054: 
                   11055:     osf4* | osf5*)     # as osf3* with the addition of -msym flag
                   11056:       if test "$GCC" = yes; then
                   11057:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   11058:        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'
                   11059:        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   11060:       else
                   11061:        allow_undefined_flag=' -expect_unresolved \*'
                   11062:        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'
                   11063:        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~
                   11064:        $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'
                   11065: 
                   11066:        # Both c and cxx compiler support -rpath directly
                   11067:        hardcode_libdir_flag_spec='-rpath $libdir'
                   11068:       fi
                   11069:       archive_cmds_need_lc='no'
                   11070:       hardcode_libdir_separator=:
                   11071:       ;;
                   11072: 
                   11073:     solaris*)
                   11074:       no_undefined_flag=' -z defs'
                   11075:       if test "$GCC" = yes; then
                   11076:        wlarc='${wl}'
                   11077:        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11078:        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   11079:          $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'
                   11080:       else
                   11081:        case `$CC -V 2>&1` in
                   11082:        *"Compilers 5.0"*)
                   11083:          wlarc=''
                   11084:          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11085:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   11086:          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
                   11087:          ;;
                   11088:        *)
                   11089:          wlarc='${wl}'
                   11090:          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   11091:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   11092:          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
                   11093:          ;;
                   11094:        esac
                   11095:       fi
                   11096:       hardcode_libdir_flag_spec='-R$libdir'
                   11097:       hardcode_shlibpath_var=no
                   11098:       case $host_os in
                   11099:       solaris2.[0-5] | solaris2.[0-5].*) ;;
                   11100:       *)
                   11101:        # The compiler driver will combine and reorder linker options,
                   11102:        # but understands `-z linker_flag'.  GCC discards it without `$wl',
                   11103:        # but is careful enough not to reorder.
                   11104:        # Supported since Solaris 2.6 (maybe 2.5.1?)
                   11105:        if test "$GCC" = yes; then
                   11106:          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   11107:        else
                   11108:          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
                   11109:        fi
                   11110:        ;;
                   11111:       esac
                   11112:       link_all_deplibs=yes
                   11113:       ;;
                   11114: 
                   11115:     sunos4*)
                   11116:       if test "x$host_vendor" = xsequent; then
                   11117:        # Use $CC to link under sequent, because it throws in some extra .o
                   11118:        # files that make .init and .fini sections work.
                   11119:        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   11120:       else
                   11121:        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   11122:       fi
                   11123:       hardcode_libdir_flag_spec='-L$libdir'
                   11124:       hardcode_direct=yes
                   11125:       hardcode_minus_L=yes
                   11126:       hardcode_shlibpath_var=no
                   11127:       ;;
                   11128: 
                   11129:     sysv4)
                   11130:       case $host_vendor in
                   11131:        sni)
                   11132:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11133:          hardcode_direct=yes # is this really true???
                   11134:        ;;
                   11135:        siemens)
                   11136:          ## LD is ld it makes a PLAMLIB
                   11137:          ## CC just makes a GrossModule.
                   11138:          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   11139:          reload_cmds='$CC -r -o $output$reload_objs'
                   11140:          hardcode_direct=no
                   11141:         ;;
                   11142:        motorola)
                   11143:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11144:          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   11145:        ;;
                   11146:       esac
                   11147:       runpath_var='LD_RUN_PATH'
                   11148:       hardcode_shlibpath_var=no
                   11149:       ;;
                   11150: 
                   11151:     sysv4.3*)
                   11152:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11153:       hardcode_shlibpath_var=no
                   11154:       export_dynamic_flag_spec='-Bexport'
                   11155:       ;;
                   11156: 
                   11157:     sysv4*MP*)
                   11158:       if test -d /usr/nec; then
                   11159:        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11160:        hardcode_shlibpath_var=no
                   11161:        runpath_var=LD_RUN_PATH
                   11162:        hardcode_runpath_var=yes
                   11163:        ld_shlibs=yes
                   11164:       fi
                   11165:       ;;
                   11166: 
                   11167:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   11168:       no_undefined_flag='${wl}-z,text'
                   11169:       archive_cmds_need_lc=no
                   11170:       hardcode_shlibpath_var=no
                   11171:       runpath_var='LD_RUN_PATH'
                   11172: 
                   11173:       if test "$GCC" = yes; then
                   11174:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11175:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11176:       else
                   11177:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11178:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11179:       fi
                   11180:       ;;
                   11181: 
                   11182:     sysv5* | sco3.2v5* | sco5v6*)
                   11183:       # Note: We can NOT use -z defs as we might desire, because we do not
                   11184:       # link with -lc, and that would cause any symbols used from libc to
                   11185:       # always be unresolved, which means just about no library would
                   11186:       # ever link correctly.  If we're not using GNU ld we use -z text
                   11187:       # though, which does catch some bad symbols but isn't as heavy-handed
                   11188:       # as -z defs.
                   11189:       no_undefined_flag='${wl}-z,text'
                   11190:       allow_undefined_flag='${wl}-z,nodefs'
                   11191:       archive_cmds_need_lc=no
                   11192:       hardcode_shlibpath_var=no
                   11193:       hardcode_libdir_flag_spec='${wl}-R,$libdir'
                   11194:       hardcode_libdir_separator=':'
                   11195:       link_all_deplibs=yes
                   11196:       export_dynamic_flag_spec='${wl}-Bexport'
                   11197:       runpath_var='LD_RUN_PATH'
                   11198: 
                   11199:       if test "$GCC" = yes; then
                   11200:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11201:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11202:       else
                   11203:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11204:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11205:       fi
                   11206:       ;;
                   11207: 
                   11208:     uts4*)
                   11209:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11210:       hardcode_libdir_flag_spec='-L$libdir'
                   11211:       hardcode_shlibpath_var=no
                   11212:       ;;
                   11213: 
                   11214:     *)
                   11215:       ld_shlibs=no
                   11216:       ;;
                   11217:     esac
                   11218: 
                   11219:     if test x$host_vendor = xsni; then
                   11220:       case $host in
                   11221:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   11222:        export_dynamic_flag_spec='${wl}-Blargedynsym'
                   11223:        ;;
                   11224:       esac
                   11225:     fi
                   11226:   fi
                   11227: 
1.150     moko     11228: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
                   11229: $as_echo "$ld_shlibs" >&6; }
1.128     moko     11230: test "$ld_shlibs" = no && can_build_shared=no
                   11231: 
                   11232: with_gnu_ld=$with_gnu_ld
                   11233: 
                   11234: 
                   11235: 
                   11236: 
                   11237: 
                   11238: 
                   11239: 
                   11240: 
                   11241: 
                   11242: 
                   11243: 
                   11244: 
                   11245: 
                   11246: 
                   11247: 
                   11248: #
                   11249: # Do we need to explicitly link libc?
                   11250: #
                   11251: case "x$archive_cmds_need_lc" in
                   11252: x|xyes)
                   11253:   # Assume -lc should be added
                   11254:   archive_cmds_need_lc=yes
                   11255: 
                   11256:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   11257:     case $archive_cmds in
                   11258:     *'~'*)
                   11259:       # FIXME: we may have to deal with multi-command sequences.
                   11260:       ;;
                   11261:     '$CC '*)
                   11262:       # Test whether the compiler implicitly links with -lc since on some
                   11263:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   11264:       # to ld, don't add -lc before -lgcc.
1.150     moko     11265:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   11266: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
                   11267: if ${lt_cv_archive_cmds_need_lc+:} false; then :
                   11268:   $as_echo_n "(cached) " >&6
1.128     moko     11269: else
                   11270:   $RM conftest*
                   11271:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   11272: 
1.150     moko     11273:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     11274:   (eval $ac_compile) 2>&5
                   11275:   ac_status=$?
1.150     moko     11276:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   11277:   test $ac_status = 0; } 2>conftest.err; then
1.128     moko     11278:          soname=conftest
                   11279:          lib=conftest
                   11280:          libobjs=conftest.$ac_objext
                   11281:          deplibs=
                   11282:          wl=$lt_prog_compiler_wl
                   11283:          pic_flag=$lt_prog_compiler_pic
                   11284:          compiler_flags=-v
                   11285:          linker_flags=-v
                   11286:          verstring=
                   11287:          output_objdir=.
                   11288:          libname=conftest
                   11289:          lt_save_allow_undefined_flag=$allow_undefined_flag
                   11290:          allow_undefined_flag=
1.150     moko     11291:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1.128     moko     11292:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   11293:   ac_status=$?
1.150     moko     11294:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   11295:   test $ac_status = 0; }
1.128     moko     11296:          then
                   11297:            lt_cv_archive_cmds_need_lc=no
                   11298:          else
                   11299:            lt_cv_archive_cmds_need_lc=yes
                   11300:          fi
                   11301:          allow_undefined_flag=$lt_save_allow_undefined_flag
                   11302:        else
                   11303:          cat conftest.err 1>&5
                   11304:        fi
                   11305:        $RM conftest*
                   11306: 
                   11307: fi
1.150     moko     11308: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
                   11309: $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
1.128     moko     11310:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
                   11311:       ;;
                   11312:     esac
                   11313:   fi
                   11314:   ;;
                   11315: esac
                   11316: 
                   11317: 
                   11318: 
                   11319: 
                   11320: 
                   11321: 
                   11322: 
                   11323: 
                   11324: 
                   11325: 
                   11326: 
                   11327: 
                   11328: 
                   11329: 
                   11330: 
                   11331: 
                   11332: 
                   11333: 
                   11334: 
                   11335: 
                   11336: 
                   11337: 
                   11338: 
                   11339: 
                   11340: 
                   11341: 
                   11342: 
                   11343: 
                   11344: 
                   11345: 
                   11346: 
                   11347: 
                   11348: 
                   11349: 
                   11350: 
                   11351: 
                   11352: 
                   11353: 
                   11354: 
                   11355: 
                   11356: 
                   11357: 
                   11358: 
                   11359: 
                   11360: 
                   11361: 
                   11362: 
                   11363: 
                   11364: 
                   11365: 
                   11366: 
                   11367: 
                   11368: 
                   11369: 
                   11370: 
                   11371: 
                   11372: 
                   11373: 
                   11374: 
                   11375: 
                   11376: 
                   11377: 
                   11378: 
                   11379: 
                   11380: 
                   11381: 
                   11382: 
                   11383: 
                   11384: 
                   11385: 
                   11386: 
                   11387: 
                   11388: 
                   11389: 
                   11390: 
                   11391: 
                   11392: 
                   11393: 
                   11394: 
                   11395: 
                   11396: 
                   11397: 
                   11398: 
                   11399: 
                   11400: 
                   11401: 
                   11402: 
                   11403: 
                   11404: 
                   11405: 
                   11406: 
                   11407: 
                   11408: 
                   11409: 
                   11410: 
                   11411: 
                   11412: 
                   11413: 
                   11414: 
                   11415: 
                   11416: 
                   11417: 
                   11418: 
                   11419: 
                   11420: 
                   11421: 
                   11422: 
                   11423: 
                   11424: 
                   11425: 
                   11426: 
                   11427: 
                   11428: 
                   11429: 
                   11430: 
                   11431: 
                   11432: 
                   11433: 
                   11434: 
                   11435: 
                   11436: 
                   11437: 
                   11438: 
                   11439: 
                   11440: 
                   11441: 
                   11442: 
                   11443: 
                   11444: 
                   11445: 
                   11446: 
                   11447: 
                   11448: 
                   11449: 
                   11450: 
                   11451: 
                   11452: 
                   11453: 
                   11454: 
                   11455: 
                   11456: 
                   11457: 
                   11458: 
                   11459: 
                   11460: 
                   11461: 
                   11462: 
                   11463: 
                   11464: 
                   11465: 
                   11466: 
                   11467: 
1.150     moko     11468:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   11469: $as_echo_n "checking dynamic linker characteristics... " >&6; }
1.128     moko     11470: 
                   11471: if test "$GCC" = yes; then
                   11472:   case $host_os in
                   11473:     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
                   11474:     *) lt_awk_arg="/^libraries:/" ;;
                   11475:   esac
                   11476:   case $host_os in
                   11477:     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
                   11478:     *) lt_sed_strip_eq="s,=/,/,g" ;;
                   11479:   esac
                   11480:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
                   11481:   case $lt_search_path_spec in
                   11482:   *\;*)
                   11483:     # if the path contains ";" then we assume it to be the separator
                   11484:     # otherwise default to the standard path separator (i.e. ":") - it is
                   11485:     # assumed that no part of a normal pathname contains ";" but that should
                   11486:     # okay in the real world where ";" in dirpaths is itself problematic.
                   11487:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
                   11488:     ;;
                   11489:   *)
                   11490:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
                   11491:     ;;
                   11492:   esac
                   11493:   # Ok, now we have the path, separated by spaces, we can step through it
                   11494:   # and add multilib dir if necessary.
                   11495:   lt_tmp_lt_search_path_spec=
                   11496:   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
                   11497:   for lt_sys_path in $lt_search_path_spec; do
                   11498:     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
                   11499:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
                   11500:     else
                   11501:       test -d "$lt_sys_path" && \
                   11502:        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
                   11503:     fi
                   11504:   done
                   11505:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
                   11506: BEGIN {RS=" "; FS="/|\n";} {
                   11507:   lt_foo="";
                   11508:   lt_count=0;
                   11509:   for (lt_i = NF; lt_i > 0; lt_i--) {
                   11510:     if ($lt_i != "" && $lt_i != ".") {
                   11511:       if ($lt_i == "..") {
                   11512:         lt_count++;
                   11513:       } else {
                   11514:         if (lt_count == 0) {
                   11515:           lt_foo="/" $lt_i lt_foo;
                   11516:         } else {
                   11517:           lt_count--;
                   11518:         }
                   11519:       }
                   11520:     }
                   11521:   }
                   11522:   if (lt_foo != "") { lt_freq[lt_foo]++; }
                   11523:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
                   11524: }'`
                   11525:   # AWK program above erroneously prepends '/' to C:/dos/paths
                   11526:   # for these hosts.
                   11527:   case $host_os in
                   11528:     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
                   11529:       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
                   11530:   esac
                   11531:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
                   11532: else
                   11533:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   11534: fi
                   11535: library_names_spec=
                   11536: libname_spec='lib$name'
                   11537: soname_spec=
                   11538: shrext_cmds=".so"
                   11539: postinstall_cmds=
                   11540: postuninstall_cmds=
                   11541: finish_cmds=
                   11542: finish_eval=
                   11543: shlibpath_var=
                   11544: shlibpath_overrides_runpath=unknown
                   11545: version_type=none
                   11546: dynamic_linker="$host_os ld.so"
                   11547: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   11548: need_lib_prefix=unknown
                   11549: hardcode_into_libs=no
                   11550: 
                   11551: # when you set need_version to no, make sure it does not cause -set_version
                   11552: # flags to be left without arguments
                   11553: need_version=unknown
                   11554: 
                   11555: case $host_os in
                   11556: aix3*)
                   11557:   version_type=linux # correct to gnu/linux during the next big refactor
                   11558:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   11559:   shlibpath_var=LIBPATH
                   11560: 
                   11561:   # AIX 3 has no versioning support, so we append a major version to the name.
                   11562:   soname_spec='${libname}${release}${shared_ext}$major'
                   11563:   ;;
                   11564: 
                   11565: aix[4-9]*)
                   11566:   version_type=linux # correct to gnu/linux during the next big refactor
                   11567:   need_lib_prefix=no
                   11568:   need_version=no
                   11569:   hardcode_into_libs=yes
                   11570:   if test "$host_cpu" = ia64; then
                   11571:     # AIX 5 supports IA64
                   11572:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   11573:     shlibpath_var=LD_LIBRARY_PATH
                   11574:   else
                   11575:     # With GCC up to 2.95.x, collect2 would create an import file
                   11576:     # for dependence libraries.  The import file would start with
                   11577:     # the line `#! .'.  This would cause the generated library to
                   11578:     # depend on `.', always an invalid library.  This was fixed in
                   11579:     # development snapshots of GCC prior to 3.0.
                   11580:     case $host_os in
                   11581:       aix4 | aix4.[01] | aix4.[01].*)
                   11582:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   11583:           echo ' yes '
                   11584:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   11585:        :
                   11586:       else
                   11587:        can_build_shared=no
                   11588:       fi
                   11589:       ;;
                   11590:     esac
                   11591:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   11592:     # soname into executable. Probably we can add versioning support to
                   11593:     # collect2, so additional links can be useful in future.
                   11594:     if test "$aix_use_runtimelinking" = yes; then
                   11595:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   11596:       # instead of lib<name>.a to let people know that these are not
                   11597:       # typical AIX shared libraries.
                   11598:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11599:     else
                   11600:       # We preserve .a as extension for shared libraries through AIX4.2
                   11601:       # and later when we are not doing run time linking.
                   11602:       library_names_spec='${libname}${release}.a $libname.a'
                   11603:       soname_spec='${libname}${release}${shared_ext}$major'
                   11604:     fi
                   11605:     shlibpath_var=LIBPATH
                   11606:   fi
                   11607:   ;;
                   11608: 
                   11609: amigaos*)
                   11610:   case $host_cpu in
                   11611:   powerpc)
                   11612:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   11613:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   11614:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11615:     ;;
                   11616:   m68k)
                   11617:     library_names_spec='$libname.ixlibrary $libname.a'
                   11618:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   11619:     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'
                   11620:     ;;
                   11621:   esac
                   11622:   ;;
                   11623: 
                   11624: beos*)
                   11625:   library_names_spec='${libname}${shared_ext}'
                   11626:   dynamic_linker="$host_os ld.so"
                   11627:   shlibpath_var=LIBRARY_PATH
                   11628:   ;;
                   11629: 
                   11630: bsdi[45]*)
                   11631:   version_type=linux # correct to gnu/linux during the next big refactor
                   11632:   need_version=no
                   11633:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11634:   soname_spec='${libname}${release}${shared_ext}$major'
                   11635:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   11636:   shlibpath_var=LD_LIBRARY_PATH
                   11637:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   11638:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   11639:   # the default ld.so.conf also contains /usr/contrib/lib and
                   11640:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   11641:   # libtool to hard-code these into programs
                   11642:   ;;
                   11643: 
                   11644: cygwin* | mingw* | pw32* | cegcc*)
                   11645:   version_type=windows
                   11646:   shrext_cmds=".dll"
                   11647:   need_version=no
                   11648:   need_lib_prefix=no
                   11649: 
                   11650:   case $GCC,$cc_basename in
                   11651:   yes,*)
                   11652:     # gcc
                   11653:     library_names_spec='$libname.dll.a'
                   11654:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   11655:     postinstall_cmds='base_file=`basename \${file}`~
                   11656:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   11657:       dldir=$destdir/`dirname \$dlpath`~
                   11658:       test -d \$dldir || mkdir -p \$dldir~
                   11659:       $install_prog $dir/$dlname \$dldir/$dlname~
                   11660:       chmod a+x \$dldir/$dlname~
                   11661:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   11662:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   11663:       fi'
                   11664:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   11665:       dlpath=$dir/\$dldll~
                   11666:        $RM \$dlpath'
                   11667:     shlibpath_overrides_runpath=yes
                   11668: 
                   11669:     case $host_os in
                   11670:     cygwin*)
                   11671:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   11672:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   11673: 
                   11674:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
                   11675:       ;;
                   11676:     mingw* | cegcc*)
                   11677:       # MinGW DLLs use traditional 'lib' prefix
                   11678:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   11679:       ;;
                   11680:     pw32*)
                   11681:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   11682:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   11683:       ;;
                   11684:     esac
                   11685:     dynamic_linker='Win32 ld.exe'
                   11686:     ;;
                   11687: 
                   11688:   *,cl*)
                   11689:     # Native MSVC
                   11690:     libname_spec='$name'
                   11691:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   11692:     library_names_spec='${libname}.dll.lib'
                   11693: 
                   11694:     case $build_os in
                   11695:     mingw*)
                   11696:       sys_lib_search_path_spec=
                   11697:       lt_save_ifs=$IFS
                   11698:       IFS=';'
                   11699:       for lt_path in $LIB
                   11700:       do
                   11701:         IFS=$lt_save_ifs
                   11702:         # Let DOS variable expansion print the short 8.3 style file name.
                   11703:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   11704:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   11705:       done
                   11706:       IFS=$lt_save_ifs
                   11707:       # Convert to MSYS style.
                   11708:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   11709:       ;;
                   11710:     cygwin*)
                   11711:       # Convert to unix form, then to dos form, then back to unix form
                   11712:       # but this time dos style (no spaces!) so that the unix form looks
                   11713:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   11714:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   11715:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   11716:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   11717:       ;;
                   11718:     *)
                   11719:       sys_lib_search_path_spec="$LIB"
                   11720:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   11721:         # It is most probably a Windows format PATH.
                   11722:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   11723:       else
                   11724:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   11725:       fi
                   11726:       # FIXME: find the short name or the path components, as spaces are
                   11727:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   11728:       ;;
                   11729:     esac
                   11730: 
                   11731:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   11732:     postinstall_cmds='base_file=`basename \${file}`~
                   11733:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   11734:       dldir=$destdir/`dirname \$dlpath`~
                   11735:       test -d \$dldir || mkdir -p \$dldir~
                   11736:       $install_prog $dir/$dlname \$dldir/$dlname'
                   11737:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   11738:       dlpath=$dir/\$dldll~
                   11739:        $RM \$dlpath'
                   11740:     shlibpath_overrides_runpath=yes
                   11741:     dynamic_linker='Win32 link.exe'
                   11742:     ;;
                   11743: 
                   11744:   *)
                   11745:     # Assume MSVC wrapper
                   11746:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   11747:     dynamic_linker='Win32 ld.exe'
                   11748:     ;;
                   11749:   esac
                   11750:   # FIXME: first we should search . and the directory the executable is in
                   11751:   shlibpath_var=PATH
                   11752:   ;;
                   11753: 
                   11754: darwin* | rhapsody*)
                   11755:   dynamic_linker="$host_os dyld"
                   11756:   version_type=darwin
                   11757:   need_lib_prefix=no
                   11758:   need_version=no
                   11759:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   11760:   soname_spec='${libname}${release}${major}$shared_ext'
                   11761:   shlibpath_overrides_runpath=yes
                   11762:   shlibpath_var=DYLD_LIBRARY_PATH
                   11763:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   11764: 
                   11765:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
                   11766:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   11767:   ;;
                   11768: 
                   11769: dgux*)
                   11770:   version_type=linux # correct to gnu/linux during the next big refactor
                   11771:   need_lib_prefix=no
                   11772:   need_version=no
                   11773:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   11774:   soname_spec='${libname}${release}${shared_ext}$major'
                   11775:   shlibpath_var=LD_LIBRARY_PATH
                   11776:   ;;
                   11777: 
                   11778: freebsd* | dragonfly*)
                   11779:   # DragonFly does not have aout.  When/if they implement a new
                   11780:   # versioning mechanism, adjust this.
                   11781:   if test -x /usr/bin/objformat; then
                   11782:     objformat=`/usr/bin/objformat`
                   11783:   else
                   11784:     case $host_os in
                   11785:     freebsd[23].*) objformat=aout ;;
                   11786:     *) objformat=elf ;;
                   11787:     esac
                   11788:   fi
                   11789:   version_type=freebsd-$objformat
                   11790:   case $version_type in
                   11791:     freebsd-elf*)
                   11792:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   11793:       need_version=no
                   11794:       need_lib_prefix=no
                   11795:       ;;
                   11796:     freebsd-*)
                   11797:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   11798:       need_version=yes
                   11799:       ;;
                   11800:   esac
                   11801:   shlibpath_var=LD_LIBRARY_PATH
                   11802:   case $host_os in
                   11803:   freebsd2.*)
                   11804:     shlibpath_overrides_runpath=yes
                   11805:     ;;
                   11806:   freebsd3.[01]* | freebsdelf3.[01]*)
                   11807:     shlibpath_overrides_runpath=yes
                   11808:     hardcode_into_libs=yes
                   11809:     ;;
                   11810:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   11811:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   11812:     shlibpath_overrides_runpath=no
                   11813:     hardcode_into_libs=yes
                   11814:     ;;
                   11815:   *) # from 4.6 on, and DragonFly
                   11816:     shlibpath_overrides_runpath=yes
                   11817:     hardcode_into_libs=yes
                   11818:     ;;
                   11819:   esac
                   11820:   ;;
                   11821: 
                   11822: gnu*)
                   11823:   version_type=linux # correct to gnu/linux during the next big refactor
                   11824:   need_lib_prefix=no
                   11825:   need_version=no
                   11826:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   11827:   soname_spec='${libname}${release}${shared_ext}$major'
                   11828:   shlibpath_var=LD_LIBRARY_PATH
                   11829:   shlibpath_overrides_runpath=no
                   11830:   hardcode_into_libs=yes
                   11831:   ;;
                   11832: 
                   11833: haiku*)
                   11834:   version_type=linux # correct to gnu/linux during the next big refactor
                   11835:   need_lib_prefix=no
                   11836:   need_version=no
                   11837:   dynamic_linker="$host_os runtime_loader"
                   11838:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   11839:   soname_spec='${libname}${release}${shared_ext}$major'
                   11840:   shlibpath_var=LIBRARY_PATH
                   11841:   shlibpath_overrides_runpath=yes
                   11842:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   11843:   hardcode_into_libs=yes
                   11844:   ;;
                   11845: 
                   11846: hpux9* | hpux10* | hpux11*)
                   11847:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   11848:   # link against other versions.
                   11849:   version_type=sunos
                   11850:   need_lib_prefix=no
                   11851:   need_version=no
                   11852:   case $host_cpu in
                   11853:   ia64*)
                   11854:     shrext_cmds='.so'
                   11855:     hardcode_into_libs=yes
                   11856:     dynamic_linker="$host_os dld.so"
                   11857:     shlibpath_var=LD_LIBRARY_PATH
                   11858:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   11859:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11860:     soname_spec='${libname}${release}${shared_ext}$major'
                   11861:     if test "X$HPUX_IA64_MODE" = X32; then
                   11862:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   11863:     else
                   11864:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   11865:     fi
                   11866:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   11867:     ;;
                   11868:   hppa*64*)
                   11869:     shrext_cmds='.sl'
                   11870:     hardcode_into_libs=yes
                   11871:     dynamic_linker="$host_os dld.sl"
                   11872:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   11873:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   11874:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11875:     soname_spec='${libname}${release}${shared_ext}$major'
                   11876:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   11877:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   11878:     ;;
                   11879:   *)
                   11880:     shrext_cmds='.sl'
                   11881:     dynamic_linker="$host_os dld.sl"
                   11882:     shlibpath_var=SHLIB_PATH
                   11883:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   11884:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11885:     soname_spec='${libname}${release}${shared_ext}$major'
                   11886:     ;;
                   11887:   esac
                   11888:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   11889:   postinstall_cmds='chmod 555 $lib'
                   11890:   # or fails outright, so override atomically:
                   11891:   install_override_mode=555
                   11892:   ;;
                   11893: 
                   11894: interix[3-9]*)
                   11895:   version_type=linux # correct to gnu/linux during the next big refactor
                   11896:   need_lib_prefix=no
                   11897:   need_version=no
                   11898:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   11899:   soname_spec='${libname}${release}${shared_ext}$major'
                   11900:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   11901:   shlibpath_var=LD_LIBRARY_PATH
                   11902:   shlibpath_overrides_runpath=no
                   11903:   hardcode_into_libs=yes
                   11904:   ;;
                   11905: 
                   11906: irix5* | irix6* | nonstopux*)
                   11907:   case $host_os in
                   11908:     nonstopux*) version_type=nonstopux ;;
                   11909:     *)
                   11910:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   11911:                version_type=linux # correct to gnu/linux during the next big refactor
                   11912:        else
                   11913:                version_type=irix
                   11914:        fi ;;
                   11915:   esac
                   11916:   need_lib_prefix=no
                   11917:   need_version=no
                   11918:   soname_spec='${libname}${release}${shared_ext}$major'
                   11919:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   11920:   case $host_os in
                   11921:   irix5* | nonstopux*)
                   11922:     libsuff= shlibsuff=
                   11923:     ;;
                   11924:   *)
                   11925:     case $LD in # libtool.m4 will add one of these switches to LD
                   11926:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   11927:       libsuff= shlibsuff= libmagic=32-bit;;
                   11928:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   11929:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   11930:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   11931:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   11932:     *) libsuff= shlibsuff= libmagic=never-match;;
                   11933:     esac
                   11934:     ;;
                   11935:   esac
                   11936:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   11937:   shlibpath_overrides_runpath=no
                   11938:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   11939:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   11940:   hardcode_into_libs=yes
                   11941:   ;;
                   11942: 
                   11943: # No shared lib support for Linux oldld, aout, or coff.
                   11944: linux*oldld* | linux*aout* | linux*coff*)
                   11945:   dynamic_linker=no
                   11946:   ;;
                   11947: 
                   11948: # This must be glibc/ELF.
                   11949: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   11950:   version_type=linux # correct to gnu/linux during the next big refactor
                   11951:   need_lib_prefix=no
                   11952:   need_version=no
                   11953:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11954:   soname_spec='${libname}${release}${shared_ext}$major'
                   11955:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   11956:   shlibpath_var=LD_LIBRARY_PATH
                   11957:   shlibpath_overrides_runpath=no
                   11958: 
                   11959:   # Some binutils ld are patched to set DT_RUNPATH
1.150     moko     11960:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
                   11961:   $as_echo_n "(cached) " >&6
1.128     moko     11962: else
                   11963:   lt_cv_shlibpath_overrides_runpath=no
                   11964:     save_LDFLAGS=$LDFLAGS
                   11965:     save_libdir=$libdir
                   11966:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
                   11967:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
1.150     moko     11968:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     11969: /* end confdefs.h.  */
                   11970: 
                   11971: int
                   11972: main ()
                   11973: {
                   11974: 
                   11975:   ;
                   11976:   return 0;
                   11977: }
                   11978: _ACEOF
1.150     moko     11979: if ac_fn_c_try_link "$LINENO"; then :
                   11980:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
1.128     moko     11981:   lt_cv_shlibpath_overrides_runpath=yes
                   11982: fi
                   11983: fi
1.150     moko     11984: rm -f core conftest.err conftest.$ac_objext \
                   11985:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     11986:     LDFLAGS=$save_LDFLAGS
                   11987:     libdir=$save_libdir
                   11988: 
                   11989: fi
                   11990: 
                   11991:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   11992: 
                   11993:   # This implies no fast_install, which is unacceptable.
                   11994:   # Some rework will be needed to allow for fast_install
                   11995:   # before this can be enabled.
                   11996:   hardcode_into_libs=yes
                   11997: 
                   11998:   # Append ld.so.conf contents to the search path
                   11999:   if test -f /etc/ld.so.conf; then
                   12000:     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' ' '`
                   12001:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   12002:   fi
                   12003: 
                   12004:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   12005:   # powerpc, because MkLinux only supported shared libraries with the
                   12006:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   12007:   # most powerpc-linux boxes support dynamic linking these days and
                   12008:   # people can always --disable-shared, the test was removed, and we
                   12009:   # assume the GNU/Linux dynamic linker is in use.
                   12010:   dynamic_linker='GNU/Linux ld.so'
                   12011:   ;;
                   12012: 
                   12013: netbsd*)
                   12014:   version_type=sunos
                   12015:   need_lib_prefix=no
                   12016:   need_version=no
                   12017:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   12018:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   12019:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   12020:     dynamic_linker='NetBSD (a.out) ld.so'
                   12021:   else
                   12022:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   12023:     soname_spec='${libname}${release}${shared_ext}$major'
                   12024:     dynamic_linker='NetBSD ld.elf_so'
                   12025:   fi
                   12026:   shlibpath_var=LD_LIBRARY_PATH
                   12027:   shlibpath_overrides_runpath=yes
                   12028:   hardcode_into_libs=yes
                   12029:   ;;
                   12030: 
                   12031: newsos6)
                   12032:   version_type=linux # correct to gnu/linux during the next big refactor
                   12033:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12034:   shlibpath_var=LD_LIBRARY_PATH
                   12035:   shlibpath_overrides_runpath=yes
                   12036:   ;;
                   12037: 
                   12038: *nto* | *qnx*)
                   12039:   version_type=qnx
                   12040:   need_lib_prefix=no
                   12041:   need_version=no
                   12042:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12043:   soname_spec='${libname}${release}${shared_ext}$major'
                   12044:   shlibpath_var=LD_LIBRARY_PATH
                   12045:   shlibpath_overrides_runpath=no
                   12046:   hardcode_into_libs=yes
                   12047:   dynamic_linker='ldqnx.so'
                   12048:   ;;
                   12049: 
                   12050: openbsd*)
                   12051:   version_type=sunos
                   12052:   sys_lib_dlsearch_path_spec="/usr/lib"
                   12053:   need_lib_prefix=no
                   12054:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   12055:   case $host_os in
                   12056:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   12057:     *)                         need_version=no  ;;
                   12058:   esac
                   12059:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   12060:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   12061:   shlibpath_var=LD_LIBRARY_PATH
                   12062:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   12063:     case $host_os in
                   12064:       openbsd2.[89] | openbsd2.[89].*)
                   12065:        shlibpath_overrides_runpath=no
                   12066:        ;;
                   12067:       *)
                   12068:        shlibpath_overrides_runpath=yes
                   12069:        ;;
                   12070:       esac
                   12071:   else
                   12072:     shlibpath_overrides_runpath=yes
                   12073:   fi
                   12074:   ;;
                   12075: 
                   12076: os2*)
                   12077:   libname_spec='$name'
                   12078:   shrext_cmds=".dll"
                   12079:   need_lib_prefix=no
                   12080:   library_names_spec='$libname${shared_ext} $libname.a'
                   12081:   dynamic_linker='OS/2 ld.exe'
                   12082:   shlibpath_var=LIBPATH
                   12083:   ;;
                   12084: 
                   12085: osf3* | osf4* | osf5*)
                   12086:   version_type=osf
                   12087:   need_lib_prefix=no
                   12088:   need_version=no
                   12089:   soname_spec='${libname}${release}${shared_ext}$major'
                   12090:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12091:   shlibpath_var=LD_LIBRARY_PATH
                   12092:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   12093:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   12094:   ;;
                   12095: 
                   12096: rdos*)
                   12097:   dynamic_linker=no
                   12098:   ;;
                   12099: 
                   12100: solaris*)
                   12101:   version_type=linux # correct to gnu/linux during the next big refactor
                   12102:   need_lib_prefix=no
                   12103:   need_version=no
                   12104:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12105:   soname_spec='${libname}${release}${shared_ext}$major'
                   12106:   shlibpath_var=LD_LIBRARY_PATH
                   12107:   shlibpath_overrides_runpath=yes
                   12108:   hardcode_into_libs=yes
                   12109:   # ldd complains unless libraries are executable
                   12110:   postinstall_cmds='chmod +x $lib'
                   12111:   ;;
                   12112: 
                   12113: sunos4*)
                   12114:   version_type=sunos
                   12115:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   12116:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   12117:   shlibpath_var=LD_LIBRARY_PATH
                   12118:   shlibpath_overrides_runpath=yes
                   12119:   if test "$with_gnu_ld" = yes; then
                   12120:     need_lib_prefix=no
                   12121:   fi
                   12122:   need_version=yes
                   12123:   ;;
                   12124: 
                   12125: sysv4 | sysv4.3*)
                   12126:   version_type=linux # correct to gnu/linux during the next big refactor
                   12127:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12128:   soname_spec='${libname}${release}${shared_ext}$major'
                   12129:   shlibpath_var=LD_LIBRARY_PATH
                   12130:   case $host_vendor in
                   12131:     sni)
                   12132:       shlibpath_overrides_runpath=no
                   12133:       need_lib_prefix=no
                   12134:       runpath_var=LD_RUN_PATH
                   12135:       ;;
                   12136:     siemens)
                   12137:       need_lib_prefix=no
                   12138:       ;;
                   12139:     motorola)
                   12140:       need_lib_prefix=no
                   12141:       need_version=no
                   12142:       shlibpath_overrides_runpath=no
                   12143:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   12144:       ;;
                   12145:   esac
                   12146:   ;;
                   12147: 
                   12148: sysv4*MP*)
                   12149:   if test -d /usr/nec ;then
                   12150:     version_type=linux # correct to gnu/linux during the next big refactor
                   12151:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   12152:     soname_spec='$libname${shared_ext}.$major'
                   12153:     shlibpath_var=LD_LIBRARY_PATH
                   12154:   fi
                   12155:   ;;
                   12156: 
                   12157: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   12158:   version_type=freebsd-elf
                   12159:   need_lib_prefix=no
                   12160:   need_version=no
                   12161:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   12162:   soname_spec='${libname}${release}${shared_ext}$major'
                   12163:   shlibpath_var=LD_LIBRARY_PATH
                   12164:   shlibpath_overrides_runpath=yes
                   12165:   hardcode_into_libs=yes
                   12166:   if test "$with_gnu_ld" = yes; then
                   12167:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   12168:   else
                   12169:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   12170:     case $host_os in
                   12171:       sco3.2v5*)
                   12172:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   12173:        ;;
                   12174:     esac
                   12175:   fi
                   12176:   sys_lib_dlsearch_path_spec='/usr/lib'
                   12177:   ;;
                   12178: 
                   12179: tpf*)
                   12180:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   12181:   version_type=linux # correct to gnu/linux during the next big refactor
                   12182:   need_lib_prefix=no
                   12183:   need_version=no
                   12184:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12185:   shlibpath_var=LD_LIBRARY_PATH
                   12186:   shlibpath_overrides_runpath=no
                   12187:   hardcode_into_libs=yes
                   12188:   ;;
                   12189: 
                   12190: uts4*)
                   12191:   version_type=linux # correct to gnu/linux during the next big refactor
                   12192:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12193:   soname_spec='${libname}${release}${shared_ext}$major'
                   12194:   shlibpath_var=LD_LIBRARY_PATH
                   12195:   ;;
                   12196: 
                   12197: *)
                   12198:   dynamic_linker=no
                   12199:   ;;
                   12200: esac
1.150     moko     12201: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   12202: $as_echo "$dynamic_linker" >&6; }
1.128     moko     12203: test "$dynamic_linker" = no && can_build_shared=no
                   12204: 
                   12205: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   12206: if test "$GCC" = yes; then
                   12207:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   12208: fi
                   12209: 
                   12210: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   12211:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   12212: fi
                   12213: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   12214:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   12215: fi
                   12216: 
                   12217: 
                   12218: 
                   12219: 
                   12220: 
                   12221: 
                   12222: 
                   12223: 
                   12224: 
                   12225: 
                   12226: 
                   12227: 
                   12228: 
                   12229: 
                   12230: 
                   12231: 
                   12232: 
                   12233: 
                   12234: 
                   12235: 
                   12236: 
                   12237: 
                   12238: 
                   12239: 
                   12240: 
                   12241: 
                   12242: 
                   12243: 
                   12244: 
                   12245: 
                   12246: 
                   12247: 
                   12248: 
                   12249: 
                   12250: 
                   12251: 
                   12252: 
                   12253: 
                   12254: 
                   12255: 
                   12256: 
                   12257: 
                   12258: 
                   12259: 
                   12260: 
                   12261: 
                   12262: 
                   12263: 
                   12264: 
                   12265: 
                   12266: 
                   12267: 
                   12268: 
                   12269: 
                   12270: 
                   12271: 
                   12272: 
                   12273: 
                   12274: 
                   12275: 
                   12276: 
                   12277: 
                   12278: 
                   12279: 
                   12280: 
                   12281: 
                   12282: 
                   12283: 
                   12284: 
                   12285: 
                   12286: 
                   12287: 
                   12288: 
                   12289: 
                   12290: 
                   12291: 
                   12292: 
                   12293: 
                   12294: 
                   12295: 
                   12296: 
                   12297: 
                   12298: 
                   12299: 
                   12300: 
                   12301: 
                   12302: 
                   12303: 
                   12304: 
                   12305: 
                   12306: 
                   12307: 
1.150     moko     12308:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   12309: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1.128     moko     12310: hardcode_action=
                   12311: if test -n "$hardcode_libdir_flag_spec" ||
                   12312:    test -n "$runpath_var" ||
                   12313:    test "X$hardcode_automatic" = "Xyes" ; then
                   12314: 
                   12315:   # We can hardcode non-existent directories.
                   12316:   if test "$hardcode_direct" != no &&
                   12317:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   12318:      # have to relink, otherwise we might link with an installed library
                   12319:      # when we should be linking with a yet-to-be-installed one
                   12320:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
                   12321:      test "$hardcode_minus_L" != no; then
                   12322:     # Linking always hardcodes the temporary library directory.
                   12323:     hardcode_action=relink
                   12324:   else
                   12325:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   12326:     hardcode_action=immediate
                   12327:   fi
                   12328: else
                   12329:   # We cannot hardcode anything, or else we can only hardcode existing
                   12330:   # directories.
                   12331:   hardcode_action=unsupported
                   12332: fi
1.150     moko     12333: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
                   12334: $as_echo "$hardcode_action" >&6; }
1.128     moko     12335: 
                   12336: if test "$hardcode_action" = relink ||
                   12337:    test "$inherit_rpath" = yes; then
                   12338:   # Fast installation is not supported
                   12339:   enable_fast_install=no
                   12340: elif test "$shlibpath_overrides_runpath" = yes ||
                   12341:      test "$enable_shared" = no; then
                   12342:   # Fast installation is not necessary
                   12343:   enable_fast_install=needless
                   12344: fi
                   12345: 
                   12346: 
                   12347: 
                   12348: 
                   12349: 
                   12350: 
                   12351:   if test "x$enable_dlopen" != xyes; then
                   12352:   enable_dlopen=unknown
                   12353:   enable_dlopen_self=unknown
                   12354:   enable_dlopen_self_static=unknown
                   12355: else
                   12356:   lt_cv_dlopen=no
                   12357:   lt_cv_dlopen_libs=
                   12358: 
                   12359:   case $host_os in
                   12360:   beos*)
                   12361:     lt_cv_dlopen="load_add_on"
                   12362:     lt_cv_dlopen_libs=
                   12363:     lt_cv_dlopen_self=yes
                   12364:     ;;
                   12365: 
                   12366:   mingw* | pw32* | cegcc*)
                   12367:     lt_cv_dlopen="LoadLibrary"
                   12368:     lt_cv_dlopen_libs=
                   12369:     ;;
                   12370: 
                   12371:   cygwin*)
                   12372:     lt_cv_dlopen="dlopen"
                   12373:     lt_cv_dlopen_libs=
                   12374:     ;;
                   12375: 
                   12376:   darwin*)
                   12377:   # if libdl is installed we need to link against it
1.150     moko     12378:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   12379: $as_echo_n "checking for dlopen in -ldl... " >&6; }
                   12380: if ${ac_cv_lib_dl_dlopen+:} false; then :
                   12381:   $as_echo_n "(cached) " >&6
1.128     moko     12382: else
                   12383:   ac_check_lib_save_LIBS=$LIBS
                   12384: LIBS="-ldl  $LIBS"
1.150     moko     12385: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12386: /* end confdefs.h.  */
                   12387: 
1.150     moko     12388: /* Override any GCC internal prototype to avoid an error.
                   12389:    Use char because int might match the return type of a GCC
                   12390:    builtin and then its argument prototype would still apply.  */
1.128     moko     12391: #ifdef __cplusplus
                   12392: extern "C"
                   12393: #endif
                   12394: char dlopen ();
                   12395: int
                   12396: main ()
                   12397: {
1.150     moko     12398: return dlopen ();
1.128     moko     12399:   ;
                   12400:   return 0;
                   12401: }
                   12402: _ACEOF
1.150     moko     12403: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12404:   ac_cv_lib_dl_dlopen=yes
                   12405: else
1.150     moko     12406:   ac_cv_lib_dl_dlopen=no
1.128     moko     12407: fi
1.150     moko     12408: rm -f core conftest.err conftest.$ac_objext \
                   12409:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12410: LIBS=$ac_check_lib_save_LIBS
                   12411: fi
1.150     moko     12412: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   12413: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
                   12414: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1.128     moko     12415:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   12416: else
                   12417: 
                   12418:     lt_cv_dlopen="dyld"
                   12419:     lt_cv_dlopen_libs=
                   12420:     lt_cv_dlopen_self=yes
                   12421: 
                   12422: fi
                   12423: 
                   12424:     ;;
                   12425: 
                   12426:   *)
1.150     moko     12427:     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
                   12428: if test "x$ac_cv_func_shl_load" = xyes; then :
1.128     moko     12429:   lt_cv_dlopen="shl_load"
                   12430: else
1.150     moko     12431:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   12432: $as_echo_n "checking for shl_load in -ldld... " >&6; }
                   12433: if ${ac_cv_lib_dld_shl_load+:} false; then :
                   12434:   $as_echo_n "(cached) " >&6
1.128     moko     12435: else
                   12436:   ac_check_lib_save_LIBS=$LIBS
                   12437: LIBS="-ldld  $LIBS"
1.150     moko     12438: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12439: /* end confdefs.h.  */
                   12440: 
1.150     moko     12441: /* Override any GCC internal prototype to avoid an error.
                   12442:    Use char because int might match the return type of a GCC
                   12443:    builtin and then its argument prototype would still apply.  */
1.128     moko     12444: #ifdef __cplusplus
                   12445: extern "C"
                   12446: #endif
                   12447: char shl_load ();
                   12448: int
                   12449: main ()
                   12450: {
1.150     moko     12451: return shl_load ();
1.128     moko     12452:   ;
                   12453:   return 0;
                   12454: }
                   12455: _ACEOF
1.150     moko     12456: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12457:   ac_cv_lib_dld_shl_load=yes
                   12458: else
1.150     moko     12459:   ac_cv_lib_dld_shl_load=no
1.128     moko     12460: fi
1.150     moko     12461: rm -f core conftest.err conftest.$ac_objext \
                   12462:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12463: LIBS=$ac_check_lib_save_LIBS
                   12464: fi
1.150     moko     12465: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   12466: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
                   12467: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
1.128     moko     12468:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
                   12469: else
1.150     moko     12470:   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
                   12471: if test "x$ac_cv_func_dlopen" = xyes; then :
1.128     moko     12472:   lt_cv_dlopen="dlopen"
                   12473: else
1.150     moko     12474:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   12475: $as_echo_n "checking for dlopen in -ldl... " >&6; }
                   12476: if ${ac_cv_lib_dl_dlopen+:} false; then :
                   12477:   $as_echo_n "(cached) " >&6
1.128     moko     12478: else
                   12479:   ac_check_lib_save_LIBS=$LIBS
                   12480: LIBS="-ldl  $LIBS"
1.150     moko     12481: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12482: /* end confdefs.h.  */
                   12483: 
1.150     moko     12484: /* Override any GCC internal prototype to avoid an error.
                   12485:    Use char because int might match the return type of a GCC
                   12486:    builtin and then its argument prototype would still apply.  */
1.128     moko     12487: #ifdef __cplusplus
                   12488: extern "C"
                   12489: #endif
                   12490: char dlopen ();
                   12491: int
                   12492: main ()
                   12493: {
1.150     moko     12494: return dlopen ();
1.128     moko     12495:   ;
                   12496:   return 0;
                   12497: }
                   12498: _ACEOF
1.150     moko     12499: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12500:   ac_cv_lib_dl_dlopen=yes
                   12501: else
1.150     moko     12502:   ac_cv_lib_dl_dlopen=no
1.128     moko     12503: fi
1.150     moko     12504: rm -f core conftest.err conftest.$ac_objext \
                   12505:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12506: LIBS=$ac_check_lib_save_LIBS
                   12507: fi
1.150     moko     12508: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   12509: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
                   12510: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1.128     moko     12511:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   12512: else
1.150     moko     12513:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   12514: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
                   12515: if ${ac_cv_lib_svld_dlopen+:} false; then :
                   12516:   $as_echo_n "(cached) " >&6
1.128     moko     12517: else
                   12518:   ac_check_lib_save_LIBS=$LIBS
                   12519: LIBS="-lsvld  $LIBS"
1.150     moko     12520: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12521: /* end confdefs.h.  */
                   12522: 
1.150     moko     12523: /* Override any GCC internal prototype to avoid an error.
                   12524:    Use char because int might match the return type of a GCC
                   12525:    builtin and then its argument prototype would still apply.  */
1.128     moko     12526: #ifdef __cplusplus
                   12527: extern "C"
                   12528: #endif
                   12529: char dlopen ();
                   12530: int
                   12531: main ()
                   12532: {
1.150     moko     12533: return dlopen ();
1.128     moko     12534:   ;
                   12535:   return 0;
                   12536: }
                   12537: _ACEOF
1.150     moko     12538: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12539:   ac_cv_lib_svld_dlopen=yes
                   12540: else
1.150     moko     12541:   ac_cv_lib_svld_dlopen=no
1.128     moko     12542: fi
1.150     moko     12543: rm -f core conftest.err conftest.$ac_objext \
                   12544:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12545: LIBS=$ac_check_lib_save_LIBS
                   12546: fi
1.150     moko     12547: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   12548: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
                   12549: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
1.128     moko     12550:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
                   12551: else
1.150     moko     12552:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   12553: $as_echo_n "checking for dld_link in -ldld... " >&6; }
                   12554: if ${ac_cv_lib_dld_dld_link+:} false; then :
                   12555:   $as_echo_n "(cached) " >&6
1.128     moko     12556: else
                   12557:   ac_check_lib_save_LIBS=$LIBS
                   12558: LIBS="-ldld  $LIBS"
1.150     moko     12559: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12560: /* end confdefs.h.  */
                   12561: 
1.150     moko     12562: /* Override any GCC internal prototype to avoid an error.
                   12563:    Use char because int might match the return type of a GCC
                   12564:    builtin and then its argument prototype would still apply.  */
1.128     moko     12565: #ifdef __cplusplus
                   12566: extern "C"
                   12567: #endif
                   12568: char dld_link ();
                   12569: int
                   12570: main ()
                   12571: {
1.150     moko     12572: return dld_link ();
1.128     moko     12573:   ;
                   12574:   return 0;
                   12575: }
                   12576: _ACEOF
1.150     moko     12577: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12578:   ac_cv_lib_dld_dld_link=yes
                   12579: else
1.150     moko     12580:   ac_cv_lib_dld_dld_link=no
                   12581: fi
                   12582: rm -f core conftest.err conftest.$ac_objext \
                   12583:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12584: LIBS=$ac_check_lib_save_LIBS
                   12585: fi
1.150     moko     12586: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   12587: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
                   12588: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
1.128     moko     12589:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
                   12590: fi
                   12591: 
                   12592: 
                   12593: fi
                   12594: 
                   12595: 
                   12596: fi
                   12597: 
                   12598: 
                   12599: fi
                   12600: 
                   12601: 
                   12602: fi
                   12603: 
                   12604: 
                   12605: fi
                   12606: 
                   12607:     ;;
                   12608:   esac
                   12609: 
                   12610:   if test "x$lt_cv_dlopen" != xno; then
                   12611:     enable_dlopen=yes
                   12612:   else
                   12613:     enable_dlopen=no
                   12614:   fi
                   12615: 
                   12616:   case $lt_cv_dlopen in
                   12617:   dlopen)
                   12618:     save_CPPFLAGS="$CPPFLAGS"
                   12619:     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
                   12620: 
                   12621:     save_LDFLAGS="$LDFLAGS"
                   12622:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
                   12623: 
                   12624:     save_LIBS="$LIBS"
                   12625:     LIBS="$lt_cv_dlopen_libs $LIBS"
                   12626: 
1.150     moko     12627:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
                   12628: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
                   12629: if ${lt_cv_dlopen_self+:} false; then :
                   12630:   $as_echo_n "(cached) " >&6
1.128     moko     12631: else
                   12632:          if test "$cross_compiling" = yes; then :
                   12633:   lt_cv_dlopen_self=cross
                   12634: else
                   12635:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   12636:   lt_status=$lt_dlunknown
                   12637:   cat > conftest.$ac_ext <<_LT_EOF
                   12638: #line $LINENO "configure"
                   12639: #include "confdefs.h"
                   12640: 
                   12641: #if HAVE_DLFCN_H
                   12642: #include <dlfcn.h>
                   12643: #endif
                   12644: 
                   12645: #include <stdio.h>
                   12646: 
                   12647: #ifdef RTLD_GLOBAL
                   12648: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   12649: #else
                   12650: #  ifdef DL_GLOBAL
                   12651: #    define LT_DLGLOBAL                DL_GLOBAL
                   12652: #  else
                   12653: #    define LT_DLGLOBAL                0
                   12654: #  endif
                   12655: #endif
                   12656: 
                   12657: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   12658:    find out it does not work in some platform. */
                   12659: #ifndef LT_DLLAZY_OR_NOW
                   12660: #  ifdef RTLD_LAZY
                   12661: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   12662: #  else
                   12663: #    ifdef DL_LAZY
                   12664: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   12665: #    else
                   12666: #      ifdef RTLD_NOW
                   12667: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   12668: #      else
                   12669: #        ifdef DL_NOW
                   12670: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   12671: #        else
                   12672: #          define LT_DLLAZY_OR_NOW     0
                   12673: #        endif
                   12674: #      endif
                   12675: #    endif
                   12676: #  endif
                   12677: #endif
                   12678: 
                   12679: /* When -fvisbility=hidden is used, assume the code has been annotated
                   12680:    correspondingly for the symbols needed.  */
                   12681: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   12682: int fnord () __attribute__((visibility("default")));
                   12683: #endif
                   12684: 
                   12685: int fnord () { return 42; }
                   12686: int main ()
                   12687: {
                   12688:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   12689:   int status = $lt_dlunknown;
                   12690: 
                   12691:   if (self)
                   12692:     {
                   12693:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   12694:       else
                   12695:         {
                   12696:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   12697:           else puts (dlerror ());
                   12698:        }
                   12699:       /* dlclose (self); */
                   12700:     }
                   12701:   else
                   12702:     puts (dlerror ());
                   12703: 
                   12704:   return status;
                   12705: }
                   12706: _LT_EOF
1.150     moko     12707:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     12708:   (eval $ac_link) 2>&5
                   12709:   ac_status=$?
1.150     moko     12710:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   12711:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.128     moko     12712:     (./conftest; exit; ) >&5 2>/dev/null
                   12713:     lt_status=$?
                   12714:     case x$lt_status in
                   12715:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   12716:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
                   12717:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
                   12718:     esac
                   12719:   else :
                   12720:     # compilation failed
                   12721:     lt_cv_dlopen_self=no
                   12722:   fi
                   12723: fi
                   12724: rm -fr conftest*
                   12725: 
                   12726: 
                   12727: fi
1.150     moko     12728: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
                   12729: $as_echo "$lt_cv_dlopen_self" >&6; }
1.128     moko     12730: 
                   12731:     if test "x$lt_cv_dlopen_self" = xyes; then
                   12732:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
1.150     moko     12733:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
                   12734: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
                   12735: if ${lt_cv_dlopen_self_static+:} false; then :
                   12736:   $as_echo_n "(cached) " >&6
1.128     moko     12737: else
                   12738:          if test "$cross_compiling" = yes; then :
                   12739:   lt_cv_dlopen_self_static=cross
                   12740: else
                   12741:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   12742:   lt_status=$lt_dlunknown
                   12743:   cat > conftest.$ac_ext <<_LT_EOF
                   12744: #line $LINENO "configure"
                   12745: #include "confdefs.h"
                   12746: 
                   12747: #if HAVE_DLFCN_H
                   12748: #include <dlfcn.h>
                   12749: #endif
                   12750: 
                   12751: #include <stdio.h>
                   12752: 
                   12753: #ifdef RTLD_GLOBAL
                   12754: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   12755: #else
                   12756: #  ifdef DL_GLOBAL
                   12757: #    define LT_DLGLOBAL                DL_GLOBAL
                   12758: #  else
                   12759: #    define LT_DLGLOBAL                0
                   12760: #  endif
                   12761: #endif
                   12762: 
                   12763: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   12764:    find out it does not work in some platform. */
                   12765: #ifndef LT_DLLAZY_OR_NOW
                   12766: #  ifdef RTLD_LAZY
                   12767: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   12768: #  else
                   12769: #    ifdef DL_LAZY
                   12770: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   12771: #    else
                   12772: #      ifdef RTLD_NOW
                   12773: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   12774: #      else
                   12775: #        ifdef DL_NOW
                   12776: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   12777: #        else
                   12778: #          define LT_DLLAZY_OR_NOW     0
                   12779: #        endif
                   12780: #      endif
                   12781: #    endif
                   12782: #  endif
                   12783: #endif
                   12784: 
                   12785: /* When -fvisbility=hidden is used, assume the code has been annotated
                   12786:    correspondingly for the symbols needed.  */
                   12787: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   12788: int fnord () __attribute__((visibility("default")));
                   12789: #endif
                   12790: 
                   12791: int fnord () { return 42; }
                   12792: int main ()
                   12793: {
                   12794:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   12795:   int status = $lt_dlunknown;
                   12796: 
                   12797:   if (self)
                   12798:     {
                   12799:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   12800:       else
                   12801:         {
                   12802:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   12803:           else puts (dlerror ());
                   12804:        }
                   12805:       /* dlclose (self); */
                   12806:     }
                   12807:   else
                   12808:     puts (dlerror ());
                   12809: 
                   12810:   return status;
                   12811: }
                   12812: _LT_EOF
1.150     moko     12813:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     12814:   (eval $ac_link) 2>&5
                   12815:   ac_status=$?
1.150     moko     12816:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   12817:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.128     moko     12818:     (./conftest; exit; ) >&5 2>/dev/null
                   12819:     lt_status=$?
                   12820:     case x$lt_status in
                   12821:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   12822:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
                   12823:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
                   12824:     esac
                   12825:   else :
                   12826:     # compilation failed
                   12827:     lt_cv_dlopen_self_static=no
                   12828:   fi
                   12829: fi
                   12830: rm -fr conftest*
                   12831: 
                   12832: 
                   12833: fi
1.150     moko     12834: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
                   12835: $as_echo "$lt_cv_dlopen_self_static" >&6; }
1.128     moko     12836:     fi
                   12837: 
                   12838:     CPPFLAGS="$save_CPPFLAGS"
                   12839:     LDFLAGS="$save_LDFLAGS"
                   12840:     LIBS="$save_LIBS"
                   12841:     ;;
                   12842:   esac
                   12843: 
                   12844:   case $lt_cv_dlopen_self in
                   12845:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   12846:   *) enable_dlopen_self=unknown ;;
                   12847:   esac
                   12848: 
                   12849:   case $lt_cv_dlopen_self_static in
                   12850:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   12851:   *) enable_dlopen_self_static=unknown ;;
                   12852:   esac
                   12853: fi
                   12854: 
                   12855: 
                   12856: 
                   12857: 
                   12858: 
                   12859: 
                   12860: 
                   12861: 
                   12862: 
                   12863: 
                   12864: 
                   12865: 
                   12866: 
                   12867: 
                   12868: 
                   12869: 
                   12870: 
                   12871: striplib=
                   12872: old_striplib=
1.150     moko     12873: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
                   12874: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
1.128     moko     12875: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
                   12876:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
                   12877:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
1.150     moko     12878:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   12879: $as_echo "yes" >&6; }
1.128     moko     12880: else
                   12881: # FIXME - insert some real tests, host_os isn't really good enough
                   12882:   case $host_os in
                   12883:   darwin*)
                   12884:     if test -n "$STRIP" ; then
                   12885:       striplib="$STRIP -x"
                   12886:       old_striplib="$STRIP -S"
1.150     moko     12887:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   12888: $as_echo "yes" >&6; }
1.128     moko     12889:     else
1.150     moko     12890:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12891: $as_echo "no" >&6; }
1.128     moko     12892:     fi
                   12893:     ;;
                   12894:   *)
1.150     moko     12895:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12896: $as_echo "no" >&6; }
1.128     moko     12897:     ;;
                   12898:   esac
                   12899: fi
                   12900: 
                   12901: 
                   12902: 
                   12903: 
                   12904: 
                   12905: 
                   12906: 
                   12907: 
                   12908: 
                   12909: 
                   12910: 
                   12911: 
                   12912:   # Report which library types will actually be built
1.150     moko     12913:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
                   12914: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
                   12915:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
                   12916: $as_echo "$can_build_shared" >&6; }
1.128     moko     12917: 
1.150     moko     12918:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
                   12919: $as_echo_n "checking whether to build shared libraries... " >&6; }
1.128     moko     12920:   test "$can_build_shared" = "no" && enable_shared=no
                   12921: 
                   12922:   # On AIX, shared libraries and static libraries use the same namespace, and
                   12923:   # are all built from PIC.
                   12924:   case $host_os in
                   12925:   aix3*)
                   12926:     test "$enable_shared" = yes && enable_static=no
                   12927:     if test -n "$RANLIB"; then
                   12928:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   12929:       postinstall_cmds='$RANLIB $lib'
                   12930:     fi
                   12931:     ;;
                   12932: 
                   12933:   aix[4-9]*)
                   12934:     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
                   12935:       test "$enable_shared" = yes && enable_static=no
                   12936:     fi
                   12937:     ;;
                   12938:   esac
1.150     moko     12939:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
                   12940: $as_echo "$enable_shared" >&6; }
1.128     moko     12941: 
1.150     moko     12942:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
                   12943: $as_echo_n "checking whether to build static libraries... " >&6; }
1.128     moko     12944:   # Make sure either enable_shared or enable_static is yes.
                   12945:   test "$enable_shared" = yes || enable_static=yes
1.150     moko     12946:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
                   12947: $as_echo "$enable_static" >&6; }
1.128     moko     12948: 
                   12949: 
                   12950: 
                   12951: 
                   12952: fi
                   12953: ac_ext=c
                   12954: ac_cpp='$CPP $CPPFLAGS'
                   12955: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12956: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12957: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   12958: 
                   12959: CC="$lt_save_CC"
                   12960: 
                   12961:       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
                   12962:     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
                   12963:     (test "X$CXX" != "Xg++"))) ; then
1.150     moko     12964:   ac_ext=cpp
1.128     moko     12965: ac_cpp='$CXXCPP $CPPFLAGS'
                   12966: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12967: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12968: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.150     moko     12969: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
                   12970: $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
1.128     moko     12971: if test -z "$CXXCPP"; then
1.150     moko     12972:   if ${ac_cv_prog_CXXCPP+:} false; then :
                   12973:   $as_echo_n "(cached) " >&6
1.128     moko     12974: else
                   12975:       # Double quotes because CXXCPP needs to be expanded
                   12976:     for CXXCPP in "$CXX -E" "/lib/cpp"
                   12977:     do
                   12978:       ac_preproc_ok=false
                   12979: for ac_cxx_preproc_warn_flag in '' yes
                   12980: do
                   12981:   # Use a header file that comes with gcc, so configuring glibc
                   12982:   # with a fresh cross-compiler works.
                   12983:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   12984:   # <limits.h> exists even on freestanding compilers.
                   12985:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   12986:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     12987:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12988: /* end confdefs.h.  */
                   12989: #ifdef __STDC__
                   12990: # include <limits.h>
                   12991: #else
                   12992: # include <assert.h>
                   12993: #endif
                   12994:                     Syntax error
                   12995: _ACEOF
1.150     moko     12996: if ac_fn_cxx_try_cpp "$LINENO"; then :
                   12997: 
1.128     moko     12998: else
                   12999:   # Broken: fails on valid input.
                   13000: continue
                   13001: fi
1.150     moko     13002: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     13003: 
1.150     moko     13004:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     13005:   # can be detected and how.
1.150     moko     13006:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13007: /* end confdefs.h.  */
                   13008: #include <ac_nonexistent.h>
                   13009: _ACEOF
1.150     moko     13010: if ac_fn_cxx_try_cpp "$LINENO"; then :
1.128     moko     13011:   # Broken: success on invalid input.
                   13012: continue
                   13013: else
                   13014:   # Passes both tests.
                   13015: ac_preproc_ok=:
                   13016: break
                   13017: fi
1.150     moko     13018: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     13019: 
                   13020: done
                   13021: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     13022: rm -f conftest.i conftest.err conftest.$ac_ext
                   13023: if $ac_preproc_ok; then :
1.128     moko     13024:   break
                   13025: fi
                   13026: 
                   13027:     done
                   13028:     ac_cv_prog_CXXCPP=$CXXCPP
                   13029: 
                   13030: fi
                   13031:   CXXCPP=$ac_cv_prog_CXXCPP
                   13032: else
                   13033:   ac_cv_prog_CXXCPP=$CXXCPP
                   13034: fi
1.150     moko     13035: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
                   13036: $as_echo "$CXXCPP" >&6; }
1.128     moko     13037: ac_preproc_ok=false
                   13038: for ac_cxx_preproc_warn_flag in '' yes
                   13039: do
                   13040:   # Use a header file that comes with gcc, so configuring glibc
                   13041:   # with a fresh cross-compiler works.
                   13042:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   13043:   # <limits.h> exists even on freestanding compilers.
                   13044:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   13045:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     13046:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13047: /* end confdefs.h.  */
                   13048: #ifdef __STDC__
                   13049: # include <limits.h>
                   13050: #else
                   13051: # include <assert.h>
                   13052: #endif
                   13053:                     Syntax error
                   13054: _ACEOF
1.150     moko     13055: if ac_fn_cxx_try_cpp "$LINENO"; then :
                   13056: 
1.128     moko     13057: else
                   13058:   # Broken: fails on valid input.
                   13059: continue
                   13060: fi
1.150     moko     13061: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     13062: 
1.150     moko     13063:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     13064:   # can be detected and how.
1.150     moko     13065:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13066: /* end confdefs.h.  */
                   13067: #include <ac_nonexistent.h>
                   13068: _ACEOF
1.150     moko     13069: if ac_fn_cxx_try_cpp "$LINENO"; then :
1.128     moko     13070:   # Broken: success on invalid input.
                   13071: continue
                   13072: else
                   13073:   # Passes both tests.
                   13074: ac_preproc_ok=:
                   13075: break
                   13076: fi
1.150     moko     13077: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     13078: 
                   13079: done
                   13080: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     13081: rm -f conftest.i conftest.err conftest.$ac_ext
                   13082: if $ac_preproc_ok; then :
                   13083: 
1.128     moko     13084: else
1.150     moko     13085:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   13086: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   13087: as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
                   13088: See \`config.log' for more details" "$LINENO" 5; }
1.128     moko     13089: fi
                   13090: 
                   13091: ac_ext=c
                   13092: ac_cpp='$CPP $CPPFLAGS'
                   13093: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   13094: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   13095: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   13096: 
                   13097: else
                   13098:   _lt_caught_CXX_error=yes
                   13099: fi
                   13100: 
1.150     moko     13101: ac_ext=cpp
1.128     moko     13102: ac_cpp='$CXXCPP $CPPFLAGS'
                   13103: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   13104: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   13105: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   13106: 
                   13107: archive_cmds_need_lc_CXX=no
                   13108: allow_undefined_flag_CXX=
                   13109: always_export_symbols_CXX=no
                   13110: archive_expsym_cmds_CXX=
                   13111: compiler_needs_object_CXX=no
                   13112: export_dynamic_flag_spec_CXX=
                   13113: hardcode_direct_CXX=no
                   13114: hardcode_direct_absolute_CXX=no
                   13115: hardcode_libdir_flag_spec_CXX=
                   13116: hardcode_libdir_separator_CXX=
                   13117: hardcode_minus_L_CXX=no
                   13118: hardcode_shlibpath_var_CXX=unsupported
                   13119: hardcode_automatic_CXX=no
                   13120: inherit_rpath_CXX=no
                   13121: module_cmds_CXX=
                   13122: module_expsym_cmds_CXX=
                   13123: link_all_deplibs_CXX=unknown
                   13124: old_archive_cmds_CXX=$old_archive_cmds
                   13125: reload_flag_CXX=$reload_flag
                   13126: reload_cmds_CXX=$reload_cmds
                   13127: no_undefined_flag_CXX=
                   13128: whole_archive_flag_spec_CXX=
                   13129: enable_shared_with_static_runtimes_CXX=no
                   13130: 
                   13131: # Source file extension for C++ test sources.
                   13132: ac_ext=cpp
                   13133: 
                   13134: # Object file extension for compiled C++ test sources.
                   13135: objext=o
                   13136: objext_CXX=$objext
                   13137: 
                   13138: # No sense in running all these tests if we already determined that
                   13139: # the CXX compiler isn't working.  Some variables (like enable_shared)
                   13140: # are currently assumed to apply to all compilers on this platform,
                   13141: # and will be corrupted by setting them based on a non-working compiler.
                   13142: if test "$_lt_caught_CXX_error" != yes; then
                   13143:   # Code to be used in simple compile tests
                   13144:   lt_simple_compile_test_code="int some_variable = 0;"
                   13145: 
                   13146:   # Code to be used in simple link tests
                   13147:   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
                   13148: 
                   13149:   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
                   13150: 
                   13151: 
                   13152: 
                   13153: 
                   13154: 
                   13155: 
                   13156: # If no C compiler was specified, use CC.
                   13157: LTCC=${LTCC-"$CC"}
                   13158: 
                   13159: # If no C compiler flags were specified, use CFLAGS.
                   13160: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   13161: 
                   13162: # Allow CC to be a program name with arguments.
                   13163: compiler=$CC
                   13164: 
                   13165: 
                   13166:   # save warnings/boilerplate of simple test code
                   13167:   ac_outfile=conftest.$ac_objext
                   13168: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   13169: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   13170: _lt_compiler_boilerplate=`cat conftest.err`
                   13171: $RM conftest*
                   13172: 
                   13173:   ac_outfile=conftest.$ac_objext
                   13174: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   13175: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   13176: _lt_linker_boilerplate=`cat conftest.err`
                   13177: $RM -r conftest*
                   13178: 
                   13179: 
                   13180:   # Allow CC to be a program name with arguments.
                   13181:   lt_save_CC=$CC
                   13182:   lt_save_CFLAGS=$CFLAGS
                   13183:   lt_save_LD=$LD
                   13184:   lt_save_GCC=$GCC
                   13185:   GCC=$GXX
                   13186:   lt_save_with_gnu_ld=$with_gnu_ld
                   13187:   lt_save_path_LD=$lt_cv_path_LD
                   13188:   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
                   13189:     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
                   13190:   else
                   13191:     $as_unset lt_cv_prog_gnu_ld
                   13192:   fi
                   13193:   if test -n "${lt_cv_path_LDCXX+set}"; then
                   13194:     lt_cv_path_LD=$lt_cv_path_LDCXX
                   13195:   else
                   13196:     $as_unset lt_cv_path_LD
                   13197:   fi
                   13198:   test -z "${LDCXX+set}" || LD=$LDCXX
                   13199:   CC=${CXX-"c++"}
                   13200:   CFLAGS=$CXXFLAGS
                   13201:   compiler=$CC
                   13202:   compiler_CXX=$CC
                   13203:   for cc_temp in $compiler""; do
                   13204:   case $cc_temp in
                   13205:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   13206:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   13207:     \-*) ;;
                   13208:     *) break;;
                   13209:   esac
                   13210: done
                   13211: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   13212: 
                   13213: 
                   13214:   if test -n "$compiler"; then
                   13215:     # We don't want -fno-exception when compiling C++ code, so set the
                   13216:     # no_builtin_flag separately
                   13217:     if test "$GXX" = yes; then
                   13218:       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
                   13219:     else
                   13220:       lt_prog_compiler_no_builtin_flag_CXX=
                   13221:     fi
                   13222: 
                   13223:     if test "$GXX" = yes; then
                   13224:       # Set up default GNU C++ configuration
                   13225: 
                   13226: 
                   13227: 
1.150     moko     13228: # Check whether --with-gnu-ld was given.
                   13229: if test "${with_gnu_ld+set}" = set; then :
                   13230:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
1.128     moko     13231: else
                   13232:   with_gnu_ld=no
1.150     moko     13233: fi
                   13234: 
1.128     moko     13235: ac_prog=ld
                   13236: if test "$GCC" = yes; then
                   13237:   # Check if gcc -print-prog-name=ld gives a path.
1.150     moko     13238:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   13239: $as_echo_n "checking for ld used by $CC... " >&6; }
1.128     moko     13240:   case $host in
                   13241:   *-*-mingw*)
                   13242:     # gcc leaves a trailing carriage return which upsets mingw
                   13243:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   13244:   *)
                   13245:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   13246:   esac
                   13247:   case $ac_prog in
                   13248:     # Accept absolute paths.
                   13249:     [\\/]* | ?:[\\/]*)
                   13250:       re_direlt='/[^/][^/]*/\.\./'
                   13251:       # Canonicalize the pathname of ld
                   13252:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   13253:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   13254:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   13255:       done
                   13256:       test -z "$LD" && LD="$ac_prog"
                   13257:       ;;
                   13258:   "")
                   13259:     # If it fails, then pretend we aren't using GCC.
                   13260:     ac_prog=ld
                   13261:     ;;
                   13262:   *)
                   13263:     # If it is relative, then search for the first ld in PATH.
                   13264:     with_gnu_ld=unknown
                   13265:     ;;
                   13266:   esac
                   13267: elif test "$with_gnu_ld" = yes; then
1.150     moko     13268:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   13269: $as_echo_n "checking for GNU ld... " >&6; }
1.128     moko     13270: else
1.150     moko     13271:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   13272: $as_echo_n "checking for non-GNU ld... " >&6; }
1.128     moko     13273: fi
1.150     moko     13274: if ${lt_cv_path_LD+:} false; then :
                   13275:   $as_echo_n "(cached) " >&6
1.128     moko     13276: else
                   13277:   if test -z "$LD"; then
                   13278:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   13279:   for ac_dir in $PATH; do
                   13280:     IFS="$lt_save_ifs"
                   13281:     test -z "$ac_dir" && ac_dir=.
                   13282:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   13283:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   13284:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   13285:       # but apparently some variants of GNU ld only accept -v.
                   13286:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   13287:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   13288:       *GNU* | *'with BFD'*)
                   13289:        test "$with_gnu_ld" != no && break
                   13290:        ;;
                   13291:       *)
                   13292:        test "$with_gnu_ld" != yes && break
                   13293:        ;;
                   13294:       esac
                   13295:     fi
                   13296:   done
                   13297:   IFS="$lt_save_ifs"
                   13298: else
                   13299:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   13300: fi
                   13301: fi
                   13302: 
                   13303: LD="$lt_cv_path_LD"
                   13304: if test -n "$LD"; then
1.150     moko     13305:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   13306: $as_echo "$LD" >&6; }
1.128     moko     13307: else
1.150     moko     13308:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   13309: $as_echo "no" >&6; }
1.128     moko     13310: fi
1.150     moko     13311: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
                   13312: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   13313: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
                   13314: if ${lt_cv_prog_gnu_ld+:} false; then :
                   13315:   $as_echo_n "(cached) " >&6
1.128     moko     13316: else
                   13317:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   13318: case `$LD -v 2>&1 </dev/null` in
                   13319: *GNU* | *'with BFD'*)
                   13320:   lt_cv_prog_gnu_ld=yes
                   13321:   ;;
                   13322: *)
                   13323:   lt_cv_prog_gnu_ld=no
                   13324:   ;;
                   13325: esac
                   13326: fi
1.150     moko     13327: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   13328: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
1.128     moko     13329: with_gnu_ld=$lt_cv_prog_gnu_ld
                   13330: 
                   13331: 
                   13332: 
                   13333: 
                   13334: 
                   13335: 
                   13336: 
                   13337:       # Check if GNU C++ uses GNU ld as the underlying linker, since the
                   13338:       # archiving commands below assume that GNU ld is being used.
                   13339:       if test "$with_gnu_ld" = yes; then
                   13340:         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13341:         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'
                   13342: 
                   13343:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13344:         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13345: 
                   13346:         # If archive_cmds runs LD, not CC, wlarc should be empty
                   13347:         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
                   13348:         #     investigate it a little bit more. (MM)
                   13349:         wlarc='${wl}'
                   13350: 
                   13351:         # ancient GNU ld didn't support --whole-archive et. al.
                   13352:         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
                   13353:          $GREP 'no-whole-archive' > /dev/null; then
                   13354:           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   13355:         else
                   13356:           whole_archive_flag_spec_CXX=
                   13357:         fi
                   13358:       else
                   13359:         with_gnu_ld=no
                   13360:         wlarc=
                   13361: 
                   13362:         # A generic and very simple default shared library creation
                   13363:         # command for GNU C++ for the case where it uses the native
                   13364:         # linker, instead of GNU ld.  If possible, this setting should
                   13365:         # overridden to take advantage of the native linker features on
                   13366:         # the platform it is being used on.
                   13367:         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   13368:       fi
                   13369: 
                   13370:       # Commands to make compiler produce verbose output that lists
                   13371:       # what "hidden" libraries, object files and flags are used when
                   13372:       # linking a shared library.
                   13373:       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13374: 
                   13375:     else
                   13376:       GXX=no
                   13377:       with_gnu_ld=no
                   13378:       wlarc=
                   13379:     fi
                   13380: 
                   13381:     # PORTME: fill in a description of your system's C++ link characteristics
1.150     moko     13382:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   13383: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     13384:     ld_shlibs_CXX=yes
                   13385:     case $host_os in
                   13386:       aix3*)
                   13387:         # FIXME: insert proper C++ library support
                   13388:         ld_shlibs_CXX=no
                   13389:         ;;
                   13390:       aix[4-9]*)
                   13391:         if test "$host_cpu" = ia64; then
                   13392:           # On IA64, the linker does run time linking by default, so we don't
                   13393:           # have to do anything special.
                   13394:           aix_use_runtimelinking=no
                   13395:           exp_sym_flag='-Bexport'
                   13396:           no_entry_flag=""
                   13397:         else
                   13398:           aix_use_runtimelinking=no
                   13399: 
                   13400:           # Test if we are trying to use run time linking or normal
                   13401:           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   13402:           # need to do runtime linking.
                   13403:           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   13404:            for ld_flag in $LDFLAGS; do
                   13405:              case $ld_flag in
                   13406:              *-brtl*)
                   13407:                aix_use_runtimelinking=yes
                   13408:                break
                   13409:                ;;
                   13410:              esac
                   13411:            done
                   13412:            ;;
                   13413:           esac
                   13414: 
                   13415:           exp_sym_flag='-bexport'
                   13416:           no_entry_flag='-bnoentry'
                   13417:         fi
                   13418: 
                   13419:         # When large executables or shared objects are built, AIX ld can
                   13420:         # have problems creating the table of contents.  If linking a library
                   13421:         # or program results in "error TOC overflow" add -mminimal-toc to
                   13422:         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   13423:         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   13424: 
                   13425:         archive_cmds_CXX=''
                   13426:         hardcode_direct_CXX=yes
                   13427:         hardcode_direct_absolute_CXX=yes
                   13428:         hardcode_libdir_separator_CXX=':'
                   13429:         link_all_deplibs_CXX=yes
                   13430:         file_list_spec_CXX='${wl}-f,'
                   13431: 
                   13432:         if test "$GXX" = yes; then
                   13433:           case $host_os in aix4.[012]|aix4.[012].*)
                   13434:           # We only want to do this on AIX 4.2 and lower, the check
                   13435:           # below for broken collect2 doesn't work under 4.3+
                   13436:          collect2name=`${CC} -print-prog-name=collect2`
                   13437:          if test -f "$collect2name" &&
                   13438:             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   13439:          then
                   13440:            # We have reworked collect2
                   13441:            :
                   13442:          else
                   13443:            # We have old collect2
                   13444:            hardcode_direct_CXX=unsupported
                   13445:            # It fails to find uninstalled libraries when the uninstalled
                   13446:            # path is not listed in the libpath.  Setting hardcode_minus_L
                   13447:            # to unsupported forces relinking
                   13448:            hardcode_minus_L_CXX=yes
                   13449:            hardcode_libdir_flag_spec_CXX='-L$libdir'
                   13450:            hardcode_libdir_separator_CXX=
                   13451:          fi
                   13452:           esac
                   13453:           shared_flag='-shared'
                   13454:          if test "$aix_use_runtimelinking" = yes; then
                   13455:            shared_flag="$shared_flag "'${wl}-G'
                   13456:          fi
                   13457:         else
                   13458:           # not using gcc
                   13459:           if test "$host_cpu" = ia64; then
                   13460:          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   13461:          # chokes on -Wl,-G. The following line is correct:
                   13462:          shared_flag='-G'
                   13463:           else
                   13464:            if test "$aix_use_runtimelinking" = yes; then
                   13465:              shared_flag='${wl}-G'
                   13466:            else
                   13467:              shared_flag='${wl}-bM:SRE'
                   13468:            fi
                   13469:           fi
                   13470:         fi
                   13471: 
                   13472:         export_dynamic_flag_spec_CXX='${wl}-bexpall'
                   13473:         # It seems that -bexpall does not export symbols beginning with
                   13474:         # underscore (_), so it is better to generate a list of symbols to
                   13475:        # export.
                   13476:         always_export_symbols_CXX=yes
                   13477:         if test "$aix_use_runtimelinking" = yes; then
                   13478:           # Warning - without using the other runtime loading flags (-brtl),
                   13479:           # -berok will link without error, but may produce a broken library.
                   13480:           allow_undefined_flag_CXX='-berok'
                   13481:           # Determine the default libpath from the value encoded in an empty
                   13482:           # executable.
                   13483:           if test "${lt_cv_aix_libpath+set}" = set; then
                   13484:   aix_libpath=$lt_cv_aix_libpath
                   13485: else
1.150     moko     13486:   if ${lt_cv_aix_libpath__CXX+:} false; then :
                   13487:   $as_echo_n "(cached) " >&6
1.128     moko     13488: else
1.150     moko     13489:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13490: /* end confdefs.h.  */
                   13491: 
                   13492: int
                   13493: main ()
                   13494: {
                   13495: 
                   13496:   ;
                   13497:   return 0;
                   13498: }
                   13499: _ACEOF
1.150     moko     13500: if ac_fn_cxx_try_link "$LINENO"; then :
1.128     moko     13501: 
                   13502:   lt_aix_libpath_sed='
                   13503:       /Import File Strings/,/^$/ {
                   13504:          /^0/ {
                   13505:              s/^0  *\([^ ]*\) *$/\1/
                   13506:              p
                   13507:          }
                   13508:       }'
                   13509:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13510:   # Check for a 64-bit object if we didn't find anything.
                   13511:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13512:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13513:   fi
                   13514: fi
1.150     moko     13515: rm -f core conftest.err conftest.$ac_objext \
                   13516:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     13517:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13518:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   13519:   fi
                   13520: 
                   13521: fi
                   13522: 
                   13523:   aix_libpath=$lt_cv_aix_libpath__CXX
                   13524: fi
                   13525: 
                   13526:           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   13527: 
                   13528:           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"
                   13529:         else
                   13530:           if test "$host_cpu" = ia64; then
                   13531:            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
                   13532:            allow_undefined_flag_CXX="-z nodefs"
                   13533:            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"
                   13534:           else
                   13535:            # Determine the default libpath from the value encoded in an
                   13536:            # empty executable.
                   13537:            if test "${lt_cv_aix_libpath+set}" = set; then
                   13538:   aix_libpath=$lt_cv_aix_libpath
                   13539: else
1.150     moko     13540:   if ${lt_cv_aix_libpath__CXX+:} false; then :
                   13541:   $as_echo_n "(cached) " >&6
1.128     moko     13542: else
1.150     moko     13543:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13544: /* end confdefs.h.  */
                   13545: 
                   13546: int
                   13547: main ()
                   13548: {
                   13549: 
                   13550:   ;
                   13551:   return 0;
                   13552: }
                   13553: _ACEOF
1.150     moko     13554: if ac_fn_cxx_try_link "$LINENO"; then :
1.128     moko     13555: 
                   13556:   lt_aix_libpath_sed='
                   13557:       /Import File Strings/,/^$/ {
                   13558:          /^0/ {
                   13559:              s/^0  *\([^ ]*\) *$/\1/
                   13560:              p
                   13561:          }
                   13562:       }'
                   13563:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13564:   # Check for a 64-bit object if we didn't find anything.
                   13565:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13566:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13567:   fi
                   13568: fi
1.150     moko     13569: rm -f core conftest.err conftest.$ac_objext \
                   13570:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     13571:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13572:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   13573:   fi
                   13574: 
                   13575: fi
                   13576: 
                   13577:   aix_libpath=$lt_cv_aix_libpath__CXX
                   13578: fi
                   13579: 
                   13580:            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   13581:            # Warning - without using the other run time loading flags,
                   13582:            # -berok will link without error, but may produce a broken library.
                   13583:            no_undefined_flag_CXX=' ${wl}-bernotok'
                   13584:            allow_undefined_flag_CXX=' ${wl}-berok'
                   13585:            if test "$with_gnu_ld" = yes; then
                   13586:              # We only use this code for GNU lds that support --whole-archive.
                   13587:              whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   13588:            else
                   13589:              # Exported symbols can be pulled into shared objects from archives
                   13590:              whole_archive_flag_spec_CXX='$convenience'
                   13591:            fi
                   13592:            archive_cmds_need_lc_CXX=yes
                   13593:            # This is similar to how AIX traditionally builds its shared
                   13594:            # libraries.
                   13595:            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'
                   13596:           fi
                   13597:         fi
                   13598:         ;;
                   13599: 
                   13600:       beos*)
                   13601:        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   13602:          allow_undefined_flag_CXX=unsupported
                   13603:          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   13604:          # support --undefined.  This deserves some investigation.  FIXME
                   13605:          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13606:        else
                   13607:          ld_shlibs_CXX=no
                   13608:        fi
                   13609:        ;;
                   13610: 
                   13611:       chorus*)
                   13612:         case $cc_basename in
                   13613:           *)
                   13614:          # FIXME: insert proper C++ library support
                   13615:          ld_shlibs_CXX=no
                   13616:          ;;
                   13617:         esac
                   13618:         ;;
                   13619: 
                   13620:       cygwin* | mingw* | pw32* | cegcc*)
                   13621:        case $GXX,$cc_basename in
                   13622:        ,cl* | no,cl*)
                   13623:          # Native MSVC
                   13624:          # hardcode_libdir_flag_spec is actually meaningless, as there is
                   13625:          # no search path for DLLs.
                   13626:          hardcode_libdir_flag_spec_CXX=' '
                   13627:          allow_undefined_flag_CXX=unsupported
                   13628:          always_export_symbols_CXX=yes
                   13629:          file_list_spec_CXX='@'
                   13630:          # Tell ltmain to make .lib files, not .a files.
                   13631:          libext=lib
                   13632:          # Tell ltmain to make .dll files, not .so files.
                   13633:          shrext_cmds=".dll"
                   13634:          # FIXME: Setting linknames here is a bad hack.
                   13635:          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   13636:          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   13637:              $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   13638:            else
                   13639:              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   13640:            fi~
                   13641:            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   13642:            linknames='
                   13643:          # The linker will not automatically build a static lib if we build a DLL.
                   13644:          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
                   13645:          enable_shared_with_static_runtimes_CXX=yes
                   13646:          # Don't use ranlib
                   13647:          old_postinstall_cmds_CXX='chmod 644 $oldlib'
                   13648:          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
                   13649:            lt_tool_outputfile="@TOOL_OUTPUT@"~
                   13650:            case $lt_outputfile in
                   13651:              *.exe|*.EXE) ;;
                   13652:              *)
                   13653:                lt_outputfile="$lt_outputfile.exe"
                   13654:                lt_tool_outputfile="$lt_tool_outputfile.exe"
                   13655:                ;;
                   13656:            esac~
                   13657:            func_to_tool_file "$lt_outputfile"~
                   13658:            if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   13659:              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   13660:              $RM "$lt_outputfile.manifest";
                   13661:            fi'
                   13662:          ;;
                   13663:        *)
                   13664:          # g++
                   13665:          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
                   13666:          # as there is no search path for DLLs.
                   13667:          hardcode_libdir_flag_spec_CXX='-L$libdir'
                   13668:          export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
                   13669:          allow_undefined_flag_CXX=unsupported
                   13670:          always_export_symbols_CXX=no
                   13671:          enable_shared_with_static_runtimes_CXX=yes
                   13672: 
                   13673:          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   13674:            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'
                   13675:            # If the export-symbols file already is a .def file (1st line
                   13676:            # is EXPORTS), use it as is; otherwise, prepend...
                   13677:            archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   13678:              cp $export_symbols $output_objdir/$soname.def;
                   13679:            else
                   13680:              echo EXPORTS > $output_objdir/$soname.def;
                   13681:              cat $export_symbols >> $output_objdir/$soname.def;
                   13682:            fi~
                   13683:            $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'
                   13684:          else
                   13685:            ld_shlibs_CXX=no
                   13686:          fi
                   13687:          ;;
                   13688:        esac
                   13689:        ;;
                   13690:       darwin* | rhapsody*)
                   13691: 
                   13692: 
                   13693:   archive_cmds_need_lc_CXX=no
                   13694:   hardcode_direct_CXX=no
                   13695:   hardcode_automatic_CXX=yes
                   13696:   hardcode_shlibpath_var_CXX=unsupported
                   13697:   if test "$lt_cv_ld_force_load" = "yes"; then
                   13698:     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\"`'
                   13699: 
                   13700:   else
                   13701:     whole_archive_flag_spec_CXX=''
                   13702:   fi
                   13703:   link_all_deplibs_CXX=yes
                   13704:   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
                   13705:   case $cc_basename in
                   13706:      ifort*) _lt_dar_can_shared=yes ;;
                   13707:      *) _lt_dar_can_shared=$GCC ;;
                   13708:   esac
                   13709:   if test "$_lt_dar_can_shared" = "yes"; then
                   13710:     output_verbose_link_cmd=func_echo_all
                   13711:     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}"
                   13712:     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   13713:     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}"
                   13714:     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}"
                   13715:        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
                   13716:       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}"
                   13717:       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}"
                   13718:     fi
                   13719: 
                   13720:   else
                   13721:   ld_shlibs_CXX=no
                   13722:   fi
                   13723: 
                   13724:        ;;
                   13725: 
                   13726:       dgux*)
                   13727:         case $cc_basename in
                   13728:           ec++*)
                   13729:            # FIXME: insert proper C++ library support
                   13730:            ld_shlibs_CXX=no
                   13731:            ;;
                   13732:           ghcx*)
                   13733:            # Green Hills C++ Compiler
                   13734:            # FIXME: insert proper C++ library support
                   13735:            ld_shlibs_CXX=no
                   13736:            ;;
                   13737:           *)
                   13738:            # FIXME: insert proper C++ library support
                   13739:            ld_shlibs_CXX=no
                   13740:            ;;
                   13741:         esac
                   13742:         ;;
                   13743: 
                   13744:       freebsd2.*)
                   13745:         # C++ shared libraries reported to be fairly broken before
                   13746:        # switch to ELF
                   13747:         ld_shlibs_CXX=no
                   13748:         ;;
                   13749: 
                   13750:       freebsd-elf*)
                   13751:         archive_cmds_need_lc_CXX=no
                   13752:         ;;
                   13753: 
                   13754:       freebsd* | dragonfly*)
                   13755:         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
                   13756:         # conventions
                   13757:         ld_shlibs_CXX=yes
                   13758:         ;;
                   13759: 
                   13760:       gnu*)
                   13761:         ;;
                   13762: 
                   13763:       haiku*)
                   13764:         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13765:         link_all_deplibs_CXX=yes
                   13766:         ;;
                   13767: 
                   13768:       hpux9*)
                   13769:         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   13770:         hardcode_libdir_separator_CXX=:
                   13771:         export_dynamic_flag_spec_CXX='${wl}-E'
                   13772:         hardcode_direct_CXX=yes
                   13773:         hardcode_minus_L_CXX=yes # Not in the search PATH,
                   13774:                                             # but as the default
                   13775:                                             # location of the library.
                   13776: 
                   13777:         case $cc_basename in
                   13778:           CC*)
                   13779:             # FIXME: insert proper C++ library support
                   13780:             ld_shlibs_CXX=no
                   13781:             ;;
                   13782:           aCC*)
                   13783:             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'
                   13784:             # Commands to make compiler produce verbose output that lists
                   13785:             # what "hidden" libraries, object files and flags are used when
                   13786:             # linking a shared library.
                   13787:             #
                   13788:             # There doesn't appear to be a way to prevent this compiler from
                   13789:             # explicitly linking system object files so we need to strip them
                   13790:             # from the output so that they don't get included in the library
                   13791:             # dependencies.
                   13792:             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"'
                   13793:             ;;
                   13794:           *)
                   13795:             if test "$GXX" = yes; then
                   13796:               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'
                   13797:             else
                   13798:               # FIXME: insert proper C++ library support
                   13799:               ld_shlibs_CXX=no
                   13800:             fi
                   13801:             ;;
                   13802:         esac
                   13803:         ;;
                   13804: 
                   13805:       hpux10*|hpux11*)
                   13806:         if test $with_gnu_ld = no; then
                   13807:          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   13808:          hardcode_libdir_separator_CXX=:
                   13809: 
                   13810:           case $host_cpu in
                   13811:             hppa*64*|ia64*)
                   13812:               ;;
                   13813:             *)
                   13814:              export_dynamic_flag_spec_CXX='${wl}-E'
                   13815:               ;;
                   13816:           esac
                   13817:         fi
                   13818:         case $host_cpu in
                   13819:           hppa*64*|ia64*)
                   13820:             hardcode_direct_CXX=no
                   13821:             hardcode_shlibpath_var_CXX=no
                   13822:             ;;
                   13823:           *)
                   13824:             hardcode_direct_CXX=yes
                   13825:             hardcode_direct_absolute_CXX=yes
                   13826:             hardcode_minus_L_CXX=yes # Not in the search PATH,
                   13827:                                                 # but as the default
                   13828:                                                 # location of the library.
                   13829:             ;;
                   13830:         esac
                   13831: 
                   13832:         case $cc_basename in
                   13833:           CC*)
                   13834:            # FIXME: insert proper C++ library support
                   13835:            ld_shlibs_CXX=no
                   13836:            ;;
                   13837:           aCC*)
                   13838:            case $host_cpu in
                   13839:              hppa*64*)
                   13840:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13841:                ;;
                   13842:              ia64*)
                   13843:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13844:                ;;
                   13845:              *)
                   13846:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13847:                ;;
                   13848:            esac
                   13849:            # Commands to make compiler produce verbose output that lists
                   13850:            # what "hidden" libraries, object files and flags are used when
                   13851:            # linking a shared library.
                   13852:            #
                   13853:            # There doesn't appear to be a way to prevent this compiler from
                   13854:            # explicitly linking system object files so we need to strip them
                   13855:            # from the output so that they don't get included in the library
                   13856:            # dependencies.
                   13857:            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"'
                   13858:            ;;
                   13859:           *)
                   13860:            if test "$GXX" = yes; then
                   13861:              if test $with_gnu_ld = no; then
                   13862:                case $host_cpu in
                   13863:                  hppa*64*)
                   13864:                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13865:                    ;;
                   13866:                  ia64*)
                   13867:                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13868:                    ;;
                   13869:                  *)
                   13870:                    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'
                   13871:                    ;;
                   13872:                esac
                   13873:              fi
                   13874:            else
                   13875:              # FIXME: insert proper C++ library support
                   13876:              ld_shlibs_CXX=no
                   13877:            fi
                   13878:            ;;
                   13879:         esac
                   13880:         ;;
                   13881: 
                   13882:       interix[3-9]*)
                   13883:        hardcode_direct_CXX=no
                   13884:        hardcode_shlibpath_var_CXX=no
                   13885:        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13886:        export_dynamic_flag_spec_CXX='${wl}-E'
                   13887:        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   13888:        # Instead, shared libraries are loaded at an image base (0x10000000 by
                   13889:        # default) and relocated if they conflict, which is a slow very memory
                   13890:        # consuming and fragmenting process.  To avoid this, we pick a random,
                   13891:        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   13892:        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   13893:        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'
                   13894:        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'
                   13895:        ;;
                   13896:       irix5* | irix6*)
                   13897:         case $cc_basename in
                   13898:           CC*)
                   13899:            # SGI C++
                   13900:            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'
                   13901: 
                   13902:            # Archives containing C++ object files must be created using
                   13903:            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
                   13904:            # necessary to make sure instantiated templates are included
                   13905:            # in the archive.
                   13906:            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
                   13907:            ;;
                   13908:           *)
                   13909:            if test "$GXX" = yes; then
                   13910:              if test "$with_gnu_ld" = no; then
                   13911:                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'
                   13912:              else
                   13913:                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'
                   13914:              fi
                   13915:            fi
                   13916:            link_all_deplibs_CXX=yes
                   13917:            ;;
                   13918:         esac
                   13919:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13920:         hardcode_libdir_separator_CXX=:
                   13921:         inherit_rpath_CXX=yes
                   13922:         ;;
                   13923: 
                   13924:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   13925:         case $cc_basename in
                   13926:           KCC*)
                   13927:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   13928: 
                   13929:            # KCC will only create a shared library if the output file
                   13930:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   13931:            # to its proper name (with version) after linking.
                   13932:            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'
                   13933:            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'
                   13934:            # Commands to make compiler produce verbose output that lists
                   13935:            # what "hidden" libraries, object files and flags are used when
                   13936:            # linking a shared library.
                   13937:            #
                   13938:            # There doesn't appear to be a way to prevent this compiler from
                   13939:            # explicitly linking system object files so we need to strip them
                   13940:            # from the output so that they don't get included in the library
                   13941:            # dependencies.
                   13942:            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"'
                   13943: 
                   13944:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13945:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13946: 
                   13947:            # Archives containing C++ object files must be created using
                   13948:            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
                   13949:            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
                   13950:            ;;
                   13951:          icpc* | ecpc* )
                   13952:            # Intel C++
                   13953:            with_gnu_ld=yes
                   13954:            # version 8.0 and above of icpc choke on multiply defined symbols
                   13955:            # if we add $predep_objects and $postdep_objects, however 7.1 and
                   13956:            # earlier do not add the objects themselves.
                   13957:            case `$CC -V 2>&1` in
                   13958:              *"Version 7."*)
                   13959:                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13960:                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'
                   13961:                ;;
                   13962:              *)  # Version 8.0 or newer
                   13963:                tmp_idyn=
                   13964:                case $host_cpu in
                   13965:                  ia64*) tmp_idyn=' -i_dynamic';;
                   13966:                esac
                   13967:                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13968:                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'
                   13969:                ;;
                   13970:            esac
                   13971:            archive_cmds_need_lc_CXX=no
                   13972:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13973:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13974:            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   13975:            ;;
                   13976:           pgCC* | pgcpp*)
                   13977:             # Portland Group C++ compiler
                   13978:            case `$CC -V` in
                   13979:            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
                   13980:              prelink_cmds_CXX='tpldir=Template.dir~
                   13981:                rm -rf $tpldir~
                   13982:                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
                   13983:                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
                   13984:              old_archive_cmds_CXX='tpldir=Template.dir~
                   13985:                rm -rf $tpldir~
                   13986:                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
                   13987:                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
                   13988:                $RANLIB $oldlib'
                   13989:              archive_cmds_CXX='tpldir=Template.dir~
                   13990:                rm -rf $tpldir~
                   13991:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   13992:                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   13993:              archive_expsym_cmds_CXX='tpldir=Template.dir~
                   13994:                rm -rf $tpldir~
                   13995:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   13996:                $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'
                   13997:              ;;
                   13998:            *) # Version 6 and above use weak symbols
                   13999:              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   14000:              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'
                   14001:              ;;
                   14002:            esac
                   14003: 
                   14004:            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
                   14005:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   14006:            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'
                   14007:             ;;
                   14008:          cxx*)
                   14009:            # Compaq C++
                   14010:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   14011:            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'
                   14012: 
                   14013:            runpath_var=LD_RUN_PATH
                   14014:            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   14015:            hardcode_libdir_separator_CXX=:
                   14016: 
                   14017:            # Commands to make compiler produce verbose output that lists
                   14018:            # what "hidden" libraries, object files and flags are used when
                   14019:            # linking a shared library.
                   14020:            #
                   14021:            # There doesn't appear to be a way to prevent this compiler from
                   14022:            # explicitly linking system object files so we need to strip them
                   14023:            # from the output so that they don't get included in the library
                   14024:            # dependencies.
                   14025:            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'
                   14026:            ;;
                   14027:          xl* | mpixl* | bgxl*)
                   14028:            # IBM XL 8.0 on PPC, with GNU ld
                   14029:            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   14030:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   14031:            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   14032:            if test "x$supports_anon_versioning" = xyes; then
                   14033:              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
                   14034:                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   14035:                echo "local: *; };" >> $output_objdir/$libname.ver~
                   14036:                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   14037:            fi
                   14038:            ;;
                   14039:          *)
                   14040:            case `$CC -V 2>&1 | sed 5q` in
                   14041:            *Sun\ C*)
                   14042:              # Sun C++ 5.9
                   14043:              no_undefined_flag_CXX=' -zdefs'
                   14044:              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14045:              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'
                   14046:              hardcode_libdir_flag_spec_CXX='-R$libdir'
                   14047:              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'
                   14048:              compiler_needs_object_CXX=yes
                   14049: 
                   14050:              # Not sure whether something based on
                   14051:              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
                   14052:              # would be better.
                   14053:              output_verbose_link_cmd='func_echo_all'
                   14054: 
                   14055:              # Archives containing C++ object files must be created using
                   14056:              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   14057:              # necessary to make sure instantiated templates are included
                   14058:              # in the archive.
                   14059:              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   14060:              ;;
                   14061:            esac
                   14062:            ;;
                   14063:        esac
                   14064:        ;;
                   14065: 
                   14066:       lynxos*)
                   14067:         # FIXME: insert proper C++ library support
                   14068:        ld_shlibs_CXX=no
                   14069:        ;;
                   14070: 
                   14071:       m88k*)
                   14072:         # FIXME: insert proper C++ library support
                   14073:         ld_shlibs_CXX=no
                   14074:        ;;
                   14075: 
                   14076:       mvs*)
                   14077:         case $cc_basename in
                   14078:           cxx*)
                   14079:            # FIXME: insert proper C++ library support
                   14080:            ld_shlibs_CXX=no
                   14081:            ;;
                   14082:          *)
                   14083:            # FIXME: insert proper C++ library support
                   14084:            ld_shlibs_CXX=no
                   14085:            ;;
                   14086:        esac
                   14087:        ;;
                   14088: 
                   14089:       netbsd*)
                   14090:         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   14091:          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
                   14092:          wlarc=
                   14093:          hardcode_libdir_flag_spec_CXX='-R$libdir'
                   14094:          hardcode_direct_CXX=yes
                   14095:          hardcode_shlibpath_var_CXX=no
                   14096:        fi
                   14097:        # Workaround some broken pre-1.5 toolchains
                   14098:        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
                   14099:        ;;
                   14100: 
                   14101:       *nto* | *qnx*)
                   14102:         ld_shlibs_CXX=yes
                   14103:        ;;
                   14104: 
                   14105:       openbsd2*)
                   14106:         # C++ shared libraries are fairly broken
                   14107:        ld_shlibs_CXX=no
                   14108:        ;;
                   14109: 
                   14110:       openbsd*)
                   14111:        if test -f /usr/libexec/ld.so; then
                   14112:          hardcode_direct_CXX=yes
                   14113:          hardcode_shlibpath_var_CXX=no
                   14114:          hardcode_direct_absolute_CXX=yes
                   14115:          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   14116:          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   14117:          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   14118:            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
                   14119:            export_dynamic_flag_spec_CXX='${wl}-E'
                   14120:            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   14121:          fi
                   14122:          output_verbose_link_cmd=func_echo_all
                   14123:        else
                   14124:          ld_shlibs_CXX=no
                   14125:        fi
                   14126:        ;;
                   14127: 
                   14128:       osf3* | osf4* | osf5*)
                   14129:         case $cc_basename in
                   14130:           KCC*)
                   14131:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   14132: 
                   14133:            # KCC will only create a shared library if the output file
                   14134:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   14135:            # to its proper name (with version) after linking.
                   14136:            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'
                   14137: 
                   14138:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   14139:            hardcode_libdir_separator_CXX=:
                   14140: 
                   14141:            # Archives containing C++ object files must be created using
                   14142:            # the KAI C++ compiler.
                   14143:            case $host in
                   14144:              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
                   14145:              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
                   14146:            esac
                   14147:            ;;
                   14148:           RCC*)
                   14149:            # Rational C++ 2.4.1
                   14150:            # FIXME: insert proper C++ library support
                   14151:            ld_shlibs_CXX=no
                   14152:            ;;
                   14153:           cxx*)
                   14154:            case $host in
                   14155:              osf3*)
                   14156:                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   14157:                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'
                   14158:                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   14159:                ;;
                   14160:              *)
                   14161:                allow_undefined_flag_CXX=' -expect_unresolved \*'
                   14162:                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'
                   14163:                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
                   14164:                  echo "-hidden">> $lib.exp~
                   14165:                  $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~
                   14166:                  $RM $lib.exp'
                   14167:                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   14168:                ;;
                   14169:            esac
                   14170: 
                   14171:            hardcode_libdir_separator_CXX=:
                   14172: 
                   14173:            # Commands to make compiler produce verbose output that lists
                   14174:            # what "hidden" libraries, object files and flags are used when
                   14175:            # linking a shared library.
                   14176:            #
                   14177:            # There doesn't appear to be a way to prevent this compiler from
                   14178:            # explicitly linking system object files so we need to strip them
                   14179:            # from the output so that they don't get included in the library
                   14180:            # dependencies.
                   14181:            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"'
                   14182:            ;;
                   14183:          *)
                   14184:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   14185:              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   14186:              case $host in
                   14187:                osf3*)
                   14188:                  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'
                   14189:                  ;;
                   14190:                *)
                   14191:                  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'
                   14192:                  ;;
                   14193:              esac
                   14194: 
                   14195:              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   14196:              hardcode_libdir_separator_CXX=:
                   14197: 
                   14198:              # Commands to make compiler produce verbose output that lists
                   14199:              # what "hidden" libraries, object files and flags are used when
                   14200:              # linking a shared library.
                   14201:              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   14202: 
                   14203:            else
                   14204:              # FIXME: insert proper C++ library support
                   14205:              ld_shlibs_CXX=no
                   14206:            fi
                   14207:            ;;
                   14208:         esac
                   14209:         ;;
                   14210: 
                   14211:       psos*)
                   14212:         # FIXME: insert proper C++ library support
                   14213:         ld_shlibs_CXX=no
                   14214:         ;;
                   14215: 
                   14216:       sunos4*)
                   14217:         case $cc_basename in
                   14218:           CC*)
                   14219:            # Sun C++ 4.x
                   14220:            # FIXME: insert proper C++ library support
                   14221:            ld_shlibs_CXX=no
                   14222:            ;;
                   14223:           lcc*)
                   14224:            # Lucid
                   14225:            # FIXME: insert proper C++ library support
                   14226:            ld_shlibs_CXX=no
                   14227:            ;;
                   14228:           *)
                   14229:            # FIXME: insert proper C++ library support
                   14230:            ld_shlibs_CXX=no
                   14231:            ;;
                   14232:         esac
                   14233:         ;;
                   14234: 
                   14235:       solaris*)
                   14236:         case $cc_basename in
                   14237:           CC* | sunCC*)
                   14238:            # Sun C++ 4.2, 5.x and Centerline C++
                   14239:             archive_cmds_need_lc_CXX=yes
                   14240:            no_undefined_flag_CXX=' -zdefs'
                   14241:            archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14242:            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   14243:              $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'
                   14244: 
                   14245:            hardcode_libdir_flag_spec_CXX='-R$libdir'
                   14246:            hardcode_shlibpath_var_CXX=no
                   14247:            case $host_os in
                   14248:              solaris2.[0-5] | solaris2.[0-5].*) ;;
                   14249:              *)
                   14250:                # The compiler driver will combine and reorder linker options,
                   14251:                # but understands `-z linker_flag'.
                   14252:                # Supported since Solaris 2.6 (maybe 2.5.1?)
                   14253:                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
                   14254:                ;;
                   14255:            esac
                   14256:            link_all_deplibs_CXX=yes
                   14257: 
                   14258:            output_verbose_link_cmd='func_echo_all'
                   14259: 
                   14260:            # Archives containing C++ object files must be created using
                   14261:            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   14262:            # necessary to make sure instantiated templates are included
                   14263:            # in the archive.
                   14264:            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   14265:            ;;
                   14266:           gcx*)
                   14267:            # Green Hills C++ Compiler
                   14268:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   14269: 
                   14270:            # The C++ compiler must be used to create the archive.
                   14271:            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
                   14272:            ;;
                   14273:           *)
                   14274:            # GNU C++ compiler with Solaris linker
                   14275:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   14276:              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
                   14277:              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
                   14278:                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   14279:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   14280:                  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   14281: 
                   14282:                # Commands to make compiler produce verbose output that lists
                   14283:                # what "hidden" libraries, object files and flags are used when
                   14284:                # linking a shared library.
                   14285:                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   14286:              else
                   14287:                # g++ 2.7 appears to require `-G' NOT `-shared' on this
                   14288:                # platform.
                   14289:                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   14290:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   14291:                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   14292: 
                   14293:                # Commands to make compiler produce verbose output that lists
                   14294:                # what "hidden" libraries, object files and flags are used when
                   14295:                # linking a shared library.
                   14296:                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   14297:              fi
                   14298: 
                   14299:              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
                   14300:              case $host_os in
                   14301:                solaris2.[0-5] | solaris2.[0-5].*) ;;
                   14302:                *)
                   14303:                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   14304:                  ;;
                   14305:              esac
                   14306:            fi
                   14307:            ;;
                   14308:         esac
                   14309:         ;;
                   14310: 
                   14311:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   14312:       no_undefined_flag_CXX='${wl}-z,text'
                   14313:       archive_cmds_need_lc_CXX=no
                   14314:       hardcode_shlibpath_var_CXX=no
                   14315:       runpath_var='LD_RUN_PATH'
                   14316: 
                   14317:       case $cc_basename in
                   14318:         CC*)
                   14319:          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14320:          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14321:          ;;
                   14322:        *)
                   14323:          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14324:          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14325:          ;;
                   14326:       esac
                   14327:       ;;
                   14328: 
                   14329:       sysv5* | sco3.2v5* | sco5v6*)
                   14330:        # Note: We can NOT use -z defs as we might desire, because we do not
                   14331:        # link with -lc, and that would cause any symbols used from libc to
                   14332:        # always be unresolved, which means just about no library would
                   14333:        # ever link correctly.  If we're not using GNU ld we use -z text
                   14334:        # though, which does catch some bad symbols but isn't as heavy-handed
                   14335:        # as -z defs.
                   14336:        no_undefined_flag_CXX='${wl}-z,text'
                   14337:        allow_undefined_flag_CXX='${wl}-z,nodefs'
                   14338:        archive_cmds_need_lc_CXX=no
                   14339:        hardcode_shlibpath_var_CXX=no
                   14340:        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
                   14341:        hardcode_libdir_separator_CXX=':'
                   14342:        link_all_deplibs_CXX=yes
                   14343:        export_dynamic_flag_spec_CXX='${wl}-Bexport'
                   14344:        runpath_var='LD_RUN_PATH'
                   14345: 
                   14346:        case $cc_basename in
                   14347:           CC*)
                   14348:            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14349:            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14350:            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
                   14351:              '"$old_archive_cmds_CXX"
                   14352:            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
                   14353:              '"$reload_cmds_CXX"
                   14354:            ;;
                   14355:          *)
                   14356:            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14357:            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14358:            ;;
                   14359:        esac
                   14360:       ;;
                   14361: 
                   14362:       tandem*)
                   14363:         case $cc_basename in
                   14364:           NCC*)
                   14365:            # NonStop-UX NCC 3.20
                   14366:            # FIXME: insert proper C++ library support
                   14367:            ld_shlibs_CXX=no
                   14368:            ;;
                   14369:           *)
                   14370:            # FIXME: insert proper C++ library support
                   14371:            ld_shlibs_CXX=no
                   14372:            ;;
                   14373:         esac
                   14374:         ;;
                   14375: 
                   14376:       vxworks*)
                   14377:         # FIXME: insert proper C++ library support
                   14378:         ld_shlibs_CXX=no
                   14379:         ;;
                   14380: 
                   14381:       *)
                   14382:         # FIXME: insert proper C++ library support
                   14383:         ld_shlibs_CXX=no
                   14384:         ;;
                   14385:     esac
                   14386: 
1.150     moko     14387:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
                   14388: $as_echo "$ld_shlibs_CXX" >&6; }
1.128     moko     14389:     test "$ld_shlibs_CXX" = no && can_build_shared=no
                   14390: 
                   14391:     GCC_CXX="$GXX"
                   14392:     LD_CXX="$LD"
                   14393: 
                   14394:     ## CAVEAT EMPTOR:
                   14395:     ## There is no encapsulation within the following macros, do not change
                   14396:     ## the running order or otherwise move them around unless you know exactly
                   14397:     ## what you are doing...
                   14398:     # Dependencies to place before and after the object being linked:
                   14399: predep_objects_CXX=
                   14400: postdep_objects_CXX=
                   14401: predeps_CXX=
                   14402: postdeps_CXX=
                   14403: compiler_lib_search_path_CXX=
                   14404: 
                   14405: cat > conftest.$ac_ext <<_LT_EOF
                   14406: class Foo
                   14407: {
                   14408: public:
                   14409:   Foo (void) { a = 0; }
                   14410: private:
                   14411:   int a;
                   14412: };
                   14413: _LT_EOF
                   14414: 
                   14415: 
                   14416: _lt_libdeps_save_CFLAGS=$CFLAGS
                   14417: case "$CC $CFLAGS " in #(
                   14418: *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
                   14419: *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
                   14420: *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
                   14421: esac
                   14422: 
1.150     moko     14423: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     14424:   (eval $ac_compile) 2>&5
                   14425:   ac_status=$?
1.150     moko     14426:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   14427:   test $ac_status = 0; }; then
1.128     moko     14428:   # Parse the compiler output and extract the necessary
                   14429:   # objects, libraries and library flags.
                   14430: 
                   14431:   # Sentinel used to keep track of whether or not we are before
                   14432:   # the conftest object file.
                   14433:   pre_test_object_deps_done=no
                   14434: 
                   14435:   for p in `eval "$output_verbose_link_cmd"`; do
                   14436:     case ${prev}${p} in
                   14437: 
                   14438:     -L* | -R* | -l*)
                   14439:        # Some compilers place space between "-{L,R}" and the path.
                   14440:        # Remove the space.
                   14441:        if test $p = "-L" ||
                   14442:           test $p = "-R"; then
                   14443:         prev=$p
                   14444:         continue
                   14445:        fi
                   14446: 
                   14447:        # Expand the sysroot to ease extracting the directories later.
                   14448:        if test -z "$prev"; then
                   14449:          case $p in
                   14450:          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
                   14451:          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
                   14452:          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
                   14453:          esac
                   14454:        fi
                   14455:        case $p in
                   14456:        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
                   14457:        esac
                   14458:        if test "$pre_test_object_deps_done" = no; then
                   14459:         case ${prev} in
                   14460:         -L | -R)
                   14461:           # Internal compiler library paths should come after those
                   14462:           # provided the user.  The postdeps already come after the
                   14463:           # user supplied libs so there is no need to process them.
                   14464:           if test -z "$compiler_lib_search_path_CXX"; then
                   14465:             compiler_lib_search_path_CXX="${prev}${p}"
                   14466:           else
                   14467:             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
                   14468:           fi
                   14469:           ;;
                   14470:         # The "-l" case would never come before the object being
                   14471:         # linked, so don't bother handling this case.
                   14472:         esac
                   14473:        else
                   14474:         if test -z "$postdeps_CXX"; then
                   14475:           postdeps_CXX="${prev}${p}"
                   14476:         else
                   14477:           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
                   14478:         fi
                   14479:        fi
                   14480:        prev=
                   14481:        ;;
                   14482: 
                   14483:     *.lto.$objext) ;; # Ignore GCC LTO objects
                   14484:     *.$objext)
                   14485:        # This assumes that the test object file only shows up
                   14486:        # once in the compiler output.
                   14487:        if test "$p" = "conftest.$objext"; then
                   14488:         pre_test_object_deps_done=yes
                   14489:         continue
                   14490:        fi
                   14491: 
                   14492:        if test "$pre_test_object_deps_done" = no; then
                   14493:         if test -z "$predep_objects_CXX"; then
                   14494:           predep_objects_CXX="$p"
                   14495:         else
                   14496:           predep_objects_CXX="$predep_objects_CXX $p"
                   14497:         fi
                   14498:        else
                   14499:         if test -z "$postdep_objects_CXX"; then
                   14500:           postdep_objects_CXX="$p"
                   14501:         else
                   14502:           postdep_objects_CXX="$postdep_objects_CXX $p"
                   14503:         fi
                   14504:        fi
                   14505:        ;;
                   14506: 
                   14507:     *) ;; # Ignore the rest.
                   14508: 
                   14509:     esac
                   14510:   done
                   14511: 
                   14512:   # Clean up.
                   14513:   rm -f a.out a.exe
                   14514: else
                   14515:   echo "libtool.m4: error: problem compiling CXX test program"
                   14516: fi
                   14517: 
                   14518: $RM -f confest.$objext
                   14519: CFLAGS=$_lt_libdeps_save_CFLAGS
                   14520: 
                   14521: # PORTME: override above test on systems where it is broken
                   14522: case $host_os in
                   14523: interix[3-9]*)
                   14524:   # Interix 3.5 installs completely hosed .la files for C++, so rather than
                   14525:   # hack all around it, let's just trust "g++" to DTRT.
                   14526:   predep_objects_CXX=
                   14527:   postdep_objects_CXX=
                   14528:   postdeps_CXX=
                   14529:   ;;
                   14530: 
                   14531: linux*)
                   14532:   case `$CC -V 2>&1 | sed 5q` in
                   14533:   *Sun\ C*)
                   14534:     # Sun C++ 5.9
                   14535: 
                   14536:     # The more standards-conforming stlport4 library is
                   14537:     # incompatible with the Cstd library. Avoid specifying
                   14538:     # it if it's in CXXFLAGS. Ignore libCrun as
                   14539:     # -library=stlport4 depends on it.
                   14540:     case " $CXX $CXXFLAGS " in
                   14541:     *" -library=stlport4 "*)
                   14542:       solaris_use_stlport4=yes
                   14543:       ;;
                   14544:     esac
                   14545: 
                   14546:     if test "$solaris_use_stlport4" != yes; then
                   14547:       postdeps_CXX='-library=Cstd -library=Crun'
                   14548:     fi
                   14549:     ;;
                   14550:   esac
                   14551:   ;;
                   14552: 
                   14553: solaris*)
                   14554:   case $cc_basename in
                   14555:   CC* | sunCC*)
                   14556:     # The more standards-conforming stlport4 library is
                   14557:     # incompatible with the Cstd library. Avoid specifying
                   14558:     # it if it's in CXXFLAGS. Ignore libCrun as
                   14559:     # -library=stlport4 depends on it.
                   14560:     case " $CXX $CXXFLAGS " in
                   14561:     *" -library=stlport4 "*)
                   14562:       solaris_use_stlport4=yes
                   14563:       ;;
                   14564:     esac
                   14565: 
                   14566:     # Adding this requires a known-good setup of shared libraries for
                   14567:     # Sun compiler versions before 5.6, else PIC objects from an old
                   14568:     # archive will be linked into the output, leading to subtle bugs.
                   14569:     if test "$solaris_use_stlport4" != yes; then
                   14570:       postdeps_CXX='-library=Cstd -library=Crun'
                   14571:     fi
                   14572:     ;;
                   14573:   esac
                   14574:   ;;
                   14575: esac
                   14576: 
                   14577: 
                   14578: case " $postdeps_CXX " in
                   14579: *" -lc "*) archive_cmds_need_lc_CXX=no ;;
                   14580: esac
                   14581:  compiler_lib_search_dirs_CXX=
                   14582: if test -n "${compiler_lib_search_path_CXX}"; then
                   14583:  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
                   14584: fi
                   14585: 
                   14586: 
                   14587: 
                   14588: 
                   14589: 
                   14590: 
                   14591: 
                   14592: 
                   14593: 
                   14594: 
                   14595: 
                   14596: 
                   14597: 
                   14598: 
                   14599: 
                   14600: 
                   14601: 
                   14602: 
                   14603: 
                   14604: 
                   14605: 
                   14606: 
                   14607: 
                   14608: 
                   14609: 
                   14610: 
                   14611: 
                   14612: 
                   14613: 
                   14614: 
                   14615: 
                   14616:     lt_prog_compiler_wl_CXX=
                   14617: lt_prog_compiler_pic_CXX=
                   14618: lt_prog_compiler_static_CXX=
                   14619: 
                   14620: 
                   14621:   # C++ specific cases for pic, static, wl, etc.
                   14622:   if test "$GXX" = yes; then
                   14623:     lt_prog_compiler_wl_CXX='-Wl,'
                   14624:     lt_prog_compiler_static_CXX='-static'
                   14625: 
                   14626:     case $host_os in
                   14627:     aix*)
                   14628:       # All AIX code is PIC.
                   14629:       if test "$host_cpu" = ia64; then
                   14630:        # AIX 5 now supports IA64 processor
                   14631:        lt_prog_compiler_static_CXX='-Bstatic'
                   14632:       fi
                   14633:       ;;
                   14634: 
                   14635:     amigaos*)
                   14636:       case $host_cpu in
                   14637:       powerpc)
                   14638:             # see comment about AmigaOS4 .so support
                   14639:             lt_prog_compiler_pic_CXX='-fPIC'
                   14640:         ;;
                   14641:       m68k)
                   14642:             # FIXME: we need at least 68020 code to build shared libraries, but
                   14643:             # adding the `-m68020' flag to GCC prevents building anything better,
                   14644:             # like `-m68040'.
                   14645:             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
                   14646:         ;;
                   14647:       esac
                   14648:       ;;
                   14649: 
                   14650:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   14651:       # PIC is the default for these OSes.
                   14652:       ;;
                   14653:     mingw* | cygwin* | os2* | pw32* | cegcc*)
                   14654:       # This hack is so that the source file can tell whether it is being
                   14655:       # built for inclusion in a dll (and should export symbols for example).
                   14656:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   14657:       # (--disable-auto-import) libraries
                   14658:       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   14659:       ;;
                   14660:     darwin* | rhapsody*)
                   14661:       # PIC is the default on this platform
                   14662:       # Common symbols not allowed in MH_DYLIB files
                   14663:       lt_prog_compiler_pic_CXX='-fno-common'
                   14664:       ;;
                   14665:     *djgpp*)
                   14666:       # DJGPP does not support shared libraries at all
                   14667:       lt_prog_compiler_pic_CXX=
                   14668:       ;;
                   14669:     haiku*)
                   14670:       # PIC is the default for Haiku.
                   14671:       # The "-static" flag exists, but is broken.
                   14672:       lt_prog_compiler_static_CXX=
                   14673:       ;;
                   14674:     interix[3-9]*)
                   14675:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   14676:       # Instead, we relocate shared libraries at runtime.
                   14677:       ;;
                   14678:     sysv4*MP*)
                   14679:       if test -d /usr/nec; then
                   14680:        lt_prog_compiler_pic_CXX=-Kconform_pic
                   14681:       fi
                   14682:       ;;
                   14683:     hpux*)
                   14684:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   14685:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   14686:       # sets the default TLS model and affects inlining.
                   14687:       case $host_cpu in
                   14688:       hppa*64*)
                   14689:        ;;
                   14690:       *)
                   14691:        lt_prog_compiler_pic_CXX='-fPIC'
                   14692:        ;;
                   14693:       esac
                   14694:       ;;
                   14695:     *qnx* | *nto*)
                   14696:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   14697:       # it will coredump.
                   14698:       lt_prog_compiler_pic_CXX='-fPIC -shared'
                   14699:       ;;
                   14700:     *)
                   14701:       lt_prog_compiler_pic_CXX='-fPIC'
                   14702:       ;;
                   14703:     esac
                   14704:   else
                   14705:     case $host_os in
                   14706:       aix[4-9]*)
                   14707:        # All AIX code is PIC.
                   14708:        if test "$host_cpu" = ia64; then
                   14709:          # AIX 5 now supports IA64 processor
                   14710:          lt_prog_compiler_static_CXX='-Bstatic'
                   14711:        else
                   14712:          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
                   14713:        fi
                   14714:        ;;
                   14715:       chorus*)
                   14716:        case $cc_basename in
                   14717:        cxch68*)
                   14718:          # Green Hills C++ Compiler
                   14719:          # _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"
                   14720:          ;;
                   14721:        esac
                   14722:        ;;
                   14723:       mingw* | cygwin* | os2* | pw32* | cegcc*)
                   14724:        # This hack is so that the source file can tell whether it is being
                   14725:        # built for inclusion in a dll (and should export symbols for example).
                   14726:        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   14727:        ;;
                   14728:       dgux*)
                   14729:        case $cc_basename in
                   14730:          ec++*)
                   14731:            lt_prog_compiler_pic_CXX='-KPIC'
                   14732:            ;;
                   14733:          ghcx*)
                   14734:            # Green Hills C++ Compiler
                   14735:            lt_prog_compiler_pic_CXX='-pic'
                   14736:            ;;
                   14737:          *)
                   14738:            ;;
                   14739:        esac
                   14740:        ;;
                   14741:       freebsd* | dragonfly*)
                   14742:        # FreeBSD uses GNU C++
                   14743:        ;;
                   14744:       hpux9* | hpux10* | hpux11*)
                   14745:        case $cc_basename in
                   14746:          CC*)
                   14747:            lt_prog_compiler_wl_CXX='-Wl,'
                   14748:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   14749:            if test "$host_cpu" != ia64; then
                   14750:              lt_prog_compiler_pic_CXX='+Z'
                   14751:            fi
                   14752:            ;;
                   14753:          aCC*)
                   14754:            lt_prog_compiler_wl_CXX='-Wl,'
                   14755:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   14756:            case $host_cpu in
                   14757:            hppa*64*|ia64*)
                   14758:              # +Z the default
                   14759:              ;;
                   14760:            *)
                   14761:              lt_prog_compiler_pic_CXX='+Z'
                   14762:              ;;
                   14763:            esac
                   14764:            ;;
                   14765:          *)
                   14766:            ;;
                   14767:        esac
                   14768:        ;;
                   14769:       interix*)
                   14770:        # This is c89, which is MS Visual C++ (no shared libs)
                   14771:        # Anyone wants to do a port?
                   14772:        ;;
                   14773:       irix5* | irix6* | nonstopux*)
                   14774:        case $cc_basename in
                   14775:          CC*)
                   14776:            lt_prog_compiler_wl_CXX='-Wl,'
                   14777:            lt_prog_compiler_static_CXX='-non_shared'
                   14778:            # CC pic flag -KPIC is the default.
                   14779:            ;;
                   14780:          *)
                   14781:            ;;
                   14782:        esac
                   14783:        ;;
                   14784:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   14785:        case $cc_basename in
                   14786:          KCC*)
                   14787:            # KAI C++ Compiler
                   14788:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   14789:            lt_prog_compiler_pic_CXX='-fPIC'
                   14790:            ;;
                   14791:          ecpc* )
                   14792:            # old Intel C++ for x86_64 which still supported -KPIC.
                   14793:            lt_prog_compiler_wl_CXX='-Wl,'
                   14794:            lt_prog_compiler_pic_CXX='-KPIC'
                   14795:            lt_prog_compiler_static_CXX='-static'
                   14796:            ;;
                   14797:          icpc* )
                   14798:            # Intel C++, used to be incompatible with GCC.
                   14799:            # ICC 10 doesn't accept -KPIC any more.
                   14800:            lt_prog_compiler_wl_CXX='-Wl,'
                   14801:            lt_prog_compiler_pic_CXX='-fPIC'
                   14802:            lt_prog_compiler_static_CXX='-static'
                   14803:            ;;
                   14804:          pgCC* | pgcpp*)
                   14805:            # Portland Group C++ compiler
                   14806:            lt_prog_compiler_wl_CXX='-Wl,'
                   14807:            lt_prog_compiler_pic_CXX='-fpic'
                   14808:            lt_prog_compiler_static_CXX='-Bstatic'
                   14809:            ;;
                   14810:          cxx*)
                   14811:            # Compaq C++
                   14812:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   14813:            # Linux and Compaq Tru64 Unix objects are PIC.
                   14814:            lt_prog_compiler_pic_CXX=
                   14815:            lt_prog_compiler_static_CXX='-non_shared'
                   14816:            ;;
                   14817:          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
                   14818:            # IBM XL 8.0, 9.0 on PPC and BlueGene
                   14819:            lt_prog_compiler_wl_CXX='-Wl,'
                   14820:            lt_prog_compiler_pic_CXX='-qpic'
                   14821:            lt_prog_compiler_static_CXX='-qstaticlink'
                   14822:            ;;
                   14823:          *)
                   14824:            case `$CC -V 2>&1 | sed 5q` in
                   14825:            *Sun\ C*)
                   14826:              # Sun C++ 5.9
                   14827:              lt_prog_compiler_pic_CXX='-KPIC'
                   14828:              lt_prog_compiler_static_CXX='-Bstatic'
                   14829:              lt_prog_compiler_wl_CXX='-Qoption ld '
                   14830:              ;;
                   14831:            esac
                   14832:            ;;
                   14833:        esac
                   14834:        ;;
                   14835:       lynxos*)
                   14836:        ;;
                   14837:       m88k*)
                   14838:        ;;
                   14839:       mvs*)
                   14840:        case $cc_basename in
                   14841:          cxx*)
                   14842:            lt_prog_compiler_pic_CXX='-W c,exportall'
                   14843:            ;;
                   14844:          *)
                   14845:            ;;
                   14846:        esac
                   14847:        ;;
                   14848:       netbsd*)
                   14849:        ;;
                   14850:       *qnx* | *nto*)
                   14851:         # QNX uses GNU C++, but need to define -shared option too, otherwise
                   14852:         # it will coredump.
                   14853:         lt_prog_compiler_pic_CXX='-fPIC -shared'
                   14854:         ;;
                   14855:       osf3* | osf4* | osf5*)
                   14856:        case $cc_basename in
                   14857:          KCC*)
                   14858:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   14859:            ;;
                   14860:          RCC*)
                   14861:            # Rational C++ 2.4.1
                   14862:            lt_prog_compiler_pic_CXX='-pic'
                   14863:            ;;
                   14864:          cxx*)
                   14865:            # Digital/Compaq C++
                   14866:            lt_prog_compiler_wl_CXX='-Wl,'
                   14867:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   14868:            # Linux and Compaq Tru64 Unix objects are PIC.
                   14869:            lt_prog_compiler_pic_CXX=
                   14870:            lt_prog_compiler_static_CXX='-non_shared'
                   14871:            ;;
                   14872:          *)
                   14873:            ;;
                   14874:        esac
                   14875:        ;;
                   14876:       psos*)
                   14877:        ;;
                   14878:       solaris*)
                   14879:        case $cc_basename in
                   14880:          CC* | sunCC*)
                   14881:            # Sun C++ 4.2, 5.x and Centerline C++
                   14882:            lt_prog_compiler_pic_CXX='-KPIC'
                   14883:            lt_prog_compiler_static_CXX='-Bstatic'
                   14884:            lt_prog_compiler_wl_CXX='-Qoption ld '
                   14885:            ;;
                   14886:          gcx*)
                   14887:            # Green Hills C++ Compiler
                   14888:            lt_prog_compiler_pic_CXX='-PIC'
                   14889:            ;;
                   14890:          *)
                   14891:            ;;
                   14892:        esac
                   14893:        ;;
                   14894:       sunos4*)
                   14895:        case $cc_basename in
                   14896:          CC*)
                   14897:            # Sun C++ 4.x
                   14898:            lt_prog_compiler_pic_CXX='-pic'
                   14899:            lt_prog_compiler_static_CXX='-Bstatic'
                   14900:            ;;
                   14901:          lcc*)
                   14902:            # Lucid
                   14903:            lt_prog_compiler_pic_CXX='-pic'
                   14904:            ;;
                   14905:          *)
                   14906:            ;;
                   14907:        esac
                   14908:        ;;
                   14909:       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   14910:        case $cc_basename in
                   14911:          CC*)
                   14912:            lt_prog_compiler_wl_CXX='-Wl,'
                   14913:            lt_prog_compiler_pic_CXX='-KPIC'
                   14914:            lt_prog_compiler_static_CXX='-Bstatic'
                   14915:            ;;
                   14916:        esac
                   14917:        ;;
                   14918:       tandem*)
                   14919:        case $cc_basename in
                   14920:          NCC*)
                   14921:            # NonStop-UX NCC 3.20
                   14922:            lt_prog_compiler_pic_CXX='-KPIC'
                   14923:            ;;
                   14924:          *)
                   14925:            ;;
                   14926:        esac
                   14927:        ;;
                   14928:       vxworks*)
                   14929:        ;;
                   14930:       *)
                   14931:        lt_prog_compiler_can_build_shared_CXX=no
                   14932:        ;;
                   14933:     esac
                   14934:   fi
                   14935: 
                   14936: case $host_os in
                   14937:   # For platforms which do not support PIC, -DPIC is meaningless:
                   14938:   *djgpp*)
                   14939:     lt_prog_compiler_pic_CXX=
                   14940:     ;;
                   14941:   *)
                   14942:     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
                   14943:     ;;
                   14944: esac
                   14945: 
1.150     moko     14946: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   14947: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
                   14948: if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
                   14949:   $as_echo_n "(cached) " >&6
1.128     moko     14950: else
                   14951:   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
                   14952: fi
1.150     moko     14953: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
                   14954: $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
1.128     moko     14955: lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
                   14956: 
                   14957: #
                   14958: # Check to make sure the PIC flag actually works.
                   14959: #
                   14960: if test -n "$lt_prog_compiler_pic_CXX"; then
1.150     moko     14961:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
                   14962: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
                   14963: if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
                   14964:   $as_echo_n "(cached) " >&6
1.128     moko     14965: else
                   14966:   lt_cv_prog_compiler_pic_works_CXX=no
                   14967:    ac_outfile=conftest.$ac_objext
                   14968:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14969:    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
                   14970:    # Insert the option either (1) after the last *FLAGS variable, or
                   14971:    # (2) before a word containing "conftest.", or (3) at the end.
                   14972:    # Note that $ac_compile itself does not contain backslashes and begins
                   14973:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14974:    # The option is referenced via a variable to avoid confusing sed.
                   14975:    lt_compile=`echo "$ac_compile" | $SED \
                   14976:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14977:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14978:    -e 's:$: $lt_compiler_flag:'`
                   14979:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14980:    (eval "$lt_compile" 2>conftest.err)
                   14981:    ac_status=$?
                   14982:    cat conftest.err >&5
                   14983:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14984:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   14985:      # The compiler can only warn and ignore the option if not recognized
                   14986:      # So say no if there are warnings other than the usual output.
                   14987:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   14988:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   14989:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   14990:        lt_cv_prog_compiler_pic_works_CXX=yes
                   14991:      fi
                   14992:    fi
                   14993:    $RM conftest*
                   14994: 
                   14995: fi
1.150     moko     14996: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
                   14997: $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
1.128     moko     14998: 
                   14999: if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
                   15000:     case $lt_prog_compiler_pic_CXX in
                   15001:      "" | " "*) ;;
                   15002:      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
                   15003:      esac
                   15004: else
                   15005:     lt_prog_compiler_pic_CXX=
                   15006:      lt_prog_compiler_can_build_shared_CXX=no
                   15007: fi
                   15008: 
                   15009: fi
                   15010: 
                   15011: 
                   15012: 
                   15013: 
                   15014: 
                   15015: #
                   15016: # Check to make sure the static flag actually works.
                   15017: #
                   15018: wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
1.150     moko     15019: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   15020: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   15021: if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
                   15022:   $as_echo_n "(cached) " >&6
1.128     moko     15023: else
                   15024:   lt_cv_prog_compiler_static_works_CXX=no
                   15025:    save_LDFLAGS="$LDFLAGS"
                   15026:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   15027:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   15028:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   15029:      # The linker can only warn and ignore the option if not recognized
                   15030:      # So say no if there are warnings
                   15031:      if test -s conftest.err; then
                   15032:        # Append any errors to the config.log.
                   15033:        cat conftest.err 1>&5
                   15034:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   15035:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   15036:        if diff conftest.exp conftest.er2 >/dev/null; then
                   15037:          lt_cv_prog_compiler_static_works_CXX=yes
                   15038:        fi
                   15039:      else
                   15040:        lt_cv_prog_compiler_static_works_CXX=yes
                   15041:      fi
                   15042:    fi
                   15043:    $RM -r conftest*
                   15044:    LDFLAGS="$save_LDFLAGS"
                   15045: 
                   15046: fi
1.150     moko     15047: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
                   15048: $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
1.128     moko     15049: 
                   15050: if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
                   15051:     :
                   15052: else
                   15053:     lt_prog_compiler_static_CXX=
                   15054: fi
                   15055: 
                   15056: 
                   15057: 
                   15058: 
1.150     moko     15059:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   15060: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   15061: if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
                   15062:   $as_echo_n "(cached) " >&6
1.128     moko     15063: else
                   15064:   lt_cv_prog_compiler_c_o_CXX=no
                   15065:    $RM -r conftest 2>/dev/null
                   15066:    mkdir conftest
                   15067:    cd conftest
                   15068:    mkdir out
                   15069:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   15070: 
                   15071:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   15072:    # Insert the option either (1) after the last *FLAGS variable, or
                   15073:    # (2) before a word containing "conftest.", or (3) at the end.
                   15074:    # Note that $ac_compile itself does not contain backslashes and begins
                   15075:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   15076:    lt_compile=`echo "$ac_compile" | $SED \
                   15077:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   15078:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   15079:    -e 's:$: $lt_compiler_flag:'`
                   15080:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   15081:    (eval "$lt_compile" 2>out/conftest.err)
                   15082:    ac_status=$?
                   15083:    cat out/conftest.err >&5
                   15084:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15085:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   15086:    then
                   15087:      # The compiler can only warn and ignore the option if not recognized
                   15088:      # So say no if there are warnings
                   15089:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   15090:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   15091:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   15092:        lt_cv_prog_compiler_c_o_CXX=yes
                   15093:      fi
                   15094:    fi
                   15095:    chmod u+w . 2>&5
                   15096:    $RM conftest*
                   15097:    # SGI C++ compiler will create directory out/ii_files/ for
                   15098:    # template instantiation
                   15099:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   15100:    $RM out/* && rmdir out
                   15101:    cd ..
                   15102:    $RM -r conftest
                   15103:    $RM conftest*
                   15104: 
                   15105: fi
1.150     moko     15106: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   15107: $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
1.128     moko     15108: 
                   15109: 
                   15110: 
1.150     moko     15111:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   15112: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   15113: if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
                   15114:   $as_echo_n "(cached) " >&6
1.128     moko     15115: else
                   15116:   lt_cv_prog_compiler_c_o_CXX=no
                   15117:    $RM -r conftest 2>/dev/null
                   15118:    mkdir conftest
                   15119:    cd conftest
                   15120:    mkdir out
                   15121:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   15122: 
                   15123:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   15124:    # Insert the option either (1) after the last *FLAGS variable, or
                   15125:    # (2) before a word containing "conftest.", or (3) at the end.
                   15126:    # Note that $ac_compile itself does not contain backslashes and begins
                   15127:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   15128:    lt_compile=`echo "$ac_compile" | $SED \
                   15129:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   15130:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   15131:    -e 's:$: $lt_compiler_flag:'`
                   15132:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   15133:    (eval "$lt_compile" 2>out/conftest.err)
                   15134:    ac_status=$?
                   15135:    cat out/conftest.err >&5
                   15136:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15137:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   15138:    then
                   15139:      # The compiler can only warn and ignore the option if not recognized
                   15140:      # So say no if there are warnings
                   15141:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   15142:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   15143:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   15144:        lt_cv_prog_compiler_c_o_CXX=yes
                   15145:      fi
                   15146:    fi
                   15147:    chmod u+w . 2>&5
                   15148:    $RM conftest*
                   15149:    # SGI C++ compiler will create directory out/ii_files/ for
                   15150:    # template instantiation
                   15151:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   15152:    $RM out/* && rmdir out
                   15153:    cd ..
                   15154:    $RM -r conftest
                   15155:    $RM conftest*
                   15156: 
                   15157: fi
1.150     moko     15158: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   15159: $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
1.128     moko     15160: 
                   15161: 
                   15162: 
                   15163: 
                   15164: hard_links="nottested"
                   15165: if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
                   15166:   # do not overwrite the value of need_locks provided by the user
1.150     moko     15167:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   15168: $as_echo_n "checking if we can lock with hard links... " >&6; }
1.128     moko     15169:   hard_links=yes
                   15170:   $RM conftest*
                   15171:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   15172:   touch conftest.a
                   15173:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   15174:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.150     moko     15175:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   15176: $as_echo "$hard_links" >&6; }
1.128     moko     15177:   if test "$hard_links" = no; then
1.150     moko     15178:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   15179: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.128     moko     15180:     need_locks=warn
                   15181:   fi
                   15182: else
                   15183:   need_locks=no
                   15184: fi
                   15185: 
                   15186: 
                   15187: 
1.150     moko     15188:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   15189: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     15190: 
                   15191:   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   15192:   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   15193:   case $host_os in
                   15194:   aix[4-9]*)
                   15195:     # If we're using GNU nm, then we don't want the "-C" option.
                   15196:     # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   15197:     # Also, AIX nm treats weak defined symbols like other global defined
                   15198:     # symbols, whereas GNU nm marks them as "W".
                   15199:     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   15200:       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'
                   15201:     else
                   15202:       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'
                   15203:     fi
                   15204:     ;;
                   15205:   pw32*)
                   15206:     export_symbols_cmds_CXX="$ltdll_cmds"
                   15207:     ;;
                   15208:   cygwin* | mingw* | cegcc*)
                   15209:     case $cc_basename in
                   15210:     cl*)
                   15211:       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   15212:       ;;
                   15213:     *)
                   15214:       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'
                   15215:       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   15216:       ;;
                   15217:     esac
                   15218:     ;;
                   15219:   *)
                   15220:     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   15221:     ;;
                   15222:   esac
                   15223: 
1.150     moko     15224: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
                   15225: $as_echo "$ld_shlibs_CXX" >&6; }
1.128     moko     15226: test "$ld_shlibs_CXX" = no && can_build_shared=no
                   15227: 
                   15228: with_gnu_ld_CXX=$with_gnu_ld
                   15229: 
                   15230: 
                   15231: 
                   15232: 
                   15233: 
                   15234: 
                   15235: #
                   15236: # Do we need to explicitly link libc?
                   15237: #
                   15238: case "x$archive_cmds_need_lc_CXX" in
                   15239: x|xyes)
                   15240:   # Assume -lc should be added
                   15241:   archive_cmds_need_lc_CXX=yes
                   15242: 
                   15243:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   15244:     case $archive_cmds_CXX in
                   15245:     *'~'*)
                   15246:       # FIXME: we may have to deal with multi-command sequences.
                   15247:       ;;
                   15248:     '$CC '*)
                   15249:       # Test whether the compiler implicitly links with -lc since on some
                   15250:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   15251:       # to ld, don't add -lc before -lgcc.
1.150     moko     15252:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   15253: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
                   15254: if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
                   15255:   $as_echo_n "(cached) " >&6
1.128     moko     15256: else
                   15257:   $RM conftest*
                   15258:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   15259: 
1.150     moko     15260:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     15261:   (eval $ac_compile) 2>&5
                   15262:   ac_status=$?
1.150     moko     15263:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   15264:   test $ac_status = 0; } 2>conftest.err; then
1.128     moko     15265:          soname=conftest
                   15266:          lib=conftest
                   15267:          libobjs=conftest.$ac_objext
                   15268:          deplibs=
                   15269:          wl=$lt_prog_compiler_wl_CXX
                   15270:          pic_flag=$lt_prog_compiler_pic_CXX
                   15271:          compiler_flags=-v
                   15272:          linker_flags=-v
                   15273:          verstring=
                   15274:          output_objdir=.
                   15275:          libname=conftest
                   15276:          lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
                   15277:          allow_undefined_flag_CXX=
1.150     moko     15278:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1.128     moko     15279:   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   15280:   ac_status=$?
1.150     moko     15281:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   15282:   test $ac_status = 0; }
1.128     moko     15283:          then
                   15284:            lt_cv_archive_cmds_need_lc_CXX=no
                   15285:          else
                   15286:            lt_cv_archive_cmds_need_lc_CXX=yes
                   15287:          fi
                   15288:          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
                   15289:        else
                   15290:          cat conftest.err 1>&5
                   15291:        fi
                   15292:        $RM conftest*
                   15293: 
                   15294: fi
1.150     moko     15295: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
                   15296: $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
1.128     moko     15297:       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
                   15298:       ;;
                   15299:     esac
                   15300:   fi
                   15301:   ;;
                   15302: esac
                   15303: 
                   15304: 
                   15305: 
                   15306: 
                   15307: 
                   15308: 
                   15309: 
                   15310: 
                   15311: 
                   15312: 
                   15313: 
                   15314: 
                   15315: 
                   15316: 
                   15317: 
                   15318: 
                   15319: 
                   15320: 
                   15321: 
                   15322: 
                   15323: 
                   15324: 
                   15325: 
                   15326: 
                   15327: 
                   15328: 
                   15329: 
                   15330: 
                   15331: 
                   15332: 
                   15333: 
                   15334: 
                   15335: 
                   15336: 
                   15337: 
                   15338: 
                   15339: 
                   15340: 
                   15341: 
                   15342: 
                   15343: 
                   15344: 
                   15345: 
                   15346: 
                   15347: 
                   15348: 
                   15349: 
                   15350: 
                   15351: 
                   15352: 
                   15353: 
                   15354: 
                   15355: 
                   15356: 
                   15357: 
                   15358: 
                   15359: 
                   15360: 
                   15361: 
                   15362: 
                   15363: 
                   15364: 
1.150     moko     15365:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   15366: $as_echo_n "checking dynamic linker characteristics... " >&6; }
1.128     moko     15367: 
                   15368: library_names_spec=
                   15369: libname_spec='lib$name'
                   15370: soname_spec=
                   15371: shrext_cmds=".so"
                   15372: postinstall_cmds=
                   15373: postuninstall_cmds=
                   15374: finish_cmds=
                   15375: finish_eval=
                   15376: shlibpath_var=
                   15377: shlibpath_overrides_runpath=unknown
                   15378: version_type=none
                   15379: dynamic_linker="$host_os ld.so"
                   15380: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   15381: need_lib_prefix=unknown
                   15382: hardcode_into_libs=no
                   15383: 
                   15384: # when you set need_version to no, make sure it does not cause -set_version
                   15385: # flags to be left without arguments
                   15386: need_version=unknown
                   15387: 
                   15388: case $host_os in
                   15389: aix3*)
                   15390:   version_type=linux # correct to gnu/linux during the next big refactor
                   15391:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   15392:   shlibpath_var=LIBPATH
                   15393: 
                   15394:   # AIX 3 has no versioning support, so we append a major version to the name.
                   15395:   soname_spec='${libname}${release}${shared_ext}$major'
                   15396:   ;;
                   15397: 
                   15398: aix[4-9]*)
                   15399:   version_type=linux # correct to gnu/linux during the next big refactor
                   15400:   need_lib_prefix=no
                   15401:   need_version=no
                   15402:   hardcode_into_libs=yes
                   15403:   if test "$host_cpu" = ia64; then
                   15404:     # AIX 5 supports IA64
                   15405:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   15406:     shlibpath_var=LD_LIBRARY_PATH
                   15407:   else
                   15408:     # With GCC up to 2.95.x, collect2 would create an import file
                   15409:     # for dependence libraries.  The import file would start with
                   15410:     # the line `#! .'.  This would cause the generated library to
                   15411:     # depend on `.', always an invalid library.  This was fixed in
                   15412:     # development snapshots of GCC prior to 3.0.
                   15413:     case $host_os in
                   15414:       aix4 | aix4.[01] | aix4.[01].*)
                   15415:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   15416:           echo ' yes '
                   15417:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   15418:        :
                   15419:       else
                   15420:        can_build_shared=no
                   15421:       fi
                   15422:       ;;
                   15423:     esac
                   15424:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   15425:     # soname into executable. Probably we can add versioning support to
                   15426:     # collect2, so additional links can be useful in future.
                   15427:     if test "$aix_use_runtimelinking" = yes; then
                   15428:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   15429:       # instead of lib<name>.a to let people know that these are not
                   15430:       # typical AIX shared libraries.
                   15431:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15432:     else
                   15433:       # We preserve .a as extension for shared libraries through AIX4.2
                   15434:       # and later when we are not doing run time linking.
                   15435:       library_names_spec='${libname}${release}.a $libname.a'
                   15436:       soname_spec='${libname}${release}${shared_ext}$major'
                   15437:     fi
                   15438:     shlibpath_var=LIBPATH
                   15439:   fi
                   15440:   ;;
                   15441: 
                   15442: amigaos*)
                   15443:   case $host_cpu in
                   15444:   powerpc)
                   15445:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   15446:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   15447:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15448:     ;;
                   15449:   m68k)
                   15450:     library_names_spec='$libname.ixlibrary $libname.a'
                   15451:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   15452:     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'
                   15453:     ;;
                   15454:   esac
                   15455:   ;;
                   15456: 
                   15457: beos*)
                   15458:   library_names_spec='${libname}${shared_ext}'
                   15459:   dynamic_linker="$host_os ld.so"
                   15460:   shlibpath_var=LIBRARY_PATH
                   15461:   ;;
                   15462: 
                   15463: bsdi[45]*)
                   15464:   version_type=linux # correct to gnu/linux during the next big refactor
                   15465:   need_version=no
                   15466:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15467:   soname_spec='${libname}${release}${shared_ext}$major'
                   15468:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   15469:   shlibpath_var=LD_LIBRARY_PATH
                   15470:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   15471:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   15472:   # the default ld.so.conf also contains /usr/contrib/lib and
                   15473:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   15474:   # libtool to hard-code these into programs
                   15475:   ;;
                   15476: 
                   15477: cygwin* | mingw* | pw32* | cegcc*)
                   15478:   version_type=windows
                   15479:   shrext_cmds=".dll"
                   15480:   need_version=no
                   15481:   need_lib_prefix=no
                   15482: 
                   15483:   case $GCC,$cc_basename in
                   15484:   yes,*)
                   15485:     # gcc
                   15486:     library_names_spec='$libname.dll.a'
                   15487:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   15488:     postinstall_cmds='base_file=`basename \${file}`~
                   15489:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   15490:       dldir=$destdir/`dirname \$dlpath`~
                   15491:       test -d \$dldir || mkdir -p \$dldir~
                   15492:       $install_prog $dir/$dlname \$dldir/$dlname~
                   15493:       chmod a+x \$dldir/$dlname~
                   15494:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   15495:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   15496:       fi'
                   15497:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   15498:       dlpath=$dir/\$dldll~
                   15499:        $RM \$dlpath'
                   15500:     shlibpath_overrides_runpath=yes
                   15501: 
                   15502:     case $host_os in
                   15503:     cygwin*)
                   15504:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   15505:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15506: 
                   15507:       ;;
                   15508:     mingw* | cegcc*)
                   15509:       # MinGW DLLs use traditional 'lib' prefix
                   15510:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15511:       ;;
                   15512:     pw32*)
                   15513:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   15514:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15515:       ;;
                   15516:     esac
                   15517:     dynamic_linker='Win32 ld.exe'
                   15518:     ;;
                   15519: 
                   15520:   *,cl*)
                   15521:     # Native MSVC
                   15522:     libname_spec='$name'
                   15523:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15524:     library_names_spec='${libname}.dll.lib'
                   15525: 
                   15526:     case $build_os in
                   15527:     mingw*)
                   15528:       sys_lib_search_path_spec=
                   15529:       lt_save_ifs=$IFS
                   15530:       IFS=';'
                   15531:       for lt_path in $LIB
                   15532:       do
                   15533:         IFS=$lt_save_ifs
                   15534:         # Let DOS variable expansion print the short 8.3 style file name.
                   15535:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   15536:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   15537:       done
                   15538:       IFS=$lt_save_ifs
                   15539:       # Convert to MSYS style.
                   15540:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   15541:       ;;
                   15542:     cygwin*)
                   15543:       # Convert to unix form, then to dos form, then back to unix form
                   15544:       # but this time dos style (no spaces!) so that the unix form looks
                   15545:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   15546:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   15547:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   15548:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   15549:       ;;
                   15550:     *)
                   15551:       sys_lib_search_path_spec="$LIB"
                   15552:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   15553:         # It is most probably a Windows format PATH.
                   15554:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   15555:       else
                   15556:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   15557:       fi
                   15558:       # FIXME: find the short name or the path components, as spaces are
                   15559:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   15560:       ;;
                   15561:     esac
                   15562: 
                   15563:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   15564:     postinstall_cmds='base_file=`basename \${file}`~
                   15565:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   15566:       dldir=$destdir/`dirname \$dlpath`~
                   15567:       test -d \$dldir || mkdir -p \$dldir~
                   15568:       $install_prog $dir/$dlname \$dldir/$dlname'
                   15569:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   15570:       dlpath=$dir/\$dldll~
                   15571:        $RM \$dlpath'
                   15572:     shlibpath_overrides_runpath=yes
                   15573:     dynamic_linker='Win32 link.exe'
                   15574:     ;;
                   15575: 
                   15576:   *)
                   15577:     # Assume MSVC wrapper
                   15578:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   15579:     dynamic_linker='Win32 ld.exe'
                   15580:     ;;
                   15581:   esac
                   15582:   # FIXME: first we should search . and the directory the executable is in
                   15583:   shlibpath_var=PATH
                   15584:   ;;
                   15585: 
                   15586: darwin* | rhapsody*)
                   15587:   dynamic_linker="$host_os dyld"
                   15588:   version_type=darwin
                   15589:   need_lib_prefix=no
                   15590:   need_version=no
                   15591:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   15592:   soname_spec='${libname}${release}${major}$shared_ext'
                   15593:   shlibpath_overrides_runpath=yes
                   15594:   shlibpath_var=DYLD_LIBRARY_PATH
                   15595:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   15596: 
                   15597:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   15598:   ;;
                   15599: 
                   15600: dgux*)
                   15601:   version_type=linux # correct to gnu/linux during the next big refactor
                   15602:   need_lib_prefix=no
                   15603:   need_version=no
                   15604:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   15605:   soname_spec='${libname}${release}${shared_ext}$major'
                   15606:   shlibpath_var=LD_LIBRARY_PATH
                   15607:   ;;
                   15608: 
                   15609: freebsd* | dragonfly*)
                   15610:   # DragonFly does not have aout.  When/if they implement a new
                   15611:   # versioning mechanism, adjust this.
                   15612:   if test -x /usr/bin/objformat; then
                   15613:     objformat=`/usr/bin/objformat`
                   15614:   else
                   15615:     case $host_os in
                   15616:     freebsd[23].*) objformat=aout ;;
                   15617:     *) objformat=elf ;;
                   15618:     esac
                   15619:   fi
                   15620:   version_type=freebsd-$objformat
                   15621:   case $version_type in
                   15622:     freebsd-elf*)
                   15623:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15624:       need_version=no
                   15625:       need_lib_prefix=no
                   15626:       ;;
                   15627:     freebsd-*)
                   15628:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   15629:       need_version=yes
                   15630:       ;;
                   15631:   esac
                   15632:   shlibpath_var=LD_LIBRARY_PATH
                   15633:   case $host_os in
                   15634:   freebsd2.*)
                   15635:     shlibpath_overrides_runpath=yes
                   15636:     ;;
                   15637:   freebsd3.[01]* | freebsdelf3.[01]*)
                   15638:     shlibpath_overrides_runpath=yes
                   15639:     hardcode_into_libs=yes
                   15640:     ;;
                   15641:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   15642:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   15643:     shlibpath_overrides_runpath=no
                   15644:     hardcode_into_libs=yes
                   15645:     ;;
                   15646:   *) # from 4.6 on, and DragonFly
                   15647:     shlibpath_overrides_runpath=yes
                   15648:     hardcode_into_libs=yes
                   15649:     ;;
                   15650:   esac
                   15651:   ;;
                   15652: 
                   15653: gnu*)
                   15654:   version_type=linux # correct to gnu/linux during the next big refactor
                   15655:   need_lib_prefix=no
                   15656:   need_version=no
                   15657:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   15658:   soname_spec='${libname}${release}${shared_ext}$major'
                   15659:   shlibpath_var=LD_LIBRARY_PATH
                   15660:   shlibpath_overrides_runpath=no
                   15661:   hardcode_into_libs=yes
                   15662:   ;;
                   15663: 
                   15664: haiku*)
                   15665:   version_type=linux # correct to gnu/linux during the next big refactor
                   15666:   need_lib_prefix=no
                   15667:   need_version=no
                   15668:   dynamic_linker="$host_os runtime_loader"
                   15669:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   15670:   soname_spec='${libname}${release}${shared_ext}$major'
                   15671:   shlibpath_var=LIBRARY_PATH
                   15672:   shlibpath_overrides_runpath=yes
                   15673:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   15674:   hardcode_into_libs=yes
                   15675:   ;;
                   15676: 
                   15677: hpux9* | hpux10* | hpux11*)
                   15678:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   15679:   # link against other versions.
                   15680:   version_type=sunos
                   15681:   need_lib_prefix=no
                   15682:   need_version=no
                   15683:   case $host_cpu in
                   15684:   ia64*)
                   15685:     shrext_cmds='.so'
                   15686:     hardcode_into_libs=yes
                   15687:     dynamic_linker="$host_os dld.so"
                   15688:     shlibpath_var=LD_LIBRARY_PATH
                   15689:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   15690:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15691:     soname_spec='${libname}${release}${shared_ext}$major'
                   15692:     if test "X$HPUX_IA64_MODE" = X32; then
                   15693:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   15694:     else
                   15695:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   15696:     fi
                   15697:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   15698:     ;;
                   15699:   hppa*64*)
                   15700:     shrext_cmds='.sl'
                   15701:     hardcode_into_libs=yes
                   15702:     dynamic_linker="$host_os dld.sl"
                   15703:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   15704:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   15705:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15706:     soname_spec='${libname}${release}${shared_ext}$major'
                   15707:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   15708:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   15709:     ;;
                   15710:   *)
                   15711:     shrext_cmds='.sl'
                   15712:     dynamic_linker="$host_os dld.sl"
                   15713:     shlibpath_var=SHLIB_PATH
                   15714:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   15715:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15716:     soname_spec='${libname}${release}${shared_ext}$major'
                   15717:     ;;
                   15718:   esac
                   15719:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   15720:   postinstall_cmds='chmod 555 $lib'
                   15721:   # or fails outright, so override atomically:
                   15722:   install_override_mode=555
                   15723:   ;;
                   15724: 
                   15725: interix[3-9]*)
                   15726:   version_type=linux # correct to gnu/linux during the next big refactor
                   15727:   need_lib_prefix=no
                   15728:   need_version=no
                   15729:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   15730:   soname_spec='${libname}${release}${shared_ext}$major'
                   15731:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   15732:   shlibpath_var=LD_LIBRARY_PATH
                   15733:   shlibpath_overrides_runpath=no
                   15734:   hardcode_into_libs=yes
                   15735:   ;;
                   15736: 
                   15737: irix5* | irix6* | nonstopux*)
                   15738:   case $host_os in
                   15739:     nonstopux*) version_type=nonstopux ;;
                   15740:     *)
                   15741:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   15742:                version_type=linux # correct to gnu/linux during the next big refactor
                   15743:        else
                   15744:                version_type=irix
                   15745:        fi ;;
                   15746:   esac
                   15747:   need_lib_prefix=no
                   15748:   need_version=no
                   15749:   soname_spec='${libname}${release}${shared_ext}$major'
                   15750:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15751:   case $host_os in
                   15752:   irix5* | nonstopux*)
                   15753:     libsuff= shlibsuff=
                   15754:     ;;
                   15755:   *)
                   15756:     case $LD in # libtool.m4 will add one of these switches to LD
                   15757:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   15758:       libsuff= shlibsuff= libmagic=32-bit;;
                   15759:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   15760:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   15761:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   15762:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   15763:     *) libsuff= shlibsuff= libmagic=never-match;;
                   15764:     esac
                   15765:     ;;
                   15766:   esac
                   15767:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   15768:   shlibpath_overrides_runpath=no
                   15769:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   15770:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   15771:   hardcode_into_libs=yes
                   15772:   ;;
                   15773: 
                   15774: # No shared lib support for Linux oldld, aout, or coff.
                   15775: linux*oldld* | linux*aout* | linux*coff*)
                   15776:   dynamic_linker=no
                   15777:   ;;
                   15778: 
                   15779: # This must be glibc/ELF.
                   15780: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   15781:   version_type=linux # correct to gnu/linux during the next big refactor
                   15782:   need_lib_prefix=no
                   15783:   need_version=no
                   15784:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15785:   soname_spec='${libname}${release}${shared_ext}$major'
                   15786:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   15787:   shlibpath_var=LD_LIBRARY_PATH
                   15788:   shlibpath_overrides_runpath=no
                   15789: 
                   15790:   # Some binutils ld are patched to set DT_RUNPATH
1.150     moko     15791:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
                   15792:   $as_echo_n "(cached) " >&6
1.128     moko     15793: else
                   15794:   lt_cv_shlibpath_overrides_runpath=no
                   15795:     save_LDFLAGS=$LDFLAGS
                   15796:     save_libdir=$libdir
                   15797:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
                   15798:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
1.150     moko     15799:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     15800: /* end confdefs.h.  */
                   15801: 
                   15802: int
                   15803: main ()
                   15804: {
                   15805: 
                   15806:   ;
                   15807:   return 0;
                   15808: }
                   15809: _ACEOF
1.150     moko     15810: if ac_fn_cxx_try_link "$LINENO"; then :
                   15811:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
1.128     moko     15812:   lt_cv_shlibpath_overrides_runpath=yes
                   15813: fi
                   15814: fi
1.150     moko     15815: rm -f core conftest.err conftest.$ac_objext \
                   15816:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     15817:     LDFLAGS=$save_LDFLAGS
                   15818:     libdir=$save_libdir
                   15819: 
                   15820: fi
                   15821: 
                   15822:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   15823: 
                   15824:   # This implies no fast_install, which is unacceptable.
                   15825:   # Some rework will be needed to allow for fast_install
                   15826:   # before this can be enabled.
                   15827:   hardcode_into_libs=yes
                   15828: 
                   15829:   # Append ld.so.conf contents to the search path
                   15830:   if test -f /etc/ld.so.conf; then
                   15831:     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' ' '`
                   15832:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   15833:   fi
                   15834: 
                   15835:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   15836:   # powerpc, because MkLinux only supported shared libraries with the
                   15837:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   15838:   # most powerpc-linux boxes support dynamic linking these days and
                   15839:   # people can always --disable-shared, the test was removed, and we
                   15840:   # assume the GNU/Linux dynamic linker is in use.
                   15841:   dynamic_linker='GNU/Linux ld.so'
                   15842:   ;;
                   15843: 
                   15844: netbsd*)
                   15845:   version_type=sunos
                   15846:   need_lib_prefix=no
                   15847:   need_version=no
                   15848:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   15849:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15850:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   15851:     dynamic_linker='NetBSD (a.out) ld.so'
                   15852:   else
                   15853:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   15854:     soname_spec='${libname}${release}${shared_ext}$major'
                   15855:     dynamic_linker='NetBSD ld.elf_so'
                   15856:   fi
                   15857:   shlibpath_var=LD_LIBRARY_PATH
                   15858:   shlibpath_overrides_runpath=yes
                   15859:   hardcode_into_libs=yes
                   15860:   ;;
                   15861: 
                   15862: newsos6)
                   15863:   version_type=linux # correct to gnu/linux during the next big refactor
                   15864:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15865:   shlibpath_var=LD_LIBRARY_PATH
                   15866:   shlibpath_overrides_runpath=yes
                   15867:   ;;
                   15868: 
                   15869: *nto* | *qnx*)
                   15870:   version_type=qnx
                   15871:   need_lib_prefix=no
                   15872:   need_version=no
                   15873:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15874:   soname_spec='${libname}${release}${shared_ext}$major'
                   15875:   shlibpath_var=LD_LIBRARY_PATH
                   15876:   shlibpath_overrides_runpath=no
                   15877:   hardcode_into_libs=yes
                   15878:   dynamic_linker='ldqnx.so'
                   15879:   ;;
                   15880: 
                   15881: openbsd*)
                   15882:   version_type=sunos
                   15883:   sys_lib_dlsearch_path_spec="/usr/lib"
                   15884:   need_lib_prefix=no
                   15885:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   15886:   case $host_os in
                   15887:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   15888:     *)                         need_version=no  ;;
                   15889:   esac
                   15890:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15891:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   15892:   shlibpath_var=LD_LIBRARY_PATH
                   15893:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   15894:     case $host_os in
                   15895:       openbsd2.[89] | openbsd2.[89].*)
                   15896:        shlibpath_overrides_runpath=no
                   15897:        ;;
                   15898:       *)
                   15899:        shlibpath_overrides_runpath=yes
                   15900:        ;;
                   15901:       esac
                   15902:   else
                   15903:     shlibpath_overrides_runpath=yes
                   15904:   fi
                   15905:   ;;
                   15906: 
                   15907: os2*)
                   15908:   libname_spec='$name'
                   15909:   shrext_cmds=".dll"
                   15910:   need_lib_prefix=no
                   15911:   library_names_spec='$libname${shared_ext} $libname.a'
                   15912:   dynamic_linker='OS/2 ld.exe'
                   15913:   shlibpath_var=LIBPATH
                   15914:   ;;
                   15915: 
                   15916: osf3* | osf4* | osf5*)
                   15917:   version_type=osf
                   15918:   need_lib_prefix=no
                   15919:   need_version=no
                   15920:   soname_spec='${libname}${release}${shared_ext}$major'
                   15921:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15922:   shlibpath_var=LD_LIBRARY_PATH
                   15923:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   15924:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   15925:   ;;
                   15926: 
                   15927: rdos*)
                   15928:   dynamic_linker=no
                   15929:   ;;
                   15930: 
                   15931: solaris*)
                   15932:   version_type=linux # correct to gnu/linux during the next big refactor
                   15933:   need_lib_prefix=no
                   15934:   need_version=no
                   15935:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15936:   soname_spec='${libname}${release}${shared_ext}$major'
                   15937:   shlibpath_var=LD_LIBRARY_PATH
                   15938:   shlibpath_overrides_runpath=yes
                   15939:   hardcode_into_libs=yes
                   15940:   # ldd complains unless libraries are executable
                   15941:   postinstall_cmds='chmod +x $lib'
                   15942:   ;;
                   15943: 
                   15944: sunos4*)
                   15945:   version_type=sunos
                   15946:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15947:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   15948:   shlibpath_var=LD_LIBRARY_PATH
                   15949:   shlibpath_overrides_runpath=yes
                   15950:   if test "$with_gnu_ld" = yes; then
                   15951:     need_lib_prefix=no
                   15952:   fi
                   15953:   need_version=yes
                   15954:   ;;
                   15955: 
                   15956: sysv4 | sysv4.3*)
                   15957:   version_type=linux # correct to gnu/linux during the next big refactor
                   15958:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15959:   soname_spec='${libname}${release}${shared_ext}$major'
                   15960:   shlibpath_var=LD_LIBRARY_PATH
                   15961:   case $host_vendor in
                   15962:     sni)
                   15963:       shlibpath_overrides_runpath=no
                   15964:       need_lib_prefix=no
                   15965:       runpath_var=LD_RUN_PATH
                   15966:       ;;
                   15967:     siemens)
                   15968:       need_lib_prefix=no
                   15969:       ;;
                   15970:     motorola)
                   15971:       need_lib_prefix=no
                   15972:       need_version=no
                   15973:       shlibpath_overrides_runpath=no
                   15974:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   15975:       ;;
                   15976:   esac
                   15977:   ;;
                   15978: 
                   15979: sysv4*MP*)
                   15980:   if test -d /usr/nec ;then
                   15981:     version_type=linux # correct to gnu/linux during the next big refactor
                   15982:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   15983:     soname_spec='$libname${shared_ext}.$major'
                   15984:     shlibpath_var=LD_LIBRARY_PATH
                   15985:   fi
                   15986:   ;;
                   15987: 
                   15988: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   15989:   version_type=freebsd-elf
                   15990:   need_lib_prefix=no
                   15991:   need_version=no
                   15992:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15993:   soname_spec='${libname}${release}${shared_ext}$major'
                   15994:   shlibpath_var=LD_LIBRARY_PATH
                   15995:   shlibpath_overrides_runpath=yes
                   15996:   hardcode_into_libs=yes
                   15997:   if test "$with_gnu_ld" = yes; then
                   15998:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   15999:   else
                   16000:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   16001:     case $host_os in
                   16002:       sco3.2v5*)
                   16003:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   16004:        ;;
                   16005:     esac
                   16006:   fi
                   16007:   sys_lib_dlsearch_path_spec='/usr/lib'
                   16008:   ;;
                   16009: 
                   16010: tpf*)
                   16011:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   16012:   version_type=linux # correct to gnu/linux during the next big refactor
                   16013:   need_lib_prefix=no
                   16014:   need_version=no
                   16015:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16016:   shlibpath_var=LD_LIBRARY_PATH
                   16017:   shlibpath_overrides_runpath=no
                   16018:   hardcode_into_libs=yes
                   16019:   ;;
                   16020: 
                   16021: uts4*)
                   16022:   version_type=linux # correct to gnu/linux during the next big refactor
                   16023:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16024:   soname_spec='${libname}${release}${shared_ext}$major'
                   16025:   shlibpath_var=LD_LIBRARY_PATH
                   16026:   ;;
                   16027: 
                   16028: *)
                   16029:   dynamic_linker=no
                   16030:   ;;
                   16031: esac
1.150     moko     16032: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   16033: $as_echo "$dynamic_linker" >&6; }
1.128     moko     16034: test "$dynamic_linker" = no && can_build_shared=no
                   16035: 
                   16036: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   16037: if test "$GCC" = yes; then
                   16038:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   16039: fi
                   16040: 
                   16041: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   16042:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   16043: fi
                   16044: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   16045:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   16046: fi
                   16047: 
                   16048: 
                   16049: 
                   16050: 
                   16051: 
                   16052: 
                   16053: 
                   16054: 
                   16055: 
                   16056: 
                   16057: 
                   16058: 
                   16059: 
                   16060: 
                   16061: 
                   16062: 
                   16063: 
                   16064: 
                   16065: 
                   16066: 
                   16067: 
                   16068: 
                   16069: 
                   16070: 
                   16071: 
                   16072: 
                   16073: 
                   16074: 
                   16075: 
                   16076: 
                   16077: 
                   16078: 
                   16079: 
                   16080: 
                   16081: 
                   16082: 
                   16083: 
                   16084: 
1.150     moko     16085:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   16086: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1.128     moko     16087: hardcode_action_CXX=
                   16088: if test -n "$hardcode_libdir_flag_spec_CXX" ||
                   16089:    test -n "$runpath_var_CXX" ||
                   16090:    test "X$hardcode_automatic_CXX" = "Xyes" ; then
                   16091: 
                   16092:   # We can hardcode non-existent directories.
                   16093:   if test "$hardcode_direct_CXX" != no &&
                   16094:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   16095:      # have to relink, otherwise we might link with an installed library
                   16096:      # when we should be linking with a yet-to-be-installed one
                   16097:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
                   16098:      test "$hardcode_minus_L_CXX" != no; then
                   16099:     # Linking always hardcodes the temporary library directory.
                   16100:     hardcode_action_CXX=relink
                   16101:   else
                   16102:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   16103:     hardcode_action_CXX=immediate
                   16104:   fi
                   16105: else
                   16106:   # We cannot hardcode anything, or else we can only hardcode existing
                   16107:   # directories.
                   16108:   hardcode_action_CXX=unsupported
                   16109: fi
1.150     moko     16110: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
                   16111: $as_echo "$hardcode_action_CXX" >&6; }
1.128     moko     16112: 
                   16113: if test "$hardcode_action_CXX" = relink ||
                   16114:    test "$inherit_rpath_CXX" = yes; then
                   16115:   # Fast installation is not supported
                   16116:   enable_fast_install=no
                   16117: elif test "$shlibpath_overrides_runpath" = yes ||
                   16118:      test "$enable_shared" = no; then
                   16119:   # Fast installation is not necessary
                   16120:   enable_fast_install=needless
                   16121: fi
                   16122: 
                   16123: 
                   16124: 
                   16125: 
                   16126: 
                   16127: 
                   16128: 
                   16129:   fi # test -n "$compiler"
                   16130: 
                   16131:   CC=$lt_save_CC
                   16132:   CFLAGS=$lt_save_CFLAGS
                   16133:   LDCXX=$LD
                   16134:   LD=$lt_save_LD
                   16135:   GCC=$lt_save_GCC
                   16136:   with_gnu_ld=$lt_save_with_gnu_ld
                   16137:   lt_cv_path_LDCXX=$lt_cv_path_LD
                   16138:   lt_cv_path_LD=$lt_save_path_LD
                   16139:   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
                   16140:   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
                   16141: fi # test "$_lt_caught_CXX_error" != yes
                   16142: 
                   16143: ac_ext=c
                   16144: ac_cpp='$CPP $CPPFLAGS'
                   16145: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16146: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16147: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16148: 
                   16149: 
                   16150: 
                   16151: 
                   16152: 
                   16153: 
                   16154: 
                   16155: 
                   16156: 
                   16157: 
                   16158: 
                   16159: 
                   16160: 
                   16161: 
                   16162: 
1.150     moko     16163:         ac_config_commands="$ac_config_commands libtool"
1.128     moko     16164: 
                   16165: 
                   16166: 
                   16167: 
                   16168: # Only expand once:
                   16169: 
                   16170: 
1.150     moko     16171: { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
                   16172: $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
                   16173: if ${libltdl_cv_shlibext+:} false; then :
                   16174:   $as_echo_n "(cached) " >&6
1.128     moko     16175: else
                   16176: 
                   16177: module=yes
                   16178: eval libltdl_cv_shlibext=$shrext_cmds
                   16179: module=no
                   16180: eval libltdl_cv_shrext=$shrext_cmds
                   16181: 
                   16182: fi
1.150     moko     16183: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
                   16184: $as_echo "$libltdl_cv_shlibext" >&6; }
1.128     moko     16185: if test -n "$libltdl_cv_shlibext"; then
                   16186: 
                   16187: cat >>confdefs.h <<_ACEOF
                   16188: #define LT_MODULE_EXT "$libltdl_cv_shlibext"
                   16189: _ACEOF
                   16190: 
                   16191: fi
                   16192: if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
                   16193: 
                   16194: cat >>confdefs.h <<_ACEOF
                   16195: #define LT_SHARED_EXT "$libltdl_cv_shrext"
                   16196: _ACEOF
                   16197: 
                   16198: fi
                   16199: 
1.150     moko     16200: { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
                   16201: $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
                   16202: if ${lt_cv_module_path_var+:} false; then :
                   16203:   $as_echo_n "(cached) " >&6
1.128     moko     16204: else
                   16205:   lt_cv_module_path_var="$shlibpath_var"
                   16206: fi
1.150     moko     16207: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
                   16208: $as_echo "$lt_cv_module_path_var" >&6; }
1.128     moko     16209: if test -n "$lt_cv_module_path_var"; then
                   16210: 
                   16211: cat >>confdefs.h <<_ACEOF
                   16212: #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
                   16213: _ACEOF
                   16214: 
                   16215: fi
                   16216: 
1.150     moko     16217: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
                   16218: $as_echo_n "checking for the default library search path... " >&6; }
                   16219: if ${lt_cv_sys_dlsearch_path+:} false; then :
                   16220:   $as_echo_n "(cached) " >&6
1.128     moko     16221: else
                   16222:   lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
                   16223: fi
1.150     moko     16224: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
                   16225: $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
1.128     moko     16226: if test -n "$lt_cv_sys_dlsearch_path"; then
                   16227:   sys_dlsearch_path=
                   16228:   for dir in $lt_cv_sys_dlsearch_path; do
                   16229:     if test -z "$sys_dlsearch_path"; then
                   16230:       sys_dlsearch_path="$dir"
                   16231:     else
                   16232:       sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
                   16233:     fi
                   16234:   done
                   16235: 
                   16236: cat >>confdefs.h <<_ACEOF
                   16237: #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
                   16238: _ACEOF
                   16239: 
                   16240: fi
                   16241: 
                   16242: 
                   16243: LT_DLLOADERS=
                   16244: 
                   16245: 
                   16246: ac_ext=c
                   16247: ac_cpp='$CPP $CPPFLAGS'
                   16248: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16249: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16250: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16251: 
                   16252: 
                   16253: LIBADD_DLOPEN=
1.150     moko     16254: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
                   16255: $as_echo_n "checking for library containing dlopen... " >&6; }
                   16256: if ${ac_cv_search_dlopen+:} false; then :
                   16257:   $as_echo_n "(cached) " >&6
1.128     moko     16258: else
                   16259:   ac_func_search_save_LIBS=$LIBS
1.150     moko     16260: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16261: /* end confdefs.h.  */
                   16262: 
1.150     moko     16263: /* Override any GCC internal prototype to avoid an error.
                   16264:    Use char because int might match the return type of a GCC
                   16265:    builtin and then its argument prototype would still apply.  */
1.128     moko     16266: #ifdef __cplusplus
                   16267: extern "C"
                   16268: #endif
                   16269: char dlopen ();
                   16270: int
                   16271: main ()
                   16272: {
1.150     moko     16273: return dlopen ();
1.128     moko     16274:   ;
                   16275:   return 0;
                   16276: }
                   16277: _ACEOF
1.150     moko     16278: for ac_lib in '' dl; do
                   16279:   if test -z "$ac_lib"; then
                   16280:     ac_res="none required"
                   16281:   else
                   16282:     ac_res=-l$ac_lib
                   16283:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   16284:   fi
                   16285:   if ac_fn_c_try_link "$LINENO"; then :
                   16286:   ac_cv_search_dlopen=$ac_res
                   16287: fi
                   16288: rm -f core conftest.err conftest.$ac_objext \
                   16289:     conftest$ac_exeext
                   16290:   if ${ac_cv_search_dlopen+:} false; then :
                   16291:   break
1.128     moko     16292: fi
1.150     moko     16293: done
                   16294: if ${ac_cv_search_dlopen+:} false; then :
1.128     moko     16295: 
                   16296: else
1.150     moko     16297:   ac_cv_search_dlopen=no
1.128     moko     16298: fi
1.150     moko     16299: rm conftest.$ac_ext
1.128     moko     16300: LIBS=$ac_func_search_save_LIBS
                   16301: fi
1.150     moko     16302: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
                   16303: $as_echo "$ac_cv_search_dlopen" >&6; }
                   16304: ac_res=$ac_cv_search_dlopen
                   16305: if test "$ac_res" != no; then :
                   16306:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
1.128     moko     16307: 
1.150     moko     16308: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     16309: 
                   16310:        if test "$ac_cv_search_dlopen" != "none required" ; then
                   16311:          LIBADD_DLOPEN="-ldl"
                   16312:        fi
                   16313:        libltdl_cv_lib_dl_dlopen="yes"
                   16314:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16315: else
1.150     moko     16316:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16317: /* end confdefs.h.  */
                   16318: #if HAVE_DLFCN_H
                   16319: #  include <dlfcn.h>
                   16320: #endif
                   16321: 
                   16322: int
                   16323: main ()
                   16324: {
                   16325: dlopen(0, 0);
                   16326:   ;
                   16327:   return 0;
                   16328: }
                   16329: _ACEOF
1.150     moko     16330: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     16331: 
1.150     moko     16332: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     16333: 
                   16334:            libltdl_cv_func_dlopen="yes"
                   16335:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16336: else
1.150     moko     16337:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   16338: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
                   16339: if ${ac_cv_lib_svld_dlopen+:} false; then :
                   16340:   $as_echo_n "(cached) " >&6
1.128     moko     16341: else
                   16342:   ac_check_lib_save_LIBS=$LIBS
                   16343: LIBS="-lsvld  $LIBS"
1.150     moko     16344: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16345: /* end confdefs.h.  */
                   16346: 
1.150     moko     16347: /* Override any GCC internal prototype to avoid an error.
                   16348:    Use char because int might match the return type of a GCC
                   16349:    builtin and then its argument prototype would still apply.  */
1.128     moko     16350: #ifdef __cplusplus
                   16351: extern "C"
                   16352: #endif
                   16353: char dlopen ();
                   16354: int
                   16355: main ()
                   16356: {
1.150     moko     16357: return dlopen ();
1.128     moko     16358:   ;
                   16359:   return 0;
                   16360: }
                   16361: _ACEOF
1.150     moko     16362: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     16363:   ac_cv_lib_svld_dlopen=yes
                   16364: else
1.150     moko     16365:   ac_cv_lib_svld_dlopen=no
1.128     moko     16366: fi
1.150     moko     16367: rm -f core conftest.err conftest.$ac_objext \
                   16368:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16369: LIBS=$ac_check_lib_save_LIBS
                   16370: fi
1.150     moko     16371: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   16372: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
                   16373: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
1.128     moko     16374: 
1.150     moko     16375: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     16376: 
                   16377:                LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
                   16378:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16379: fi
                   16380: 
                   16381: fi
1.150     moko     16382: rm -f core conftest.err conftest.$ac_objext \
                   16383:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16384: fi
                   16385: 
                   16386: if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
                   16387: then
                   16388:   lt_save_LIBS="$LIBS"
                   16389:   LIBS="$LIBS $LIBADD_DLOPEN"
1.150     moko     16390:   for ac_func in dlerror
                   16391: do :
                   16392:   ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
                   16393: if test "x$ac_cv_func_dlerror" = xyes; then :
1.128     moko     16394:   cat >>confdefs.h <<_ACEOF
1.150     moko     16395: #define HAVE_DLERROR 1
1.128     moko     16396: _ACEOF
                   16397: 
                   16398: fi
                   16399: done
                   16400: 
                   16401:   LIBS="$lt_save_LIBS"
                   16402: fi
                   16403: 
                   16404: 
                   16405: LIBADD_SHL_LOAD=
1.150     moko     16406: ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
                   16407: if test "x$ac_cv_func_shl_load" = xyes; then :
1.128     moko     16408: 
1.150     moko     16409: $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
1.128     moko     16410: 
                   16411:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
1.66      paf      16412: else
1.150     moko     16413:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   16414: $as_echo_n "checking for shl_load in -ldld... " >&6; }
                   16415: if ${ac_cv_lib_dld_shl_load+:} false; then :
                   16416:   $as_echo_n "(cached) " >&6
1.66      paf      16417: else
                   16418:   ac_check_lib_save_LIBS=$LIBS
                   16419: LIBS="-ldld  $LIBS"
1.150     moko     16420: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      16421: /* end confdefs.h.  */
1.10      paf      16422: 
1.150     moko     16423: /* Override any GCC internal prototype to avoid an error.
                   16424:    Use char because int might match the return type of a GCC
                   16425:    builtin and then its argument prototype would still apply.  */
1.66      paf      16426: #ifdef __cplusplus
                   16427: extern "C"
                   16428: #endif
                   16429: char shl_load ();
                   16430: int
                   16431: main ()
                   16432: {
1.150     moko     16433: return shl_load ();
1.66      paf      16434:   ;
                   16435:   return 0;
                   16436: }
                   16437: _ACEOF
1.150     moko     16438: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      16439:   ac_cv_lib_dld_shl_load=yes
                   16440: else
1.150     moko     16441:   ac_cv_lib_dld_shl_load=no
1.66      paf      16442: fi
1.150     moko     16443: rm -f core conftest.err conftest.$ac_objext \
                   16444:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      16445: LIBS=$ac_check_lib_save_LIBS
                   16446: fi
1.150     moko     16447: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   16448: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
                   16449: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
1.1       paf      16450: 
1.150     moko     16451: $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
1.1       paf      16452: 
1.128     moko     16453:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
                   16454:            LIBADD_SHL_LOAD="-ldld"
                   16455: fi
                   16456: 
                   16457: fi
                   16458: 
                   16459: 
                   16460: 
                   16461: case $host_os in
                   16462: darwin[1567].*)
                   16463: # We only want this for pre-Mac OS X 10.4.
1.150     moko     16464:   ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
                   16465: if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
                   16466: 
                   16467: $as_echo "#define HAVE_DYLD 1" >>confdefs.h
1.128     moko     16468: 
1.150     moko     16469:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
                   16470: fi
1.128     moko     16471: 
1.150     moko     16472:   ;;
                   16473: beos*)
1.128     moko     16474:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
                   16475:   ;;
                   16476: cygwin* | mingw* | os2* | pw32*)
1.150     moko     16477:   ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
                   16478: "
                   16479: if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
                   16480:   ac_have_decl=1
1.128     moko     16481: else
1.150     moko     16482:   ac_have_decl=0
1.128     moko     16483: fi
                   16484: 
                   16485: cat >>confdefs.h <<_ACEOF
1.150     moko     16486: #define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl
1.128     moko     16487: _ACEOF
                   16488: 
                   16489:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
                   16490:   ;;
                   16491: esac
                   16492: 
1.150     moko     16493: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   16494: $as_echo_n "checking for dld_link in -ldld... " >&6; }
                   16495: if ${ac_cv_lib_dld_dld_link+:} false; then :
                   16496:   $as_echo_n "(cached) " >&6
1.66      paf      16497: else
                   16498:   ac_check_lib_save_LIBS=$LIBS
1.128     moko     16499: LIBS="-ldld  $LIBS"
1.150     moko     16500: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      16501: /* end confdefs.h.  */
1.62      paf      16502: 
1.150     moko     16503: /* Override any GCC internal prototype to avoid an error.
                   16504:    Use char because int might match the return type of a GCC
                   16505:    builtin and then its argument prototype would still apply.  */
1.66      paf      16506: #ifdef __cplusplus
                   16507: extern "C"
                   16508: #endif
1.128     moko     16509: char dld_link ();
1.66      paf      16510: int
                   16511: main ()
                   16512: {
1.150     moko     16513: return dld_link ();
1.66      paf      16514:   ;
                   16515:   return 0;
                   16516: }
                   16517: _ACEOF
1.150     moko     16518: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     16519:   ac_cv_lib_dld_dld_link=yes
1.66      paf      16520: else
1.150     moko     16521:   ac_cv_lib_dld_dld_link=no
1.128     moko     16522: fi
1.150     moko     16523: rm -f core conftest.err conftest.$ac_objext \
                   16524:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16525: LIBS=$ac_check_lib_save_LIBS
                   16526: fi
1.150     moko     16527: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   16528: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
                   16529: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
1.128     moko     16530: 
1.150     moko     16531: $as_echo "#define HAVE_DLD 1" >>confdefs.h
1.128     moko     16532: 
                   16533:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
                   16534: fi
                   16535: 
                   16536: 
                   16537: 
                   16538: 
                   16539: LT_DLPREOPEN=
                   16540: if test -n "$LT_DLLOADERS"
                   16541: then
                   16542:   for lt_loader in $LT_DLLOADERS; do
                   16543:     LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
                   16544:   done
                   16545: 
1.150     moko     16546: $as_echo "#define HAVE_LIBDLLOADER 1" >>confdefs.h
1.128     moko     16547: 
                   16548: fi
                   16549: 
                   16550: 
                   16551: LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
                   16552: 
                   16553: 
                   16554: ac_ext=c
                   16555: ac_cpp='$CPP $CPPFLAGS'
                   16556: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16557: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16558: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16559: 
                   16560: 
1.150     moko     16561: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
                   16562: $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
                   16563: if ${lt_cv_sys_symbol_underscore+:} false; then :
                   16564:   $as_echo_n "(cached) " >&6
1.128     moko     16565: else
                   16566:   lt_cv_sys_symbol_underscore=no
                   16567:   cat > conftest.$ac_ext <<_LT_EOF
                   16568: void nm_test_func(){}
                   16569: int main(){nm_test_func;return 0;}
                   16570: _LT_EOF
1.150     moko     16571:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     16572:   (eval $ac_compile) 2>&5
                   16573:   ac_status=$?
1.150     moko     16574:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   16575:   test $ac_status = 0; }; then
1.128     moko     16576:     # Now try to grab the symbols.
                   16577:     ac_nlist=conftest.nm
1.150     moko     16578:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
1.128     moko     16579:   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
                   16580:   ac_status=$?
1.150     moko     16581:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   16582:   test $ac_status = 0; } && test -s "$ac_nlist"; then
1.128     moko     16583:       # See whether the symbols have a leading underscore.
                   16584:       if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
                   16585:         lt_cv_sys_symbol_underscore=yes
                   16586:       else
                   16587:         if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
                   16588:          :
                   16589:         else
                   16590:          echo "configure: cannot find nm_test_func in $ac_nlist" >&5
                   16591:         fi
                   16592:       fi
                   16593:     else
                   16594:       echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   16595:     fi
                   16596:   else
                   16597:     echo "configure: failed program was:" >&5
                   16598:     cat conftest.c >&5
                   16599:   fi
                   16600:   rm -rf conftest*
1.29      paf      16601: 
1.66      paf      16602: fi
1.150     moko     16603: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5
                   16604: $as_echo "$lt_cv_sys_symbol_underscore" >&6; }
1.128     moko     16605:   sys_symbol_underscore=$lt_cv_sys_symbol_underscore
1.29      paf      16606: 
1.62      paf      16607: 
1.128     moko     16608: if test x"$lt_cv_sys_symbol_underscore" = xyes; then
                   16609:   if test x"$libltdl_cv_func_dlopen" = xyes ||
                   16610:      test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
1.150     moko     16611:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
                   16612: $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
                   16613: if ${libltdl_cv_need_uscore+:} false; then :
                   16614:   $as_echo_n "(cached) " >&6
1.66      paf      16615: else
1.128     moko     16616:   libltdl_cv_need_uscore=unknown
                   16617:           save_LIBS="$LIBS"
                   16618:           LIBS="$LIBS $LIBADD_DLOPEN"
                   16619:          if test "$cross_compiling" = yes; then :
                   16620:   libltdl_cv_need_uscore=cross
                   16621: else
                   16622:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   16623:   lt_status=$lt_dlunknown
                   16624:   cat > conftest.$ac_ext <<_LT_EOF
                   16625: #line $LINENO "configure"
                   16626: #include "confdefs.h"
                   16627: 
1.66      paf      16628: #if HAVE_DLFCN_H
1.128     moko     16629: #include <dlfcn.h>
                   16630: #endif
                   16631: 
                   16632: #include <stdio.h>
                   16633: 
                   16634: #ifdef RTLD_GLOBAL
                   16635: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   16636: #else
                   16637: #  ifdef DL_GLOBAL
                   16638: #    define LT_DLGLOBAL                DL_GLOBAL
                   16639: #  else
                   16640: #    define LT_DLGLOBAL                0
                   16641: #  endif
                   16642: #endif
                   16643: 
                   16644: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   16645:    find out it does not work in some platform. */
                   16646: #ifndef LT_DLLAZY_OR_NOW
                   16647: #  ifdef RTLD_LAZY
                   16648: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   16649: #  else
                   16650: #    ifdef DL_LAZY
                   16651: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   16652: #    else
                   16653: #      ifdef RTLD_NOW
                   16654: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   16655: #      else
                   16656: #        ifdef DL_NOW
                   16657: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   16658: #        else
                   16659: #          define LT_DLLAZY_OR_NOW     0
                   16660: #        endif
                   16661: #      endif
                   16662: #    endif
                   16663: #  endif
                   16664: #endif
                   16665: 
                   16666: /* When -fvisbility=hidden is used, assume the code has been annotated
                   16667:    correspondingly for the symbols needed.  */
                   16668: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   16669: int fnord () __attribute__((visibility("default")));
1.66      paf      16670: #endif
1.62      paf      16671: 
1.128     moko     16672: int fnord () { return 42; }
                   16673: int main ()
1.66      paf      16674: {
1.128     moko     16675:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   16676:   int status = $lt_dlunknown;
                   16677: 
                   16678:   if (self)
                   16679:     {
                   16680:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   16681:       else
                   16682:         {
                   16683:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   16684:           else puts (dlerror ());
                   16685:        }
                   16686:       /* dlclose (self); */
                   16687:     }
                   16688:   else
                   16689:     puts (dlerror ());
                   16690: 
                   16691:   return status;
1.66      paf      16692: }
1.128     moko     16693: _LT_EOF
1.150     moko     16694:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     16695:   (eval $ac_link) 2>&5
1.66      paf      16696:   ac_status=$?
1.150     moko     16697:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   16698:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.128     moko     16699:     (./conftest; exit; ) >&5 2>/dev/null
                   16700:     lt_status=$?
                   16701:     case x$lt_status in
                   16702:       x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
                   16703:       x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
                   16704:       x$lt_dlunknown|x*)  ;;
                   16705:     esac
                   16706:   else :
                   16707:     # compilation failed
                   16708: 
                   16709:   fi
                   16710: fi
                   16711: rm -fr conftest*
                   16712: 
                   16713:          LIBS="$save_LIBS"
                   16714: 
                   16715: fi
1.150     moko     16716: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
                   16717: $as_echo "$libltdl_cv_need_uscore" >&6; }
1.128     moko     16718:   fi
                   16719: fi
                   16720: 
                   16721: if test x"$libltdl_cv_need_uscore" = xyes; then
1.29      paf      16722: 
1.150     moko     16723: $as_echo "#define NEED_USCORE 1" >>confdefs.h
1.29      paf      16724: 
1.128     moko     16725: fi
                   16726: 
1.150     moko     16727: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
                   16728: $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
                   16729: if ${lt_cv_sys_dlopen_deplibs+:} false; then :
                   16730:   $as_echo_n "(cached) " >&6
1.66      paf      16731: else
1.128     moko     16732:   # PORTME does your system automatically load deplibs for dlopen?
                   16733:   # or its logical equivalent (e.g. shl_load for HP-UX < 11)
                   16734:   # For now, we just catch OSes we know something about -- in the
                   16735:   # future, we'll try test this programmatically.
                   16736:   lt_cv_sys_dlopen_deplibs=unknown
                   16737:   case $host_os in
                   16738:   aix3*|aix4.1.*|aix4.2.*)
                   16739:     # Unknown whether this is true for these versions of AIX, but
                   16740:     # we want this `case' here to explicitly catch those versions.
                   16741:     lt_cv_sys_dlopen_deplibs=unknown
                   16742:     ;;
                   16743:   aix[4-9]*)
                   16744:     lt_cv_sys_dlopen_deplibs=yes
                   16745:     ;;
                   16746:   amigaos*)
                   16747:     case $host_cpu in
                   16748:     powerpc)
                   16749:       lt_cv_sys_dlopen_deplibs=no
                   16750:       ;;
                   16751:     esac
                   16752:     ;;
                   16753:   darwin*)
                   16754:     # Assuming the user has installed a libdl from somewhere, this is true
                   16755:     # If you are looking for one http://www.opendarwin.org/projects/dlcompat
                   16756:     lt_cv_sys_dlopen_deplibs=yes
                   16757:     ;;
                   16758:   freebsd* | dragonfly*)
                   16759:     lt_cv_sys_dlopen_deplibs=yes
                   16760:     ;;
                   16761:   gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   16762:     # GNU and its variants, using gnu ld.so (Glibc)
                   16763:     lt_cv_sys_dlopen_deplibs=yes
                   16764:     ;;
                   16765:   hpux10*|hpux11*)
                   16766:     lt_cv_sys_dlopen_deplibs=yes
                   16767:     ;;
                   16768:   interix*)
                   16769:     lt_cv_sys_dlopen_deplibs=yes
                   16770:     ;;
                   16771:   irix[12345]*|irix6.[01]*)
                   16772:     # Catch all versions of IRIX before 6.2, and indicate that we don't
                   16773:     # know how it worked for any of those versions.
                   16774:     lt_cv_sys_dlopen_deplibs=unknown
                   16775:     ;;
                   16776:   irix*)
                   16777:     # The case above catches anything before 6.2, and it's known that
                   16778:     # at 6.2 and later dlopen does load deplibs.
                   16779:     lt_cv_sys_dlopen_deplibs=yes
                   16780:     ;;
                   16781:   netbsd*)
                   16782:     lt_cv_sys_dlopen_deplibs=yes
                   16783:     ;;
                   16784:   openbsd*)
                   16785:     lt_cv_sys_dlopen_deplibs=yes
                   16786:     ;;
                   16787:   osf[1234]*)
                   16788:     # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
                   16789:     # it did *not* use an RPATH in a shared library to find objects the
                   16790:     # library depends on, so we explicitly say `no'.
                   16791:     lt_cv_sys_dlopen_deplibs=no
                   16792:     ;;
                   16793:   osf5.0|osf5.0a|osf5.1)
                   16794:     # dlopen *does* load deplibs and with the right loader patch applied
                   16795:     # it even uses RPATH in a shared library to search for shared objects
                   16796:     # that the library depends on, but there's no easy way to know if that
                   16797:     # patch is installed.  Since this is the case, all we can really
                   16798:     # say is unknown -- it depends on the patch being installed.  If
                   16799:     # it is, this changes to `yes'.  Without it, it would be `no'.
                   16800:     lt_cv_sys_dlopen_deplibs=unknown
                   16801:     ;;
                   16802:   osf*)
                   16803:     # the two cases above should catch all versions of osf <= 5.1.  Read
                   16804:     # the comments above for what we know about them.
                   16805:     # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
                   16806:     # is used to find them so we can finally say `yes'.
                   16807:     lt_cv_sys_dlopen_deplibs=yes
                   16808:     ;;
                   16809:   qnx*)
                   16810:     lt_cv_sys_dlopen_deplibs=yes
                   16811:     ;;
                   16812:   solaris*)
                   16813:     lt_cv_sys_dlopen_deplibs=yes
                   16814:     ;;
                   16815:   sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   16816:     libltdl_cv_sys_dlopen_deplibs=yes
                   16817:     ;;
                   16818:   esac
                   16819: 
                   16820: fi
1.150     moko     16821: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
                   16822: $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
1.128     moko     16823: if test "$lt_cv_sys_dlopen_deplibs" != yes; then
                   16824: 
1.150     moko     16825: $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
1.128     moko     16826: 
                   16827: fi
                   16828: 
                   16829: :
                   16830: 
                   16831: for ac_header in argz.h
1.150     moko     16832: do :
                   16833:   ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
                   16834: "
                   16835: if test "x$ac_cv_header_argz_h" = xyes; then :
1.128     moko     16836:   cat >>confdefs.h <<_ACEOF
1.150     moko     16837: #define HAVE_ARGZ_H 1
1.128     moko     16838: _ACEOF
                   16839: 
1.66      paf      16840: fi
1.62      paf      16841: 
1.128     moko     16842: done
                   16843: 
1.29      paf      16844: 
1.150     moko     16845: ac_fn_c_check_type "$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H)
1.128     moko     16846: #  include <argz.h>
                   16847: #endif
1.150     moko     16848: "
                   16849: if test "x$ac_cv_type_error_t" = xyes; then :
1.29      paf      16850: 
1.128     moko     16851: cat >>confdefs.h <<_ACEOF
                   16852: #define HAVE_ERROR_T 1
1.62      paf      16853: _ACEOF
1.16      paf      16854: 
                   16855: 
1.128     moko     16856: else
1.16      paf      16857: 
1.150     moko     16858: $as_echo "#define error_t int" >>confdefs.h
1.16      paf      16859: 
1.12      paf      16860: 
1.150     moko     16861: $as_echo "#define __error_t_defined 1" >>confdefs.h
1.12      paf      16862: 
1.66      paf      16863: fi
1.12      paf      16864: 
1.128     moko     16865: 
                   16866: ARGZ_H=
                   16867: for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
                   16868:        argz_next argz_stringify
1.150     moko     16869: do :
                   16870:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   16871: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   16872: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.128     moko     16873:   cat >>confdefs.h <<_ACEOF
1.150     moko     16874: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.128     moko     16875: _ACEOF
                   16876: 
                   16877: else
                   16878:   ARGZ_H=argz.h;
                   16879: 
                   16880:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   16881: 
                   16882: fi
                   16883: done
                   16884: 
                   16885: 
1.150     moko     16886: if test -z "$ARGZ_H"; then :
                   16887:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
                   16888: $as_echo_n "checking if argz actually works... " >&6; }
                   16889: if ${lt_cv_sys_argz_works+:} false; then :
                   16890:   $as_echo_n "(cached) " >&6
1.128     moko     16891: else
                   16892:   case $host_os in #(
                   16893:         *cygwin*)
                   16894:           lt_cv_sys_argz_works=no
                   16895:           if test "$cross_compiling" != no; then
                   16896:             lt_cv_sys_argz_works="guessing no"
                   16897:           else
                   16898:             lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
                   16899:             save_IFS=$IFS
                   16900:             IFS=-.
                   16901:             set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
                   16902:             IFS=$save_IFS
                   16903:             lt_os_major=${2-0}
                   16904:             lt_os_minor=${3-0}
                   16905:             lt_os_micro=${4-0}
                   16906:             if test "$lt_os_major" -gt 1 \
                   16907:                || { test "$lt_os_major" -eq 1 \
                   16908:                  && { test "$lt_os_minor" -gt 5 \
                   16909:                    || { test "$lt_os_minor" -eq 5 \
                   16910:                      && test "$lt_os_micro" -gt 24; }; }; }; then
                   16911:               lt_cv_sys_argz_works=yes
                   16912:             fi
                   16913:           fi
                   16914:           ;; #(
                   16915:         *) lt_cv_sys_argz_works=yes ;;
                   16916:         esac
                   16917: fi
1.150     moko     16918: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
                   16919: $as_echo "$lt_cv_sys_argz_works" >&6; }
                   16920:      if test "$lt_cv_sys_argz_works" = yes; then :
1.128     moko     16921: 
1.150     moko     16922: $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
1.128     moko     16923: 
1.62      paf      16924: else
1.128     moko     16925:   ARGZ_H=argz.h
                   16926: 
                   16927: 
                   16928:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   16929: 
                   16930: fi
1.62      paf      16931: fi
1.128     moko     16932: 
                   16933: 
                   16934: 
1.150     moko     16935: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
                   16936: $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
                   16937: if ${libltdl_cv_preloaded_symbols+:} false; then :
                   16938:   $as_echo_n "(cached) " >&6
1.128     moko     16939: else
                   16940:   if test -n "$lt_cv_sys_global_symbol_pipe"; then
                   16941:     libltdl_cv_preloaded_symbols=yes
                   16942:   else
                   16943:     libltdl_cv_preloaded_symbols=no
                   16944:   fi
                   16945: 
1.62      paf      16946: fi
1.150     moko     16947: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
                   16948: $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
1.128     moko     16949: if test x"$libltdl_cv_preloaded_symbols" = xyes; then
                   16950: 
1.150     moko     16951: $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
1.66      paf      16952: 
                   16953: fi
                   16954: 
1.150     moko     16955: 
                   16956: 
1.128     moko     16957: # Set options
                   16958: 
                   16959: 
                   16960: 
                   16961: 
                   16962: 
                   16963: 
                   16964: 
                   16965: 
                   16966: 
                   16967: 
1.66      paf      16968: 
                   16969: 
1.150     moko     16970: # Check whether --with-included_ltdl was given.
                   16971: if test "${with_included_ltdl+set}" = set; then :
                   16972:   withval=$with_included_ltdl;
                   16973: fi
1.64      paf      16974: 
                   16975: 
1.128     moko     16976: if test "x$with_included_ltdl" != xyes; then
                   16977:   # We are not being forced to use the included libltdl sources, so
                   16978:   # decide whether there is a useful installed version we can use.
1.150     moko     16979:   ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
1.128     moko     16980: 
1.150     moko     16981: "
                   16982: if test "x$ac_cv_header_ltdl_h" = xyes; then :
                   16983:   ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
1.128     moko     16984:            #include <ltdl.h>
1.150     moko     16985: "
                   16986: if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
                   16987:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
                   16988: $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
                   16989: if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
                   16990:   $as_echo_n "(cached) " >&6
1.79      paf      16991: else
1.128     moko     16992:   ac_check_lib_save_LIBS=$LIBS
                   16993: LIBS="-lltdl  $LIBS"
1.150     moko     16994: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.79      paf      16995: /* end confdefs.h.  */
1.128     moko     16996: 
1.150     moko     16997: /* Override any GCC internal prototype to avoid an error.
                   16998:    Use char because int might match the return type of a GCC
                   16999:    builtin and then its argument prototype would still apply.  */
1.128     moko     17000: #ifdef __cplusplus
                   17001: extern "C"
                   17002: #endif
                   17003: char lt_dladvise_preload ();
1.79      paf      17004: int
                   17005: main ()
                   17006: {
1.150     moko     17007: return lt_dladvise_preload ();
1.79      paf      17008:   ;
                   17009:   return 0;
                   17010: }
                   17011: _ACEOF
1.150     moko     17012: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     17013:   ac_cv_lib_ltdl_lt_dladvise_preload=yes
1.79      paf      17014: else
1.150     moko     17015:   ac_cv_lib_ltdl_lt_dladvise_preload=no
1.128     moko     17016: fi
1.150     moko     17017: rm -f core conftest.err conftest.$ac_objext \
                   17018:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     17019: LIBS=$ac_check_lib_save_LIBS
1.79      paf      17020: fi
1.150     moko     17021: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
                   17022: $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
                   17023: if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
1.128     moko     17024:   with_included_ltdl=no
1.79      paf      17025: else
1.128     moko     17026:   with_included_ltdl=yes
                   17027: fi
                   17028: 
1.79      paf      17029: else
1.128     moko     17030:   with_included_ltdl=yes
                   17031: fi
1.79      paf      17032: 
1.128     moko     17033: else
                   17034:   with_included_ltdl=yes
1.79      paf      17035: fi
1.128     moko     17036: 
                   17037: 
1.79      paf      17038: fi
1.128     moko     17039: 
                   17040: 
                   17041: 
                   17042: 
1.150     moko     17043: # Check whether --with-ltdl_include was given.
                   17044: if test "${with_ltdl_include+set}" = set; then :
                   17045:   withval=$with_ltdl_include;
                   17046: fi
1.128     moko     17047: 
                   17048: 
                   17049: if test -n "$with_ltdl_include"; then
                   17050:   if test -f "$with_ltdl_include/ltdl.h"; then :
                   17051:   else
1.150     moko     17052:     as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
1.128     moko     17053:   fi
                   17054: else
                   17055:   with_ltdl_include=no
1.79      paf      17056: fi
1.128     moko     17057: 
                   17058: 
1.150     moko     17059: # Check whether --with-ltdl_lib was given.
                   17060: if test "${with_ltdl_lib+set}" = set; then :
                   17061:   withval=$with_ltdl_lib;
                   17062: fi
1.128     moko     17063: 
                   17064: 
                   17065: if test -n "$with_ltdl_lib"; then
                   17066:   if test -f "$with_ltdl_lib/libltdl.la"; then :
                   17067:   else
1.150     moko     17068:     as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
1.128     moko     17069:   fi
                   17070: else
                   17071:   with_ltdl_lib=no
1.79      paf      17072: fi
                   17073: 
1.128     moko     17074: case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
                   17075:   ,yes,no,no,)
                   17076:        case $enable_ltdl_convenience in
1.150     moko     17077:   no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
1.128     moko     17078:   "") enable_ltdl_convenience=yes
                   17079:       ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
                   17080: esac
1.150     moko     17081: LIBLTDL='${top_build_prefix}'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
1.128     moko     17082: LTDLDEPS=$LIBLTDL
                   17083: LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
                   17084: 
                   17085: 
                   17086: 
                   17087: 
                   17088: 
                   17089: # For backwards non-gettext consistent compatibility...
                   17090: INCLTDL="$LTDLINCL"
                   17091: 
1.79      paf      17092: 
1.128     moko     17093:        ;;
                   17094:   ,no,no,no,)
                   17095:        # If the included ltdl is not to be used, then use the
                   17096:        # preinstalled libltdl we found.
1.79      paf      17097: 
1.150     moko     17098: $as_echo "#define HAVE_LTDL 1" >>confdefs.h
1.79      paf      17099: 
1.128     moko     17100:        LIBLTDL=-lltdl
                   17101:        LTDLDEPS=
                   17102:        LTDLINCL=
                   17103:        ;;
                   17104:   ,no*,no,*)
1.150     moko     17105:        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
1.128     moko     17106:        ;;
                   17107:   *)   with_included_ltdl=no
                   17108:        LIBLTDL="-L$with_ltdl_lib -lltdl"
                   17109:        LTDLDEPS=
                   17110:        LTDLINCL="-I$with_ltdl_include"
                   17111:        ;;
                   17112: esac
                   17113: INCLTDL="$LTDLINCL"
                   17114: 
                   17115: # Report our decision...
1.150     moko     17116: { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5
                   17117: $as_echo_n "checking where to find libltdl headers... " >&6; }
                   17118: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LTDLINCL" >&5
                   17119: $as_echo "$LTDLINCL" >&6; }
                   17120: { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl library" >&5
                   17121: $as_echo_n "checking where to find libltdl library... " >&6; }
                   17122: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBLTDL" >&5
                   17123: $as_echo "$LIBLTDL" >&6; }
1.128     moko     17124: 
                   17125: 
                   17126: 
1.150     moko     17127: # Check whether --enable-ltdl-install was given.
                   17128: if test "${enable_ltdl_install+set}" = set; then :
                   17129:   enableval=$enable_ltdl_install;
                   17130: fi
1.128     moko     17131: 
                   17132: 
                   17133: case ,${enable_ltdl_install},${enable_ltdl_convenience} in
                   17134:   *yes*) ;;
                   17135:   *) enable_ltdl_convenience=yes ;;
                   17136: esac
                   17137: 
1.150     moko     17138:  if test x"${enable_ltdl_install-no}" != xno; then
1.128     moko     17139:   INSTALL_LTDL_TRUE=
                   17140:   INSTALL_LTDL_FALSE='#'
                   17141: else
                   17142:   INSTALL_LTDL_TRUE='#'
                   17143:   INSTALL_LTDL_FALSE=
                   17144: fi
                   17145: 
1.150     moko     17146:   if test x"${enable_ltdl_convenience-no}" != xno; then
1.128     moko     17147:   CONVENIENCE_LTDL_TRUE=
                   17148:   CONVENIENCE_LTDL_FALSE='#'
                   17149: else
                   17150:   CONVENIENCE_LTDL_TRUE='#'
                   17151:   CONVENIENCE_LTDL_FALSE=
                   17152: fi
                   17153: 
                   17154: 
                   17155: 
1.150     moko     17156:     subdirs="$subdirs src/lib/ltdl"
1.128     moko     17157: 
                   17158: 
                   17159: 
                   17160: 
                   17161: # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
                   17162: # the user used.  This is so that ltdl.h can pick up the parent projects
                   17163: # config.h file, The first file in AC_CONFIG_HEADERS must contain the
                   17164: # definitions required by ltdl.c.
                   17165: # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
                   17166: 
                   17167: 
                   17168: 
1.150     moko     17169: for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
                   17170: do :
                   17171:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   17172: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   17173: "
                   17174: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   17175:   cat >>confdefs.h <<_ACEOF
                   17176: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   17177: _ACEOF
1.128     moko     17178: 
1.150     moko     17179: fi
1.128     moko     17180: 
1.150     moko     17181: done
1.128     moko     17182: 
                   17183: 
1.150     moko     17184: for ac_func in closedir opendir readdir
                   17185: do :
                   17186:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17187: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   17188: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   17189:   cat >>confdefs.h <<_ACEOF
                   17190: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   17191: _ACEOF
1.66      paf      17192: 
                   17193: else
1.64      paf      17194: 
1.66      paf      17195: 
1.128     moko     17196:   _LT_LIBOBJS="$_LT_LIBOBJS lt__dirent.$ac_objext"
1.1       paf      17197: 
1.66      paf      17198: fi
1.128     moko     17199: done
                   17200: 
                   17201: for ac_func in strlcat strlcpy
1.150     moko     17202: do :
                   17203:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17204: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   17205: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.128     moko     17206:   cat >>confdefs.h <<_ACEOF
1.150     moko     17207: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.128     moko     17208: _ACEOF
                   17209: 
                   17210: else
                   17211: 
                   17212: 
                   17213:   _LT_LIBOBJS="$_LT_LIBOBJS lt__strl.$ac_objext"
                   17214: 
1.62      paf      17215: fi
1.128     moko     17216: done
                   17217: 
                   17218: 
1.64      paf      17219: 
1.128     moko     17220: cat >>confdefs.h <<_ACEOF
                   17221: #define LT_LIBEXT "$libext"
1.62      paf      17222: _ACEOF
1.64      paf      17223: 
1.128     moko     17224: 
                   17225: name=
                   17226: eval "lt_libprefix=\"$libname_spec\""
                   17227: 
                   17228: cat >>confdefs.h <<_ACEOF
                   17229: #define LT_LIBPREFIX "$lt_libprefix"
1.66      paf      17230: _ACEOF
1.128     moko     17231: 
                   17232: 
                   17233: name=ltdl
                   17234: eval "LTDLOPEN=\"$libname_spec\""
                   17235: 
                   17236: 
                   17237: 
                   17238: 
                   17239: 
                   17240: 
                   17241: 
                   17242: 
                   17243: # Only expand once:
                   17244: 
                   17245: 
                   17246: 
                   17247: 
1.150     moko     17248:  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
                   17249: $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
                   17250: if ${ac_cv_c_bigendian+:} false; then :
                   17251:   $as_echo_n "(cached) " >&6
                   17252: else
                   17253:   ac_cv_c_bigendian=unknown
                   17254:     # See if we're dealing with a universal compiler.
                   17255:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17256: /* end confdefs.h.  */
                   17257: #ifndef __APPLE_CC__
                   17258:               not a universal capable compiler
                   17259:             #endif
                   17260:             typedef int dummy;
                   17261: 
                   17262: _ACEOF
                   17263: if ac_fn_c_try_compile "$LINENO"; then :
                   17264: 
                   17265:        # Check for potential -arch flags.  It is not universal unless
                   17266:        # there are at least two -arch flags with different values.
                   17267:        ac_arch=
                   17268:        ac_prev=
                   17269:        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
                   17270:         if test -n "$ac_prev"; then
                   17271:           case $ac_word in
                   17272:             i?86 | x86_64 | ppc | ppc64)
                   17273:               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
                   17274:                 ac_arch=$ac_word
                   17275:               else
                   17276:                 ac_cv_c_bigendian=universal
                   17277:                 break
                   17278:               fi
                   17279:               ;;
                   17280:           esac
                   17281:           ac_prev=
                   17282:         elif test "x$ac_word" = "x-arch"; then
                   17283:           ac_prev=arch
                   17284:         fi
                   17285:        done
                   17286: fi
                   17287: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17288:     if test $ac_cv_c_bigendian = unknown; then
                   17289:       # See if sys/param.h defines the BYTE_ORDER macro.
                   17290:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      17291: /* end confdefs.h.  */
1.128     moko     17292: #include <sys/types.h>
1.150     moko     17293:             #include <sys/param.h>
1.128     moko     17294: 
                   17295: int
                   17296: main ()
                   17297: {
1.150     moko     17298: #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
                   17299:                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
                   17300:                     && LITTLE_ENDIAN)
                   17301:              bogus endian macros
                   17302:             #endif
1.64      paf      17303: 
1.128     moko     17304:   ;
                   17305:   return 0;
                   17306: }
1.66      paf      17307: _ACEOF
1.150     moko     17308: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     17309:   # It does; now see whether it defined to BIG_ENDIAN or not.
1.150     moko     17310:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.64      paf      17311: /* end confdefs.h.  */
1.128     moko     17312: #include <sys/types.h>
1.150     moko     17313:                #include <sys/param.h>
1.64      paf      17314: 
                   17315: int
                   17316: main ()
1.128     moko     17317: {
                   17318: #if BYTE_ORDER != BIG_ENDIAN
1.150     moko     17319:                 not big endian
                   17320:                #endif
1.128     moko     17321: 
                   17322:   ;
                   17323:   return 0;
1.64      paf      17324: }
                   17325: _ACEOF
1.150     moko     17326: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     17327:   ac_cv_c_bigendian=yes
1.64      paf      17328: else
1.150     moko     17329:   ac_cv_c_bigendian=no
                   17330: fi
                   17331: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17332: fi
                   17333: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17334:     fi
                   17335:     if test $ac_cv_c_bigendian = unknown; then
                   17336:       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
                   17337:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17338: /* end confdefs.h.  */
                   17339: #include <limits.h>
1.64      paf      17340: 
1.150     moko     17341: int
                   17342: main ()
                   17343: {
                   17344: #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
                   17345:              bogus endian macros
                   17346:             #endif
1.66      paf      17347: 
1.150     moko     17348:   ;
                   17349:   return 0;
                   17350: }
1.62      paf      17351: _ACEOF
1.150     moko     17352: if ac_fn_c_try_compile "$LINENO"; then :
                   17353:   # It does; now see whether it defined to _BIG_ENDIAN or not.
                   17354:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17355: /* end confdefs.h.  */
1.150     moko     17356: #include <limits.h>
                   17357: 
1.128     moko     17358: int
                   17359: main ()
                   17360: {
1.150     moko     17361: #ifndef _BIG_ENDIAN
                   17362:                 not big endian
                   17363:                #endif
                   17364: 
1.128     moko     17365:   ;
                   17366:   return 0;
                   17367: }
1.62      paf      17368: _ACEOF
1.150     moko     17369: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     17370:   ac_cv_c_bigendian=yes
1.150     moko     17371: else
                   17372:   ac_cv_c_bigendian=no
1.128     moko     17373: fi
1.150     moko     17374: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     17375: fi
1.150     moko     17376: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17377:     fi
                   17378:     if test $ac_cv_c_bigendian = unknown; then
                   17379:       # Compile a test program.
                   17380:       if test "$cross_compiling" = yes; then :
                   17381:   # Try to guess by grepping values from an object file.
                   17382:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17383: /* end confdefs.h.  */
                   17384: short int ascii_mm[] =
                   17385:                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
                   17386:                short int ascii_ii[] =
                   17387:                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
                   17388:                int use_ascii (int i) {
                   17389:                  return ascii_mm[i] + ascii_ii[i];
                   17390:                }
                   17391:                short int ebcdic_ii[] =
                   17392:                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
                   17393:                short int ebcdic_mm[] =
                   17394:                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
                   17395:                int use_ebcdic (int i) {
                   17396:                  return ebcdic_mm[i] + ebcdic_ii[i];
                   17397:                }
                   17398:                extern int foo;
1.62      paf      17399: 
1.150     moko     17400: int
                   17401: main ()
                   17402: {
                   17403: return use_ascii (foo) == use_ebcdic (foo);
                   17404:   ;
                   17405:   return 0;
                   17406: }
                   17407: _ACEOF
                   17408: if ac_fn_c_try_compile "$LINENO"; then :
                   17409:   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
                   17410:              ac_cv_c_bigendian=yes
                   17411:            fi
                   17412:            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
                   17413:              if test "$ac_cv_c_bigendian" = unknown; then
                   17414:                ac_cv_c_bigendian=no
                   17415:              else
                   17416:                # finding both strings is unlikely to happen, but who knows?
                   17417:                ac_cv_c_bigendian=unknown
                   17418:              fi
                   17419:            fi
1.128     moko     17420: fi
1.150     moko     17421: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     17422: else
1.150     moko     17423:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     17424: /* end confdefs.h.  */
1.150     moko     17425: $ac_includes_default
1.128     moko     17426: int
                   17427: main ()
                   17428: {
1.150     moko     17429: 
                   17430:             /* Are we little or big endian?  From Harbison&Steele.  */
                   17431:             union
                   17432:             {
                   17433:               long int l;
                   17434:               char c[sizeof (long int)];
                   17435:             } u;
                   17436:             u.l = 1;
                   17437:             return u.c[sizeof (long int) - 1] == 1;
                   17438: 
                   17439:   ;
                   17440:   return 0;
1.128     moko     17441: }
                   17442: _ACEOF
1.150     moko     17443: if ac_fn_c_try_run "$LINENO"; then :
1.128     moko     17444:   ac_cv_c_bigendian=no
                   17445: else
1.150     moko     17446:   ac_cv_c_bigendian=yes
1.128     moko     17447: fi
1.150     moko     17448: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   17449:   conftest.$ac_objext conftest.beam conftest.$ac_ext
1.128     moko     17450: fi
1.150     moko     17451: 
                   17452:     fi
1.66      paf      17453: fi
1.150     moko     17454: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
                   17455: $as_echo "$ac_cv_c_bigendian" >&6; }
                   17456:  case $ac_cv_c_bigendian in #(
                   17457:    yes)
                   17458: 
                   17459: $as_echo "#define PA_BIG_ENDIAN /**/" >>confdefs.h
                   17460: 
                   17461: ;; #(
                   17462:    no)
1.128     moko     17463: 
1.150     moko     17464: $as_echo "#define PA_LITTLE_ENDIAN /**/" >>confdefs.h
1.66      paf      17465: 
1.150     moko     17466:  ;; #(
                   17467:    universal)
1.128     moko     17468: 
1.150     moko     17469: $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
1.1       paf      17470: 
1.150     moko     17471:      ;; #(
                   17472:    *)
                   17473:      as_fn_error $? "word endianness not determined for some obscure reason" "$LINENO" 5
1.128     moko     17474:  ;;
1.150     moko     17475:  esac
1.66      paf      17476: 
                   17477: 
1.150     moko     17478: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
                   17479: if test "x$ac_cv_type_size_t" = xyes; then :
1.62      paf      17480: 
1.66      paf      17481: else
1.1       paf      17482: 
1.66      paf      17483: cat >>confdefs.h <<_ACEOF
1.150     moko     17484: #define size_t unsigned int
1.66      paf      17485: _ACEOF
1.62      paf      17486: 
                   17487: fi
1.66      paf      17488: 
1.156     moko     17489: ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
                   17490: if test "x$ac_cv_type_ssize_t" = xyes; then :
                   17491: 
                   17492: else
                   17493: 
                   17494: cat >>confdefs.h <<_ACEOF
                   17495: #define ssize_t int
                   17496: _ACEOF
                   17497: 
                   17498: fi
                   17499: 
1.159     moko     17500: ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
                   17501: case $ac_cv_c_uint8_t in #(
                   17502:   no|yes) ;; #(
                   17503:   *)
                   17504: 
                   17505: $as_echo "#define _UINT8_T 1" >>confdefs.h
                   17506: 
                   17507: 
                   17508: cat >>confdefs.h <<_ACEOF
                   17509: #define uint8_t $ac_cv_c_uint8_t
                   17510: _ACEOF
                   17511: ;;
                   17512:   esac
                   17513: 
1.165     moko     17514: ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
                   17515: case $ac_cv_c_uint16_t in #(
                   17516:   no|yes) ;; #(
                   17517:   *)
                   17518: 
                   17519: 
                   17520: cat >>confdefs.h <<_ACEOF
                   17521: #define uint16_t $ac_cv_c_uint16_t
                   17522: _ACEOF
                   17523: ;;
                   17524:   esac
                   17525: 
1.156     moko     17526: ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
                   17527: case $ac_cv_c_uint32_t in #(
                   17528:   no|yes) ;; #(
                   17529:   *)
                   17530: 
                   17531: $as_echo "#define _UINT32_T 1" >>confdefs.h
                   17532: 
                   17533: 
                   17534: cat >>confdefs.h <<_ACEOF
                   17535: #define uint32_t $ac_cv_c_uint32_t
                   17536: _ACEOF
                   17537: ;;
                   17538:   esac
1.128     moko     17539: 
1.159     moko     17540: ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
                   17541: case $ac_cv_c_uint64_t in #(
                   17542:   no|yes) ;; #(
                   17543:   *)
                   17544: 
                   17545: $as_echo "#define _UINT64_T 1" >>confdefs.h
                   17546: 
                   17547: 
                   17548: cat >>confdefs.h <<_ACEOF
                   17549: #define uint64_t $ac_cv_c_uint64_t
                   17550: _ACEOF
                   17551: ;;
                   17552:   esac
                   17553: 
                   17554: 
1.161     moko     17555: ac_header_dirent=no
                   17556: for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
                   17557:   as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
                   17558: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
                   17559: $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
                   17560: if eval \${$as_ac_Header+:} false; then :
                   17561:   $as_echo_n "(cached) " >&6
                   17562: else
                   17563:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17564: /* end confdefs.h.  */
                   17565: #include <sys/types.h>
                   17566: #include <$ac_hdr>
                   17567: 
                   17568: int
                   17569: main ()
                   17570: {
                   17571: if ((DIR *) 0)
                   17572: return 0;
                   17573:   ;
                   17574:   return 0;
                   17575: }
                   17576: _ACEOF
                   17577: if ac_fn_c_try_compile "$LINENO"; then :
                   17578:   eval "$as_ac_Header=yes"
                   17579: else
                   17580:   eval "$as_ac_Header=no"
                   17581: fi
                   17582: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17583: fi
                   17584: eval ac_res=\$$as_ac_Header
                   17585:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   17586: $as_echo "$ac_res" >&6; }
                   17587: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   17588:   cat >>confdefs.h <<_ACEOF
                   17589: #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
                   17590: _ACEOF
                   17591: 
                   17592: ac_header_dirent=$ac_hdr; break
                   17593: fi
                   17594: 
                   17595: done
                   17596: # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
                   17597: if test $ac_header_dirent = dirent.h; then
                   17598:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
                   17599: $as_echo_n "checking for library containing opendir... " >&6; }
                   17600: if ${ac_cv_search_opendir+:} false; then :
                   17601:   $as_echo_n "(cached) " >&6
                   17602: else
                   17603:   ac_func_search_save_LIBS=$LIBS
                   17604: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17605: /* end confdefs.h.  */
                   17606: 
                   17607: /* Override any GCC internal prototype to avoid an error.
                   17608:    Use char because int might match the return type of a GCC
                   17609:    builtin and then its argument prototype would still apply.  */
                   17610: #ifdef __cplusplus
                   17611: extern "C"
                   17612: #endif
                   17613: char opendir ();
                   17614: int
                   17615: main ()
                   17616: {
                   17617: return opendir ();
                   17618:   ;
                   17619:   return 0;
                   17620: }
                   17621: _ACEOF
                   17622: for ac_lib in '' dir; do
                   17623:   if test -z "$ac_lib"; then
                   17624:     ac_res="none required"
                   17625:   else
                   17626:     ac_res=-l$ac_lib
                   17627:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   17628:   fi
                   17629:   if ac_fn_c_try_link "$LINENO"; then :
                   17630:   ac_cv_search_opendir=$ac_res
                   17631: fi
                   17632: rm -f core conftest.err conftest.$ac_objext \
                   17633:     conftest$ac_exeext
                   17634:   if ${ac_cv_search_opendir+:} false; then :
                   17635:   break
                   17636: fi
                   17637: done
                   17638: if ${ac_cv_search_opendir+:} false; then :
                   17639: 
                   17640: else
                   17641:   ac_cv_search_opendir=no
                   17642: fi
                   17643: rm conftest.$ac_ext
                   17644: LIBS=$ac_func_search_save_LIBS
                   17645: fi
                   17646: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
                   17647: $as_echo "$ac_cv_search_opendir" >&6; }
                   17648: ac_res=$ac_cv_search_opendir
                   17649: if test "$ac_res" != no; then :
                   17650:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   17651: 
                   17652: fi
                   17653: 
                   17654: else
                   17655:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
                   17656: $as_echo_n "checking for library containing opendir... " >&6; }
                   17657: if ${ac_cv_search_opendir+:} false; then :
                   17658:   $as_echo_n "(cached) " >&6
                   17659: else
                   17660:   ac_func_search_save_LIBS=$LIBS
                   17661: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17662: /* end confdefs.h.  */
                   17663: 
                   17664: /* Override any GCC internal prototype to avoid an error.
                   17665:    Use char because int might match the return type of a GCC
                   17666:    builtin and then its argument prototype would still apply.  */
                   17667: #ifdef __cplusplus
                   17668: extern "C"
                   17669: #endif
                   17670: char opendir ();
                   17671: int
                   17672: main ()
                   17673: {
                   17674: return opendir ();
                   17675:   ;
                   17676:   return 0;
                   17677: }
                   17678: _ACEOF
                   17679: for ac_lib in '' x; do
                   17680:   if test -z "$ac_lib"; then
                   17681:     ac_res="none required"
                   17682:   else
                   17683:     ac_res=-l$ac_lib
                   17684:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   17685:   fi
                   17686:   if ac_fn_c_try_link "$LINENO"; then :
                   17687:   ac_cv_search_opendir=$ac_res
                   17688: fi
                   17689: rm -f core conftest.err conftest.$ac_objext \
                   17690:     conftest$ac_exeext
                   17691:   if ${ac_cv_search_opendir+:} false; then :
                   17692:   break
                   17693: fi
                   17694: done
                   17695: if ${ac_cv_search_opendir+:} false; then :
                   17696: 
                   17697: else
                   17698:   ac_cv_search_opendir=no
                   17699: fi
                   17700: rm conftest.$ac_ext
                   17701: LIBS=$ac_func_search_save_LIBS
                   17702: fi
                   17703: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
                   17704: $as_echo "$ac_cv_search_opendir" >&6; }
                   17705: ac_res=$ac_cv_search_opendir
                   17706: if test "$ac_res" != no; then :
                   17707:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   17708: 
                   17709: fi
                   17710: 
                   17711: fi
                   17712: 
                   17713: 
                   17714: 
                   17715:   ac_fn_c_check_member "$LINENO" "struct dirent" "d_type" "ac_cv_member_struct_dirent_d_type" "
                   17716: #include <sys/types.h>
                   17717: #ifdef HAVE_DIRENT_H
                   17718: # include <dirent.h>
                   17719: #else
                   17720: # define dirent direct
                   17721: # ifdef HAVE_SYS_NDIR_H
                   17722: #  include <sys/ndir.h>
                   17723: # endif
                   17724: # ifdef HAVE_SYS_DIR_H
                   17725: #  include <sys/dir.h>
                   17726: # endif
                   17727: # ifdef HAVE_NDIR_H
                   17728: #  include <ndir.h>
                   17729: # endif
                   17730: #endif
                   17731: 
                   17732: "
                   17733: if test "x$ac_cv_member_struct_dirent_d_type" = xyes; then :
                   17734: 
                   17735: cat >>confdefs.h <<_ACEOF
                   17736: #define HAVE_STRUCT_DIRENT_D_TYPE 1
                   17737: _ACEOF
                   17738: 
                   17739: 
                   17740: fi
                   17741: 
                   17742: 
1.159     moko     17743: 
1.171     moko     17744: # Check whether --enable-largefile was given.
                   17745: if test "${enable_largefile+set}" = set; then :
                   17746:   enableval=$enable_largefile;
                   17747: fi
                   17748: 
                   17749: if test "$enable_largefile" != no; then
                   17750: 
                   17751:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
                   17752: $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
                   17753: if ${ac_cv_sys_largefile_CC+:} false; then :
                   17754:   $as_echo_n "(cached) " >&6
                   17755: else
                   17756:   ac_cv_sys_largefile_CC=no
                   17757:      if test "$GCC" != yes; then
                   17758:        ac_save_CC=$CC
                   17759:        while :; do
                   17760:         # IRIX 6.2 and later do not support large files by default,
                   17761:         # so use the C compiler's -n32 option if that helps.
                   17762:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17763: /* end confdefs.h.  */
                   17764: #include <sys/types.h>
                   17765:  /* Check that off_t can represent 2**63 - 1 correctly.
                   17766:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   17767:     since some C++ compilers masquerading as C compilers
                   17768:     incorrectly reject 9223372036854775807.  */
                   17769: #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
                   17770:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   17771:                       && LARGE_OFF_T % 2147483647 == 1)
                   17772:                      ? 1 : -1];
                   17773: int
                   17774: main ()
                   17775: {
                   17776: 
                   17777:   ;
                   17778:   return 0;
                   17779: }
                   17780: _ACEOF
                   17781:         if ac_fn_c_try_compile "$LINENO"; then :
                   17782:   break
                   17783: fi
                   17784: rm -f core conftest.err conftest.$ac_objext
                   17785:         CC="$CC -n32"
                   17786:         if ac_fn_c_try_compile "$LINENO"; then :
                   17787:   ac_cv_sys_largefile_CC=' -n32'; break
                   17788: fi
                   17789: rm -f core conftest.err conftest.$ac_objext
                   17790:         break
                   17791:        done
                   17792:        CC=$ac_save_CC
                   17793:        rm -f conftest.$ac_ext
                   17794:     fi
                   17795: fi
                   17796: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
                   17797: $as_echo "$ac_cv_sys_largefile_CC" >&6; }
                   17798:   if test "$ac_cv_sys_largefile_CC" != no; then
                   17799:     CC=$CC$ac_cv_sys_largefile_CC
                   17800:   fi
                   17801: 
                   17802:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
                   17803: $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
                   17804: if ${ac_cv_sys_file_offset_bits+:} false; then :
                   17805:   $as_echo_n "(cached) " >&6
                   17806: else
                   17807:   while :; do
                   17808:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17809: /* end confdefs.h.  */
                   17810: #include <sys/types.h>
                   17811:  /* Check that off_t can represent 2**63 - 1 correctly.
                   17812:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   17813:     since some C++ compilers masquerading as C compilers
                   17814:     incorrectly reject 9223372036854775807.  */
                   17815: #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
                   17816:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   17817:                       && LARGE_OFF_T % 2147483647 == 1)
                   17818:                      ? 1 : -1];
                   17819: int
                   17820: main ()
                   17821: {
                   17822: 
                   17823:   ;
                   17824:   return 0;
                   17825: }
                   17826: _ACEOF
                   17827: if ac_fn_c_try_compile "$LINENO"; then :
                   17828:   ac_cv_sys_file_offset_bits=no; break
                   17829: fi
                   17830: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17831:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17832: /* end confdefs.h.  */
                   17833: #define _FILE_OFFSET_BITS 64
                   17834: #include <sys/types.h>
                   17835:  /* Check that off_t can represent 2**63 - 1 correctly.
                   17836:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   17837:     since some C++ compilers masquerading as C compilers
                   17838:     incorrectly reject 9223372036854775807.  */
                   17839: #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
                   17840:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   17841:                       && LARGE_OFF_T % 2147483647 == 1)
                   17842:                      ? 1 : -1];
                   17843: int
                   17844: main ()
                   17845: {
                   17846: 
                   17847:   ;
                   17848:   return 0;
                   17849: }
                   17850: _ACEOF
                   17851: if ac_fn_c_try_compile "$LINENO"; then :
                   17852:   ac_cv_sys_file_offset_bits=64; break
                   17853: fi
                   17854: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17855:   ac_cv_sys_file_offset_bits=unknown
                   17856:   break
                   17857: done
                   17858: fi
                   17859: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
                   17860: $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
                   17861: case $ac_cv_sys_file_offset_bits in #(
                   17862:   no | unknown) ;;
                   17863:   *)
                   17864: cat >>confdefs.h <<_ACEOF
                   17865: #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
                   17866: _ACEOF
                   17867: ;;
                   17868: esac
                   17869: rm -rf conftest*
                   17870:   if test $ac_cv_sys_file_offset_bits = unknown; then
                   17871:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
                   17872: $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
                   17873: if ${ac_cv_sys_large_files+:} false; then :
                   17874:   $as_echo_n "(cached) " >&6
                   17875: else
                   17876:   while :; do
                   17877:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17878: /* end confdefs.h.  */
                   17879: #include <sys/types.h>
                   17880:  /* Check that off_t can represent 2**63 - 1 correctly.
                   17881:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   17882:     since some C++ compilers masquerading as C compilers
                   17883:     incorrectly reject 9223372036854775807.  */
                   17884: #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
                   17885:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   17886:                       && LARGE_OFF_T % 2147483647 == 1)
                   17887:                      ? 1 : -1];
                   17888: int
                   17889: main ()
                   17890: {
                   17891: 
                   17892:   ;
                   17893:   return 0;
                   17894: }
                   17895: _ACEOF
                   17896: if ac_fn_c_try_compile "$LINENO"; then :
                   17897:   ac_cv_sys_large_files=no; break
                   17898: fi
                   17899: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17900:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17901: /* end confdefs.h.  */
                   17902: #define _LARGE_FILES 1
                   17903: #include <sys/types.h>
                   17904:  /* Check that off_t can represent 2**63 - 1 correctly.
                   17905:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   17906:     since some C++ compilers masquerading as C compilers
                   17907:     incorrectly reject 9223372036854775807.  */
                   17908: #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
                   17909:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   17910:                       && LARGE_OFF_T % 2147483647 == 1)
                   17911:                      ? 1 : -1];
                   17912: int
                   17913: main ()
                   17914: {
                   17915: 
                   17916:   ;
                   17917:   return 0;
                   17918: }
                   17919: _ACEOF
                   17920: if ac_fn_c_try_compile "$LINENO"; then :
                   17921:   ac_cv_sys_large_files=1; break
                   17922: fi
                   17923: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17924:   ac_cv_sys_large_files=unknown
                   17925:   break
                   17926: done
                   17927: fi
                   17928: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
                   17929: $as_echo "$ac_cv_sys_large_files" >&6; }
                   17930: case $ac_cv_sys_large_files in #(
                   17931:   no | unknown) ;;
                   17932:   *)
                   17933: cat >>confdefs.h <<_ACEOF
                   17934: #define _LARGE_FILES $ac_cv_sys_large_files
                   17935: _ACEOF
                   17936: ;;
                   17937: esac
                   17938: rm -rf conftest*
                   17939:   fi
                   17940: 
                   17941: 
                   17942: fi
                   17943: 
                   17944: 
1.159     moko     17945: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   17946: $as_echo_n "checking for ANSI C header files... " >&6; }
                   17947: if ${ac_cv_header_stdc+:} false; then :
                   17948:   $as_echo_n "(cached) " >&6
                   17949: else
                   17950:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17951: /* end confdefs.h.  */
                   17952: #include <stdlib.h>
                   17953: #include <stdarg.h>
                   17954: #include <string.h>
                   17955: #include <float.h>
                   17956: 
                   17957: int
                   17958: main ()
                   17959: {
                   17960: 
                   17961:   ;
                   17962:   return 0;
                   17963: }
                   17964: _ACEOF
                   17965: if ac_fn_c_try_compile "$LINENO"; then :
                   17966:   ac_cv_header_stdc=yes
                   17967: else
                   17968:   ac_cv_header_stdc=no
                   17969: fi
                   17970: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17971: 
                   17972: if test $ac_cv_header_stdc = yes; then
                   17973:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   17974:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17975: /* end confdefs.h.  */
                   17976: #include <string.h>
                   17977: 
                   17978: _ACEOF
                   17979: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   17980:   $EGREP "memchr" >/dev/null 2>&1; then :
                   17981: 
                   17982: else
                   17983:   ac_cv_header_stdc=no
                   17984: fi
                   17985: rm -f conftest*
                   17986: 
                   17987: fi
                   17988: 
                   17989: if test $ac_cv_header_stdc = yes; then
                   17990:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   17991:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17992: /* end confdefs.h.  */
                   17993: #include <stdlib.h>
                   17994: 
                   17995: _ACEOF
                   17996: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   17997:   $EGREP "free" >/dev/null 2>&1; then :
                   17998: 
                   17999: else
                   18000:   ac_cv_header_stdc=no
                   18001: fi
                   18002: rm -f conftest*
                   18003: 
                   18004: fi
                   18005: 
                   18006: if test $ac_cv_header_stdc = yes; then
                   18007:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   18008:   if test "$cross_compiling" = yes; then :
                   18009:   :
                   18010: else
                   18011:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18012: /* end confdefs.h.  */
                   18013: #include <ctype.h>
                   18014: #include <stdlib.h>
                   18015: #if ((' ' & 0x0FF) == 0x020)
                   18016: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   18017: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   18018: #else
                   18019: # define ISLOWER(c) \
                   18020:                   (('a' <= (c) && (c) <= 'i') \
                   18021:                     || ('j' <= (c) && (c) <= 'r') \
                   18022:                     || ('s' <= (c) && (c) <= 'z'))
                   18023: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   18024: #endif
                   18025: 
                   18026: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   18027: int
                   18028: main ()
                   18029: {
                   18030:   int i;
                   18031:   for (i = 0; i < 256; i++)
                   18032:     if (XOR (islower (i), ISLOWER (i))
                   18033:        || toupper (i) != TOUPPER (i))
                   18034:       return 2;
                   18035:   return 0;
                   18036: }
                   18037: _ACEOF
                   18038: if ac_fn_c_try_run "$LINENO"; then :
                   18039: 
                   18040: else
                   18041:   ac_cv_header_stdc=no
                   18042: fi
                   18043: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   18044:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   18045: fi
                   18046: 
                   18047: fi
                   18048: fi
                   18049: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   18050: $as_echo "$ac_cv_header_stdc" >&6; }
                   18051: if test $ac_cv_header_stdc = yes; then
                   18052: 
                   18053: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
                   18054: 
                   18055: fi
1.128     moko     18056: 
1.150     moko     18057: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
                   18058: $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
                   18059: if ${ac_cv_header_time+:} false; then :
                   18060:   $as_echo_n "(cached) " >&6
1.62      paf      18061: else
1.150     moko     18062:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18063: /* end confdefs.h.  */
1.66      paf      18064: #include <sys/types.h>
                   18065: #include <sys/time.h>
                   18066: #include <time.h>
1.62      paf      18067: 
                   18068: int
                   18069: main ()
                   18070: {
1.66      paf      18071: if ((struct tm *) 0)
                   18072: return 0;
1.62      paf      18073:   ;
                   18074:   return 0;
                   18075: }
                   18076: _ACEOF
1.150     moko     18077: if ac_fn_c_try_compile "$LINENO"; then :
1.66      paf      18078:   ac_cv_header_time=yes
1.1       paf      18079: else
1.150     moko     18080:   ac_cv_header_time=no
1.1       paf      18081: fi
1.150     moko     18082: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      18083: fi
1.150     moko     18084: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
                   18085: $as_echo "$ac_cv_header_time" >&6; }
1.66      paf      18086: if test $ac_cv_header_time = yes; then
1.1       paf      18087: 
1.150     moko     18088: $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
1.66      paf      18089: 
1.1       paf      18090: fi
1.66      paf      18091: 
1.1       paf      18092: 
1.159     moko     18093: for ac_header in stdio.h sys/types.h sys/stat.h stdlib.h stddef.h memory.h string.h strings.h inttypes.h stdint.h unistd.h
                   18094: do :
                   18095:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   18096: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   18097: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   18098:   cat >>confdefs.h <<_ACEOF
                   18099: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   18100: _ACEOF
                   18101: 
                   18102: fi
1.150     moko     18103: 
1.159     moko     18104: done
                   18105: 
                   18106: for ac_header in assert.h limits.h ctype.h math.h process.h stdarg.h setjmp.h signal.h
                   18107: do :
                   18108:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   18109: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   18110: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   18111:   cat >>confdefs.h <<_ACEOF
                   18112: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   18113: _ACEOF
                   18114: 
                   18115: fi
                   18116: 
                   18117: done
                   18118: 
1.164     moko     18119: for ac_header in errno.h dirent.h fcntl.h io.h sys/file.h sys/locking.h sys/select.h sys/resource.h sys/wait.h
1.159     moko     18120: do :
                   18121:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   18122: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   18123: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   18124:   cat >>confdefs.h <<_ACEOF
                   18125: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   18126: _ACEOF
                   18127: 
                   18128: fi
                   18129: 
                   18130: done
                   18131: 
1.163     moko     18132: for ac_header in sys/socket.h netinet/in.h arpa/inet.h netdb.h
1.150     moko     18133: do :
                   18134:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   18135: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   18136: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1.66      paf      18137:   cat >>confdefs.h <<_ACEOF
1.150     moko     18138: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.62      paf      18139: _ACEOF
                   18140: 
                   18141: fi
                   18142: 
1.66      paf      18143: done
1.62      paf      18144: 
                   18145: 
                   18146: 
1.66      paf      18147: case "$host" in
1.107     misha    18148:   *-freebsd4*)
                   18149: 
1.150     moko     18150: $as_echo "#define FREEBSD4 /**/" >>confdefs.h
1.107     misha    18151: 
                   18152:   ;;
1.66      paf      18153:   *-sunos5.6* | *-solaris2.6*)
1.150     moko     18154:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lxnet" >&5
                   18155: $as_echo_n "checking for main in -lxnet... " >&6; }
                   18156: if ${ac_cv_lib_xnet_main+:} false; then :
                   18157:   $as_echo_n "(cached) " >&6
1.62      paf      18158: else
1.66      paf      18159:   ac_check_lib_save_LIBS=$LIBS
                   18160: LIBS="-lxnet  $LIBS"
1.150     moko     18161: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18162: /* end confdefs.h.  */
                   18163: 
1.66      paf      18164: 
                   18165: int
                   18166: main ()
                   18167: {
1.150     moko     18168: return main ();
1.66      paf      18169:   ;
                   18170:   return 0;
                   18171: }
1.62      paf      18172: _ACEOF
1.150     moko     18173: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18174:   ac_cv_lib_xnet_main=yes
1.62      paf      18175: else
1.150     moko     18176:   ac_cv_lib_xnet_main=no
1.62      paf      18177: fi
1.150     moko     18178: rm -f core conftest.err conftest.$ac_objext \
                   18179:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      18180: LIBS=$ac_check_lib_save_LIBS
1.62      paf      18181: fi
1.150     moko     18182: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xnet_main" >&5
                   18183: $as_echo "$ac_cv_lib_xnet_main" >&6; }
                   18184: if test "x$ac_cv_lib_xnet_main" = xyes; then :
1.62      paf      18185:   cat >>confdefs.h <<_ACEOF
1.66      paf      18186: #define HAVE_LIBXNET 1
1.62      paf      18187: _ACEOF
1.1       paf      18188: 
1.66      paf      18189:   LIBS="-lxnet $LIBS"
                   18190: 
1.1       paf      18191: fi
                   18192: 
1.66      paf      18193:   ;;
                   18194:   *-sunos5* | *-solaris2*)
1.150     moko     18195:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
                   18196: $as_echo_n "checking for main in -lsocket... " >&6; }
                   18197: if ${ac_cv_lib_socket_main+:} false; then :
                   18198:   $as_echo_n "(cached) " >&6
1.62      paf      18199: else
1.66      paf      18200:   ac_check_lib_save_LIBS=$LIBS
                   18201: LIBS="-lsocket  $LIBS"
1.150     moko     18202: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18203: /* end confdefs.h.  */
1.66      paf      18204: 
                   18205: 
1.62      paf      18206: int
                   18207: main ()
                   18208: {
1.150     moko     18209: return main ();
1.62      paf      18210:   ;
                   18211:   return 0;
                   18212: }
                   18213: _ACEOF
1.150     moko     18214: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18215:   ac_cv_lib_socket_main=yes
1.1       paf      18216: else
1.150     moko     18217:   ac_cv_lib_socket_main=no
1.1       paf      18218: fi
1.150     moko     18219: rm -f core conftest.err conftest.$ac_objext \
                   18220:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      18221: LIBS=$ac_check_lib_save_LIBS
1.62      paf      18222: fi
1.150     moko     18223: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
                   18224: $as_echo "$ac_cv_lib_socket_main" >&6; }
                   18225: if test "x$ac_cv_lib_socket_main" = xyes; then :
1.66      paf      18226:   cat >>confdefs.h <<_ACEOF
                   18227: #define HAVE_LIBSOCKET 1
                   18228: _ACEOF
1.1       paf      18229: 
1.66      paf      18230:   LIBS="-lsocket $LIBS"
1.1       paf      18231: 
                   18232: fi
                   18233: 
1.150     moko     18234:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
                   18235: $as_echo_n "checking for main in -lnsl... " >&6; }
                   18236: if ${ac_cv_lib_nsl_main+:} false; then :
                   18237:   $as_echo_n "(cached) " >&6
1.62      paf      18238: else
1.66      paf      18239:   ac_check_lib_save_LIBS=$LIBS
                   18240: LIBS="-lnsl  $LIBS"
1.150     moko     18241: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18242: /* end confdefs.h.  */
1.66      paf      18243: 
                   18244: 
1.62      paf      18245: int
                   18246: main ()
                   18247: {
1.150     moko     18248: return main ();
1.62      paf      18249:   ;
                   18250:   return 0;
                   18251: }
                   18252: _ACEOF
1.150     moko     18253: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18254:   ac_cv_lib_nsl_main=yes
1.30      paf      18255: else
1.150     moko     18256:   ac_cv_lib_nsl_main=no
1.30      paf      18257: fi
1.150     moko     18258: rm -f core conftest.err conftest.$ac_objext \
                   18259:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      18260: LIBS=$ac_check_lib_save_LIBS
1.62      paf      18261: fi
1.150     moko     18262: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
                   18263: $as_echo "$ac_cv_lib_nsl_main" >&6; }
                   18264: if test "x$ac_cv_lib_nsl_main" = xyes; then :
1.66      paf      18265:   cat >>confdefs.h <<_ACEOF
                   18266: #define HAVE_LIBNSL 1
                   18267: _ACEOF
1.30      paf      18268: 
1.66      paf      18269:   LIBS="-lnsl $LIBS"
1.30      paf      18270: 
                   18271: fi
                   18272: 
1.66      paf      18273:   ;;
                   18274:   *-nec-sysv4*)
1.150     moko     18275:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
                   18276: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
                   18277: if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
                   18278:   $as_echo_n "(cached) " >&6
1.62      paf      18279: else
1.66      paf      18280:   ac_check_lib_save_LIBS=$LIBS
                   18281: LIBS="-lnsl  $LIBS"
1.150     moko     18282: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18283: /* end confdefs.h.  */
1.66      paf      18284: 
1.150     moko     18285: /* Override any GCC internal prototype to avoid an error.
                   18286:    Use char because int might match the return type of a GCC
                   18287:    builtin and then its argument prototype would still apply.  */
1.66      paf      18288: #ifdef __cplusplus
                   18289: extern "C"
                   18290: #endif
                   18291: char gethostbyname ();
1.62      paf      18292: int
                   18293: main ()
                   18294: {
1.150     moko     18295: return gethostbyname ();
1.62      paf      18296:   ;
                   18297:   return 0;
                   18298: }
                   18299: _ACEOF
1.150     moko     18300: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18301:   ac_cv_lib_nsl_gethostbyname=yes
1.30      paf      18302: else
1.150     moko     18303:   ac_cv_lib_nsl_gethostbyname=no
1.30      paf      18304: fi
1.150     moko     18305: rm -f core conftest.err conftest.$ac_objext \
                   18306:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      18307: LIBS=$ac_check_lib_save_LIBS
1.62      paf      18308: fi
1.150     moko     18309: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
                   18310: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
                   18311: if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
1.66      paf      18312:   cat >>confdefs.h <<_ACEOF
                   18313: #define HAVE_LIBNSL 1
                   18314: _ACEOF
1.30      paf      18315: 
1.66      paf      18316:   LIBS="-lnsl $LIBS"
1.30      paf      18317: 
                   18318: fi
                   18319: 
1.150     moko     18320:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
                   18321: $as_echo_n "checking for socket in -lsocket... " >&6; }
                   18322: if ${ac_cv_lib_socket_socket+:} false; then :
                   18323:   $as_echo_n "(cached) " >&6
1.8       paf      18324: else
1.66      paf      18325:   ac_check_lib_save_LIBS=$LIBS
                   18326: LIBS="-lsocket  $LIBS"
1.150     moko     18327: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18328: /* end confdefs.h.  */
                   18329: 
1.150     moko     18330: /* Override any GCC internal prototype to avoid an error.
                   18331:    Use char because int might match the return type of a GCC
                   18332:    builtin and then its argument prototype would still apply.  */
1.66      paf      18333: #ifdef __cplusplus
                   18334: extern "C"
                   18335: #endif
                   18336: char socket ();
1.62      paf      18337: int
                   18338: main ()
                   18339: {
1.150     moko     18340: return socket ();
1.62      paf      18341:   ;
                   18342:   return 0;
                   18343: }
                   18344: _ACEOF
1.150     moko     18345: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18346:   ac_cv_lib_socket_socket=yes
1.8       paf      18347: else
1.150     moko     18348:   ac_cv_lib_socket_socket=no
1.8       paf      18349: fi
1.150     moko     18350: rm -f core conftest.err conftest.$ac_objext \
                   18351:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      18352: LIBS=$ac_check_lib_save_LIBS
1.8       paf      18353: fi
1.150     moko     18354: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
                   18355: $as_echo "$ac_cv_lib_socket_socket" >&6; }
                   18356: if test "x$ac_cv_lib_socket_socket" = xyes; then :
1.66      paf      18357:   cat >>confdefs.h <<_ACEOF
1.128     moko     18358: #define HAVE_LIBSOCKET 1
1.66      paf      18359: _ACEOF
                   18360: 
1.128     moko     18361:   LIBS="-lsocket $LIBS"
1.66      paf      18362: 
1.62      paf      18363: fi
                   18364: 
1.66      paf      18365:   ;;
1.128     moko     18366:   *-cygwin*)
                   18367: 
1.150     moko     18368: $as_echo "#define WIN32 /**/" >>confdefs.h
1.128     moko     18369: 
1.66      paf      18370:   ;;
                   18371: esac
1.1       paf      18372: 
1.150     moko     18373: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
                   18374: $as_echo_n "checking for sin in -lm... " >&6; }
                   18375: if ${ac_cv_lib_m_sin+:} false; then :
                   18376:   $as_echo_n "(cached) " >&6
1.1       paf      18377: else
1.62      paf      18378:   ac_check_lib_save_LIBS=$LIBS
1.66      paf      18379: LIBS="-lm  $LIBS"
1.150     moko     18380: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18381: /* end confdefs.h.  */
                   18382: 
1.150     moko     18383: /* Override any GCC internal prototype to avoid an error.
                   18384:    Use char because int might match the return type of a GCC
                   18385:    builtin and then its argument prototype would still apply.  */
1.66      paf      18386: #ifdef __cplusplus
                   18387: extern "C"
                   18388: #endif
                   18389: char sin ();
1.62      paf      18390: int
                   18391: main ()
                   18392: {
1.150     moko     18393: return sin ();
1.62      paf      18394:   ;
                   18395:   return 0;
                   18396: }
                   18397: _ACEOF
1.150     moko     18398: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18399:   ac_cv_lib_m_sin=yes
1.62      paf      18400: else
1.150     moko     18401:   ac_cv_lib_m_sin=no
1.62      paf      18402: fi
1.150     moko     18403: rm -f core conftest.err conftest.$ac_objext \
                   18404:     conftest$ac_exeext conftest.$ac_ext
1.62      paf      18405: LIBS=$ac_check_lib_save_LIBS
                   18406: fi
1.150     moko     18407: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
                   18408: $as_echo "$ac_cv_lib_m_sin" >&6; }
                   18409: if test "x$ac_cv_lib_m_sin" = xyes; then :
1.62      paf      18410:   cat >>confdefs.h <<_ACEOF
1.66      paf      18411: #define HAVE_LIBM 1
1.62      paf      18412: _ACEOF
1.1       paf      18413: 
1.66      paf      18414:   LIBS="-lm $LIBS"
1.1       paf      18415: 
                   18416: fi
                   18417: 
1.150     moko     18418: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5
                   18419: $as_echo_n "checking for crypt in -lcrypt... " >&6; }
                   18420: if ${ac_cv_lib_crypt_crypt+:} false; then :
                   18421:   $as_echo_n "(cached) " >&6
1.1       paf      18422: else
1.62      paf      18423:   ac_check_lib_save_LIBS=$LIBS
1.66      paf      18424: LIBS="-lcrypt  $LIBS"
1.150     moko     18425: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18426: /* end confdefs.h.  */
                   18427: 
1.150     moko     18428: /* Override any GCC internal prototype to avoid an error.
                   18429:    Use char because int might match the return type of a GCC
                   18430:    builtin and then its argument prototype would still apply.  */
1.66      paf      18431: #ifdef __cplusplus
                   18432: extern "C"
                   18433: #endif
                   18434: char crypt ();
1.62      paf      18435: int
                   18436: main ()
                   18437: {
1.150     moko     18438: return crypt ();
1.62      paf      18439:   ;
                   18440:   return 0;
                   18441: }
                   18442: _ACEOF
1.150     moko     18443: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18444:   ac_cv_lib_crypt_crypt=yes
1.62      paf      18445: else
1.150     moko     18446:   ac_cv_lib_crypt_crypt=no
1.62      paf      18447: fi
1.150     moko     18448: rm -f core conftest.err conftest.$ac_objext \
                   18449:     conftest$ac_exeext conftest.$ac_ext
1.62      paf      18450: LIBS=$ac_check_lib_save_LIBS
                   18451: fi
1.150     moko     18452: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5
                   18453: $as_echo "$ac_cv_lib_crypt_crypt" >&6; }
                   18454: if test "x$ac_cv_lib_crypt_crypt" = xyes; then :
1.62      paf      18455:   cat >>confdefs.h <<_ACEOF
1.66      paf      18456: #define HAVE_LIBCRYPT 1
1.62      paf      18457: _ACEOF
1.1       paf      18458: 
1.66      paf      18459:   LIBS="-lcrypt $LIBS"
                   18460: 
                   18461: fi
                   18462: 
                   18463: 
                   18464: 
1.159     moko     18465: for ac_func in flock _locking fcntl lockf ftruncate fchmod
                   18466: do :
                   18467:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   18468: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   18469: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   18470:   cat >>confdefs.h <<_ACEOF
                   18471: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   18472: _ACEOF
                   18473: 
                   18474: fi
                   18475: done
1.66      paf      18476: 
1.159     moko     18477: for ac_func in getrusage gettimeofday crypt sigsetjmp siglongjmp unsetenv
1.150     moko     18478: do :
                   18479:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   18480: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   18481: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.62      paf      18482:   cat >>confdefs.h <<_ACEOF
1.150     moko     18483: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.62      paf      18484: _ACEOF
1.1       paf      18485: 
1.66      paf      18486: fi
                   18487: done
                   18488: 
1.1       paf      18489: 
                   18490: 
1.159     moko     18491: 
1.67      paf      18492: pa_func=sigsetjmp
1.150     moko     18493: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for (maybe built-in) function $pa_func" >&5
                   18494: $as_echo_n "checking for (maybe built-in) function $pa_func... " >&6; }
                   18495: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.67      paf      18496: /* end confdefs.h.  */
                   18497: 
                   18498: #ifdef HAVE_SETJMP_H
                   18499: #      include <setjmp.h>
                   18500: #endif
                   18501: 
                   18502: int
                   18503: main ()
                   18504: {
                   18505: 
                   18506:         $pa_func(0,0);
                   18507: 
                   18508:   ;
                   18509:   return 0;
                   18510: }
                   18511: _ACEOF
1.150     moko     18512: if ac_fn_c_try_compile "$LINENO"; then :
                   18513:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   18514: $as_echo "yes" >&6; }
1.67      paf      18515: cat >>confdefs.h <<_ACEOF
1.150     moko     18516: #define `$as_echo "HAVE_$pa_func" | $as_tr_cpp` 1
1.67      paf      18517: _ACEOF
                   18518: 
                   18519: 
                   18520: else
1.150     moko     18521:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18522: $as_echo "no" >&6; }
1.67      paf      18523: 
                   18524: fi
1.150     moko     18525: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.67      paf      18526: 
                   18527: 
                   18528: 
1.159     moko     18529: 
1.150     moko     18530: ac_ext=cpp
1.67      paf      18531: ac_cpp='$CXXCPP $CPPFLAGS'
                   18532: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   18533: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   18534: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   18535: 
                   18536: 
                   18537: 
1.158     moko     18538: for pa_func in trunc round sign
1.67      paf      18539: do
                   18540: 
1.150     moko     18541: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for (maybe built-in) math function $pa_func" >&5
                   18542: $as_echo_n "checking for (maybe built-in) math function $pa_func... " >&6; }
                   18543: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.67      paf      18544: /* end confdefs.h.  */
                   18545: 
                   18546: #ifdef HAVE_MATH_H
                   18547: #       include <math.h>
                   18548: #endif
                   18549: 
                   18550: int
                   18551: main ()
                   18552: {
                   18553: 
                   18554:         double result=$pa_func(1.6);
                   18555: 
                   18556:   ;
                   18557:   return 0;
                   18558: }
                   18559: _ACEOF
1.150     moko     18560: if ac_fn_cxx_try_compile "$LINENO"; then :
                   18561:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   18562: $as_echo "yes" >&6; }
1.67      paf      18563: cat >>confdefs.h <<_ACEOF
1.150     moko     18564: #define `$as_echo "HAVE_$pa_func" | $as_tr_cpp`  1
1.62      paf      18565: _ACEOF
1.66      paf      18566: 
1.62      paf      18567: else
1.150     moko     18568:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18569: $as_echo "no" >&6; }
1.62      paf      18570: 
                   18571: fi
1.150     moko     18572: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18573: 
                   18574: done
                   18575: 
                   18576: ac_ext=c
                   18577: ac_cpp='$CPP $CPPFLAGS'
                   18578: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   18579: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   18580: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   18581: 
                   18582: 
                   18583: 
                   18584: for ac_func in qsort
                   18585: do :
                   18586:   ac_fn_c_check_func "$LINENO" "qsort" "ac_cv_func_qsort"
                   18587: if test "x$ac_cv_func_qsort" = xyes; then :
1.62      paf      18588:   cat >>confdefs.h <<_ACEOF
1.150     moko     18589: #define HAVE_QSORT 1
1.62      paf      18590: _ACEOF
1.1       paf      18591: 
1.66      paf      18592: else
1.150     moko     18593:   as_fn_error $? "No qsort library function." "$LINENO" 5
1.1       paf      18594: fi
1.66      paf      18595: done
1.1       paf      18596: 
                   18597: 
1.62      paf      18598: 
1.159     moko     18599: 
1.177     moko     18600: ac_ext=cpp
                   18601: ac_cpp='$CXXCPP $CPPFLAGS'
                   18602: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   18603: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   18604: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   18605: 
1.150     moko     18606: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
                   18607: $as_echo_n "checking for timezone variable... " >&6; }
                   18608: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18609: /* end confdefs.h.  */
1.66      paf      18610: #include <time.h>
1.62      paf      18611: int
                   18612: main ()
                   18613: {
1.177     moko     18614: int test=timezone;
1.62      paf      18615:   ;
                   18616:   return 0;
                   18617: }
                   18618: _ACEOF
1.177     moko     18619: if ac_fn_cxx_try_compile "$LINENO"; then :
1.150     moko     18620:   $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
1.158     moko     18621:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.150     moko     18622: $as_echo "yes" >&6; }
1.62      paf      18623: else
1.150     moko     18624:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18625: $as_echo "no" >&6; }
1.62      paf      18626: fi
1.150     moko     18627: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.177     moko     18628: ac_ext=c
                   18629: ac_cpp='$CPP $CPPFLAGS'
                   18630: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   18631: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   18632: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   18633: 
1.1       paf      18634: 
1.176     moko     18635: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
                   18636: $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
1.150     moko     18637: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18638: /* end confdefs.h.  */
1.66      paf      18639: #include <time.h>
1.62      paf      18640: int
                   18641: main ()
                   18642: {
1.176     moko     18643: struct tm tm; tm.tm_gmtoff=0;
1.62      paf      18644:   ;
                   18645:   return 0;
                   18646: }
                   18647: _ACEOF
1.150     moko     18648: if ac_fn_c_try_compile "$LINENO"; then :
1.176     moko     18649:   $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
1.158     moko     18650:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.150     moko     18651: $as_echo "yes" >&6; }
1.62      paf      18652: else
1.150     moko     18653:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18654: $as_echo "no" >&6; }
1.62      paf      18655: fi
1.150     moko     18656: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      18657: 
1.176     moko     18658: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_tzadj in struct tm" >&5
                   18659: $as_echo_n "checking for tm_tzadj in struct tm... " >&6; }
1.150     moko     18660: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18661: /* end confdefs.h.  */
1.66      paf      18662: #include <time.h>
1.62      paf      18663: int
                   18664: main ()
                   18665: {
1.176     moko     18666: struct tm tm; tm.tm_tzadj=0;
1.62      paf      18667:   ;
                   18668:   return 0;
                   18669: }
                   18670: _ACEOF
1.150     moko     18671: if ac_fn_c_try_compile "$LINENO"; then :
1.176     moko     18672:   $as_echo "#define HAVE_TM_TZADJ 1" >>confdefs.h
1.158     moko     18673:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.150     moko     18674: $as_echo "yes" >&6; }
1.62      paf      18675: else
1.150     moko     18676:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18677: $as_echo "no" >&6; }
1.62      paf      18678: fi
1.150     moko     18679: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       paf      18680: 
1.176     moko     18681: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 0..9999 year date range support" >&5
                   18682: $as_echo_n "checking for 0..9999 year date range support... " >&6; }
                   18683: if test "$cross_compiling" = yes; then :
                   18684:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18685: $as_echo "no" >&6; }
                   18686: else
                   18687:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18688: /* end confdefs.h.  */
1.176     moko     18689: 
                   18690: #include <string.h>
1.66      paf      18691: #include <time.h>
1.176     moko     18692: 
                   18693: int main() {
                   18694:        struct tm tmL,tmH;
                   18695:        memset(&tmL, 0, sizeof(tmL));
                   18696:        memset(&tmH, 0, sizeof(tmH));
                   18697:        tmL.tm_year=-1900;
                   18698:        tmL.tm_mon=-1;
                   18699:        tmH.tm_year=9999-1900;
                   18700:        tmH.tm_mon=12-1;
                   18701:        tmH.tm_mday=31;
                   18702:        return mktime(&tmL)==-1 || mktime(&tmH)==-1;
1.62      paf      18703: }
1.176     moko     18704: 
1.62      paf      18705: _ACEOF
1.176     moko     18706: if ac_fn_c_try_run "$LINENO"; then :
                   18707:   $as_echo "#define PA_DATE64 1" >>confdefs.h
1.158     moko     18708:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.150     moko     18709: $as_echo "yes" >&6; }
1.62      paf      18710: else
1.150     moko     18711:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18712: $as_echo "no" >&6; }
1.62      paf      18713: fi
1.176     moko     18714: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   18715:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   18716: fi
1.31      paf      18717: 
1.1       paf      18718: 
                   18719: 
                   18720: 
1.62      paf      18721: 
                   18722: 
                   18723: 
1.150     moko     18724: ac_config_headers="$ac_config_headers src/include/pa_config_auto.h"
1.62      paf      18725: 
                   18726: 
1.173     moko     18727: ac_config_files="$ac_config_files Makefile src/Makefile src/types/Makefile src/classes/Makefile src/include/Makefile src/main/Makefile src/sql/Makefile src/lib/Makefile src/lib/gd/Makefile src/lib/smtp/Makefile src/lib/gc/Makefile src/lib/gc/include/Makefile src/lib/pcre/Makefile src/lib/cord/Makefile src/lib/cord/include/Makefile src/lib/cord/include/private/Makefile src/lib/md5/Makefile src/lib/sdbm/Makefile src/lib/sdbm/pa-include/Makefile src/lib/json/Makefile src/lib/curl/Makefile src/lib/punycode/Makefile src/lib/memcached/Makefile src/targets/Makefile src/targets/cgi/Makefile src/targets/apache/Makefile src/targets/isapi/Makefile etc/Makefile etc/parser3.charsets/Makefile bin/Makefile bin/auto.p.dist"
1.62      paf      18728: 
                   18729: cat >confcache <<\_ACEOF
1.1       paf      18730: # This file is a shell script that caches the results of configure
                   18731: # tests run on this system so they can be shared between configure
1.62      paf      18732: # scripts and configure runs, see configure's option --config-cache.
                   18733: # It is not useful on other systems.  If it contains results you don't
                   18734: # want to keep, you may remove or edit it.
1.1       paf      18735: #
1.62      paf      18736: # config.status only pays attention to the cache file if you give it
                   18737: # the --recheck option to rerun configure.
1.1       paf      18738: #
1.62      paf      18739: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   18740: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   18741: # following values.
                   18742: 
                   18743: _ACEOF
                   18744: 
1.1       paf      18745: # The following way of writing the cache mishandles newlines in values,
                   18746: # but we know of no workaround that is simple, portable, and efficient.
1.150     moko     18747: # So, we kill variables containing newlines.
1.1       paf      18748: # Ultrix sh set writes to stderr and can't be redirected directly,
                   18749: # and sets the high bit in the cache file unless we assign to the vars.
1.150     moko     18750: (
                   18751:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   18752:     eval ac_val=\$$ac_var
                   18753:     case $ac_val in #(
                   18754:     *${as_nl}*)
                   18755:       case $ac_var in #(
                   18756:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   18757: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   18758:       esac
                   18759:       case $ac_var in #(
                   18760:       _ | IFS | as_nl) ;; #(
                   18761:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   18762:       *) { eval $ac_var=; unset $ac_var;} ;;
                   18763:       esac ;;
                   18764:     esac
                   18765:   done
                   18766: 
1.62      paf      18767:   (set) 2>&1 |
1.150     moko     18768:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   18769:     *${as_nl}ac_space=\ *)
                   18770:       # `set' does not quote correctly, so add quotes: double-quote
                   18771:       # substitution turns \\\\ into \\, and sed turns \\ into \.
1.62      paf      18772:       sed -n \
1.86      paf      18773:        "s/'/'\\\\''/g;
                   18774:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1.150     moko     18775:       ;; #(
1.62      paf      18776:     *)
                   18777:       # `set' quotes correctly as required by POSIX, so do not add quotes.
1.150     moko     18778:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.62      paf      18779:       ;;
1.150     moko     18780:     esac |
                   18781:     sort
                   18782: ) |
1.62      paf      18783:   sed '
1.150     moko     18784:      /^ac_cv_env_/b end
1.62      paf      18785:      t clear
1.150     moko     18786:      :clear
1.62      paf      18787:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   18788:      t end
1.150     moko     18789:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   18790:      :end' >>confcache
                   18791: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   18792:   if test -w "$cache_file"; then
                   18793:     if test "x$cache_file" != "x/dev/null"; then
                   18794:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
                   18795: $as_echo "$as_me: updating cache $cache_file" >&6;}
                   18796:       if test ! -f "$cache_file" || test -h "$cache_file"; then
                   18797:        cat confcache >"$cache_file"
                   18798:       else
                   18799:         case $cache_file in #(
                   18800:         */* | ?:*)
                   18801:          mv -f confcache "$cache_file"$$ &&
                   18802:          mv -f "$cache_file"$$ "$cache_file" ;; #(
                   18803:         *)
                   18804:          mv -f confcache "$cache_file" ;;
                   18805:        esac
                   18806:       fi
                   18807:     fi
1.1       paf      18808:   else
1.150     moko     18809:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
                   18810: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1.1       paf      18811:   fi
                   18812: fi
                   18813: rm -f confcache
                   18814: 
                   18815: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   18816: # Let make expand exec_prefix.
                   18817: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   18818: 
1.62      paf      18819: DEFS=-DHAVE_CONFIG_H
                   18820: 
                   18821: ac_libobjs=
                   18822: ac_ltlibobjs=
1.150     moko     18823: U=
1.62      paf      18824: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   18825:   # 1. Remove the extension, and $U if already installed.
1.150     moko     18826:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
                   18827:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
                   18828:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   18829:   #    will be set to the directory where LIBOBJS objects are built.
                   18830:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   18831:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
1.62      paf      18832: done
                   18833: LIBOBJS=$ac_libobjs
                   18834: 
                   18835: LTLIBOBJS=$ac_ltlibobjs
1.1       paf      18836: 
                   18837: 
1.150     moko     18838:  if test -n "$EXEEXT"; then
                   18839:   am__EXEEXT_TRUE=
                   18840:   am__EXEEXT_FALSE='#'
                   18841: else
                   18842:   am__EXEEXT_TRUE='#'
                   18843:   am__EXEEXT_FALSE=
                   18844: fi
                   18845: 
1.62      paf      18846: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
1.150     moko     18847:   as_fn_error $? "conditional \"AMDEP\" was never defined.
                   18848: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      18849: fi
1.66      paf      18850: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
1.150     moko     18851:   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
                   18852: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      18853: fi
1.66      paf      18854: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.150     moko     18855:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
                   18856: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      18857: fi
1.122     moko     18858: if test -z "${COMPILE_APACHE_MODULE_TRUE}" && test -z "${COMPILE_APACHE_MODULE_FALSE}"; then
1.150     moko     18859:   as_fn_error $? "conditional \"COMPILE_APACHE_MODULE\" was never defined.
                   18860: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      18861: fi
1.128     moko     18862: if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
1.150     moko     18863:   as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
                   18864: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.128     moko     18865: fi
                   18866: if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
1.150     moko     18867:   as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
                   18868: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.128     moko     18869: fi
1.150     moko     18870: LT_CONFIG_H=src/include/pa_config_auto.h
1.128     moko     18871: 
                   18872:     _ltdl_libobjs=
                   18873:     _ltdl_ltlibobjs=
                   18874:     if test -n "$_LT_LIBOBJS"; then
                   18875:       # Remove the extension.
                   18876:       _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
                   18877:       for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
                   18878:         _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
                   18879:         _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
                   18880:       done
                   18881:     fi
                   18882:     ltdl_LIBOBJS=$_ltdl_libobjs
                   18883: 
                   18884:     ltdl_LTLIBOBJS=$_ltdl_ltlibobjs
                   18885: 
                   18886: 
1.62      paf      18887: 
1.150     moko     18888: 
                   18889: : "${CONFIG_STATUS=./config.status}"
                   18890: ac_write_fail=0
1.62      paf      18891: ac_clean_files_save=$ac_clean_files
                   18892: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.150     moko     18893: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
                   18894: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   18895: as_write_fail=0
                   18896: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1.62      paf      18897: #! $SHELL
                   18898: # Generated by $as_me.
                   18899: # Run this file to recreate the current configuration.
                   18900: # Compiler output produced by configure, useful for debugging
                   18901: # configure, is in config.log if it exists.
                   18902: 
                   18903: debug=false
                   18904: ac_cs_recheck=false
                   18905: ac_cs_silent=false
1.150     moko     18906: 
1.62      paf      18907: SHELL=\${CONFIG_SHELL-$SHELL}
1.150     moko     18908: export SHELL
                   18909: _ASEOF
                   18910: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
                   18911: ## -------------------- ##
                   18912: ## M4sh Initialization. ##
                   18913: ## -------------------- ##
1.62      paf      18914: 
1.150     moko     18915: # Be more Bourne compatible
                   18916: DUALCASE=1; export DUALCASE # for MKS sh
                   18917: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.62      paf      18918:   emulate sh
                   18919:   NULLCMD=:
1.150     moko     18920:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.62      paf      18921:   # is contrary to our usage.  Disable this feature.
                   18922:   alias -g '${1+"$@"}'='"$@"'
1.150     moko     18923:   setopt NO_GLOB_SUBST
                   18924: else
                   18925:   case `(set -o) 2>/dev/null` in #(
                   18926:   *posix*) :
                   18927:     set -o posix ;; #(
                   18928:   *) :
                   18929:      ;;
                   18930: esac
                   18931: fi
                   18932: 
                   18933: 
                   18934: as_nl='
                   18935: '
                   18936: export as_nl
                   18937: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                   18938: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   18939: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                   18940: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                   18941: # Prefer a ksh shell builtin over an external printf program on Solaris,
                   18942: # but without wasting forks for bash or zsh.
                   18943: if test -z "$BASH_VERSION$ZSH_VERSION" \
                   18944:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                   18945:   as_echo='print -r --'
                   18946:   as_echo_n='print -rn --'
                   18947: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                   18948:   as_echo='printf %s\n'
                   18949:   as_echo_n='printf %s'
                   18950: else
                   18951:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                   18952:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                   18953:     as_echo_n='/usr/ucb/echo -n'
                   18954:   else
                   18955:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                   18956:     as_echo_n_body='eval
                   18957:       arg=$1;
                   18958:       case $arg in #(
                   18959:       *"$as_nl"*)
                   18960:        expr "X$arg" : "X\\(.*\\)$as_nl";
                   18961:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                   18962:       esac;
                   18963:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                   18964:     '
                   18965:     export as_echo_n_body
                   18966:     as_echo_n='sh -c $as_echo_n_body as_echo'
                   18967:   fi
                   18968:   export as_echo_body
                   18969:   as_echo='sh -c $as_echo_body as_echo'
1.62      paf      18970: fi
                   18971: 
1.150     moko     18972: # The user is always right.
                   18973: if test "${PATH_SEPARATOR+set}" != set; then
                   18974:   PATH_SEPARATOR=:
                   18975:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   18976:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   18977:       PATH_SEPARATOR=';'
                   18978:   }
1.62      paf      18979: fi
                   18980: 
                   18981: 
1.150     moko     18982: # IFS
                   18983: # We need space, tab and new line, in precisely that order.  Quoting is
                   18984: # there to prevent editors from complaining about space-tab.
                   18985: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                   18986: # splitting by setting IFS to empty value.)
                   18987: IFS=" ""       $as_nl"
                   18988: 
                   18989: # Find who we are.  Look in the path if we contain no directory separator.
                   18990: as_myself=
                   18991: case $0 in #((
                   18992:   *[\\/]* ) as_myself=$0 ;;
                   18993:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   18994: for as_dir in $PATH
                   18995: do
                   18996:   IFS=$as_save_IFS
                   18997:   test -z "$as_dir" && as_dir=.
                   18998:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   18999:   done
                   19000: IFS=$as_save_IFS
                   19001: 
                   19002:      ;;
                   19003: esac
                   19004: # We did not find ourselves, most probably we were run as `sh COMMAND'
                   19005: # in which case we are not to be found in the path.
                   19006: if test "x$as_myself" = x; then
                   19007:   as_myself=$0
                   19008: fi
                   19009: if test ! -f "$as_myself"; then
                   19010:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                   19011:   exit 1
                   19012: fi
                   19013: 
                   19014: # Unset variables that we do not need and which cause bugs (e.g. in
                   19015: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                   19016: # suppresses any "Segmentation fault" message there.  '((' could
                   19017: # trigger a bug in pdksh 5.2.14.
                   19018: for as_var in BASH_ENV ENV MAIL MAILPATH
                   19019: do eval test x\${$as_var+set} = xset \
                   19020:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                   19021: done
1.62      paf      19022: PS1='$ '
                   19023: PS2='> '
                   19024: PS4='+ '
                   19025: 
                   19026: # NLS nuisances.
1.150     moko     19027: LC_ALL=C
                   19028: export LC_ALL
                   19029: LANGUAGE=C
                   19030: export LANGUAGE
                   19031: 
                   19032: # CDPATH.
                   19033: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   19034: 
                   19035: 
                   19036: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                   19037: # ----------------------------------------
                   19038: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                   19039: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                   19040: # script with STATUS, using 1 if that was 0.
                   19041: as_fn_error ()
                   19042: {
                   19043:   as_status=$1; test $as_status -eq 0 && as_status=1
                   19044:   if test "$4"; then
                   19045:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   19046:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                   19047:   fi
                   19048:   $as_echo "$as_me: error: $2" >&2
                   19049:   as_fn_exit $as_status
                   19050: } # as_fn_error
                   19051: 
                   19052: 
                   19053: # as_fn_set_status STATUS
                   19054: # -----------------------
                   19055: # Set $? to STATUS, without forking.
                   19056: as_fn_set_status ()
                   19057: {
                   19058:   return $1
                   19059: } # as_fn_set_status
                   19060: 
                   19061: # as_fn_exit STATUS
                   19062: # -----------------
                   19063: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                   19064: as_fn_exit ()
                   19065: {
                   19066:   set +e
                   19067:   as_fn_set_status $1
                   19068:   exit $1
                   19069: } # as_fn_exit
                   19070: 
                   19071: # as_fn_unset VAR
                   19072: # ---------------
                   19073: # Portably unset VAR.
                   19074: as_fn_unset ()
                   19075: {
                   19076:   { eval $1=; unset $1;}
                   19077: }
                   19078: as_unset=as_fn_unset
                   19079: # as_fn_append VAR VALUE
                   19080: # ----------------------
                   19081: # Append the text in VALUE to the end of the definition contained in VAR. Take
                   19082: # advantage of any shell optimizations that allow amortized linear growth over
                   19083: # repeated appends, instead of the typical quadratic growth present in naive
                   19084: # implementations.
                   19085: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                   19086:   eval 'as_fn_append ()
                   19087:   {
                   19088:     eval $1+=\$2
                   19089:   }'
                   19090: else
                   19091:   as_fn_append ()
                   19092:   {
                   19093:     eval $1=\$$1\$2
                   19094:   }
                   19095: fi # as_fn_append
                   19096: 
                   19097: # as_fn_arith ARG...
                   19098: # ------------------
                   19099: # Perform arithmetic evaluation on the ARGs, and store the result in the
                   19100: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                   19101: # must be portable across $(()) and expr.
                   19102: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                   19103:   eval 'as_fn_arith ()
                   19104:   {
                   19105:     as_val=$(( $* ))
                   19106:   }'
                   19107: else
                   19108:   as_fn_arith ()
                   19109:   {
                   19110:     as_val=`expr "$@" || test $? -eq 1`
                   19111:   }
                   19112: fi # as_fn_arith
                   19113: 
1.1       paf      19114: 
1.150     moko     19115: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   19116:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.62      paf      19117:   as_expr=expr
                   19118: else
                   19119:   as_expr=false
                   19120: fi
                   19121: 
1.150     moko     19122: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1.62      paf      19123:   as_basename=basename
                   19124: else
                   19125:   as_basename=false
                   19126: fi
                   19127: 
1.150     moko     19128: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   19129:   as_dirname=dirname
                   19130: else
                   19131:   as_dirname=false
                   19132: fi
1.62      paf      19133: 
1.150     moko     19134: as_me=`$as_basename -- "$0" ||
1.62      paf      19135: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   19136:         X"$0" : 'X\(//\)$' \| \
1.150     moko     19137:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                   19138: $as_echo X/"$0" |
                   19139:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   19140:            s//\1/
                   19141:            q
                   19142:          }
                   19143:          /^X\/\(\/\/\)$/{
                   19144:            s//\1/
                   19145:            q
                   19146:          }
                   19147:          /^X\/\(\/\).*/{
                   19148:            s//\1/
                   19149:            q
                   19150:          }
                   19151:          s/.*/./; q'`
1.62      paf      19152: 
                   19153: # Avoid depending upon Character Ranges.
                   19154: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   19155: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   19156: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   19157: as_cr_digits='0123456789'
                   19158: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   19159: 
1.150     moko     19160: ECHO_C= ECHO_N= ECHO_T=
                   19161: case `echo -n x` in #(((((
                   19162: -n*)
                   19163:   case `echo 'xy\c'` in
                   19164:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                   19165:   xy)  ECHO_C='\c';;
                   19166:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                   19167:        ECHO_T='        ';;
                   19168:   esac;;
                   19169: *)
                   19170:   ECHO_N='-n';;
1.62      paf      19171: esac
                   19172: 
1.150     moko     19173: rm -f conf$$ conf$$.exe conf$$.file
                   19174: if test -d conf$$.dir; then
                   19175:   rm -f conf$$.dir/conf$$.file
1.62      paf      19176: else
1.150     moko     19177:   rm -f conf$$.dir
                   19178:   mkdir conf$$.dir 2>/dev/null
1.62      paf      19179: fi
1.150     moko     19180: if (echo >conf$$.file) 2>/dev/null; then
                   19181:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   19182:     as_ln_s='ln -s'
                   19183:     # ... but there are two gotchas:
                   19184:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                   19185:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1.166     moko     19186:     # In both cases, we have to default to `cp -pR'.
1.150     moko     19187:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.166     moko     19188:       as_ln_s='cp -pR'
1.150     moko     19189:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   19190:     as_ln_s=ln
                   19191:   else
1.166     moko     19192:     as_ln_s='cp -pR'
1.62      paf      19193:   fi
                   19194: else
1.166     moko     19195:   as_ln_s='cp -pR'
1.62      paf      19196: fi
1.150     moko     19197: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   19198: rmdir conf$$.dir 2>/dev/null
                   19199: 
                   19200: 
                   19201: # as_fn_mkdir_p
                   19202: # -------------
                   19203: # Create "$as_dir" as a directory, including parents if necessary.
                   19204: as_fn_mkdir_p ()
                   19205: {
                   19206: 
                   19207:   case $as_dir in #(
                   19208:   -*) as_dir=./$as_dir;;
                   19209:   esac
                   19210:   test -d "$as_dir" || eval $as_mkdir_p || {
                   19211:     as_dirs=
                   19212:     while :; do
                   19213:       case $as_dir in #(
                   19214:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                   19215:       *) as_qdir=$as_dir;;
                   19216:       esac
                   19217:       as_dirs="'$as_qdir' $as_dirs"
                   19218:       as_dir=`$as_dirname -- "$as_dir" ||
                   19219: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   19220:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   19221:         X"$as_dir" : 'X\(//\)$' \| \
                   19222:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                   19223: $as_echo X"$as_dir" |
                   19224:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   19225:            s//\1/
                   19226:            q
                   19227:          }
                   19228:          /^X\(\/\/\)[^/].*/{
                   19229:            s//\1/
                   19230:            q
                   19231:          }
                   19232:          /^X\(\/\/\)$/{
                   19233:            s//\1/
                   19234:            q
                   19235:          }
                   19236:          /^X\(\/\).*/{
                   19237:            s//\1/
                   19238:            q
                   19239:          }
                   19240:          s/.*/./; q'`
                   19241:       test -d "$as_dir" && break
                   19242:     done
                   19243:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                   19244:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                   19245: 
1.62      paf      19246: 
1.150     moko     19247: } # as_fn_mkdir_p
1.62      paf      19248: if mkdir -p . 2>/dev/null; then
1.150     moko     19249:   as_mkdir_p='mkdir -p "$as_dir"'
1.62      paf      19250: else
1.86      paf      19251:   test -d ./-p && rmdir ./-p
1.62      paf      19252:   as_mkdir_p=false
                   19253: fi
                   19254: 
1.166     moko     19255: 
                   19256: # as_fn_executable_p FILE
                   19257: # -----------------------
                   19258: # Test if FILE is an executable regular file.
                   19259: as_fn_executable_p ()
                   19260: {
                   19261:   test -f "$1" && test -x "$1"
                   19262: } # as_fn_executable_p
                   19263: as_test_x='test -x'
                   19264: as_executable_p=as_fn_executable_p
1.62      paf      19265: 
                   19266: # Sed expression to map a string onto a valid CPP name.
1.86      paf      19267: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf      19268: 
                   19269: # Sed expression to map a string onto a valid variable name.
1.86      paf      19270: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf      19271: 
                   19272: 
                   19273: exec 6>&1
1.150     moko     19274: ## ----------------------------------- ##
                   19275: ## Main body of $CONFIG_STATUS script. ##
                   19276: ## ----------------------------------- ##
                   19277: _ASEOF
                   19278: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
1.62      paf      19279: 
1.150     moko     19280: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   19281: # Save the log message, to keep $0 and so on meaningful, and to
1.62      paf      19282: # report actual input values of CONFIG_FILES etc. instead of their
1.150     moko     19283: # values after options handling.
                   19284: ac_log="
1.186   ! moko     19285: This file was extended by parser $as_me 3.4.6b, which was
1.166     moko     19286: generated by GNU Autoconf 2.69.  Invocation command line was
1.62      paf      19287: 
                   19288:   CONFIG_FILES    = $CONFIG_FILES
                   19289:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   19290:   CONFIG_LINKS    = $CONFIG_LINKS
                   19291:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   19292:   $ $0 $@
                   19293: 
1.150     moko     19294: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   19295: "
                   19296: 
1.62      paf      19297: _ACEOF
                   19298: 
1.150     moko     19299: case $ac_config_files in *"
                   19300: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   19301: esac
1.62      paf      19302: 
1.150     moko     19303: case $ac_config_headers in *"
                   19304: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
                   19305: esac
1.62      paf      19306: 
                   19307: 
1.150     moko     19308: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19309: # Files that config.status was made for.
                   19310: config_files="$ac_config_files"
                   19311: config_headers="$ac_config_headers"
                   19312: config_commands="$ac_config_commands"
1.62      paf      19313: 
1.150     moko     19314: _ACEOF
1.62      paf      19315: 
1.150     moko     19316: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      19317: ac_cs_usage="\
1.150     moko     19318: \`$as_me' instantiates files and other configuration actions
                   19319: from templates according to the current configuration.  Unless the files
                   19320: and actions are specified as TAGs, all are instantiated by default.
1.62      paf      19321: 
1.150     moko     19322: Usage: $0 [OPTION]... [TAG]...
1.62      paf      19323: 
                   19324:   -h, --help       print this help, then exit
1.150     moko     19325:   -V, --version    print version number and configuration settings, then exit
                   19326:       --config     print configuration, then exit
                   19327:   -q, --quiet, --silent
                   19328:                    do not print progress messages
1.62      paf      19329:   -d, --debug      don't remove temporary files
                   19330:       --recheck    update $as_me by reconfiguring in the same conditions
1.150     moko     19331:       --file=FILE[:TEMPLATE]
                   19332:                    instantiate the configuration file FILE
                   19333:       --header=FILE[:TEMPLATE]
                   19334:                    instantiate the configuration header FILE
1.62      paf      19335: 
                   19336: Configuration files:
                   19337: $config_files
                   19338: 
                   19339: Configuration headers:
                   19340: $config_headers
                   19341: 
                   19342: Configuration commands:
                   19343: $config_commands
                   19344: 
1.150     moko     19345: Report bugs to the package provider."
                   19346: 
1.62      paf      19347: _ACEOF
1.150     moko     19348: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19349: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1.62      paf      19350: ac_cs_version="\\
1.186   ! moko     19351: parser config.status 3.4.6b
1.166     moko     19352: configured by $0, generated by GNU Autoconf 2.69,
1.150     moko     19353:   with options \\"\$ac_cs_config\\"
1.62      paf      19354: 
1.166     moko     19355: Copyright (C) 2012 Free Software Foundation, Inc.
1.62      paf      19356: This config.status script is free software; the Free Software Foundation
                   19357: gives unlimited permission to copy, distribute and modify it."
1.150     moko     19358: 
                   19359: ac_pwd='$ac_pwd'
                   19360: srcdir='$srcdir'
                   19361: INSTALL='$INSTALL'
                   19362: MKDIR_P='$MKDIR_P'
                   19363: AWK='$AWK'
                   19364: test -n "\$AWK" || AWK=awk
1.62      paf      19365: _ACEOF
                   19366: 
1.150     moko     19367: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   19368: # The default lists apply if the user does not specify any file.
1.62      paf      19369: ac_need_defaults=:
                   19370: while test $# != 0
                   19371: do
                   19372:   case $1 in
1.150     moko     19373:   --*=?*)
                   19374:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   19375:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
1.62      paf      19376:     ac_shift=:
                   19377:     ;;
1.150     moko     19378:   --*=)
                   19379:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   19380:     ac_optarg=
                   19381:     ac_shift=:
                   19382:     ;;
                   19383:   *)
1.62      paf      19384:     ac_option=$1
                   19385:     ac_optarg=$2
                   19386:     ac_shift=shift
                   19387:     ;;
                   19388:   esac
                   19389: 
                   19390:   case $ac_option in
                   19391:   # Handling of the options.
                   19392:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   19393:     ac_cs_recheck=: ;;
1.150     moko     19394:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
                   19395:     $as_echo "$ac_cs_version"; exit ;;
                   19396:   --config | --confi | --conf | --con | --co | --c )
                   19397:     $as_echo "$ac_cs_config"; exit ;;
                   19398:   --debug | --debu | --deb | --de | --d | -d )
1.62      paf      19399:     debug=: ;;
                   19400:   --file | --fil | --fi | --f )
                   19401:     $ac_shift
1.150     moko     19402:     case $ac_optarg in
                   19403:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   19404:     '') as_fn_error $? "missing file argument" ;;
                   19405:     esac
                   19406:     as_fn_append CONFIG_FILES " '$ac_optarg'"
1.62      paf      19407:     ac_need_defaults=false;;
                   19408:   --header | --heade | --head | --hea )
                   19409:     $ac_shift
1.150     moko     19410:     case $ac_optarg in
                   19411:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   19412:     esac
                   19413:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
1.62      paf      19414:     ac_need_defaults=false;;
1.150     moko     19415:   --he | --h)
                   19416:     # Conflict between --help and --header
                   19417:     as_fn_error $? "ambiguous option: \`$1'
                   19418: Try \`$0 --help' for more information.";;
                   19419:   --help | --hel | -h )
                   19420:     $as_echo "$ac_cs_usage"; exit ;;
1.62      paf      19421:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   19422:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   19423:     ac_cs_silent=: ;;
                   19424: 
                   19425:   # This is an error.
1.150     moko     19426:   -*) as_fn_error $? "unrecognized option: \`$1'
                   19427: Try \`$0 --help' for more information." ;;
1.62      paf      19428: 
1.150     moko     19429:   *) as_fn_append ac_config_targets " $1"
                   19430:      ac_need_defaults=false ;;
1.62      paf      19431: 
                   19432:   esac
                   19433:   shift
                   19434: done
                   19435: 
                   19436: ac_configure_extra_args=
                   19437: 
                   19438: if $ac_cs_silent; then
                   19439:   exec 6>/dev/null
1.150     moko     19440:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   19441: fi
                   19442: 
                   19443: _ACEOF
                   19444: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19445: if \$ac_cs_recheck; then
1.166     moko     19446:   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1.150     moko     19447:   shift
                   19448:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
                   19449:   CONFIG_SHELL='$SHELL'
                   19450:   export CONFIG_SHELL
                   19451:   exec "\$@"
                   19452: fi
                   19453: 
                   19454: _ACEOF
                   19455: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   19456: exec 5>>config.log
                   19457: {
                   19458:   echo
                   19459:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   19460: ## Running $as_me. ##
                   19461: _ASBOX
                   19462:   $as_echo "$ac_log"
                   19463: } >&5
1.62      paf      19464: 
                   19465: _ACEOF
1.150     moko     19466: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1       paf      19467: #
1.150     moko     19468: # INIT-COMMANDS
1.1       paf      19469: #
1.62      paf      19470: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
                   19471: 
1.128     moko     19472: 
                   19473: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   19474: # if CDPATH is set.
                   19475: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   19476: 
                   19477: sed_quote_subst='$sed_quote_subst'
                   19478: double_quote_subst='$double_quote_subst'
                   19479: delay_variable_subst='$delay_variable_subst'
                   19480: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
                   19481: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
                   19482: AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
                   19483: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
                   19484: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
1.145     moko     19485: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
1.128     moko     19486: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
1.138     moko     19487: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
1.128     moko     19488: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
                   19489: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
                   19490: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
                   19491: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
                   19492: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
                   19493: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
                   19494: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
                   19495: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
                   19496: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
                   19497: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
                   19498: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
                   19499: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
                   19500: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
                   19501: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
                   19502: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
                   19503: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
                   19504: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
                   19505: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
                   19506: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
                   19507: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
                   19508: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
                   19509: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
                   19510: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
                   19511: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
                   19512: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
                   19513: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
                   19514: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
                   19515: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
                   19516: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
                   19517: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
                   19518: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
                   19519: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
                   19520: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
                   19521: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
                   19522: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
                   19523: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
                   19524: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
                   19525: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
                   19526: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   19527: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   19528: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
                   19529: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
                   19530: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
                   19531: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
                   19532: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
                   19533: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
                   19534: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
                   19535: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
                   19536: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
                   19537: 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"`'
                   19538: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
                   19539: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
                   19540: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
                   19541: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
                   19542: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
                   19543: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
                   19544: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
                   19545: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
                   19546: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
                   19547: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
                   19548: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
                   19549: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
                   19550: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
                   19551: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
                   19552: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
                   19553: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
                   19554: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
                   19555: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
                   19556: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   19557: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
                   19558: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
                   19559: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
                   19560: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
                   19561: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
                   19562: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
                   19563: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   19564: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
                   19565: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   19566: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
                   19567: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   19568: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
                   19569: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   19570: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   19571: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
                   19572: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
                   19573: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
                   19574: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
                   19575: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
                   19576: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   19577: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
                   19578: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
                   19579: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
                   19580: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
                   19581: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
                   19582: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
                   19583: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
                   19584: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
                   19585: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
                   19586: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
                   19587: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
                   19588: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
                   19589: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
                   19590: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
                   19591: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
                   19592: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   19593: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
                   19594: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
                   19595: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
                   19596: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
                   19597: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
                   19598: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   19599: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   19600: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
                   19601: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
                   19602: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
                   19603: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
                   19604: sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
                   19605: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
                   19606: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
                   19607: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
                   19608: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
                   19609: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
                   19610: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
                   19611: compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
                   19612: predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
                   19613: postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
                   19614: predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
                   19615: postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
                   19616: compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
                   19617: LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
                   19618: reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   19619: reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19620: old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19621: compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
                   19622: GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
                   19623: lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   19624: lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
                   19625: lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
                   19626: lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
                   19627: lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
                   19628: archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
                   19629: enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
                   19630: export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   19631: whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   19632: compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
                   19633: old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19634: old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19635: archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19636: archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19637: module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19638: module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19639: with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
                   19640: allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   19641: no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   19642: hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   19643: hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
                   19644: hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
                   19645: hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
                   19646: hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
                   19647: hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
                   19648: hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
                   19649: inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
                   19650: link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
                   19651: always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
                   19652: export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19653: exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   19654: include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   19655: prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19656: postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19657: file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   19658: hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
                   19659: compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
                   19660: predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   19661: postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   19662: predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
                   19663: postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
                   19664: compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
                   19665: 
                   19666: LTCC='$LTCC'
                   19667: LTCFLAGS='$LTCFLAGS'
                   19668: compiler='$compiler_DEFAULT'
                   19669: 
                   19670: # A function that is used when there is no print builtin or printf.
                   19671: func_fallback_echo ()
                   19672: {
                   19673:   eval 'cat <<_LTECHO_EOF
                   19674: \$1
                   19675: _LTECHO_EOF'
                   19676: }
                   19677: 
                   19678: # Quote evaled strings.
                   19679: for var in AS \
                   19680: DLLTOOL \
                   19681: OBJDUMP \
                   19682: SHELL \
                   19683: ECHO \
                   19684: PATH_SEPARATOR \
                   19685: SED \
                   19686: GREP \
                   19687: EGREP \
                   19688: FGREP \
                   19689: LD \
                   19690: NM \
                   19691: LN_S \
                   19692: lt_SP2NL \
                   19693: lt_NL2SP \
                   19694: reload_flag \
                   19695: deplibs_check_method \
                   19696: file_magic_cmd \
                   19697: file_magic_glob \
                   19698: want_nocaseglob \
                   19699: sharedlib_from_linklib_cmd \
                   19700: AR \
                   19701: AR_FLAGS \
                   19702: archiver_list_spec \
                   19703: STRIP \
                   19704: RANLIB \
                   19705: CC \
                   19706: CFLAGS \
                   19707: compiler \
                   19708: lt_cv_sys_global_symbol_pipe \
                   19709: lt_cv_sys_global_symbol_to_cdecl \
                   19710: lt_cv_sys_global_symbol_to_c_name_address \
                   19711: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
                   19712: nm_file_list_spec \
                   19713: lt_prog_compiler_no_builtin_flag \
                   19714: lt_prog_compiler_pic \
                   19715: lt_prog_compiler_wl \
                   19716: lt_prog_compiler_static \
                   19717: lt_cv_prog_compiler_c_o \
                   19718: need_locks \
                   19719: MANIFEST_TOOL \
                   19720: DSYMUTIL \
                   19721: NMEDIT \
                   19722: LIPO \
                   19723: OTOOL \
                   19724: OTOOL64 \
                   19725: shrext_cmds \
                   19726: export_dynamic_flag_spec \
                   19727: whole_archive_flag_spec \
                   19728: compiler_needs_object \
                   19729: with_gnu_ld \
                   19730: allow_undefined_flag \
                   19731: no_undefined_flag \
                   19732: hardcode_libdir_flag_spec \
                   19733: hardcode_libdir_separator \
                   19734: exclude_expsyms \
                   19735: include_expsyms \
                   19736: file_list_spec \
                   19737: variables_saved_for_relink \
                   19738: libname_spec \
                   19739: library_names_spec \
                   19740: soname_spec \
                   19741: install_override_mode \
                   19742: finish_eval \
                   19743: old_striplib \
                   19744: striplib \
                   19745: compiler_lib_search_dirs \
                   19746: predep_objects \
                   19747: postdep_objects \
                   19748: predeps \
                   19749: postdeps \
                   19750: compiler_lib_search_path \
                   19751: LD_CXX \
                   19752: reload_flag_CXX \
                   19753: compiler_CXX \
                   19754: lt_prog_compiler_no_builtin_flag_CXX \
                   19755: lt_prog_compiler_pic_CXX \
                   19756: lt_prog_compiler_wl_CXX \
                   19757: lt_prog_compiler_static_CXX \
                   19758: lt_cv_prog_compiler_c_o_CXX \
                   19759: export_dynamic_flag_spec_CXX \
                   19760: whole_archive_flag_spec_CXX \
                   19761: compiler_needs_object_CXX \
                   19762: with_gnu_ld_CXX \
                   19763: allow_undefined_flag_CXX \
                   19764: no_undefined_flag_CXX \
                   19765: hardcode_libdir_flag_spec_CXX \
                   19766: hardcode_libdir_separator_CXX \
                   19767: exclude_expsyms_CXX \
                   19768: include_expsyms_CXX \
                   19769: file_list_spec_CXX \
                   19770: compiler_lib_search_dirs_CXX \
                   19771: predep_objects_CXX \
                   19772: postdep_objects_CXX \
                   19773: predeps_CXX \
                   19774: postdeps_CXX \
                   19775: compiler_lib_search_path_CXX; do
                   19776:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   19777:     *[\\\\\\\`\\"\\\$]*)
                   19778:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
                   19779:       ;;
                   19780:     *)
                   19781:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   19782:       ;;
                   19783:     esac
                   19784: done
                   19785: 
                   19786: # Double-quote double-evaled strings.
                   19787: for var in reload_cmds \
                   19788: old_postinstall_cmds \
                   19789: old_postuninstall_cmds \
                   19790: old_archive_cmds \
                   19791: extract_expsyms_cmds \
                   19792: old_archive_from_new_cmds \
                   19793: old_archive_from_expsyms_cmds \
                   19794: archive_cmds \
                   19795: archive_expsym_cmds \
                   19796: module_cmds \
                   19797: module_expsym_cmds \
                   19798: export_symbols_cmds \
                   19799: prelink_cmds \
                   19800: postlink_cmds \
                   19801: postinstall_cmds \
                   19802: postuninstall_cmds \
                   19803: finish_cmds \
                   19804: sys_lib_search_path_spec \
                   19805: sys_lib_dlsearch_path_spec \
                   19806: reload_cmds_CXX \
                   19807: old_archive_cmds_CXX \
                   19808: old_archive_from_new_cmds_CXX \
                   19809: old_archive_from_expsyms_cmds_CXX \
                   19810: archive_cmds_CXX \
                   19811: archive_expsym_cmds_CXX \
                   19812: module_cmds_CXX \
                   19813: module_expsym_cmds_CXX \
                   19814: export_symbols_cmds_CXX \
                   19815: prelink_cmds_CXX \
                   19816: postlink_cmds_CXX; do
                   19817:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   19818:     *[\\\\\\\`\\"\\\$]*)
                   19819:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
                   19820:       ;;
                   19821:     *)
                   19822:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   19823:       ;;
                   19824:     esac
                   19825: done
                   19826: 
                   19827: ac_aux_dir='$ac_aux_dir'
                   19828: xsi_shell='$xsi_shell'
                   19829: lt_shell_append='$lt_shell_append'
                   19830: 
                   19831: # See if we are running on zsh, and set the options which allow our
                   19832: # commands through without removal of \ escapes INIT.
                   19833: if test -n "\${ZSH_VERSION+set}" ; then
                   19834:    setopt NO_GLOB_SUBST
                   19835: fi
                   19836: 
                   19837: 
                   19838:     PACKAGE='$PACKAGE'
                   19839:     VERSION='$VERSION'
                   19840:     TIMESTAMP='$TIMESTAMP'
                   19841:     RM='$RM'
                   19842:     ofile='$ofile'
                   19843: 
                   19844: 
                   19845: 
                   19846: 
                   19847: 
                   19848: 
1.62      paf      19849: _ACEOF
                   19850: 
1.150     moko     19851: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      19852: 
1.150     moko     19853: # Handling of arguments.
1.62      paf      19854: for ac_config_target in $ac_config_targets
1.1       paf      19855: do
1.150     moko     19856:   case $ac_config_target in
                   19857:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   19858:     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
                   19859:     "src/include/pa_config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS src/include/pa_config_auto.h" ;;
                   19860:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   19861:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
                   19862:     "src/types/Makefile") CONFIG_FILES="$CONFIG_FILES src/types/Makefile" ;;
                   19863:     "src/classes/Makefile") CONFIG_FILES="$CONFIG_FILES src/classes/Makefile" ;;
                   19864:     "src/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
                   19865:     "src/main/Makefile") CONFIG_FILES="$CONFIG_FILES src/main/Makefile" ;;
                   19866:     "src/sql/Makefile") CONFIG_FILES="$CONFIG_FILES src/sql/Makefile" ;;
                   19867:     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
                   19868:     "src/lib/gd/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gd/Makefile" ;;
                   19869:     "src/lib/smtp/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/smtp/Makefile" ;;
                   19870:     "src/lib/gc/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gc/Makefile" ;;
                   19871:     "src/lib/gc/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gc/include/Makefile" ;;
                   19872:     "src/lib/pcre/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/pcre/Makefile" ;;
                   19873:     "src/lib/cord/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/Makefile" ;;
                   19874:     "src/lib/cord/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/Makefile" ;;
                   19875:     "src/lib/cord/include/private/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/private/Makefile" ;;
                   19876:     "src/lib/md5/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/md5/Makefile" ;;
                   19877:     "src/lib/sdbm/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/Makefile" ;;
                   19878:     "src/lib/sdbm/pa-include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/pa-include/Makefile" ;;
                   19879:     "src/lib/json/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/json/Makefile" ;;
1.173     moko     19880:     "src/lib/curl/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/curl/Makefile" ;;
                   19881:     "src/lib/punycode/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/punycode/Makefile" ;;
1.150     moko     19882:     "src/lib/memcached/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/memcached/Makefile" ;;
                   19883:     "src/targets/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/Makefile" ;;
                   19884:     "src/targets/cgi/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/cgi/Makefile" ;;
                   19885:     "src/targets/apache/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/apache/Makefile" ;;
                   19886:     "src/targets/isapi/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/isapi/Makefile" ;;
                   19887:     "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
                   19888:     "etc/parser3.charsets/Makefile") CONFIG_FILES="$CONFIG_FILES etc/parser3.charsets/Makefile" ;;
                   19889:     "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
                   19890:     "bin/auto.p.dist") CONFIG_FILES="$CONFIG_FILES bin/auto.p.dist" ;;
                   19891: 
                   19892:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
1.1       paf      19893:   esac
                   19894: done
                   19895: 
1.150     moko     19896: 
1.62      paf      19897: # If the user did not use the arguments to specify the items to instantiate,
                   19898: # then the envvar interface is used.  Set only those that are not.
                   19899: # We use the long form for the default assignment because of an extremely
                   19900: # bizarre bug on SunOS 4.1.3.
                   19901: if $ac_need_defaults; then
                   19902:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   19903:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   19904:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   19905: fi
                   19906: 
                   19907: # Have a temporary directory for convenience.  Make it in the build tree
1.150     moko     19908: # simply because there is no reason against having it here, and in addition,
1.62      paf      19909: # creating and moving files from /tmp can sometimes cause problems.
1.150     moko     19910: # Hook for its removal unless debugging.
                   19911: # Note that there is a small window in which the directory will not be cleaned:
                   19912: # after its creation but before its name has been assigned to `$tmp'.
1.62      paf      19913: $debug ||
                   19914: {
1.150     moko     19915:   tmp= ac_tmp=
                   19916:   trap 'exit_status=$?
                   19917:   : "${ac_tmp:=$tmp}"
                   19918:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
                   19919: ' 0
                   19920:   trap 'as_fn_exit 1' 1 2 13 15
1.62      paf      19921: }
                   19922: # Create a (secure) tmp directory for tmp files.
                   19923: 
                   19924: {
1.150     moko     19925:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
                   19926:   test -d "$tmp"
1.62      paf      19927: }  ||
                   19928: {
1.150     moko     19929:   tmp=./conf$$-$RANDOM
                   19930:   (umask 077 && mkdir "$tmp")
                   19931: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
                   19932: ac_tmp=$tmp
                   19933: 
                   19934: # Set up the scripts for CONFIG_FILES section.
                   19935: # No need to generate them if there are no CONFIG_FILES.
                   19936: # This happens for instance with `./config.status config.h'.
                   19937: if test -n "$CONFIG_FILES"; then
                   19938: 
                   19939: 
                   19940: ac_cr=`echo X | tr X '\015'`
                   19941: # On cygwin, bash can eat \r inside `` if the user requested igncr.
                   19942: # But we know of no other shell where ac_cr would be empty at this
                   19943: # point, so we can use a bashism as a fallback.
                   19944: if test "x$ac_cr" = x; then
                   19945:   eval ac_cr=\$\'\\r\'
                   19946: fi
                   19947: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   19948: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
                   19949:   ac_cs_awk_cr='\\r'
                   19950: else
                   19951:   ac_cs_awk_cr=$ac_cr
                   19952: fi
                   19953: 
                   19954: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
                   19955: _ACEOF
                   19956: 
                   19957: 
1.62      paf      19958: {
1.150     moko     19959:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   19960:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   19961:   echo "_ACEOF"
                   19962: } >conf$$subs.sh ||
                   19963:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   19964: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
                   19965: ac_delim='%!_!# '
                   19966: for ac_last_try in false false false false false :; do
                   19967:   . ./conf$$subs.sh ||
                   19968:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   19969: 
                   19970:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   19971:   if test $ac_delim_n = $ac_delim_num; then
                   19972:     break
                   19973:   elif $ac_last_try; then
                   19974:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   19975:   else
                   19976:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   19977:   fi
                   19978: done
                   19979: rm -f conf$$subs.sh
                   19980: 
                   19981: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19982: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
                   19983: _ACEOF
                   19984: sed -n '
                   19985: h
                   19986: s/^/S["/; s/!.*/"]=/
                   19987: p
                   19988: g
                   19989: s/^[^!]*!//
                   19990: :repl
                   19991: t repl
                   19992: s/'"$ac_delim"'$//
                   19993: t delim
                   19994: :nl
                   19995: h
                   19996: s/\(.\{148\}\)..*/\1/
                   19997: t more1
                   19998: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   19999: p
                   20000: n
                   20001: b repl
                   20002: :more1
                   20003: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   20004: p
                   20005: g
                   20006: s/.\{148\}//
                   20007: t nl
                   20008: :delim
                   20009: h
                   20010: s/\(.\{148\}\)..*/\1/
                   20011: t more2
                   20012: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   20013: p
                   20014: b
                   20015: :more2
                   20016: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   20017: p
                   20018: g
                   20019: s/.\{148\}//
                   20020: t delim
                   20021: ' <conf$$subs.awk | sed '
                   20022: /^[^""]/{
                   20023:   N
                   20024:   s/\n//
                   20025: }
                   20026: ' >>$CONFIG_STATUS || ac_write_fail=1
                   20027: rm -f conf$$subs.awk
                   20028: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   20029: _ACAWK
                   20030: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
                   20031:   for (key in S) S_is_set[key] = 1
                   20032:   FS = ""
                   20033: 
                   20034: }
                   20035: {
                   20036:   line = $ 0
                   20037:   nfields = split(line, field, "@")
                   20038:   substed = 0
                   20039:   len = length(field[1])
                   20040:   for (i = 2; i < nfields; i++) {
                   20041:     key = field[i]
                   20042:     keylen = length(key)
                   20043:     if (S_is_set[key]) {
                   20044:       value = S[key]
                   20045:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   20046:       len += length(value) + length(field[++i])
                   20047:       substed = 1
                   20048:     } else
                   20049:       len += 1 + keylen
                   20050:   }
                   20051: 
                   20052:   print line
1.62      paf      20053: }
                   20054: 
1.150     moko     20055: _ACAWK
                   20056: _ACEOF
                   20057: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   20058: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   20059:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
                   20060: else
                   20061:   cat
                   20062: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
                   20063:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
1.62      paf      20064: _ACEOF
1.1       paf      20065: 
1.150     moko     20066: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
                   20067: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
                   20068: # trailing colons and then remove the whole line if VPATH becomes empty
                   20069: # (actually we leave an empty line to preserve line numbers).
                   20070: if test "x$srcdir" = x.; then
                   20071:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
                   20072: h
                   20073: s///
                   20074: s/^/:/
                   20075: s/[     ]*$/:/
                   20076: s/:\$(srcdir):/:/g
                   20077: s/:\${srcdir}:/:/g
                   20078: s/:@srcdir@:/:/g
                   20079: s/^:*//
                   20080: s/:*$//
                   20081: x
                   20082: s/\(=[  ]*\).*/\1/
                   20083: G
                   20084: s/\n//
                   20085: s/^[^=]*=[      ]*$//
                   20086: }'
                   20087: fi
1.62      paf      20088: 
1.150     moko     20089: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   20090: fi # test -n "$CONFIG_FILES"
1.1       paf      20091: 
1.150     moko     20092: # Set up the scripts for CONFIG_HEADERS section.
                   20093: # No need to generate them if there are no CONFIG_HEADERS.
                   20094: # This happens for instance with `./config.status Makefile'.
                   20095: if test -n "$CONFIG_HEADERS"; then
                   20096: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
                   20097: BEGIN {
                   20098: _ACEOF
                   20099: 
                   20100: # Transform confdefs.h into an awk script `defines.awk', embedded as
                   20101: # here-document in config.status, that substitutes the proper values into
                   20102: # config.h.in to produce config.h.
                   20103: 
                   20104: # Create a delimiter string that does not exist in confdefs.h, to ease
                   20105: # handling of long lines.
                   20106: ac_delim='%!_!# '
                   20107: for ac_last_try in false false :; do
                   20108:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
                   20109:   if test -z "$ac_tt"; then
                   20110:     break
                   20111:   elif $ac_last_try; then
                   20112:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
                   20113:   else
                   20114:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
1.1       paf      20115:   fi
1.150     moko     20116: done
1.1       paf      20117: 
1.150     moko     20118: # For the awk script, D is an array of macro values keyed by name,
                   20119: # likewise P contains macro parameters if any.  Preserve backslash
                   20120: # newline sequences.
                   20121: 
                   20122: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
                   20123: sed -n '
                   20124: s/.\{148\}/&'"$ac_delim"'/g
                   20125: t rset
                   20126: :rset
                   20127: s/^[    ]*#[    ]*define[       ][      ]*/ /
                   20128: t def
                   20129: d
                   20130: :def
                   20131: s/\\$//
                   20132: t bsnl
                   20133: s/["\\]/\\&/g
                   20134: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   20135: D["\1"]=" \3"/p
                   20136: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
                   20137: d
                   20138: :bsnl
                   20139: s/["\\]/\\&/g
                   20140: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   20141: D["\1"]=" \3\\\\\\n"\\/p
                   20142: t cont
                   20143: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
                   20144: t cont
                   20145: d
                   20146: :cont
                   20147: n
                   20148: s/.\{148\}/&'"$ac_delim"'/g
                   20149: t clear
                   20150: :clear
                   20151: s/\\$//
                   20152: t bsnlc
                   20153: s/["\\]/\\&/g; s/^/"/; s/$/"/p
                   20154: d
                   20155: :bsnlc
                   20156: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
                   20157: b cont
                   20158: ' <confdefs.h | sed '
                   20159: s/'"$ac_delim"'/"\\\
                   20160: "/g' >>$CONFIG_STATUS || ac_write_fail=1
                   20161: 
                   20162: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   20163:   for (key in D) D_is_set[key] = 1
                   20164:   FS = ""
                   20165: }
                   20166: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
                   20167:   line = \$ 0
                   20168:   split(line, arg, " ")
                   20169:   if (arg[1] == "#") {
                   20170:     defundef = arg[2]
                   20171:     mac1 = arg[3]
                   20172:   } else {
                   20173:     defundef = substr(arg[1], 2)
                   20174:     mac1 = arg[2]
                   20175:   }
                   20176:   split(mac1, mac2, "(") #)
                   20177:   macro = mac2[1]
                   20178:   prefix = substr(line, 1, index(line, defundef) - 1)
                   20179:   if (D_is_set[macro]) {
                   20180:     # Preserve the white space surrounding the "#".
                   20181:     print prefix "define", macro P[macro] D[macro]
                   20182:     next
                   20183:   } else {
                   20184:     # Replace #undef with comments.  This is necessary, for example,
                   20185:     # in the case of _POSIX_SOURCE, which is predefined and required
                   20186:     # on some systems where configure will not decide to define it.
                   20187:     if (defundef == "undef") {
                   20188:       print "/*", prefix defundef, macro, "*/"
                   20189:       next
                   20190:     }
                   20191:   }
                   20192: }
                   20193: { print }
                   20194: _ACAWK
1.62      paf      20195: _ACEOF
1.150     moko     20196: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   20197:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
                   20198: fi # test -n "$CONFIG_HEADERS"
                   20199: 
                   20200: 
                   20201: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
                   20202: shift
                   20203: for ac_tag
                   20204: do
                   20205:   case $ac_tag in
                   20206:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   20207:   esac
                   20208:   case $ac_mode$ac_tag in
                   20209:   :[FHL]*:*);;
                   20210:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
                   20211:   :[FH]-) ac_tag=-:-;;
                   20212:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   20213:   esac
                   20214:   ac_save_IFS=$IFS
                   20215:   IFS=:
                   20216:   set x $ac_tag
                   20217:   IFS=$ac_save_IFS
                   20218:   shift
                   20219:   ac_file=$1
                   20220:   shift
                   20221: 
                   20222:   case $ac_mode in
                   20223:   :L) ac_source=$1;;
                   20224:   :[FH])
                   20225:     ac_file_inputs=
                   20226:     for ac_f
                   20227:     do
                   20228:       case $ac_f in
                   20229:       -) ac_f="$ac_tmp/stdin";;
                   20230:       *) # Look for the file first in the build tree, then in the source tree
                   20231:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
                   20232:         # because $ac_f cannot contain `:'.
                   20233:         test -f "$ac_f" ||
                   20234:           case $ac_f in
                   20235:           [\\/$]*) false;;
                   20236:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   20237:           esac ||
                   20238:           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
                   20239:       esac
                   20240:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
                   20241:       as_fn_append ac_file_inputs " '$ac_f'"
                   20242:     done
                   20243: 
                   20244:     # Let's still pretend it is `configure' which instantiates (i.e., don't
                   20245:     # use $as_me), people would be surprised to read:
                   20246:     #    /* config.h.  Generated by config.status.  */
                   20247:     configure_input='Generated from '`
                   20248:          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
                   20249:        `' by configure.'
                   20250:     if test x"$ac_file" != x-; then
                   20251:       configure_input="$ac_file.  $configure_input"
                   20252:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
                   20253: $as_echo "$as_me: creating $ac_file" >&6;}
                   20254:     fi
                   20255:     # Neutralize special characters interpreted by sed in replacement strings.
                   20256:     case $configure_input in #(
                   20257:     *\&* | *\|* | *\\* )
                   20258:        ac_sed_conf_input=`$as_echo "$configure_input" |
                   20259:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   20260:     *) ac_sed_conf_input=$configure_input;;
                   20261:     esac
                   20262: 
                   20263:     case $ac_tag in
                   20264:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
                   20265:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
                   20266:     esac
                   20267:     ;;
1.1       paf      20268:   esac
                   20269: 
1.150     moko     20270:   ac_dir=`$as_dirname -- "$ac_file" ||
1.62      paf      20271: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      20272:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   20273:         X"$ac_file" : 'X\(//\)$' \| \
1.150     moko     20274:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
                   20275: $as_echo X"$ac_file" |
                   20276:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   20277:            s//\1/
                   20278:            q
                   20279:          }
                   20280:          /^X\(\/\/\)[^/].*/{
                   20281:            s//\1/
                   20282:            q
                   20283:          }
                   20284:          /^X\(\/\/\)$/{
                   20285:            s//\1/
                   20286:            q
                   20287:          }
                   20288:          /^X\(\/\).*/{
                   20289:            s//\1/
                   20290:            q
                   20291:          }
                   20292:          s/.*/./; q'`
                   20293:   as_dir="$ac_dir"; as_fn_mkdir_p
1.62      paf      20294:   ac_builddir=.
                   20295: 
1.150     moko     20296: case "$ac_dir" in
                   20297: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   20298: *)
                   20299:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   20300:   # A ".." for each directory in $ac_dir_suffix.
                   20301:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   20302:   case $ac_top_builddir_sub in
                   20303:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   20304:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   20305:   esac ;;
                   20306: esac
                   20307: ac_abs_top_builddir=$ac_pwd
                   20308: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   20309: # for backward compatibility:
                   20310: ac_top_builddir=$ac_top_build_prefix
1.62      paf      20311: 
                   20312: case $srcdir in
1.150     moko     20313:   .)  # We are building in place.
1.62      paf      20314:     ac_srcdir=.
1.150     moko     20315:     ac_top_srcdir=$ac_top_builddir_sub
                   20316:     ac_abs_top_srcdir=$ac_pwd ;;
                   20317:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.62      paf      20318:     ac_srcdir=$srcdir$ac_dir_suffix;
1.150     moko     20319:     ac_top_srcdir=$srcdir
                   20320:     ac_abs_top_srcdir=$srcdir ;;
                   20321:   *) # Relative name.
                   20322:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   20323:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   20324:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.62      paf      20325: esac
1.150     moko     20326: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.86      paf      20327: 
1.62      paf      20328: 
1.150     moko     20329:   case $ac_mode in
                   20330:   :F)
                   20331:   #
                   20332:   # CONFIG_FILE
                   20333:   #
1.1       paf      20334: 
1.62      paf      20335:   case $INSTALL in
                   20336:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1.150     moko     20337:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
1.1       paf      20338:   esac
1.150     moko     20339:   ac_MKDIR_P=$MKDIR_P
                   20340:   case $MKDIR_P in
                   20341:   [\\/$]* | ?:[\\/]* ) ;;
                   20342:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
                   20343:   esac
                   20344: _ACEOF
1.1       paf      20345: 
1.150     moko     20346: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   20347: # If the template does not know about datarootdir, expand it.
                   20348: # FIXME: This hack should be removed a few years after 2.60.
                   20349: ac_datarootdir_hack=; ac_datarootdir_seen=
                   20350: ac_sed_dataroot='
                   20351: /datarootdir/ {
                   20352:   p
                   20353:   q
                   20354: }
                   20355: /@datadir@/p
                   20356: /@docdir@/p
                   20357: /@infodir@/p
                   20358: /@localedir@/p
                   20359: /@mandir@/p'
                   20360: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
                   20361: *datarootdir*) ac_datarootdir_seen=yes;;
                   20362: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
                   20363:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
                   20364: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
                   20365: _ACEOF
                   20366: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   20367:   ac_datarootdir_hack='
                   20368:   s&@datadir@&$datadir&g
                   20369:   s&@docdir@&$docdir&g
                   20370:   s&@infodir@&$infodir&g
                   20371:   s&@localedir@&$localedir&g
                   20372:   s&@mandir@&$mandir&g
                   20373:   s&\\\${datarootdir}&$datarootdir&g' ;;
                   20374: esac
                   20375: _ACEOF
1.62      paf      20376: 
1.150     moko     20377: # Neutralize VPATH when `$srcdir' = `.'.
                   20378: # Shell code in configure.ac might set extrasub.
                   20379: # FIXME: do we really want to maintain this feature?
                   20380: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   20381: ac_sed_extra="$ac_vpsub
1.62      paf      20382: $extrasub
                   20383: _ACEOF
1.150     moko     20384: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      20385: :t
                   20386: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1.150     moko     20387: s|@configure_input@|$ac_sed_conf_input|;t t
                   20388: s&@top_builddir@&$ac_top_builddir_sub&;t t
                   20389: s&@top_build_prefix@&$ac_top_build_prefix&;t t
                   20390: s&@srcdir@&$ac_srcdir&;t t
                   20391: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   20392: s&@top_srcdir@&$ac_top_srcdir&;t t
                   20393: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   20394: s&@builddir@&$ac_builddir&;t t
                   20395: s&@abs_builddir@&$ac_abs_builddir&;t t
                   20396: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
                   20397: s&@INSTALL@&$ac_INSTALL&;t t
                   20398: s&@MKDIR_P@&$ac_MKDIR_P&;t t
                   20399: $ac_datarootdir_hack
                   20400: "
                   20401: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
                   20402:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   20403: 
                   20404: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
                   20405:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
                   20406:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
                   20407:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
                   20408:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   20409: which seems to be undefined.  Please make sure it is defined" >&5
                   20410: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   20411: which seems to be undefined.  Please make sure it is defined" >&2;}
1.1       paf      20412: 
1.150     moko     20413:   rm -f "$ac_tmp/stdin"
1.62      paf      20414:   case $ac_file in
1.150     moko     20415:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
                   20416:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
                   20417:   esac \
                   20418:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   20419:  ;;
                   20420:   :H)
                   20421:   #
                   20422:   # CONFIG_HEADER
                   20423:   #
1.62      paf      20424:   if test x"$ac_file" != x-; then
1.150     moko     20425:     {
                   20426:       $as_echo "/* $configure_input  */" \
                   20427:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
                   20428:     } >"$ac_tmp/config.h" \
                   20429:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   20430:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
                   20431:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
                   20432: $as_echo "$as_me: $ac_file is unchanged" >&6;}
1.62      paf      20433:     else
1.150     moko     20434:       rm -f "$ac_file"
                   20435:       mv "$ac_tmp/config.h" "$ac_file" \
                   20436:        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.62      paf      20437:     fi
                   20438:   else
1.150     moko     20439:     $as_echo "/* $configure_input  */" \
                   20440:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
                   20441:       || as_fn_error $? "could not create -" "$LINENO" 5
1.62      paf      20442:   fi
1.150     moko     20443: # Compute "$ac_file"'s index in $config_headers.
                   20444: _am_arg="$ac_file"
1.86      paf      20445: _am_stamp_count=1
                   20446: for _am_header in $config_headers :; do
                   20447:   case $_am_header in
1.150     moko     20448:     $_am_arg | $_am_arg:* )
1.86      paf      20449:       break ;;
                   20450:     * )
                   20451:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   20452:   esac
                   20453: done
1.150     moko     20454: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
                   20455: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   20456:         X"$_am_arg" : 'X\(//\)[^/]' \| \
                   20457:         X"$_am_arg" : 'X\(//\)$' \| \
                   20458:         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
                   20459: $as_echo X"$_am_arg" |
                   20460:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   20461:            s//\1/
                   20462:            q
                   20463:          }
                   20464:          /^X\(\/\/\)[^/].*/{
                   20465:            s//\1/
                   20466:            q
                   20467:          }
                   20468:          /^X\(\/\/\)$/{
                   20469:            s//\1/
                   20470:            q
                   20471:          }
                   20472:          /^X\(\/\).*/{
                   20473:            s//\1/
                   20474:            q
                   20475:          }
                   20476:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   20477:  ;;
1.62      paf      20478: 
1.150     moko     20479:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
                   20480: $as_echo "$as_me: executing $ac_file commands" >&6;}
                   20481:  ;;
                   20482:   esac
1.86      paf      20483: 
1.62      paf      20484: 
1.150     moko     20485:   case $ac_file$ac_mode in
                   20486:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
                   20487:   # Autoconf 2.62 quotes --file arguments for eval, but not when files
                   20488:   # are listed without --file.  Let's play safe and only enable the eval
                   20489:   # if we detect the quoting.
                   20490:   case $CONFIG_FILES in
                   20491:   *\'*) eval set x "$CONFIG_FILES" ;;
                   20492:   *)   set x $CONFIG_FILES ;;
                   20493:   esac
                   20494:   shift
                   20495:   for mf
                   20496:   do
                   20497:     # Strip MF so we end up with the name of the file.
                   20498:     mf=`echo "$mf" | sed -e 's/:.*$//'`
                   20499:     # Check whether this is an Automake generated Makefile or not.
                   20500:     # We used to match only the files named `Makefile.in', but
                   20501:     # some people rename them; so instead we look at the file content.
                   20502:     # Grep'ing the first line is not enough: some people post-process
                   20503:     # each Makefile.in and add a new line on top of each file to say so.
                   20504:     # Grep'ing the whole file is not good either: AIX grep has a line
                   20505:     # limit of 2048, but all sed's we know have understand at least 4000.
                   20506:     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
                   20507:       dirpart=`$as_dirname -- "$mf" ||
1.62      paf      20508: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      20509:         X"$mf" : 'X\(//\)[^/]' \| \
                   20510:         X"$mf" : 'X\(//\)$' \| \
1.150     moko     20511:         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
                   20512: $as_echo X"$mf" |
                   20513:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   20514:            s//\1/
                   20515:            q
                   20516:          }
                   20517:          /^X\(\/\/\)[^/].*/{
                   20518:            s//\1/
                   20519:            q
                   20520:          }
                   20521:          /^X\(\/\/\)$/{
                   20522:            s//\1/
                   20523:            q
                   20524:          }
                   20525:          /^X\(\/\).*/{
                   20526:            s//\1/
                   20527:            q
                   20528:          }
                   20529:          s/.*/./; q'`
                   20530:     else
                   20531:       continue
                   20532:     fi
                   20533:     # Extract the definition of DEPDIR, am__include, and am__quote
                   20534:     # from the Makefile without running `make'.
                   20535:     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
                   20536:     test -z "$DEPDIR" && continue
                   20537:     am__include=`sed -n 's/^am__include = //p' < "$mf"`
                   20538:     test -z "am__include" && continue
                   20539:     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
                   20540:     # When using ansi2knr, U may be empty or an underscore; expand it
                   20541:     U=`sed -n 's/^U = //p' < "$mf"`
                   20542:     # Find all dependency output files, they are included files with
                   20543:     # $(DEPDIR) in their names.  We invoke sed twice because it is the
                   20544:     # simplest approach to changing $(DEPDIR) to its actual value in the
                   20545:     # expansion.
                   20546:     for file in `sed -n "
                   20547:       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
                   20548:         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
                   20549:       # Make sure the directory exists.
                   20550:       test -f "$dirpart/$file" && continue
                   20551:       fdir=`$as_dirname -- "$file" ||
1.62      paf      20552: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      20553:         X"$file" : 'X\(//\)[^/]' \| \
                   20554:         X"$file" : 'X\(//\)$' \| \
1.150     moko     20555:         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
                   20556: $as_echo X"$file" |
                   20557:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   20558:            s//\1/
                   20559:            q
                   20560:          }
                   20561:          /^X\(\/\/\)[^/].*/{
                   20562:            s//\1/
                   20563:            q
                   20564:          }
                   20565:          /^X\(\/\/\)$/{
                   20566:            s//\1/
                   20567:            q
                   20568:          }
                   20569:          /^X\(\/\).*/{
                   20570:            s//\1/
                   20571:            q
                   20572:          }
                   20573:          s/.*/./; q'`
                   20574:       as_dir=$dirpart/$fdir; as_fn_mkdir_p
                   20575:       # echo "creating $dirpart/$file"
                   20576:       echo '# dummy' > "$dirpart/$file"
1.62      paf      20577:     done
                   20578:   done
1.150     moko     20579: }
1.62      paf      20580:  ;;
1.150     moko     20581:     "libtool":C)
1.128     moko     20582: 
                   20583:     # See if we are running on zsh, and set the options which allow our
                   20584:     # commands through without removal of \ escapes.
                   20585:     if test -n "${ZSH_VERSION+set}" ; then
                   20586:       setopt NO_GLOB_SUBST
                   20587:     fi
                   20588: 
                   20589:     cfgfile="${ofile}T"
                   20590:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
                   20591:     $RM "$cfgfile"
                   20592: 
                   20593:     cat <<_LT_EOF >> "$cfgfile"
                   20594: #! $SHELL
                   20595: 
                   20596: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
                   20597: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
                   20598: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
                   20599: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
                   20600: #
                   20601: #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
                   20602: #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
                   20603: #                 Foundation, Inc.
                   20604: #   Written by Gordon Matzigkeit, 1996
                   20605: #
                   20606: #   This file is part of GNU Libtool.
                   20607: #
                   20608: # GNU Libtool is free software; you can redistribute it and/or
                   20609: # modify it under the terms of the GNU General Public License as
                   20610: # published by the Free Software Foundation; either version 2 of
                   20611: # the License, or (at your option) any later version.
                   20612: #
                   20613: # As a special exception to the GNU General Public License,
                   20614: # if you distribute this file as part of a program or library that
                   20615: # is built using GNU Libtool, you may include this file under the
                   20616: # same distribution terms that you use for the rest of that program.
                   20617: #
                   20618: # GNU Libtool is distributed in the hope that it will be useful,
                   20619: # but WITHOUT ANY WARRANTY; without even the implied warranty of
                   20620: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   20621: # GNU General Public License for more details.
                   20622: #
                   20623: # You should have received a copy of the GNU General Public License
                   20624: # along with GNU Libtool; see the file COPYING.  If not, a copy
                   20625: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
                   20626: # obtained by writing to the Free Software Foundation, Inc.,
                   20627: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
                   20628: 
                   20629: 
                   20630: # The names of the tagged configurations supported by this script.
                   20631: available_tags="CXX "
                   20632: 
                   20633: # ### BEGIN LIBTOOL CONFIG
                   20634: 
                   20635: # Which release of libtool.m4 was used?
                   20636: macro_version=$macro_version
                   20637: macro_revision=$macro_revision
                   20638: 
                   20639: # Assembler program.
                   20640: AS=$lt_AS
                   20641: 
                   20642: # DLL creation program.
                   20643: DLLTOOL=$lt_DLLTOOL
                   20644: 
                   20645: # Object dumper program.
                   20646: OBJDUMP=$lt_OBJDUMP
                   20647: 
1.145     moko     20648: # What type of objects to build.
                   20649: pic_mode=$pic_mode
                   20650: 
1.128     moko     20651: # Whether or not to build shared libraries.
                   20652: build_libtool_libs=$enable_shared
                   20653: 
1.138     moko     20654: # Whether or not to build static libraries.
                   20655: build_old_libs=$enable_static
                   20656: 
1.128     moko     20657: # Whether or not to optimize for fast installation.
                   20658: fast_install=$enable_fast_install
                   20659: 
                   20660: # Shell to use when invoking shell scripts.
                   20661: SHELL=$lt_SHELL
                   20662: 
                   20663: # An echo program that protects backslashes.
                   20664: ECHO=$lt_ECHO
                   20665: 
                   20666: # The PATH separator for the build system.
                   20667: PATH_SEPARATOR=$lt_PATH_SEPARATOR
                   20668: 
                   20669: # The host system.
                   20670: host_alias=$host_alias
                   20671: host=$host
                   20672: host_os=$host_os
                   20673: 
                   20674: # The build system.
                   20675: build_alias=$build_alias
                   20676: build=$build
                   20677: build_os=$build_os
                   20678: 
                   20679: # A sed program that does not truncate output.
                   20680: SED=$lt_SED
                   20681: 
                   20682: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   20683: Xsed="\$SED -e 1s/^X//"
                   20684: 
                   20685: # A grep program that handles long lines.
                   20686: GREP=$lt_GREP
                   20687: 
                   20688: # An ERE matcher.
                   20689: EGREP=$lt_EGREP
                   20690: 
                   20691: # A literal string matcher.
                   20692: FGREP=$lt_FGREP
                   20693: 
                   20694: # A BSD- or MS-compatible name lister.
                   20695: NM=$lt_NM
                   20696: 
                   20697: # Whether we need soft or hard links.
                   20698: LN_S=$lt_LN_S
                   20699: 
                   20700: # What is the maximum length of a command?
                   20701: max_cmd_len=$max_cmd_len
                   20702: 
                   20703: # Object file suffix (normally "o").
                   20704: objext=$ac_objext
                   20705: 
                   20706: # Executable file suffix (normally "").
                   20707: exeext=$exeext
                   20708: 
                   20709: # whether the shell understands "unset".
                   20710: lt_unset=$lt_unset
                   20711: 
                   20712: # turn spaces into newlines.
                   20713: SP2NL=$lt_lt_SP2NL
                   20714: 
                   20715: # turn newlines into spaces.
                   20716: NL2SP=$lt_lt_NL2SP
                   20717: 
                   20718: # convert \$build file names to \$host format.
                   20719: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   20720: 
                   20721: # convert \$build files to toolchain format.
                   20722: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   20723: 
                   20724: # Method to check whether dependent libraries are shared objects.
                   20725: deplibs_check_method=$lt_deplibs_check_method
                   20726: 
                   20727: # Command to use when deplibs_check_method = "file_magic".
                   20728: file_magic_cmd=$lt_file_magic_cmd
                   20729: 
                   20730: # How to find potential files when deplibs_check_method = "file_magic".
                   20731: file_magic_glob=$lt_file_magic_glob
                   20732: 
                   20733: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
                   20734: want_nocaseglob=$lt_want_nocaseglob
                   20735: 
                   20736: # Command to associate shared and link libraries.
                   20737: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
                   20738: 
                   20739: # The archiver.
                   20740: AR=$lt_AR
                   20741: 
                   20742: # Flags to create an archive.
                   20743: AR_FLAGS=$lt_AR_FLAGS
                   20744: 
                   20745: # How to feed a file listing to the archiver.
                   20746: archiver_list_spec=$lt_archiver_list_spec
                   20747: 
                   20748: # A symbol stripping program.
                   20749: STRIP=$lt_STRIP
                   20750: 
                   20751: # Commands used to install an old-style archive.
                   20752: RANLIB=$lt_RANLIB
                   20753: old_postinstall_cmds=$lt_old_postinstall_cmds
                   20754: old_postuninstall_cmds=$lt_old_postuninstall_cmds
                   20755: 
                   20756: # Whether to use a lock for old archive extraction.
                   20757: lock_old_archive_extraction=$lock_old_archive_extraction
                   20758: 
                   20759: # A C compiler.
                   20760: LTCC=$lt_CC
                   20761: 
                   20762: # LTCC compiler flags.
                   20763: LTCFLAGS=$lt_CFLAGS
                   20764: 
                   20765: # Take the output of nm and produce a listing of raw symbols and C names.
                   20766: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
                   20767: 
                   20768: # Transform the output of nm in a proper C declaration.
                   20769: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
                   20770: 
                   20771: # Transform the output of nm in a C name address pair.
                   20772: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
                   20773: 
                   20774: # Transform the output of nm in a C name address pair when lib prefix is needed.
                   20775: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
                   20776: 
                   20777: # Specify filename containing input files for \$NM.
                   20778: nm_file_list_spec=$lt_nm_file_list_spec
                   20779: 
                   20780: # The root where to search for dependent libraries,and in which our libraries should be installed.
                   20781: lt_sysroot=$lt_sysroot
                   20782: 
                   20783: # The name of the directory that contains temporary libtool files.
                   20784: objdir=$objdir
                   20785: 
                   20786: # Used to examine libraries when file_magic_cmd begins with "file".
                   20787: MAGIC_CMD=$MAGIC_CMD
                   20788: 
                   20789: # Must we lock files when doing compilation?
                   20790: need_locks=$lt_need_locks
                   20791: 
                   20792: # Manifest tool.
                   20793: MANIFEST_TOOL=$lt_MANIFEST_TOOL
                   20794: 
                   20795: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
                   20796: DSYMUTIL=$lt_DSYMUTIL
                   20797: 
                   20798: # Tool to change global to local symbols on Mac OS X.
                   20799: NMEDIT=$lt_NMEDIT
                   20800: 
                   20801: # Tool to manipulate fat objects and archives on Mac OS X.
                   20802: LIPO=$lt_LIPO
                   20803: 
                   20804: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
                   20805: OTOOL=$lt_OTOOL
                   20806: 
                   20807: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
                   20808: OTOOL64=$lt_OTOOL64
                   20809: 
                   20810: # Old archive suffix (normally "a").
                   20811: libext=$libext
                   20812: 
                   20813: # Shared library suffix (normally ".so").
                   20814: shrext_cmds=$lt_shrext_cmds
                   20815: 
                   20816: # The commands to extract the exported symbol list from a shared archive.
                   20817: extract_expsyms_cmds=$lt_extract_expsyms_cmds
                   20818: 
                   20819: # Variables whose values should be saved in libtool wrapper scripts and
                   20820: # restored at link time.
                   20821: variables_saved_for_relink=$lt_variables_saved_for_relink
                   20822: 
                   20823: # Do we need the "lib" prefix for modules?
                   20824: need_lib_prefix=$need_lib_prefix
                   20825: 
                   20826: # Do we need a version for libraries?
                   20827: need_version=$need_version
                   20828: 
                   20829: # Library versioning type.
                   20830: version_type=$version_type
                   20831: 
                   20832: # Shared library runtime path variable.
                   20833: runpath_var=$runpath_var
                   20834: 
                   20835: # Shared library path variable.
                   20836: shlibpath_var=$shlibpath_var
                   20837: 
                   20838: # Is shlibpath searched before the hard-coded library search path?
                   20839: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
                   20840: 
                   20841: # Format of library name prefix.
                   20842: libname_spec=$lt_libname_spec
                   20843: 
                   20844: # List of archive names.  First name is the real one, the rest are links.
                   20845: # The last name is the one that the linker finds with -lNAME
                   20846: library_names_spec=$lt_library_names_spec
                   20847: 
                   20848: # The coded name of the library, if different from the real name.
                   20849: soname_spec=$lt_soname_spec
                   20850: 
                   20851: # Permission mode override for installation of shared libraries.
                   20852: install_override_mode=$lt_install_override_mode
                   20853: 
                   20854: # Command to use after installation of a shared archive.
                   20855: postinstall_cmds=$lt_postinstall_cmds
                   20856: 
                   20857: # Command to use after uninstallation of a shared archive.
                   20858: postuninstall_cmds=$lt_postuninstall_cmds
                   20859: 
                   20860: # Commands used to finish a libtool library installation in a directory.
                   20861: finish_cmds=$lt_finish_cmds
                   20862: 
                   20863: # As "finish_cmds", except a single script fragment to be evaled but
                   20864: # not shown.
                   20865: finish_eval=$lt_finish_eval
                   20866: 
                   20867: # Whether we should hardcode library paths into libraries.
                   20868: hardcode_into_libs=$hardcode_into_libs
                   20869: 
                   20870: # Compile-time system search path for libraries.
                   20871: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
                   20872: 
                   20873: # Run-time system search path for libraries.
                   20874: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
                   20875: 
                   20876: # Whether dlopen is supported.
                   20877: dlopen_support=$enable_dlopen
                   20878: 
                   20879: # Whether dlopen of programs is supported.
                   20880: dlopen_self=$enable_dlopen_self
                   20881: 
                   20882: # Whether dlopen of statically linked programs is supported.
                   20883: dlopen_self_static=$enable_dlopen_self_static
                   20884: 
                   20885: # Commands to strip libraries.
                   20886: old_striplib=$lt_old_striplib
                   20887: striplib=$lt_striplib
                   20888: 
                   20889: 
                   20890: # The linker used to build libraries.
                   20891: LD=$lt_LD
                   20892: 
                   20893: # How to create reloadable object files.
                   20894: reload_flag=$lt_reload_flag
                   20895: reload_cmds=$lt_reload_cmds
                   20896: 
                   20897: # Commands used to build an old-style archive.
                   20898: old_archive_cmds=$lt_old_archive_cmds
                   20899: 
                   20900: # A language specific compiler.
                   20901: CC=$lt_compiler
                   20902: 
                   20903: # Is the compiler the GNU compiler?
                   20904: with_gcc=$GCC
                   20905: 
                   20906: # Compiler flag to turn off builtin functions.
                   20907: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
                   20908: 
                   20909: # Additional compiler flags for building library objects.
                   20910: pic_flag=$lt_lt_prog_compiler_pic
                   20911: 
                   20912: # How to pass a linker flag through the compiler.
                   20913: wl=$lt_lt_prog_compiler_wl
                   20914: 
                   20915: # Compiler flag to prevent dynamic linking.
                   20916: link_static_flag=$lt_lt_prog_compiler_static
                   20917: 
                   20918: # Does compiler simultaneously support -c and -o options?
                   20919: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
                   20920: 
                   20921: # Whether or not to add -lc for building shared libraries.
                   20922: build_libtool_need_lc=$archive_cmds_need_lc
                   20923: 
                   20924: # Whether or not to disallow shared libs when runtime libs are static.
                   20925: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
                   20926: 
                   20927: # Compiler flag to allow reflexive dlopens.
                   20928: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
                   20929: 
                   20930: # Compiler flag to generate shared objects directly from archives.
                   20931: whole_archive_flag_spec=$lt_whole_archive_flag_spec
                   20932: 
                   20933: # Whether the compiler copes with passing no objects directly.
                   20934: compiler_needs_object=$lt_compiler_needs_object
                   20935: 
                   20936: # Create an old-style archive from a shared archive.
                   20937: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
                   20938: 
                   20939: # Create a temporary old-style archive to link instead of a shared archive.
                   20940: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
                   20941: 
                   20942: # Commands used to build a shared archive.
                   20943: archive_cmds=$lt_archive_cmds
                   20944: archive_expsym_cmds=$lt_archive_expsym_cmds
                   20945: 
                   20946: # Commands used to build a loadable module if different from building
                   20947: # a shared archive.
                   20948: module_cmds=$lt_module_cmds
                   20949: module_expsym_cmds=$lt_module_expsym_cmds
                   20950: 
                   20951: # Whether we are building with GNU ld or not.
                   20952: with_gnu_ld=$lt_with_gnu_ld
                   20953: 
                   20954: # Flag that allows shared libraries with undefined symbols to be built.
                   20955: allow_undefined_flag=$lt_allow_undefined_flag
                   20956: 
                   20957: # Flag that enforces no undefined symbols.
                   20958: no_undefined_flag=$lt_no_undefined_flag
                   20959: 
                   20960: # Flag to hardcode \$libdir into a binary during linking.
                   20961: # This must work even if \$libdir does not exist
                   20962: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
                   20963: 
                   20964: # Whether we need a single "-rpath" flag with a separated argument.
                   20965: hardcode_libdir_separator=$lt_hardcode_libdir_separator
                   20966: 
                   20967: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   20968: # DIR into the resulting binary.
                   20969: hardcode_direct=$hardcode_direct
                   20970: 
                   20971: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   20972: # DIR into the resulting binary and the resulting library dependency is
                   20973: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   20974: # library is relocated.
                   20975: hardcode_direct_absolute=$hardcode_direct_absolute
                   20976: 
                   20977: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   20978: # into the resulting binary.
                   20979: hardcode_minus_L=$hardcode_minus_L
                   20980: 
                   20981: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   20982: # into the resulting binary.
                   20983: hardcode_shlibpath_var=$hardcode_shlibpath_var
                   20984: 
                   20985: # Set to "yes" if building a shared library automatically hardcodes DIR
                   20986: # into the library and all subsequent libraries and executables linked
                   20987: # against it.
                   20988: hardcode_automatic=$hardcode_automatic
                   20989: 
                   20990: # Set to yes if linker adds runtime paths of dependent libraries
                   20991: # to runtime path list.
                   20992: inherit_rpath=$inherit_rpath
                   20993: 
                   20994: # Whether libtool must link a program against all its dependency libraries.
                   20995: link_all_deplibs=$link_all_deplibs
                   20996: 
                   20997: # Set to "yes" if exported symbols are required.
                   20998: always_export_symbols=$always_export_symbols
                   20999: 
                   21000: # The commands to list exported symbols.
                   21001: export_symbols_cmds=$lt_export_symbols_cmds
                   21002: 
                   21003: # Symbols that should not be listed in the preloaded symbols.
                   21004: exclude_expsyms=$lt_exclude_expsyms
                   21005: 
                   21006: # Symbols that must always be exported.
                   21007: include_expsyms=$lt_include_expsyms
                   21008: 
                   21009: # Commands necessary for linking programs (against libraries) with templates.
                   21010: prelink_cmds=$lt_prelink_cmds
                   21011: 
                   21012: # Commands necessary for finishing linking programs.
                   21013: postlink_cmds=$lt_postlink_cmds
                   21014: 
                   21015: # Specify filename containing input files.
                   21016: file_list_spec=$lt_file_list_spec
                   21017: 
                   21018: # How to hardcode a shared library path into an executable.
                   21019: hardcode_action=$hardcode_action
                   21020: 
                   21021: # The directories searched by this compiler when creating a shared library.
                   21022: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
                   21023: 
                   21024: # Dependencies to place before and after the objects being linked to
                   21025: # create a shared library.
                   21026: predep_objects=$lt_predep_objects
                   21027: postdep_objects=$lt_postdep_objects
                   21028: predeps=$lt_predeps
                   21029: postdeps=$lt_postdeps
                   21030: 
                   21031: # The library search path used internally by the compiler when linking
                   21032: # a shared library.
                   21033: compiler_lib_search_path=$lt_compiler_lib_search_path
                   21034: 
                   21035: # ### END LIBTOOL CONFIG
                   21036: 
                   21037: _LT_EOF
                   21038: 
                   21039:   case $host_os in
                   21040:   aix3*)
                   21041:     cat <<\_LT_EOF >> "$cfgfile"
                   21042: # AIX sometimes has problems with the GCC collect2 program.  For some
                   21043: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   21044: # vanish in a puff of smoke.
                   21045: if test "X${COLLECT_NAMES+set}" != Xset; then
                   21046:   COLLECT_NAMES=
                   21047:   export COLLECT_NAMES
                   21048: fi
                   21049: _LT_EOF
                   21050:     ;;
                   21051:   esac
                   21052: 
                   21053: 
                   21054: ltmain="$ac_aux_dir/ltmain.sh"
                   21055: 
                   21056: 
                   21057:   # We use sed instead of cat because bash on DJGPP gets confused if
                   21058:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   21059:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   21060:   # is reportedly fixed, but why not run on old versions too?
                   21061:   sed '$q' "$ltmain" >> "$cfgfile" \
                   21062:      || (rm -f "$cfgfile"; exit 1)
                   21063: 
                   21064:   if test x"$xsi_shell" = xyes; then
                   21065:   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
                   21066: func_dirname ()\
                   21067: {\
                   21068: \    case ${1} in\
                   21069: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   21070: \      *  ) func_dirname_result="${3}" ;;\
                   21071: \    esac\
                   21072: } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
                   21073:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21074:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21075: test 0 -eq $? || _lt_function_replace_fail=:
                   21076: 
                   21077: 
                   21078:   sed -e '/^func_basename ()$/,/^} # func_basename /c\
                   21079: func_basename ()\
                   21080: {\
                   21081: \    func_basename_result="${1##*/}"\
                   21082: } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   21083:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21084:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21085: test 0 -eq $? || _lt_function_replace_fail=:
                   21086: 
                   21087: 
                   21088:   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
                   21089: func_dirname_and_basename ()\
                   21090: {\
                   21091: \    case ${1} in\
                   21092: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   21093: \      *  ) func_dirname_result="${3}" ;;\
                   21094: \    esac\
                   21095: \    func_basename_result="${1##*/}"\
                   21096: } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   21097:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21098:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21099: test 0 -eq $? || _lt_function_replace_fail=:
                   21100: 
                   21101: 
                   21102:   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
                   21103: func_stripname ()\
                   21104: {\
                   21105: \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
                   21106: \    # positional parameters, so assign one to ordinary parameter first.\
                   21107: \    func_stripname_result=${3}\
                   21108: \    func_stripname_result=${func_stripname_result#"${1}"}\
                   21109: \    func_stripname_result=${func_stripname_result%"${2}"}\
                   21110: } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
                   21111:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21112:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21113: test 0 -eq $? || _lt_function_replace_fail=:
                   21114: 
                   21115: 
                   21116:   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
                   21117: func_split_long_opt ()\
                   21118: {\
                   21119: \    func_split_long_opt_name=${1%%=*}\
                   21120: \    func_split_long_opt_arg=${1#*=}\
                   21121: } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   21122:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21123:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21124: test 0 -eq $? || _lt_function_replace_fail=:
                   21125: 
                   21126: 
                   21127:   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
                   21128: func_split_short_opt ()\
                   21129: {\
                   21130: \    func_split_short_opt_arg=${1#??}\
                   21131: \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
                   21132: } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   21133:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21134:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21135: test 0 -eq $? || _lt_function_replace_fail=:
                   21136: 
                   21137: 
                   21138:   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
                   21139: func_lo2o ()\
                   21140: {\
                   21141: \    case ${1} in\
                   21142: \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
                   21143: \      *)    func_lo2o_result=${1} ;;\
                   21144: \    esac\
                   21145: } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
                   21146:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21147:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21148: test 0 -eq $? || _lt_function_replace_fail=:
                   21149: 
                   21150: 
                   21151:   sed -e '/^func_xform ()$/,/^} # func_xform /c\
                   21152: func_xform ()\
                   21153: {\
                   21154:     func_xform_result=${1%.*}.lo\
                   21155: } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
                   21156:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21157:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21158: test 0 -eq $? || _lt_function_replace_fail=:
                   21159: 
                   21160: 
                   21161:   sed -e '/^func_arith ()$/,/^} # func_arith /c\
                   21162: func_arith ()\
                   21163: {\
                   21164:     func_arith_result=$(( $* ))\
                   21165: } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
                   21166:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21167:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21168: test 0 -eq $? || _lt_function_replace_fail=:
                   21169: 
                   21170: 
                   21171:   sed -e '/^func_len ()$/,/^} # func_len /c\
                   21172: func_len ()\
                   21173: {\
                   21174:     func_len_result=${#1}\
                   21175: } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
                   21176:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21177:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21178: test 0 -eq $? || _lt_function_replace_fail=:
                   21179: 
                   21180: fi
                   21181: 
                   21182: if test x"$lt_shell_append" = xyes; then
                   21183:   sed -e '/^func_append ()$/,/^} # func_append /c\
                   21184: func_append ()\
                   21185: {\
                   21186:     eval "${1}+=\\${2}"\
                   21187: } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
                   21188:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21189:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21190: test 0 -eq $? || _lt_function_replace_fail=:
                   21191: 
                   21192: 
                   21193:   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
                   21194: func_append_quoted ()\
                   21195: {\
                   21196: \    func_quote_for_eval "${2}"\
                   21197: \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
                   21198: } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
                   21199:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21200:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21201: test 0 -eq $? || _lt_function_replace_fail=:
                   21202: 
                   21203: 
                   21204:   # Save a `func_append' function call where possible by direct use of '+='
                   21205:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
                   21206:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21207:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21208:   test 0 -eq $? || _lt_function_replace_fail=:
                   21209: else
                   21210:   # Save a `func_append' function call even when '+=' is not available
                   21211:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
                   21212:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21213:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21214:   test 0 -eq $? || _lt_function_replace_fail=:
                   21215: fi
                   21216: 
                   21217: if test x"$_lt_function_replace_fail" = x":"; then
1.150     moko     21218:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
                   21219: $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
1.128     moko     21220: fi
                   21221: 
                   21222: 
                   21223:    mv -f "$cfgfile" "$ofile" ||
                   21224:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
                   21225:   chmod +x "$ofile"
                   21226: 
                   21227: 
                   21228:     cat <<_LT_EOF >> "$ofile"
                   21229: 
                   21230: # ### BEGIN LIBTOOL TAG CONFIG: CXX
                   21231: 
                   21232: # The linker used to build libraries.
                   21233: LD=$lt_LD_CXX
                   21234: 
                   21235: # How to create reloadable object files.
                   21236: reload_flag=$lt_reload_flag_CXX
                   21237: reload_cmds=$lt_reload_cmds_CXX
                   21238: 
                   21239: # Commands used to build an old-style archive.
                   21240: old_archive_cmds=$lt_old_archive_cmds_CXX
                   21241: 
                   21242: # A language specific compiler.
                   21243: CC=$lt_compiler_CXX
                   21244: 
                   21245: # Is the compiler the GNU compiler?
                   21246: with_gcc=$GCC_CXX
                   21247: 
                   21248: # Compiler flag to turn off builtin functions.
                   21249: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
                   21250: 
                   21251: # Additional compiler flags for building library objects.
                   21252: pic_flag=$lt_lt_prog_compiler_pic_CXX
                   21253: 
                   21254: # How to pass a linker flag through the compiler.
                   21255: wl=$lt_lt_prog_compiler_wl_CXX
                   21256: 
                   21257: # Compiler flag to prevent dynamic linking.
                   21258: link_static_flag=$lt_lt_prog_compiler_static_CXX
                   21259: 
                   21260: # Does compiler simultaneously support -c and -o options?
                   21261: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
                   21262: 
                   21263: # Whether or not to add -lc for building shared libraries.
                   21264: build_libtool_need_lc=$archive_cmds_need_lc_CXX
                   21265: 
                   21266: # Whether or not to disallow shared libs when runtime libs are static.
                   21267: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
                   21268: 
                   21269: # Compiler flag to allow reflexive dlopens.
                   21270: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
                   21271: 
                   21272: # Compiler flag to generate shared objects directly from archives.
                   21273: whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
                   21274: 
                   21275: # Whether the compiler copes with passing no objects directly.
                   21276: compiler_needs_object=$lt_compiler_needs_object_CXX
                   21277: 
                   21278: # Create an old-style archive from a shared archive.
                   21279: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
                   21280: 
                   21281: # Create a temporary old-style archive to link instead of a shared archive.
                   21282: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
                   21283: 
                   21284: # Commands used to build a shared archive.
                   21285: archive_cmds=$lt_archive_cmds_CXX
                   21286: archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
                   21287: 
                   21288: # Commands used to build a loadable module if different from building
                   21289: # a shared archive.
                   21290: module_cmds=$lt_module_cmds_CXX
                   21291: module_expsym_cmds=$lt_module_expsym_cmds_CXX
                   21292: 
                   21293: # Whether we are building with GNU ld or not.
                   21294: with_gnu_ld=$lt_with_gnu_ld_CXX
                   21295: 
                   21296: # Flag that allows shared libraries with undefined symbols to be built.
                   21297: allow_undefined_flag=$lt_allow_undefined_flag_CXX
                   21298: 
                   21299: # Flag that enforces no undefined symbols.
                   21300: no_undefined_flag=$lt_no_undefined_flag_CXX
                   21301: 
                   21302: # Flag to hardcode \$libdir into a binary during linking.
                   21303: # This must work even if \$libdir does not exist
                   21304: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
                   21305: 
                   21306: # Whether we need a single "-rpath" flag with a separated argument.
                   21307: hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
                   21308: 
                   21309: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   21310: # DIR into the resulting binary.
                   21311: hardcode_direct=$hardcode_direct_CXX
                   21312: 
                   21313: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   21314: # DIR into the resulting binary and the resulting library dependency is
                   21315: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   21316: # library is relocated.
                   21317: hardcode_direct_absolute=$hardcode_direct_absolute_CXX
                   21318: 
                   21319: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   21320: # into the resulting binary.
                   21321: hardcode_minus_L=$hardcode_minus_L_CXX
                   21322: 
                   21323: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   21324: # into the resulting binary.
                   21325: hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
                   21326: 
                   21327: # Set to "yes" if building a shared library automatically hardcodes DIR
                   21328: # into the library and all subsequent libraries and executables linked
                   21329: # against it.
                   21330: hardcode_automatic=$hardcode_automatic_CXX
                   21331: 
                   21332: # Set to yes if linker adds runtime paths of dependent libraries
                   21333: # to runtime path list.
                   21334: inherit_rpath=$inherit_rpath_CXX
                   21335: 
                   21336: # Whether libtool must link a program against all its dependency libraries.
                   21337: link_all_deplibs=$link_all_deplibs_CXX
                   21338: 
                   21339: # Set to "yes" if exported symbols are required.
                   21340: always_export_symbols=$always_export_symbols_CXX
                   21341: 
                   21342: # The commands to list exported symbols.
                   21343: export_symbols_cmds=$lt_export_symbols_cmds_CXX
                   21344: 
                   21345: # Symbols that should not be listed in the preloaded symbols.
                   21346: exclude_expsyms=$lt_exclude_expsyms_CXX
                   21347: 
                   21348: # Symbols that must always be exported.
                   21349: include_expsyms=$lt_include_expsyms_CXX
                   21350: 
                   21351: # Commands necessary for linking programs (against libraries) with templates.
                   21352: prelink_cmds=$lt_prelink_cmds_CXX
                   21353: 
                   21354: # Commands necessary for finishing linking programs.
                   21355: postlink_cmds=$lt_postlink_cmds_CXX
                   21356: 
                   21357: # Specify filename containing input files.
                   21358: file_list_spec=$lt_file_list_spec_CXX
                   21359: 
                   21360: # How to hardcode a shared library path into an executable.
                   21361: hardcode_action=$hardcode_action_CXX
                   21362: 
                   21363: # The directories searched by this compiler when creating a shared library.
                   21364: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
                   21365: 
                   21366: # Dependencies to place before and after the objects being linked to
                   21367: # create a shared library.
                   21368: predep_objects=$lt_predep_objects_CXX
                   21369: postdep_objects=$lt_postdep_objects_CXX
                   21370: predeps=$lt_predeps_CXX
                   21371: postdeps=$lt_postdeps_CXX
                   21372: 
                   21373: # The library search path used internally by the compiler when linking
                   21374: # a shared library.
                   21375: compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
                   21376: 
                   21377: # ### END LIBTOOL TAG CONFIG: CXX
                   21378: _LT_EOF
                   21379: 
                   21380:  ;;
1.150     moko     21381: 
1.62      paf      21382:   esac
1.150     moko     21383: done # for ac_tag
1.62      paf      21384: 
                   21385: 
1.150     moko     21386: as_fn_exit 0
1.62      paf      21387: _ACEOF
                   21388: ac_clean_files=$ac_clean_files_save
                   21389: 
1.150     moko     21390: test $ac_write_fail = 0 ||
                   21391:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
                   21392: 
1.1       paf      21393: 
1.62      paf      21394: # configure is writing to config.log, and then calls config.status.
                   21395: # config.status does its own redirection, appending to config.log.
                   21396: # Unfortunately, on DOS this fails, as config.log is still kept open
                   21397: # by configure, so config.status won't be able to write to it; its
                   21398: # output is simply discarded.  So we exec the FD to /dev/null,
                   21399: # effectively closing config.log, so it can be properly (re)opened and
                   21400: # appended to by config.status.  When coming back to configure, we
                   21401: # need to make the FD available again.
                   21402: if test "$no_create" != yes; then
                   21403:   ac_cs_success=:
                   21404:   ac_config_status_args=
                   21405:   test "$silent" = yes &&
                   21406:     ac_config_status_args="$ac_config_status_args --quiet"
                   21407:   exec 5>/dev/null
                   21408:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   21409:   exec 5>>config.log
                   21410:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   21411:   # would make configure fail if this is the last instruction.
1.150     moko     21412:   $ac_cs_success || as_fn_exit 1
1.62      paf      21413: fi
                   21414: 
                   21415: #
                   21416: # CONFIG_SUBDIRS section.
                   21417: #
1.1       paf      21418: if test "$no_recursion" != yes; then
                   21419: 
1.150     moko     21420:   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
                   21421:   # so they do not pile up.
1.1       paf      21422:   ac_sub_configure_args=
                   21423:   ac_prev=
1.150     moko     21424:   eval "set x $ac_configure_args"
                   21425:   shift
                   21426:   for ac_arg
                   21427:   do
1.1       paf      21428:     if test -n "$ac_prev"; then
                   21429:       ac_prev=
                   21430:       continue
                   21431:     fi
1.62      paf      21432:     case $ac_arg in
1.1       paf      21433:     -cache-file | --cache-file | --cache-fil | --cache-fi \
                   21434:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                   21435:       ac_prev=cache_file ;;
                   21436:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1.62      paf      21437:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
                   21438:     | --c=*)
                   21439:       ;;
                   21440:     --config-cache | -C)
1.1       paf      21441:       ;;
                   21442:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   21443:       ac_prev=srcdir ;;
                   21444:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   21445:       ;;
1.62      paf      21446:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   21447:       ac_prev=prefix ;;
                   21448:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   21449:       ;;
1.150     moko     21450:     --disable-option-checking)
                   21451:       ;;
                   21452:     *)
                   21453:       case $ac_arg in
                   21454:       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   21455:       esac
                   21456:       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
1.1       paf      21457:     esac
                   21458:   done
                   21459: 
1.62      paf      21460:   # Always prepend --prefix to ensure using the same prefix
                   21461:   # in subdir configurations.
1.150     moko     21462:   ac_arg="--prefix=$prefix"
                   21463:   case $ac_arg in
                   21464:   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   21465:   esac
                   21466:   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
                   21467: 
                   21468:   # Pass --silent
                   21469:   if test "$silent" = yes; then
                   21470:     ac_sub_configure_args="--silent $ac_sub_configure_args"
                   21471:   fi
                   21472: 
                   21473:   # Always prepend --disable-option-checking to silence warnings, since
                   21474:   # different subdirs can have different --enable and --with options.
                   21475:   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
1.62      paf      21476: 
                   21477:   ac_popdir=`pwd`
                   21478:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
1.1       paf      21479: 
                   21480:     # Do not complain, so a configure script can configure whichever
                   21481:     # parts of a large source tree are present.
1.150     moko     21482:     test -d "$srcdir/$ac_dir" || continue
1.62      paf      21483: 
1.150     moko     21484:     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
                   21485:     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
                   21486:     $as_echo "$ac_msg" >&6
                   21487:     as_dir="$ac_dir"; as_fn_mkdir_p
1.62      paf      21488:     ac_builddir=.
                   21489: 
1.150     moko     21490: case "$ac_dir" in
                   21491: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   21492: *)
                   21493:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   21494:   # A ".." for each directory in $ac_dir_suffix.
                   21495:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   21496:   case $ac_top_builddir_sub in
                   21497:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   21498:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   21499:   esac ;;
                   21500: esac
                   21501: ac_abs_top_builddir=$ac_pwd
                   21502: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   21503: # for backward compatibility:
                   21504: ac_top_builddir=$ac_top_build_prefix
1.62      paf      21505: 
                   21506: case $srcdir in
1.150     moko     21507:   .)  # We are building in place.
1.62      paf      21508:     ac_srcdir=.
1.150     moko     21509:     ac_top_srcdir=$ac_top_builddir_sub
                   21510:     ac_abs_top_srcdir=$ac_pwd ;;
                   21511:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.62      paf      21512:     ac_srcdir=$srcdir$ac_dir_suffix;
1.150     moko     21513:     ac_top_srcdir=$srcdir
                   21514:     ac_abs_top_srcdir=$srcdir ;;
                   21515:   *) # Relative name.
                   21516:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   21517:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   21518:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.86      paf      21519: esac
1.150     moko     21520: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.1       paf      21521: 
                   21522: 
1.150     moko     21523:     cd "$ac_dir"
1.1       paf      21524: 
                   21525:     # Check for guested configure; otherwise get Cygnus style configure.
1.150     moko     21526:     if test -f "$ac_srcdir/configure.gnu"; then
                   21527:       ac_sub_configure=$ac_srcdir/configure.gnu
                   21528:     elif test -f "$ac_srcdir/configure"; then
                   21529:       ac_sub_configure=$ac_srcdir/configure
                   21530:     elif test -f "$ac_srcdir/configure.in"; then
                   21531:       # This should be Cygnus configure.
                   21532:       ac_sub_configure=$ac_aux_dir/configure
1.1       paf      21533:     else
1.150     moko     21534:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
                   21535: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
1.1       paf      21536:       ac_sub_configure=
                   21537:     fi
                   21538: 
                   21539:     # The recursion is here.
                   21540:     if test -n "$ac_sub_configure"; then
                   21541:       # Make the cache file name correct relative to the subdirectory.
1.62      paf      21542:       case $cache_file in
                   21543:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
1.150     moko     21544:       *) # Relative name.
                   21545:        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
1.1       paf      21546:       esac
                   21547: 
1.150     moko     21548:       { $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
                   21549: $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       paf      21550:       # The eval makes quoting arguments work.
1.150     moko     21551:       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
                   21552:           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
                   21553:        as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
1.1       paf      21554:     fi
                   21555: 
1.150     moko     21556:     cd "$ac_popdir"
1.1       paf      21557:   done
                   21558: fi
1.150     moko     21559: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
                   21560:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
                   21561: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
                   21562: fi
1.1       paf      21563: 

E-mail: