Annotation of parser3/configure, revision 1.236

1.1       paf         1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.230     moko        3: # Generated by GNU Autoconf 2.69 for parser 3.5.2b.
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.230     moko      594: PACKAGE_VERSION='3.5.2b'
                    595: PACKAGE_STRING='parser 3.5.2b'
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
1.232     moko      691: AMQP_LIBS
                    692: AMQP_INCLUDES
1.150     moko      693: MIME_LIBS
                    694: MIME_INCLUDES
                    695: XML_LIBS
                    696: XML_INCLUDES
                    697: PCRE_LIBS
                    698: PCRE_INCLUDES
                    699: GC_LIBS
                    700: dll_extension
                    701: am__fastdepCC_FALSE
                    702: am__fastdepCC_TRUE
                    703: CCDEPMODE
                    704: ac_ct_CC
                    705: CFLAGS
                    706: CC
                    707: am__fastdepCXX_FALSE
                    708: am__fastdepCXX_TRUE
                    709: CXXDEPMODE
1.187     moko      710: am__nodep
1.150     moko      711: AMDEPBACKSLASH
                    712: AMDEP_FALSE
                    713: AMDEP_TRUE
                    714: am__include
                    715: DEPDIR
                    716: OBJEXT
                    717: EXEEXT
                    718: ac_ct_CXX
                    719: CPPFLAGS
                    720: LDFLAGS
                    721: CXXFLAGS
                    722: CXX
                    723: YFLAGS
                    724: YACC
                    725: host_os
                    726: host_vendor
                    727: host_cpu
                    728: host
                    729: build_os
                    730: build_vendor
                    731: build_cpu
                    732: build
                    733: P3S
1.187     moko      734: AM_BACKSLASH
                    735: AM_DEFAULT_VERBOSITY
                    736: AM_DEFAULT_V
                    737: AM_V
1.150     moko      738: am__untar
                    739: am__tar
                    740: AMTAR
                    741: am__leading_dot
                    742: SET_MAKE
                    743: AWK
                    744: mkdir_p
                    745: MKDIR_P
                    746: INSTALL_STRIP_PROGRAM
                    747: STRIP
                    748: install_sh
                    749: MAKEINFO
                    750: AUTOHEADER
                    751: AUTOMAKE
                    752: AUTOCONF
                    753: ACLOCAL
                    754: VERSION
                    755: PACKAGE
                    756: CYGPATH_W
                    757: am__isrc
                    758: INSTALL_DATA
                    759: INSTALL_SCRIPT
                    760: INSTALL_PROGRAM
                    761: target_alias
                    762: host_alias
                    763: build_alias
                    764: LIBS
                    765: ECHO_T
                    766: ECHO_N
                    767: ECHO_C
                    768: DEFS
                    769: mandir
                    770: localedir
                    771: libdir
                    772: psdir
                    773: pdfdir
                    774: dvidir
                    775: htmldir
                    776: infodir
                    777: docdir
                    778: oldincludedir
                    779: includedir
1.191     moko      780: runstatedir
1.150     moko      781: localstatedir
                    782: sharedstatedir
                    783: sysconfdir
                    784: datadir
                    785: datarootdir
                    786: libexecdir
                    787: sbindir
                    788: bindir
                    789: program_transform_name
                    790: prefix
                    791: exec_prefix
                    792: PACKAGE_URL
                    793: PACKAGE_BUGREPORT
                    794: PACKAGE_STRING
                    795: PACKAGE_VERSION
                    796: PACKAGE_TARNAME
                    797: PACKAGE_NAME
                    798: PATH_SEPARATOR
1.199     moko      799: SHELL
                    800: am__quote'
1.62      paf       801: ac_subst_files=''
1.150     moko      802: ac_user_opts='
                    803: enable_option_checking
1.187     moko      804: enable_silent_rules
1.150     moko      805: enable_dependency_tracking
                    806: with_build_warnings
1.182     moko      807: with_coverage
                    808: with_profiler
1.150     moko      809: with_assertions
                    810: with_sjlj_exceptions
1.203     moko      811: with_system_cfg
1.150     moko      812: enable_safe_mode
                    813: enable_execs
                    814: enable_stringstream
                    815: with_gc
                    816: with_pcre
                    817: with_xml
1.154     moko      818: with_mailreceive
1.232     moko      819: with_amqp
1.150     moko      820: with_sendmail
                    821: with_apache
                    822: with_pic
                    823: enable_shared
                    824: enable_static
                    825: enable_fast_install
                    826: with_gnu_ld
                    827: with_sysroot
                    828: enable_libtool_lock
                    829: with_included_ltdl
                    830: with_ltdl_include
                    831: with_ltdl_lib
                    832: enable_ltdl_install
1.171     moko      833: enable_largefile
1.150     moko      834: '
                    835:       ac_precious_vars='build_alias
                    836: host_alias
                    837: target_alias
                    838: YACC
                    839: YFLAGS
                    840: CXX
                    841: CXXFLAGS
                    842: LDFLAGS
                    843: LIBS
                    844: CPPFLAGS
                    845: CCC
                    846: CC
                    847: CFLAGS
                    848: CPP
                    849: CXXCPP'
                    850: ac_subdirs_all='src/lib/ltdl'
1.1       paf       851: 
                    852: # Initialize some variables set by options.
1.62      paf       853: ac_init_help=
                    854: ac_init_version=false
1.150     moko      855: ac_unrecognized_opts=
                    856: ac_unrecognized_sep=
1.1       paf       857: # The variables have the same names as the options, with
                    858: # dashes changed to underlines.
1.62      paf       859: cache_file=/dev/null
1.1       paf       860: exec_prefix=NONE
                    861: no_create=
                    862: no_recursion=
                    863: prefix=NONE
                    864: program_prefix=NONE
                    865: program_suffix=NONE
                    866: program_transform_name=s,x,x,
                    867: silent=
                    868: site=
                    869: srcdir=
                    870: verbose=
                    871: x_includes=NONE
                    872: x_libraries=NONE
1.62      paf       873: 
                    874: # Installation directory options.
                    875: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    876: # and all the variables that are supposed to be based on exec_prefix
                    877: # by default will actually change.
                    878: # Use braces instead of parens because sh, perl, etc. also accept them.
1.150     moko      879: # (The list follows the same order as the GNU Coding Standards.)
1.1       paf       880: bindir='${exec_prefix}/bin'
                    881: sbindir='${exec_prefix}/sbin'
                    882: libexecdir='${exec_prefix}/libexec'
1.150     moko      883: datarootdir='${prefix}/share'
                    884: datadir='${datarootdir}'
1.1       paf       885: sysconfdir='${prefix}/etc'
                    886: sharedstatedir='${prefix}/com'
                    887: localstatedir='${prefix}/var'
1.191     moko      888: runstatedir='${localstatedir}/run'
1.1       paf       889: includedir='${prefix}/include'
                    890: oldincludedir='/usr/include'
1.150     moko      891: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
                    892: infodir='${datarootdir}/info'
                    893: htmldir='${docdir}'
                    894: dvidir='${docdir}'
                    895: pdfdir='${docdir}'
                    896: psdir='${docdir}'
                    897: libdir='${exec_prefix}/lib'
                    898: localedir='${datarootdir}/locale'
                    899: mandir='${datarootdir}/man'
1.1       paf       900: 
                    901: ac_prev=
1.150     moko      902: ac_dashdash=
1.1       paf       903: for ac_option
                    904: do
                    905:   # If the previous option needs an argument, assign it.
                    906:   if test -n "$ac_prev"; then
1.150     moko      907:     eval $ac_prev=\$ac_option
1.1       paf       908:     ac_prev=
                    909:     continue
                    910:   fi
                    911: 
1.150     moko      912:   case $ac_option in
                    913:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
                    914:   *=)   ac_optarg= ;;
                    915:   *)    ac_optarg=yes ;;
                    916:   esac
1.1       paf       917: 
                    918:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    919: 
1.150     moko      920:   case $ac_dashdash$ac_option in
                    921:   --)
                    922:     ac_dashdash=yes ;;
1.1       paf       923: 
                    924:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    925:     ac_prev=bindir ;;
                    926:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1.62      paf       927:     bindir=$ac_optarg ;;
1.1       paf       928: 
                    929:   -build | --build | --buil | --bui | --bu)
1.62      paf       930:     ac_prev=build_alias ;;
1.1       paf       931:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1.62      paf       932:     build_alias=$ac_optarg ;;
1.1       paf       933: 
                    934:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    935:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    936:     ac_prev=cache_file ;;
                    937:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    938:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1.62      paf       939:     cache_file=$ac_optarg ;;
                    940: 
                    941:   --config-cache | -C)
                    942:     cache_file=config.cache ;;
1.1       paf       943: 
1.150     moko      944:   -datadir | --datadir | --datadi | --datad)
1.1       paf       945:     ac_prev=datadir ;;
1.150     moko      946:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1.62      paf       947:     datadir=$ac_optarg ;;
1.1       paf       948: 
1.150     moko      949:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
                    950:   | --dataroo | --dataro | --datar)
                    951:     ac_prev=datarootdir ;;
                    952:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
                    953:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
                    954:     datarootdir=$ac_optarg ;;
                    955: 
1.1       paf       956:   -disable-* | --disable-*)
1.150     moko      957:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1       paf       958:     # Reject names that are not valid shell variable names.
1.150     moko      959:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                    960:       as_fn_error $? "invalid feature name: $ac_useropt"
                    961:     ac_useropt_orig=$ac_useropt
                    962:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    963:     case $ac_user_opts in
                    964:       *"
                    965: "enable_$ac_useropt"
                    966: "*) ;;
                    967:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
                    968:         ac_unrecognized_sep=', ';;
                    969:     esac
                    970:     eval enable_$ac_useropt=no ;;
                    971: 
                    972:   -docdir | --docdir | --docdi | --doc | --do)
                    973:     ac_prev=docdir ;;
                    974:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
                    975:     docdir=$ac_optarg ;;
                    976: 
                    977:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
                    978:     ac_prev=dvidir ;;
                    979:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
                    980:     dvidir=$ac_optarg ;;
1.1       paf       981: 
                    982:   -enable-* | --enable-*)
1.150     moko      983:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1       paf       984:     # Reject names that are not valid shell variable names.
1.150     moko      985:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                    986:       as_fn_error $? "invalid feature name: $ac_useropt"
                    987:     ac_useropt_orig=$ac_useropt
                    988:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    989:     case $ac_user_opts in
                    990:       *"
                    991: "enable_$ac_useropt"
                    992: "*) ;;
                    993:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
                    994:         ac_unrecognized_sep=', ';;
1.1       paf       995:     esac
1.150     moko      996:     eval enable_$ac_useropt=\$ac_optarg ;;
1.1       paf       997: 
                    998:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    999:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                   1000:   | --exec | --exe | --ex)
                   1001:     ac_prev=exec_prefix ;;
                   1002:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                   1003:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                   1004:   | --exec=* | --exe=* | --ex=*)
1.62      paf      1005:     exec_prefix=$ac_optarg ;;
1.1       paf      1006: 
                   1007:   -gas | --gas | --ga | --g)
                   1008:     # Obsolete; use --with-gas.
                   1009:     with_gas=yes ;;
                   1010: 
1.62      paf      1011:   -help | --help | --hel | --he | -h)
                   1012:     ac_init_help=long ;;
                   1013:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                   1014:     ac_init_help=recursive ;;
                   1015:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                   1016:     ac_init_help=short ;;
1.1       paf      1017: 
                   1018:   -host | --host | --hos | --ho)
1.62      paf      1019:     ac_prev=host_alias ;;
1.1       paf      1020:   -host=* | --host=* | --hos=* | --ho=*)
1.62      paf      1021:     host_alias=$ac_optarg ;;
1.1       paf      1022: 
1.150     moko     1023:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
                   1024:     ac_prev=htmldir ;;
                   1025:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
                   1026:   | --ht=*)
                   1027:     htmldir=$ac_optarg ;;
                   1028: 
1.1       paf      1029:   -includedir | --includedir | --includedi | --included | --include \
                   1030:   | --includ | --inclu | --incl | --inc)
                   1031:     ac_prev=includedir ;;
                   1032:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                   1033:   | --includ=* | --inclu=* | --incl=* | --inc=*)
1.62      paf      1034:     includedir=$ac_optarg ;;
1.1       paf      1035: 
                   1036:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                   1037:     ac_prev=infodir ;;
                   1038:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1.62      paf      1039:     infodir=$ac_optarg ;;
1.1       paf      1040: 
                   1041:   -libdir | --libdir | --libdi | --libd)
                   1042:     ac_prev=libdir ;;
                   1043:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1.62      paf      1044:     libdir=$ac_optarg ;;
1.1       paf      1045: 
                   1046:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                   1047:   | --libexe | --libex | --libe)
                   1048:     ac_prev=libexecdir ;;
                   1049:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                   1050:   | --libexe=* | --libex=* | --libe=*)
1.62      paf      1051:     libexecdir=$ac_optarg ;;
1.1       paf      1052: 
1.150     moko     1053:   -localedir | --localedir | --localedi | --localed | --locale)
                   1054:     ac_prev=localedir ;;
                   1055:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
                   1056:     localedir=$ac_optarg ;;
                   1057: 
1.1       paf      1058:   -localstatedir | --localstatedir | --localstatedi | --localstated \
1.150     moko     1059:   | --localstate | --localstat | --localsta | --localst | --locals)
1.1       paf      1060:     ac_prev=localstatedir ;;
                   1061:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1.150     moko     1062:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1.62      paf      1063:     localstatedir=$ac_optarg ;;
1.1       paf      1064: 
                   1065:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                   1066:     ac_prev=mandir ;;
                   1067:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1.62      paf      1068:     mandir=$ac_optarg ;;
1.1       paf      1069: 
                   1070:   -nfp | --nfp | --nf)
                   1071:     # Obsolete; use --without-fp.
                   1072:     with_fp=no ;;
                   1073: 
                   1074:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1.62      paf      1075:   | --no-cr | --no-c | -n)
1.1       paf      1076:     no_create=yes ;;
                   1077: 
                   1078:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                   1079:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                   1080:     no_recursion=yes ;;
                   1081: 
                   1082:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                   1083:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                   1084:   | --oldin | --oldi | --old | --ol | --o)
                   1085:     ac_prev=oldincludedir ;;
                   1086:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                   1087:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                   1088:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1.62      paf      1089:     oldincludedir=$ac_optarg ;;
1.1       paf      1090: 
                   1091:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   1092:     ac_prev=prefix ;;
                   1093:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1.62      paf      1094:     prefix=$ac_optarg ;;
1.1       paf      1095: 
                   1096:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                   1097:   | --program-pre | --program-pr | --program-p)
                   1098:     ac_prev=program_prefix ;;
                   1099:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                   1100:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1.62      paf      1101:     program_prefix=$ac_optarg ;;
1.1       paf      1102: 
                   1103:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                   1104:   | --program-suf | --program-su | --program-s)
                   1105:     ac_prev=program_suffix ;;
                   1106:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                   1107:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1.62      paf      1108:     program_suffix=$ac_optarg ;;
1.1       paf      1109: 
                   1110:   -program-transform-name | --program-transform-name \
                   1111:   | --program-transform-nam | --program-transform-na \
                   1112:   | --program-transform-n | --program-transform- \
                   1113:   | --program-transform | --program-transfor \
                   1114:   | --program-transfo | --program-transf \
                   1115:   | --program-trans | --program-tran \
                   1116:   | --progr-tra | --program-tr | --program-t)
                   1117:     ac_prev=program_transform_name ;;
                   1118:   -program-transform-name=* | --program-transform-name=* \
                   1119:   | --program-transform-nam=* | --program-transform-na=* \
                   1120:   | --program-transform-n=* | --program-transform-=* \
                   1121:   | --program-transform=* | --program-transfor=* \
                   1122:   | --program-transfo=* | --program-transf=* \
                   1123:   | --program-trans=* | --program-tran=* \
                   1124:   | --progr-tra=* | --program-tr=* | --program-t=*)
1.62      paf      1125:     program_transform_name=$ac_optarg ;;
1.1       paf      1126: 
1.150     moko     1127:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
                   1128:     ac_prev=pdfdir ;;
                   1129:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
                   1130:     pdfdir=$ac_optarg ;;
                   1131: 
                   1132:   -psdir | --psdir | --psdi | --psd | --ps)
                   1133:     ac_prev=psdir ;;
                   1134:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
                   1135:     psdir=$ac_optarg ;;
                   1136: 
1.1       paf      1137:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1138:   | -silent | --silent | --silen | --sile | --sil)
                   1139:     silent=yes ;;
                   1140: 
1.191     moko     1141:   -runstatedir | --runstatedir | --runstatedi | --runstated \
                   1142:   | --runstate | --runstat | --runsta | --runst | --runs \
                   1143:   | --run | --ru | --r)
                   1144:     ac_prev=runstatedir ;;
                   1145:   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
                   1146:   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
                   1147:   | --run=* | --ru=* | --r=*)
                   1148:     runstatedir=$ac_optarg ;;
                   1149: 
1.1       paf      1150:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                   1151:     ac_prev=sbindir ;;
                   1152:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                   1153:   | --sbi=* | --sb=*)
1.62      paf      1154:     sbindir=$ac_optarg ;;
1.1       paf      1155: 
                   1156:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                   1157:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                   1158:   | --sharedst | --shareds | --shared | --share | --shar \
                   1159:   | --sha | --sh)
                   1160:     ac_prev=sharedstatedir ;;
                   1161:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                   1162:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                   1163:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                   1164:   | --sha=* | --sh=*)
1.62      paf      1165:     sharedstatedir=$ac_optarg ;;
1.1       paf      1166: 
                   1167:   -site | --site | --sit)
                   1168:     ac_prev=site ;;
                   1169:   -site=* | --site=* | --sit=*)
1.62      paf      1170:     site=$ac_optarg ;;
1.1       paf      1171: 
                   1172:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   1173:     ac_prev=srcdir ;;
                   1174:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1.62      paf      1175:     srcdir=$ac_optarg ;;
1.1       paf      1176: 
                   1177:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                   1178:   | --syscon | --sysco | --sysc | --sys | --sy)
                   1179:     ac_prev=sysconfdir ;;
                   1180:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                   1181:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1.62      paf      1182:     sysconfdir=$ac_optarg ;;
1.1       paf      1183: 
                   1184:   -target | --target | --targe | --targ | --tar | --ta | --t)
1.62      paf      1185:     ac_prev=target_alias ;;
1.1       paf      1186:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1.62      paf      1187:     target_alias=$ac_optarg ;;
1.1       paf      1188: 
                   1189:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                   1190:     verbose=yes ;;
                   1191: 
1.62      paf      1192:   -version | --version | --versio | --versi | --vers | -V)
                   1193:     ac_init_version=: ;;
1.1       paf      1194: 
                   1195:   -with-* | --with-*)
1.150     moko     1196:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1       paf      1197:     # Reject names that are not valid shell variable names.
1.150     moko     1198:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1199:       as_fn_error $? "invalid package name: $ac_useropt"
                   1200:     ac_useropt_orig=$ac_useropt
                   1201:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1202:     case $ac_user_opts in
                   1203:       *"
                   1204: "with_$ac_useropt"
                   1205: "*) ;;
                   1206:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
                   1207:         ac_unrecognized_sep=', ';;
1.1       paf      1208:     esac
1.150     moko     1209:     eval with_$ac_useropt=\$ac_optarg ;;
1.1       paf      1210: 
                   1211:   -without-* | --without-*)
1.150     moko     1212:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1       paf      1213:     # Reject names that are not valid shell variable names.
1.150     moko     1214:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1215:       as_fn_error $? "invalid package name: $ac_useropt"
                   1216:     ac_useropt_orig=$ac_useropt
                   1217:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1218:     case $ac_user_opts in
                   1219:       *"
                   1220: "with_$ac_useropt"
                   1221: "*) ;;
                   1222:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
                   1223:         ac_unrecognized_sep=', ';;
                   1224:     esac
                   1225:     eval with_$ac_useropt=no ;;
1.1       paf      1226: 
                   1227:   --x)
                   1228:     # Obsolete; use --with-x.
                   1229:     with_x=yes ;;
                   1230: 
                   1231:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                   1232:   | --x-incl | --x-inc | --x-in | --x-i)
                   1233:     ac_prev=x_includes ;;
                   1234:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                   1235:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1.62      paf      1236:     x_includes=$ac_optarg ;;
1.1       paf      1237: 
                   1238:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                   1239:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                   1240:     ac_prev=x_libraries ;;
                   1241:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                   1242:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1.62      paf      1243:     x_libraries=$ac_optarg ;;
1.1       paf      1244: 
1.150     moko     1245:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
                   1246: Try \`$0 --help' for more information"
1.1       paf      1247:     ;;
                   1248: 
1.62      paf      1249:   *=*)
                   1250:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                   1251:     # Reject names that are not valid shell variable names.
1.150     moko     1252:     case $ac_envvar in #(
                   1253:       '' | [0-9]* | *[!_$as_cr_alnum]* )
                   1254:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
                   1255:     esac
                   1256:     eval $ac_envvar=\$ac_optarg
1.62      paf      1257:     export $ac_envvar ;;
                   1258: 
1.1       paf      1259:   *)
1.62      paf      1260:     # FIXME: should be removed in autoconf 3.0.
1.150     moko     1261:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1.62      paf      1262:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.150     moko     1263:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
                   1264:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1.1       paf      1265:     ;;
                   1266: 
                   1267:   esac
                   1268: done
                   1269: 
                   1270: if test -n "$ac_prev"; then
1.62      paf      1271:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1.150     moko     1272:   as_fn_error $? "missing argument to $ac_option"
1.1       paf      1273: fi
                   1274: 
1.150     moko     1275: if test -n "$ac_unrecognized_opts"; then
                   1276:   case $enable_option_checking in
                   1277:     no) ;;
                   1278:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
                   1279:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
                   1280:   esac
                   1281: fi
                   1282: 
                   1283: # Check all directory arguments for consistency.
                   1284: for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
                   1285:                datadir sysconfdir sharedstatedir localstatedir includedir \
                   1286:                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1.191     moko     1287:                libdir localedir mandir runstatedir
1.62      paf      1288: do
1.150     moko     1289:   eval ac_val=\$$ac_var
                   1290:   # Remove trailing slashes.
1.62      paf      1291:   case $ac_val in
1.150     moko     1292:     */ )
                   1293:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
                   1294:       eval $ac_var=\$ac_val;;
1.62      paf      1295:   esac
1.150     moko     1296:   # Be sure to have absolute directory names.
1.62      paf      1297:   case $ac_val in
1.150     moko     1298:     [\\/$]* | ?:[\\/]* )  continue;;
                   1299:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1.1       paf      1300:   esac
1.150     moko     1301:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1.1       paf      1302: done
                   1303: 
1.62      paf      1304: # There might be people who depend on the old broken behavior: `$host'
                   1305: # used to hold the argument of --host etc.
                   1306: # FIXME: To remove some day.
                   1307: build=$build_alias
                   1308: host=$host_alias
                   1309: target=$target_alias
                   1310: 
                   1311: # FIXME: To remove some day.
                   1312: if test "x$host_alias" != x; then
                   1313:   if test "x$build_alias" = x; then
                   1314:     cross_compiling=maybe
                   1315:   elif test "x$build_alias" != "x$host_alias"; then
                   1316:     cross_compiling=yes
                   1317:   fi
                   1318: fi
                   1319: 
                   1320: ac_tool_prefix=
                   1321: test -n "$host_alias" && ac_tool_prefix=$host_alias-
1.1       paf      1322: 
1.62      paf      1323: test "$silent" = yes && exec 6>/dev/null
1.1       paf      1324: 
                   1325: 
1.150     moko     1326: ac_pwd=`pwd` && test -n "$ac_pwd" &&
                   1327: ac_ls_di=`ls -di .` &&
                   1328: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
                   1329:   as_fn_error $? "working directory cannot be determined"
                   1330: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
                   1331:   as_fn_error $? "pwd does not report name of working directory"
                   1332: 
                   1333: 
1.1       paf      1334: # Find the source files, if location was not specified.
                   1335: if test -z "$srcdir"; then
                   1336:   ac_srcdir_defaulted=yes
1.150     moko     1337:   # Try the directory containing this script, then the parent directory.
                   1338:   ac_confdir=`$as_dirname -- "$as_myself" ||
                   1339: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   1340:         X"$as_myself" : 'X\(//\)[^/]' \| \
                   1341:         X"$as_myself" : 'X\(//\)$' \| \
                   1342:         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
                   1343: $as_echo X"$as_myself" |
                   1344:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   1345:            s//\1/
                   1346:            q
                   1347:          }
                   1348:          /^X\(\/\/\)[^/].*/{
                   1349:            s//\1/
                   1350:            q
                   1351:          }
                   1352:          /^X\(\/\/\)$/{
                   1353:            s//\1/
                   1354:            q
                   1355:          }
                   1356:          /^X\(\/\).*/{
                   1357:            s//\1/
                   1358:            q
                   1359:          }
                   1360:          s/.*/./; q'`
1.1       paf      1361:   srcdir=$ac_confdir
1.150     moko     1362:   if test ! -r "$srcdir/$ac_unique_file"; then
1.1       paf      1363:     srcdir=..
                   1364:   fi
                   1365: else
                   1366:   ac_srcdir_defaulted=no
                   1367: fi
1.150     moko     1368: if test ! -r "$srcdir/$ac_unique_file"; then
                   1369:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
                   1370:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
                   1371: fi
                   1372: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
                   1373: ac_abs_confdir=`(
                   1374:        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
                   1375:        pwd)`
                   1376: # When building in place, set srcdir=.
                   1377: if test "$ac_abs_confdir" = "$ac_pwd"; then
                   1378:   srcdir=.
                   1379: fi
                   1380: # Remove unnecessary trailing slashes from srcdir.
                   1381: # Double slashes in file names in object file debugging info
                   1382: # mess up M-x gdb in Emacs.
                   1383: case $srcdir in
                   1384: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
                   1385: esac
                   1386: for ac_var in $ac_precious_vars; do
                   1387:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
                   1388:   eval ac_env_${ac_var}_value=\$${ac_var}
                   1389:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
                   1390:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
                   1391: done
1.62      paf      1392: 
                   1393: #
                   1394: # Report the --help message.
                   1395: #
                   1396: if test "$ac_init_help" = "long"; then
                   1397:   # Omit some internal or obsolete options to make the list less imposing.
                   1398:   # This message is too long to be a string in the A/UX 3.1 sh.
                   1399:   cat <<_ACEOF
1.230     moko     1400: \`configure' configures parser 3.5.2b to adapt to many kinds of systems.
1.62      paf      1401: 
                   1402: Usage: $0 [OPTION]... [VAR=VALUE]...
                   1403: 
                   1404: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                   1405: VAR=VALUE.  See below for descriptions of some of the useful variables.
                   1406: 
                   1407: Defaults for the options are specified in brackets.
                   1408: 
                   1409: Configuration:
                   1410:   -h, --help              display this help and exit
                   1411:       --help=short        display options specific to this package
                   1412:       --help=recursive    display the short help of all the included packages
                   1413:   -V, --version           display version information and exit
1.150     moko     1414:   -q, --quiet, --silent   do not print \`checking ...' messages
1.62      paf      1415:       --cache-file=FILE   cache test results in FILE [disabled]
                   1416:   -C, --config-cache      alias for \`--cache-file=config.cache'
                   1417:   -n, --no-create         do not create output files
                   1418:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                   1419: 
                   1420: Installation directories:
                   1421:   --prefix=PREFIX         install architecture-independent files in PREFIX
1.150     moko     1422:                           [$ac_default_prefix]
1.62      paf      1423:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1.150     moko     1424:                           [PREFIX]
1.62      paf      1425: 
                   1426: By default, \`make install' will install all the files in
                   1427: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                   1428: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                   1429: for instance \`--prefix=\$HOME'.
                   1430: 
                   1431: For better control, use the options below.
                   1432: 
                   1433: Fine tuning of the installation directories:
1.150     moko     1434:   --bindir=DIR            user executables [EPREFIX/bin]
                   1435:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
                   1436:   --libexecdir=DIR        program executables [EPREFIX/libexec]
                   1437:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
                   1438:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
                   1439:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1.191     moko     1440:   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1.150     moko     1441:   --libdir=DIR            object code libraries [EPREFIX/lib]
                   1442:   --includedir=DIR        C header files [PREFIX/include]
                   1443:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
                   1444:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
                   1445:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
                   1446:   --infodir=DIR           info documentation [DATAROOTDIR/info]
                   1447:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
                   1448:   --mandir=DIR            man documentation [DATAROOTDIR/man]
                   1449:   --docdir=DIR            documentation root [DATAROOTDIR/doc/parser]
                   1450:   --htmldir=DIR           html documentation [DOCDIR]
                   1451:   --dvidir=DIR            dvi documentation [DOCDIR]
                   1452:   --pdfdir=DIR            pdf documentation [DOCDIR]
                   1453:   --psdir=DIR             ps documentation [DOCDIR]
1.62      paf      1454: _ACEOF
                   1455: 
                   1456:   cat <<\_ACEOF
                   1457: 
                   1458: Program names:
                   1459:   --program-prefix=PREFIX            prepend PREFIX to installed program names
                   1460:   --program-suffix=SUFFIX            append SUFFIX to installed program names
                   1461:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
                   1462: 
                   1463: System types:
                   1464:   --build=BUILD     configure for building on BUILD [guessed]
                   1465:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                   1466: _ACEOF
                   1467: fi
                   1468: 
                   1469: if test -n "$ac_init_help"; then
1.128     moko     1470:   case $ac_init_help in
1.230     moko     1471:      short | recursive ) echo "Configuration of parser 3.5.2b:";;
1.128     moko     1472:    esac
1.62      paf      1473:   cat <<\_ACEOF
                   1474: 
                   1475: Optional Features:
1.150     moko     1476:   --disable-option-checking  ignore unrecognized --enable/--with options
1.62      paf      1477:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                   1478:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1.187     moko     1479:   --enable-silent-rules   less verbose build output (undo: "make V=1")
                   1480:   --disable-silent-rules  verbose build output (undo: "make V=0")
                   1481:   --enable-dependency-tracking
                   1482:                           do not reject slow dependency extractors
                   1483:   --disable-dependency-tracking
                   1484:                           speeds up one-time build
1.67      paf      1485:   --disable-safe-mode    to enable reading and executing
1.62      paf      1486:                           files belonging to group+user other then effective
1.146     moko     1487:   --disable-execs        to disable any execs
1.62      paf      1488:                           (file::exec, file::cgi, unix mail:send)
1.195     moko     1489:   --disable-stringstream to disable stringstream usage.
                   1490:                           when disabled table.save uses more memory, but more compilers are supported
1.150     moko     1491:   --enable-shared[=PKGS]  build shared libraries [default=yes]
                   1492:   --enable-static[=PKGS]  build static libraries [default=yes]
1.128     moko     1493:   --enable-fast-install[=PKGS]
                   1494:                           optimize for fast installation [default=yes]
                   1495:   --disable-libtool-lock  avoid locking (might break parallel builds)
                   1496:   --enable-ltdl-install   install libltdl
1.171     moko     1497:   --disable-largefile     omit support for large files
1.62      paf      1498: 
                   1499: Optional Packages:
                   1500:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                   1501:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1.71      paf      1502:   --with-build-warnings   to enable build-time compiler warnings if gcc is used
1.185     moko     1503:   --with-coverage         to enable gcov code coverage support
                   1504:   --with-profiler         to enable gprof code profiler support
1.67      paf      1505:   --with-assertions       to enable assertions
1.201     moko     1506:   --with-sjlj-exceptions  to enable simple 'throw' from dynamic library
                   1507:   --with-system-cfg=FILE  to specify system-wide auto.p
                   1508:   --with-gc=DIR           DIR is the directory where
1.142     moko     1509:                           Boehm garbage collecting library is installed
1.201     moko     1510:   --with-pcre=DIR         DIR is the directory where
1.142     moko     1511:                           PCRE library is installed
1.201     moko     1512:   --with-xml=DIR          DIR is the directory where
1.142     moko     1513:                           Gnome XML libraries are installed
1.201     moko     1514:   --with-mailreceive=DIR  is the directory where
1.154     moko     1515:                           Gnome MIME library is installed
1.232     moko     1516:   --with-amqp=DIR         DIR is the directory where
                   1517:                           RabbitMQ C library (librabbitmq) is installed
1.62      paf      1518:   \"--with-sendmail=COMMAND\" forces this command to send mail.
                   1519:                           example: \"--with-sendmail=/usr/sbin/sendmail -t\"
                   1520:                           (makes parser ignore user-defined sendmail commands)
1.146     moko     1521:   --with-apache=FILE      FILE is the full path for APXS
1.122     moko     1522:                           builds apache DSO module using apxs
1.150     moko     1523:   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1.128     moko     1524:                           both]
                   1525:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
                   1526:   --with-sysroot=DIR Search for dependent libraries within DIR
                   1527:                         (or the compiler's sysroot if not specified).
                   1528:   --with-included-ltdl    use the GNU ltdl sources included here
                   1529:   --with-ltdl-include=DIR use the ltdl headers installed in DIR
                   1530:   --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1.62      paf      1531: 
                   1532: Some influential environment variables:
1.150     moko     1533:   YACC        The `Yet Another Compiler Compiler' implementation to use.
                   1534:               Defaults to the first program found out of: `bison -y', `byacc',
                   1535:               `yacc'.
                   1536:   YFLAGS      The list of arguments that will be passed by default to $YACC.
                   1537:               This script will default YFLAGS to the empty string to avoid a
                   1538:               default value of `-d' given by some make applications.
1.66      paf      1539:   CXX         C++ compiler command
                   1540:   CXXFLAGS    C++ compiler flags
1.62      paf      1541:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                   1542:               nonstandard directory <lib dir>
1.150     moko     1543:   LIBS        libraries to pass to the linker, e.g. -l<library>
                   1544:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
                   1545:               you have headers in a nonstandard directory <include dir>
1.66      paf      1546:   CC          C compiler command
                   1547:   CFLAGS      C compiler flags
                   1548:   CPP         C preprocessor
1.128     moko     1549:   CXXCPP      C++ preprocessor
1.62      paf      1550: 
                   1551: Use these variables to override the choices made by `configure' or to help
                   1552: it to find libraries and programs with nonstandard names/locations.
                   1553: 
1.150     moko     1554: Report bugs to the package provider.
1.62      paf      1555: _ACEOF
1.150     moko     1556: ac_status=$?
1.62      paf      1557: fi
                   1558: 
                   1559: if test "$ac_init_help" = "recursive"; then
                   1560:   # If there are subdirs, report their specific --help.
                   1561:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1.150     moko     1562:     test -d "$ac_dir" ||
                   1563:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
                   1564:       continue
1.62      paf      1565:     ac_builddir=.
                   1566: 
1.150     moko     1567: case "$ac_dir" in
                   1568: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1569: *)
                   1570:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   1571:   # A ".." for each directory in $ac_dir_suffix.
                   1572:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   1573:   case $ac_top_builddir_sub in
                   1574:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1575:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   1576:   esac ;;
                   1577: esac
                   1578: ac_abs_top_builddir=$ac_pwd
                   1579: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   1580: # for backward compatibility:
                   1581: ac_top_builddir=$ac_top_build_prefix
1.62      paf      1582: 
                   1583: case $srcdir in
1.150     moko     1584:   .)  # We are building in place.
1.62      paf      1585:     ac_srcdir=.
1.150     moko     1586:     ac_top_srcdir=$ac_top_builddir_sub
                   1587:     ac_abs_top_srcdir=$ac_pwd ;;
                   1588:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.62      paf      1589:     ac_srcdir=$srcdir$ac_dir_suffix;
1.150     moko     1590:     ac_top_srcdir=$srcdir
                   1591:     ac_abs_top_srcdir=$srcdir ;;
                   1592:   *) # Relative name.
                   1593:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   1594:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   1595:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.86      paf      1596: esac
1.150     moko     1597: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.62      paf      1598: 
1.150     moko     1599:     cd "$ac_dir" || { ac_status=$?; continue; }
                   1600:     # Check for guested configure.
                   1601:     if test -f "$ac_srcdir/configure.gnu"; then
                   1602:       echo &&
                   1603:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
                   1604:     elif test -f "$ac_srcdir/configure"; then
                   1605:       echo &&
                   1606:       $SHELL "$ac_srcdir/configure" --help=recursive
1.62      paf      1607:     else
1.150     moko     1608:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
                   1609:     fi || ac_status=$?
                   1610:     cd "$ac_pwd" || { ac_status=$?; break; }
1.62      paf      1611:   done
                   1612: fi
                   1613: 
1.150     moko     1614: test -n "$ac_init_help" && exit $ac_status
1.62      paf      1615: if $ac_init_version; then
                   1616:   cat <<\_ACEOF
1.230     moko     1617: parser configure 3.5.2b
1.166     moko     1618: generated by GNU Autoconf 2.69
1.62      paf      1619: 
1.166     moko     1620: Copyright (C) 2012 Free Software Foundation, Inc.
1.62      paf      1621: This configure script is free software; the Free Software Foundation
                   1622: gives unlimited permission to copy, distribute and modify it.
                   1623: _ACEOF
1.150     moko     1624:   exit
1.62      paf      1625: fi
                   1626: 
1.150     moko     1627: ## ------------------------ ##
                   1628: ## Autoconf initialization. ##
                   1629: ## ------------------------ ##
                   1630: 
                   1631: # ac_fn_cxx_try_compile LINENO
                   1632: # ----------------------------
                   1633: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1634: ac_fn_cxx_try_compile ()
1.62      paf      1635: {
1.150     moko     1636:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1637:   rm -f conftest.$ac_objext
                   1638:   if { { ac_try="$ac_compile"
                   1639: case "(($ac_try" in
                   1640:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1641:   *) ac_try_echo=$ac_try;;
                   1642: esac
                   1643: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1644: $as_echo "$ac_try_echo"; } >&5
                   1645:   (eval "$ac_compile") 2>conftest.err
                   1646:   ac_status=$?
                   1647:   if test -s conftest.err; then
                   1648:     grep -v '^ *+' conftest.err >conftest.er1
                   1649:     cat conftest.er1 >&5
                   1650:     mv -f conftest.er1 conftest.err
                   1651:   fi
                   1652:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1653:   test $ac_status = 0; } && {
                   1654:         test -z "$ac_cxx_werror_flag" ||
                   1655:         test ! -s conftest.err
                   1656:        } && test -s conftest.$ac_objext; then :
                   1657:   ac_retval=0
                   1658: else
                   1659:   $as_echo "$as_me: failed program was:" >&5
                   1660: sed 's/^/| /' conftest.$ac_ext >&5
1.62      paf      1661: 
1.150     moko     1662:        ac_retval=1
                   1663: fi
                   1664:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1665:   as_fn_set_status $ac_retval
1.62      paf      1666: 
1.150     moko     1667: } # ac_fn_cxx_try_compile
                   1668: 
                   1669: # ac_fn_c_try_compile LINENO
                   1670: # --------------------------
                   1671: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1672: ac_fn_c_try_compile ()
                   1673: {
                   1674:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1675:   rm -f conftest.$ac_objext
                   1676:   if { { ac_try="$ac_compile"
                   1677: case "(($ac_try" in
                   1678:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1679:   *) ac_try_echo=$ac_try;;
                   1680: esac
                   1681: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1682: $as_echo "$ac_try_echo"; } >&5
                   1683:   (eval "$ac_compile") 2>conftest.err
                   1684:   ac_status=$?
                   1685:   if test -s conftest.err; then
                   1686:     grep -v '^ *+' conftest.err >conftest.er1
                   1687:     cat conftest.er1 >&5
                   1688:     mv -f conftest.er1 conftest.err
                   1689:   fi
                   1690:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1691:   test $ac_status = 0; } && {
                   1692:         test -z "$ac_c_werror_flag" ||
                   1693:         test ! -s conftest.err
                   1694:        } && test -s conftest.$ac_objext; then :
                   1695:   ac_retval=0
                   1696: else
                   1697:   $as_echo "$as_me: failed program was:" >&5
                   1698: sed 's/^/| /' conftest.$ac_ext >&5
                   1699: 
                   1700:        ac_retval=1
                   1701: fi
                   1702:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1703:   as_fn_set_status $ac_retval
                   1704: 
                   1705: } # ac_fn_c_try_compile
                   1706: 
                   1707: # ac_fn_c_try_link LINENO
                   1708: # -----------------------
                   1709: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1710: ac_fn_c_try_link ()
                   1711: {
                   1712:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1713:   rm -f conftest.$ac_objext conftest$ac_exeext
                   1714:   if { { ac_try="$ac_link"
                   1715: case "(($ac_try" in
                   1716:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1717:   *) ac_try_echo=$ac_try;;
                   1718: esac
                   1719: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1720: $as_echo "$ac_try_echo"; } >&5
                   1721:   (eval "$ac_link") 2>conftest.err
                   1722:   ac_status=$?
                   1723:   if test -s conftest.err; then
                   1724:     grep -v '^ *+' conftest.err >conftest.er1
                   1725:     cat conftest.er1 >&5
                   1726:     mv -f conftest.er1 conftest.err
                   1727:   fi
                   1728:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1729:   test $ac_status = 0; } && {
                   1730:         test -z "$ac_c_werror_flag" ||
                   1731:         test ! -s conftest.err
                   1732:        } && test -s conftest$ac_exeext && {
                   1733:         test "$cross_compiling" = yes ||
1.166     moko     1734:         test -x conftest$ac_exeext
1.150     moko     1735:        }; then :
                   1736:   ac_retval=0
                   1737: else
                   1738:   $as_echo "$as_me: failed program was:" >&5
                   1739: sed 's/^/| /' conftest.$ac_ext >&5
                   1740: 
                   1741:        ac_retval=1
                   1742: fi
                   1743:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   1744:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   1745:   # interfere with the next link command; also delete a directory that is
                   1746:   # left behind by Apple's compiler.  We do this before executing the actions.
                   1747:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1748:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1749:   as_fn_set_status $ac_retval
                   1750: 
                   1751: } # ac_fn_c_try_link
                   1752: 
                   1753: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
                   1754: # -------------------------------------------------------
                   1755: # Tests whether HEADER exists and can be compiled using the include files in
                   1756: # INCLUDES, setting the cache variable VAR accordingly.
                   1757: ac_fn_c_check_header_compile ()
                   1758: {
                   1759:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1760:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1761: $as_echo_n "checking for $2... " >&6; }
                   1762: if eval \${$3+:} false; then :
                   1763:   $as_echo_n "(cached) " >&6
                   1764: else
                   1765:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1766: /* end confdefs.h.  */
                   1767: $4
                   1768: #include <$2>
                   1769: _ACEOF
                   1770: if ac_fn_c_try_compile "$LINENO"; then :
                   1771:   eval "$3=yes"
                   1772: else
                   1773:   eval "$3=no"
                   1774: fi
                   1775: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1776: fi
                   1777: eval ac_res=\$$3
                   1778:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1779: $as_echo "$ac_res" >&6; }
                   1780:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1781: 
                   1782: } # ac_fn_c_check_header_compile
                   1783: 
                   1784: # ac_fn_c_try_cpp LINENO
                   1785: # ----------------------
                   1786: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
                   1787: ac_fn_c_try_cpp ()
                   1788: {
                   1789:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1790:   if { { ac_try="$ac_cpp conftest.$ac_ext"
                   1791: case "(($ac_try" in
                   1792:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1793:   *) ac_try_echo=$ac_try;;
                   1794: esac
                   1795: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1796: $as_echo "$ac_try_echo"; } >&5
                   1797:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
                   1798:   ac_status=$?
                   1799:   if test -s conftest.err; then
                   1800:     grep -v '^ *+' conftest.err >conftest.er1
                   1801:     cat conftest.er1 >&5
                   1802:     mv -f conftest.er1 conftest.err
                   1803:   fi
                   1804:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1805:   test $ac_status = 0; } > conftest.i && {
                   1806:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   1807:         test ! -s conftest.err
                   1808:        }; then :
                   1809:   ac_retval=0
                   1810: else
                   1811:   $as_echo "$as_me: failed program was:" >&5
                   1812: sed 's/^/| /' conftest.$ac_ext >&5
                   1813: 
                   1814:     ac_retval=1
                   1815: fi
                   1816:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1817:   as_fn_set_status $ac_retval
                   1818: 
                   1819: } # ac_fn_c_try_cpp
                   1820: 
                   1821: # ac_fn_c_try_run LINENO
                   1822: # ----------------------
                   1823: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
                   1824: # that executables *can* be run.
                   1825: ac_fn_c_try_run ()
                   1826: {
                   1827:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1828:   if { { ac_try="$ac_link"
                   1829: case "(($ac_try" in
                   1830:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1831:   *) ac_try_echo=$ac_try;;
                   1832: esac
                   1833: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1834: $as_echo "$ac_try_echo"; } >&5
                   1835:   (eval "$ac_link") 2>&5
                   1836:   ac_status=$?
                   1837:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1838:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
                   1839:   { { case "(($ac_try" in
                   1840:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1841:   *) ac_try_echo=$ac_try;;
                   1842: esac
                   1843: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1844: $as_echo "$ac_try_echo"; } >&5
                   1845:   (eval "$ac_try") 2>&5
                   1846:   ac_status=$?
                   1847:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1848:   test $ac_status = 0; }; }; then :
                   1849:   ac_retval=0
                   1850: else
                   1851:   $as_echo "$as_me: program exited with status $ac_status" >&5
                   1852:        $as_echo "$as_me: failed program was:" >&5
                   1853: sed 's/^/| /' conftest.$ac_ext >&5
                   1854: 
                   1855:        ac_retval=$ac_status
                   1856: fi
                   1857:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1858:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1859:   as_fn_set_status $ac_retval
                   1860: 
                   1861: } # ac_fn_c_try_run
                   1862: 
                   1863: # ac_fn_c_check_func LINENO FUNC VAR
                   1864: # ----------------------------------
                   1865: # Tests whether FUNC exists, setting the cache variable VAR accordingly
                   1866: ac_fn_c_check_func ()
                   1867: {
                   1868:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1869:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1870: $as_echo_n "checking for $2... " >&6; }
                   1871: if eval \${$3+:} false; then :
                   1872:   $as_echo_n "(cached) " >&6
                   1873: else
                   1874:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1875: /* end confdefs.h.  */
                   1876: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
                   1877:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   1878: #define $2 innocuous_$2
                   1879: 
                   1880: /* System header to define __stub macros and hopefully few prototypes,
                   1881:     which can conflict with char $2 (); below.
                   1882:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   1883:     <limits.h> exists even on freestanding compilers.  */
                   1884: 
                   1885: #ifdef __STDC__
                   1886: # include <limits.h>
                   1887: #else
                   1888: # include <assert.h>
                   1889: #endif
                   1890: 
                   1891: #undef $2
                   1892: 
                   1893: /* Override any GCC internal prototype to avoid an error.
                   1894:    Use char because int might match the return type of a GCC
                   1895:    builtin and then its argument prototype would still apply.  */
                   1896: #ifdef __cplusplus
                   1897: extern "C"
                   1898: #endif
                   1899: char $2 ();
                   1900: /* The GNU C library defines this for functions which it implements
                   1901:     to always fail with ENOSYS.  Some functions are actually named
                   1902:     something starting with __ and the normal name is an alias.  */
                   1903: #if defined __stub_$2 || defined __stub___$2
                   1904: choke me
                   1905: #endif
                   1906: 
                   1907: int
                   1908: main ()
                   1909: {
                   1910: return $2 ();
                   1911:   ;
                   1912:   return 0;
                   1913: }
                   1914: _ACEOF
                   1915: if ac_fn_c_try_link "$LINENO"; then :
                   1916:   eval "$3=yes"
                   1917: else
                   1918:   eval "$3=no"
                   1919: fi
                   1920: rm -f core conftest.err conftest.$ac_objext \
                   1921:     conftest$ac_exeext conftest.$ac_ext
                   1922: fi
                   1923: eval ac_res=\$$3
                   1924:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1925: $as_echo "$ac_res" >&6; }
                   1926:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1927: 
                   1928: } # ac_fn_c_check_func
                   1929: 
                   1930: # ac_fn_cxx_try_cpp LINENO
                   1931: # ------------------------
                   1932: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
                   1933: ac_fn_cxx_try_cpp ()
                   1934: {
                   1935:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1936:   if { { ac_try="$ac_cpp conftest.$ac_ext"
                   1937: case "(($ac_try" in
                   1938:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1939:   *) ac_try_echo=$ac_try;;
                   1940: esac
                   1941: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1942: $as_echo "$ac_try_echo"; } >&5
                   1943:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
                   1944:   ac_status=$?
                   1945:   if test -s conftest.err; then
                   1946:     grep -v '^ *+' conftest.err >conftest.er1
                   1947:     cat conftest.er1 >&5
                   1948:     mv -f conftest.er1 conftest.err
                   1949:   fi
                   1950:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1951:   test $ac_status = 0; } > conftest.i && {
                   1952:         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
                   1953:         test ! -s conftest.err
                   1954:        }; then :
                   1955:   ac_retval=0
                   1956: else
                   1957:   $as_echo "$as_me: failed program was:" >&5
                   1958: sed 's/^/| /' conftest.$ac_ext >&5
                   1959: 
                   1960:     ac_retval=1
                   1961: fi
                   1962:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1963:   as_fn_set_status $ac_retval
                   1964: 
                   1965: } # ac_fn_cxx_try_cpp
                   1966: 
                   1967: # ac_fn_cxx_try_link LINENO
                   1968: # -------------------------
                   1969: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1970: ac_fn_cxx_try_link ()
                   1971: {
                   1972:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1973:   rm -f conftest.$ac_objext conftest$ac_exeext
                   1974:   if { { ac_try="$ac_link"
                   1975: case "(($ac_try" in
                   1976:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1977:   *) ac_try_echo=$ac_try;;
                   1978: esac
                   1979: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1980: $as_echo "$ac_try_echo"; } >&5
                   1981:   (eval "$ac_link") 2>conftest.err
                   1982:   ac_status=$?
                   1983:   if test -s conftest.err; then
                   1984:     grep -v '^ *+' conftest.err >conftest.er1
                   1985:     cat conftest.er1 >&5
                   1986:     mv -f conftest.er1 conftest.err
                   1987:   fi
                   1988:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1989:   test $ac_status = 0; } && {
                   1990:         test -z "$ac_cxx_werror_flag" ||
                   1991:         test ! -s conftest.err
                   1992:        } && test -s conftest$ac_exeext && {
                   1993:         test "$cross_compiling" = yes ||
1.166     moko     1994:         test -x conftest$ac_exeext
1.150     moko     1995:        }; then :
                   1996:   ac_retval=0
                   1997: else
                   1998:   $as_echo "$as_me: failed program was:" >&5
                   1999: sed 's/^/| /' conftest.$ac_ext >&5
                   2000: 
                   2001:        ac_retval=1
                   2002: fi
                   2003:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   2004:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   2005:   # interfere with the next link command; also delete a directory that is
                   2006:   # left behind by Apple's compiler.  We do this before executing the actions.
                   2007:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   2008:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2009:   as_fn_set_status $ac_retval
                   2010: 
                   2011: } # ac_fn_cxx_try_link
                   2012: 
                   2013: # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
                   2014: # ---------------------------------------------
                   2015: # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
                   2016: # accordingly.
                   2017: ac_fn_c_check_decl ()
                   2018: {
                   2019:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2020:   as_decl_name=`echo $2|sed 's/ *(.*//'`
                   2021:   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
                   2022:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
                   2023: $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
                   2024: if eval \${$3+:} false; then :
                   2025:   $as_echo_n "(cached) " >&6
                   2026: else
                   2027:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2028: /* end confdefs.h.  */
                   2029: $4
                   2030: int
                   2031: main ()
                   2032: {
                   2033: #ifndef $as_decl_name
                   2034: #ifdef __cplusplus
                   2035:   (void) $as_decl_use;
                   2036: #else
                   2037:   (void) $as_decl_name;
                   2038: #endif
                   2039: #endif
                   2040: 
                   2041:   ;
                   2042:   return 0;
                   2043: }
                   2044: _ACEOF
                   2045: if ac_fn_c_try_compile "$LINENO"; then :
                   2046:   eval "$3=yes"
                   2047: else
                   2048:   eval "$3=no"
                   2049: fi
                   2050: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2051: fi
                   2052: eval ac_res=\$$3
                   2053:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2054: $as_echo "$ac_res" >&6; }
                   2055:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2056: 
                   2057: } # ac_fn_c_check_decl
                   2058: 
                   2059: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
                   2060: # -------------------------------------------
                   2061: # Tests whether TYPE exists after having included INCLUDES, setting cache
                   2062: # variable VAR accordingly.
                   2063: ac_fn_c_check_type ()
                   2064: {
                   2065:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2066:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2067: $as_echo_n "checking for $2... " >&6; }
                   2068: if eval \${$3+:} false; then :
                   2069:   $as_echo_n "(cached) " >&6
                   2070: else
                   2071:   eval "$3=no"
                   2072:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2073: /* end confdefs.h.  */
                   2074: $4
                   2075: int
                   2076: main ()
                   2077: {
                   2078: if (sizeof ($2))
                   2079:         return 0;
                   2080:   ;
                   2081:   return 0;
                   2082: }
                   2083: _ACEOF
                   2084: if ac_fn_c_try_compile "$LINENO"; then :
                   2085:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2086: /* end confdefs.h.  */
                   2087: $4
                   2088: int
                   2089: main ()
                   2090: {
                   2091: if (sizeof (($2)))
                   2092:            return 0;
                   2093:   ;
                   2094:   return 0;
                   2095: }
                   2096: _ACEOF
                   2097: if ac_fn_c_try_compile "$LINENO"; then :
                   2098: 
                   2099: else
                   2100:   eval "$3=yes"
                   2101: fi
                   2102: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2103: fi
                   2104: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2105: fi
                   2106: eval ac_res=\$$3
                   2107:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2108: $as_echo "$ac_res" >&6; }
                   2109:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2110: 
                   2111: } # ac_fn_c_check_type
                   2112: 
1.156     moko     2113: # ac_fn_c_find_uintX_t LINENO BITS VAR
                   2114: # ------------------------------------
                   2115: # Finds an unsigned integer type with width BITS, setting cache variable VAR
                   2116: # accordingly.
                   2117: ac_fn_c_find_uintX_t ()
                   2118: {
                   2119:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2120:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
                   2121: $as_echo_n "checking for uint$2_t... " >&6; }
                   2122: if eval \${$3+:} false; then :
                   2123:   $as_echo_n "(cached) " >&6
                   2124: else
                   2125:   eval "$3=no"
                   2126:      # Order is important - never check a type that is potentially smaller
                   2127:      # than half of the expected target width.
                   2128:      for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
                   2129:         'unsigned long long int' 'unsigned short int' 'unsigned char'; do
                   2130:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2131: /* end confdefs.h.  */
                   2132: $ac_includes_default
                   2133: int
                   2134: main ()
                   2135: {
                   2136: static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1.166     moko     2137: test_array [0] = 0;
                   2138: return test_array [0];
1.156     moko     2139: 
                   2140:   ;
                   2141:   return 0;
                   2142: }
                   2143: _ACEOF
                   2144: if ac_fn_c_try_compile "$LINENO"; then :
                   2145:   case $ac_type in #(
                   2146:   uint$2_t) :
                   2147:     eval "$3=yes" ;; #(
                   2148:   *) :
                   2149:     eval "$3=\$ac_type" ;;
                   2150: esac
                   2151: fi
                   2152: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2153:        if eval test \"x\$"$3"\" = x"no"; then :
                   2154: 
                   2155: else
                   2156:   break
                   2157: fi
                   2158:      done
                   2159: fi
                   2160: eval ac_res=\$$3
                   2161:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2162: $as_echo "$ac_res" >&6; }
                   2163:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2164: 
                   2165: } # ac_fn_c_find_uintX_t
                   2166: 
1.234     moko     2167: # ac_fn_c_find_intX_t LINENO BITS VAR
                   2168: # -----------------------------------
                   2169: # Finds a signed integer type with width BITS, setting cache variable VAR
                   2170: # accordingly.
                   2171: ac_fn_c_find_intX_t ()
                   2172: {
                   2173:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2174:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
                   2175: $as_echo_n "checking for int$2_t... " >&6; }
                   2176: if eval \${$3+:} false; then :
                   2177:   $as_echo_n "(cached) " >&6
                   2178: else
                   2179:   eval "$3=no"
                   2180:      # Order is important - never check a type that is potentially smaller
                   2181:      # than half of the expected target width.
                   2182:      for ac_type in int$2_t 'int' 'long int' \
                   2183:         'long long int' 'short int' 'signed char'; do
                   2184:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2185: /* end confdefs.h.  */
                   2186: $ac_includes_default
                   2187:             enum { N = $2 / 2 - 1 };
                   2188: int
                   2189: main ()
                   2190: {
                   2191: static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
                   2192: test_array [0] = 0;
                   2193: return test_array [0];
                   2194: 
                   2195:   ;
                   2196:   return 0;
                   2197: }
                   2198: _ACEOF
                   2199: if ac_fn_c_try_compile "$LINENO"; then :
                   2200:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2201: /* end confdefs.h.  */
                   2202: $ac_includes_default
                   2203:                enum { N = $2 / 2 - 1 };
                   2204: int
                   2205: main ()
                   2206: {
                   2207: static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
                   2208:                 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
                   2209: test_array [0] = 0;
                   2210: return test_array [0];
                   2211: 
                   2212:   ;
                   2213:   return 0;
                   2214: }
                   2215: _ACEOF
                   2216: if ac_fn_c_try_compile "$LINENO"; then :
                   2217: 
                   2218: else
                   2219:   case $ac_type in #(
                   2220:   int$2_t) :
                   2221:     eval "$3=yes" ;; #(
                   2222:   *) :
                   2223:     eval "$3=\$ac_type" ;;
                   2224: esac
                   2225: fi
                   2226: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2227: fi
                   2228: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2229:        if eval test \"x\$"$3"\" = x"no"; then :
                   2230: 
                   2231: else
                   2232:   break
                   2233: fi
                   2234:      done
                   2235: fi
                   2236: eval ac_res=\$$3
                   2237:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2238: $as_echo "$ac_res" >&6; }
                   2239:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2240: 
                   2241: } # ac_fn_c_find_intX_t
                   2242: 
1.161     moko     2243: # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
                   2244: # ----------------------------------------------------
                   2245: # Tries to find if the field MEMBER exists in type AGGR, after including
                   2246: # INCLUDES, setting cache variable VAR accordingly.
                   2247: ac_fn_c_check_member ()
                   2248: {
                   2249:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2250:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
                   2251: $as_echo_n "checking for $2.$3... " >&6; }
                   2252: if eval \${$4+:} false; then :
                   2253:   $as_echo_n "(cached) " >&6
                   2254: else
                   2255:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2256: /* end confdefs.h.  */
                   2257: $5
                   2258: int
                   2259: main ()
                   2260: {
                   2261: static $2 ac_aggr;
                   2262: if (ac_aggr.$3)
                   2263: return 0;
                   2264:   ;
                   2265:   return 0;
                   2266: }
                   2267: _ACEOF
                   2268: if ac_fn_c_try_compile "$LINENO"; then :
                   2269:   eval "$4=yes"
                   2270: else
                   2271:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2272: /* end confdefs.h.  */
                   2273: $5
                   2274: int
                   2275: main ()
                   2276: {
                   2277: static $2 ac_aggr;
                   2278: if (sizeof ac_aggr.$3)
                   2279: return 0;
                   2280:   ;
                   2281:   return 0;
                   2282: }
                   2283: _ACEOF
                   2284: if ac_fn_c_try_compile "$LINENO"; then :
                   2285:   eval "$4=yes"
                   2286: else
                   2287:   eval "$4=no"
                   2288: fi
                   2289: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2290: fi
                   2291: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2292: fi
                   2293: eval ac_res=\$$4
                   2294:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2295: $as_echo "$ac_res" >&6; }
                   2296:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2297: 
                   2298: } # ac_fn_c_check_member
                   2299: 
1.150     moko     2300: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
                   2301: # -------------------------------------------------------
                   2302: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
                   2303: # the include files in INCLUDES and setting the cache variable VAR
                   2304: # accordingly.
                   2305: ac_fn_c_check_header_mongrel ()
                   2306: {
                   2307:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2308:   if eval \${$3+:} false; then :
                   2309:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2310: $as_echo_n "checking for $2... " >&6; }
                   2311: if eval \${$3+:} false; then :
                   2312:   $as_echo_n "(cached) " >&6
                   2313: fi
                   2314: eval ac_res=\$$3
                   2315:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2316: $as_echo "$ac_res" >&6; }
                   2317: else
                   2318:   # Is the header compilable?
                   2319: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
                   2320: $as_echo_n "checking $2 usability... " >&6; }
                   2321: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2322: /* end confdefs.h.  */
                   2323: $4
                   2324: #include <$2>
                   2325: _ACEOF
                   2326: if ac_fn_c_try_compile "$LINENO"; then :
                   2327:   ac_header_compiler=yes
                   2328: else
                   2329:   ac_header_compiler=no
                   2330: fi
                   2331: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2332: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
                   2333: $as_echo "$ac_header_compiler" >&6; }
                   2334: 
                   2335: # Is the header present?
                   2336: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
                   2337: $as_echo_n "checking $2 presence... " >&6; }
                   2338: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2339: /* end confdefs.h.  */
                   2340: #include <$2>
                   2341: _ACEOF
                   2342: if ac_fn_c_try_cpp "$LINENO"; then :
                   2343:   ac_header_preproc=yes
                   2344: else
                   2345:   ac_header_preproc=no
                   2346: fi
                   2347: rm -f conftest.err conftest.i conftest.$ac_ext
                   2348: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
                   2349: $as_echo "$ac_header_preproc" >&6; }
                   2350: 
                   2351: # So?  What about this header?
                   2352: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
                   2353:   yes:no: )
                   2354:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
                   2355: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   2356:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   2357: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   2358:     ;;
                   2359:   no:yes:* )
                   2360:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
                   2361: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
                   2362:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
                   2363: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
                   2364:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
                   2365: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
                   2366:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
                   2367: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
                   2368:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   2369: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   2370:     ;;
                   2371: esac
                   2372:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2373: $as_echo_n "checking for $2... " >&6; }
                   2374: if eval \${$3+:} false; then :
                   2375:   $as_echo_n "(cached) " >&6
                   2376: else
                   2377:   eval "$3=\$ac_header_compiler"
                   2378: fi
                   2379: eval ac_res=\$$3
                   2380:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2381: $as_echo "$ac_res" >&6; }
                   2382: fi
                   2383:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2384: 
                   2385: } # ac_fn_c_check_header_mongrel
                   2386: cat >config.log <<_ACEOF
                   2387: This file contains any messages produced by compilers while
                   2388: running configure, to aid debugging if configure makes a mistake.
                   2389: 
1.230     moko     2390: It was created by parser $as_me 3.5.2b, which was
1.166     moko     2391: generated by GNU Autoconf 2.69.  Invocation command line was
1.150     moko     2392: 
                   2393:   $ $0 $@
                   2394: 
                   2395: _ACEOF
                   2396: exec 5>>config.log
                   2397: {
                   2398: cat <<_ASUNAME
                   2399: ## --------- ##
                   2400: ## Platform. ##
                   2401: ## --------- ##
                   2402: 
                   2403: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   2404: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   2405: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   2406: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   2407: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                   2408: 
                   2409: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   2410: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1.62      paf      2411: 
                   2412: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   2413: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   2414: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1.150     moko     2415: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1.62      paf      2416: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   2417: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   2418: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   2419: 
                   2420: _ASUNAME
                   2421: 
                   2422: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2423: for as_dir in $PATH
                   2424: do
                   2425:   IFS=$as_save_IFS
                   2426:   test -z "$as_dir" && as_dir=.
1.150     moko     2427:     $as_echo "PATH: $as_dir"
                   2428:   done
                   2429: IFS=$as_save_IFS
1.1       paf      2430: 
1.62      paf      2431: } >&5
                   2432: 
                   2433: cat >&5 <<_ACEOF
                   2434: 
                   2435: 
                   2436: ## ----------- ##
                   2437: ## Core tests. ##
                   2438: ## ----------- ##
                   2439: 
                   2440: _ACEOF
                   2441: 
                   2442: 
                   2443: # Keep a trace of the command line.
                   2444: # Strip out --no-create and --no-recursion so they do not pile up.
                   2445: # Strip out --silent because we don't want to record it for future runs.
                   2446: # Also quote any args containing shell meta-characters.
                   2447: # Make two passes to allow for proper duplicate-argument suppression.
                   2448: ac_configure_args=
                   2449: ac_configure_args0=
                   2450: ac_configure_args1=
                   2451: ac_must_keep_next=false
                   2452: for ac_pass in 1 2
                   2453: do
                   2454:   for ac_arg
                   2455:   do
                   2456:     case $ac_arg in
                   2457:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   2458:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   2459:     | -silent | --silent | --silen | --sile | --sil)
                   2460:       continue ;;
1.150     moko     2461:     *\'*)
                   2462:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.62      paf      2463:     esac
                   2464:     case $ac_pass in
1.150     moko     2465:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1.62      paf      2466:     2)
1.150     moko     2467:       as_fn_append ac_configure_args1 " '$ac_arg'"
1.62      paf      2468:       if test $ac_must_keep_next = true; then
1.86      paf      2469:        ac_must_keep_next=false # Got value, back to normal.
1.62      paf      2470:       else
1.86      paf      2471:        case $ac_arg in
                   2472:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   2473:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   2474:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   2475:          | -with-* | --with-* | -without-* | --without-* | --x)
                   2476:            case "$ac_configure_args0 " in
                   2477:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   2478:            esac
                   2479:            ;;
                   2480:          -* ) ac_must_keep_next=true ;;
                   2481:        esac
1.62      paf      2482:       fi
1.150     moko     2483:       as_fn_append ac_configure_args " '$ac_arg'"
1.62      paf      2484:       ;;
                   2485:     esac
                   2486:   done
                   2487: done
1.150     moko     2488: { ac_configure_args0=; unset ac_configure_args0;}
                   2489: { ac_configure_args1=; unset ac_configure_args1;}
1.62      paf      2490: 
                   2491: # When interrupted or exit'd, cleanup temporary files, and complete
                   2492: # config.log.  We remove comments because anyway the quotes in there
                   2493: # would cause problems or look ugly.
1.150     moko     2494: # WARNING: Use '\'' to represent an apostrophe within the trap.
                   2495: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1.62      paf      2496: trap 'exit_status=$?
                   2497:   # Save into config.log some information that might help in debugging.
                   2498:   {
                   2499:     echo
                   2500: 
1.150     moko     2501:     $as_echo "## ---------------- ##
1.62      paf      2502: ## Cache variables. ##
1.150     moko     2503: ## ---------------- ##"
1.62      paf      2504:     echo
                   2505:     # The following way of writing the cache mishandles newlines in values,
1.150     moko     2506: (
                   2507:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
                   2508:     eval ac_val=\$$ac_var
                   2509:     case $ac_val in #(
                   2510:     *${as_nl}*)
                   2511:       case $ac_var in #(
                   2512:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   2513: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   2514:       esac
                   2515:       case $ac_var in #(
                   2516:       _ | IFS | as_nl) ;; #(
                   2517:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   2518:       *) { eval $ac_var=; unset $ac_var;} ;;
                   2519:       esac ;;
                   2520:     esac
                   2521:   done
1.62      paf      2522:   (set) 2>&1 |
1.150     moko     2523:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
                   2524:     *${as_nl}ac_space=\ *)
1.62      paf      2525:       sed -n \
1.150     moko     2526:        "s/'\''/'\''\\\\'\'''\''/g;
                   2527:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
                   2528:       ;; #(
1.62      paf      2529:     *)
1.150     moko     2530:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.62      paf      2531:       ;;
1.150     moko     2532:     esac |
                   2533:     sort
                   2534: )
1.62      paf      2535:     echo
                   2536: 
1.150     moko     2537:     $as_echo "## ----------------- ##
1.62      paf      2538: ## Output variables. ##
1.150     moko     2539: ## ----------------- ##"
1.62      paf      2540:     echo
                   2541:     for ac_var in $ac_subst_vars
                   2542:     do
1.150     moko     2543:       eval ac_val=\$$ac_var
                   2544:       case $ac_val in
                   2545:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2546:       esac
                   2547:       $as_echo "$ac_var='\''$ac_val'\''"
1.62      paf      2548:     done | sort
                   2549:     echo
                   2550: 
                   2551:     if test -n "$ac_subst_files"; then
1.150     moko     2552:       $as_echo "## ------------------- ##
                   2553: ## File substitutions. ##
                   2554: ## ------------------- ##"
1.62      paf      2555:       echo
                   2556:       for ac_var in $ac_subst_files
                   2557:       do
1.150     moko     2558:        eval ac_val=\$$ac_var
                   2559:        case $ac_val in
                   2560:        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2561:        esac
                   2562:        $as_echo "$ac_var='\''$ac_val'\''"
1.62      paf      2563:       done | sort
                   2564:       echo
                   2565:     fi
                   2566: 
                   2567:     if test -s confdefs.h; then
1.150     moko     2568:       $as_echo "## ----------- ##
1.62      paf      2569: ## confdefs.h. ##
1.150     moko     2570: ## ----------- ##"
1.62      paf      2571:       echo
1.150     moko     2572:       cat confdefs.h
1.62      paf      2573:       echo
                   2574:     fi
                   2575:     test "$ac_signal" != 0 &&
1.150     moko     2576:       $as_echo "$as_me: caught signal $ac_signal"
                   2577:     $as_echo "$as_me: exit $exit_status"
1.62      paf      2578:   } >&5
1.150     moko     2579:   rm -f core *.core core.conftest.* &&
                   2580:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1.62      paf      2581:     exit $exit_status
1.150     moko     2582: ' 0
1.62      paf      2583: for ac_signal in 1 2 13 15; do
1.150     moko     2584:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1.62      paf      2585: done
                   2586: ac_signal=0
                   2587: 
                   2588: # confdefs.h avoids OS command line length limits that DEFS can exceed.
1.150     moko     2589: rm -f -r conftest* confdefs.h
                   2590: 
                   2591: $as_echo "/* confdefs.h */" > confdefs.h
1.62      paf      2592: 
                   2593: # Predefined preprocessor variables.
                   2594: 
                   2595: cat >>confdefs.h <<_ACEOF
                   2596: #define PACKAGE_NAME "$PACKAGE_NAME"
                   2597: _ACEOF
                   2598: 
                   2599: cat >>confdefs.h <<_ACEOF
                   2600: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   2601: _ACEOF
                   2602: 
                   2603: cat >>confdefs.h <<_ACEOF
                   2604: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   2605: _ACEOF
                   2606: 
                   2607: cat >>confdefs.h <<_ACEOF
                   2608: #define PACKAGE_STRING "$PACKAGE_STRING"
                   2609: _ACEOF
                   2610: 
1.150     moko     2611: cat >>confdefs.h <<_ACEOF
                   2612: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   2613: _ACEOF
1.62      paf      2614: 
                   2615: cat >>confdefs.h <<_ACEOF
1.150     moko     2616: #define PACKAGE_URL "$PACKAGE_URL"
1.62      paf      2617: _ACEOF
                   2618: 
                   2619: 
                   2620: # Let the site file select an alternate cache file if it wants to.
1.150     moko     2621: # Prefer an explicitly selected file to automatically selected ones.
                   2622: ac_site_file1=NONE
                   2623: ac_site_file2=NONE
                   2624: if test -n "$CONFIG_SITE"; then
                   2625:   # We do not want a PATH search for config.site.
                   2626:   case $CONFIG_SITE in #((
                   2627:     -*)  ac_site_file1=./$CONFIG_SITE;;
                   2628:     */*) ac_site_file1=$CONFIG_SITE;;
                   2629:     *)   ac_site_file1=./$CONFIG_SITE;;
                   2630:   esac
                   2631: elif test "x$prefix" != xNONE; then
                   2632:   ac_site_file1=$prefix/share/config.site
                   2633:   ac_site_file2=$prefix/etc/config.site
                   2634: else
                   2635:   ac_site_file1=$ac_default_prefix/share/config.site
                   2636:   ac_site_file2=$ac_default_prefix/etc/config.site
                   2637: fi
                   2638: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
                   2639: do
                   2640:   test "x$ac_site_file" = xNONE && continue
                   2641:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
                   2642:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
                   2643: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1.62      paf      2644:     sed 's/^/| /' "$ac_site_file" >&5
1.150     moko     2645:     . "$ac_site_file" \
                   2646:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2647: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2648: as_fn_error $? "failed to load site script $ac_site_file
                   2649: See \`config.log' for more details" "$LINENO" 5; }
1.1       paf      2650:   fi
                   2651: done
                   2652: 
                   2653: if test -r "$cache_file"; then
1.150     moko     2654:   # Some versions of bash will fail to source /dev/null (special files
                   2655:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
                   2656:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
                   2657:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
                   2658: $as_echo "$as_me: loading cache $cache_file" >&6;}
1.62      paf      2659:     case $cache_file in
1.150     moko     2660:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
                   2661:       *)                      . "./$cache_file";;
1.62      paf      2662:     esac
                   2663:   fi
1.1       paf      2664: else
1.150     moko     2665:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
                   2666: $as_echo "$as_me: creating cache $cache_file" >&6;}
1.62      paf      2667:   >$cache_file
                   2668: fi
                   2669: 
                   2670: # Check that the precious variables saved in the cache have kept the same
                   2671: # value.
                   2672: ac_cache_corrupted=false
1.150     moko     2673: for ac_var in $ac_precious_vars; do
1.62      paf      2674:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   2675:   eval ac_new_set=\$ac_env_${ac_var}_set
1.150     moko     2676:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
                   2677:   eval ac_new_val=\$ac_env_${ac_var}_value
1.62      paf      2678:   case $ac_old_set,$ac_new_set in
                   2679:     set,)
1.150     moko     2680:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   2681: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1.62      paf      2682:       ac_cache_corrupted=: ;;
                   2683:     ,set)
1.150     moko     2684:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
                   2685: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1.62      paf      2686:       ac_cache_corrupted=: ;;
                   2687:     ,);;
                   2688:     *)
                   2689:       if test "x$ac_old_val" != "x$ac_new_val"; then
1.150     moko     2690:        # differences in whitespace do not lead to failure.
                   2691:        ac_old_val_w=`echo x $ac_old_val`
                   2692:        ac_new_val_w=`echo x $ac_new_val`
                   2693:        if test "$ac_old_val_w" != "$ac_new_val_w"; then
                   2694:          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
                   2695: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
                   2696:          ac_cache_corrupted=:
                   2697:        else
                   2698:          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
                   2699: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
                   2700:          eval $ac_var=\$ac_old_val
                   2701:        fi
                   2702:        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
                   2703: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
                   2704:        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
                   2705: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1.62      paf      2706:       fi;;
                   2707:   esac
                   2708:   # Pass precious variables to config.status.
                   2709:   if test "$ac_new_set" = set; then
                   2710:     case $ac_new_val in
1.150     moko     2711:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1.62      paf      2712:     *) ac_arg=$ac_var=$ac_new_val ;;
                   2713:     esac
                   2714:     case " $ac_configure_args " in
                   2715:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1.150     moko     2716:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1.62      paf      2717:     esac
                   2718:   fi
                   2719: done
                   2720: if $ac_cache_corrupted; then
1.150     moko     2721:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2722: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2723:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
                   2724: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
                   2725:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
                   2726: fi
                   2727: ## -------------------- ##
                   2728: ## Main body of script. ##
                   2729: ## -------------------- ##
1.1       paf      2730: 
                   2731: ac_ext=c
                   2732: ac_cpp='$CPP $CPPFLAGS'
1.62      paf      2733: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2734: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2735: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2736: 
                   2737: 
                   2738: 
                   2739: 
                   2740: 
1.229     moko     2741: 
1.199     moko     2742: am__api_version='1.16'
1.62      paf      2743: 
1.1       paf      2744: ac_aux_dir=
1.150     moko     2745: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
                   2746:   if test -f "$ac_dir/install-sh"; then
1.1       paf      2747:     ac_aux_dir=$ac_dir
                   2748:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   2749:     break
1.150     moko     2750:   elif test -f "$ac_dir/install.sh"; then
1.1       paf      2751:     ac_aux_dir=$ac_dir
                   2752:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   2753:     break
1.150     moko     2754:   elif test -f "$ac_dir/shtool"; then
1.62      paf      2755:     ac_aux_dir=$ac_dir
                   2756:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   2757:     break
1.1       paf      2758:   fi
                   2759: done
                   2760: if test -z "$ac_aux_dir"; then
1.150     moko     2761:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
                   2762: fi
                   2763: 
                   2764: # These three variables are undocumented and unsupported,
                   2765: # and are intended to be withdrawn in a future Autoconf release.
                   2766: # They can cause serious problems if a builder's source tree is in a directory
                   2767: # whose full name contains unusual characters.
                   2768: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
                   2769: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
                   2770: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
                   2771: 
1.1       paf      2772: 
                   2773: # Find a good install program.  We prefer a C program (faster),
                   2774: # so one script is as good as another.  But avoid the broken or
                   2775: # incompatible versions:
                   2776: # SysV /etc/install, /usr/sbin/install
                   2777: # SunOS /usr/etc/install
                   2778: # IRIX /sbin/install
                   2779: # AIX /bin/install
1.62      paf      2780: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1       paf      2781: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   2782: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   2783: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.86      paf      2784: # OS/2's system install, which has a completely different semantic
1.1       paf      2785: # ./install, which can be erroneously created by make from ./install.sh.
1.150     moko     2786: # Reject install programs that cannot install multiple files.
                   2787: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
                   2788: $as_echo_n "checking for a BSD-compatible install... " >&6; }
1.1       paf      2789: if test -z "$INSTALL"; then
1.150     moko     2790: if ${ac_cv_path_install+:} false; then :
                   2791:   $as_echo_n "(cached) " >&6
1.1       paf      2792: else
1.62      paf      2793:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2794: for as_dir in $PATH
                   2795: do
                   2796:   IFS=$as_save_IFS
                   2797:   test -z "$as_dir" && as_dir=.
1.150     moko     2798:     # Account for people who put trailing slashes in PATH elements.
                   2799: case $as_dir/ in #((
                   2800:   ./ | .// | /[cC]/* | \
1.62      paf      2801:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.150     moko     2802:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1.62      paf      2803:   /usr/ucb/* ) ;;
                   2804:   *)
                   2805:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   2806:     # Don't use installbsd from OSF since it installs stuff as root
                   2807:     # by default.
                   2808:     for ac_prog in ginstall scoinst install; do
                   2809:       for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     2810:        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1.86      paf      2811:          if test $ac_prog = install &&
                   2812:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2813:            # AIX install.  It has an incompatible calling convention.
                   2814:            :
                   2815:          elif test $ac_prog = install &&
                   2816:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2817:            # program-specific install script used by HP pwplus--don't use.
                   2818:            :
                   2819:          else
1.150     moko     2820:            rm -rf conftest.one conftest.two conftest.dir
                   2821:            echo one > conftest.one
                   2822:            echo two > conftest.two
                   2823:            mkdir conftest.dir
                   2824:            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
                   2825:              test -s conftest.one && test -s conftest.two &&
                   2826:              test -s conftest.dir/conftest.one &&
                   2827:              test -s conftest.dir/conftest.two
                   2828:            then
                   2829:              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   2830:              break 3
                   2831:            fi
1.86      paf      2832:          fi
                   2833:        fi
1.1       paf      2834:       done
1.62      paf      2835:     done
                   2836:     ;;
                   2837: esac
                   2838: 
1.150     moko     2839:   done
                   2840: IFS=$as_save_IFS
                   2841: 
                   2842: rm -rf conftest.one conftest.two conftest.dir
1.1       paf      2843: 
                   2844: fi
                   2845:   if test "${ac_cv_path_install+set}" = set; then
1.62      paf      2846:     INSTALL=$ac_cv_path_install
1.1       paf      2847:   else
1.150     moko     2848:     # As a last resort, use the slow shell script.  Don't cache a
                   2849:     # value for INSTALL within a source directory, because that will
1.1       paf      2850:     # break other packages using the cache if that directory is
1.150     moko     2851:     # removed, or if the value is a relative name.
1.62      paf      2852:     INSTALL=$ac_install_sh
1.1       paf      2853:   fi
                   2854: fi
1.150     moko     2855: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
                   2856: $as_echo "$INSTALL" >&6; }
1.1       paf      2857: 
                   2858: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   2859: # It thinks the first close brace ends the variable substitution.
                   2860: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   2861: 
1.62      paf      2862: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1       paf      2863: 
                   2864: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   2865: 
1.150     moko     2866: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
                   2867: $as_echo_n "checking whether build environment is sane... " >&6; }
                   2868: # Reject unsafe characters in $srcdir or the absolute working directory
                   2869: # name.  Accept space and tab only in the latter.
                   2870: am_lf='
                   2871: '
                   2872: case `pwd` in
                   2873:   *[\\\"\#\$\&\'\`$am_lf]*)
                   2874:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
                   2875: esac
                   2876: case $srcdir in
                   2877:   *[\\\"\#\$\&\'\`$am_lf\ \    ]*)
1.187     moko     2878:     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1.150     moko     2879: esac
                   2880: 
1.187     moko     2881: # Do 'set' in a subshell so we don't clobber the current shell's
1.1       paf      2882: # arguments.  Must try -L first in case configure is actually a
                   2883: # symlink; some systems play weird games with the mod time of symlinks
                   2884: # (eg FreeBSD returns the mod time of the symlink's containing
                   2885: # directory).
                   2886: if (
1.187     moko     2887:    am_has_slept=no
                   2888:    for am_try in 1 2; do
                   2889:      echo "timestamp, slept: $am_has_slept" > conftest.file
                   2890:      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
                   2891:      if test "$*" = "X"; then
                   2892:        # -L didn't work.
                   2893:        set X `ls -t "$srcdir/configure" conftest.file`
                   2894:      fi
                   2895:      if test "$*" != "X $srcdir/configure conftest.file" \
                   2896:        && test "$*" != "X conftest.file $srcdir/configure"; then
1.1       paf      2897: 
1.187     moko     2898:        # If neither matched, then we have a broken ls.  This can happen
                   2899:        # if, for instance, CONFIG_SHELL is bash and it inherits a
                   2900:        # broken ls alias from the environment.  This has actually
                   2901:        # happened.  Such a system could not be considered "sane".
                   2902:        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
                   2903:   alias in your environment" "$LINENO" 5
                   2904:      fi
                   2905:      if test "$2" = conftest.file || test $am_try -eq 2; then
                   2906:        break
                   2907:      fi
                   2908:      # Just in case.
                   2909:      sleep 1
                   2910:      am_has_slept=yes
                   2911:    done
1.62      paf      2912:    test "$2" = conftest.file
1.1       paf      2913:    )
                   2914: then
                   2915:    # Ok.
                   2916:    :
                   2917: else
1.150     moko     2918:    as_fn_error $? "newly created file is older than distributed files!
                   2919: Check your system clock" "$LINENO" 5
1.1       paf      2920: fi
1.150     moko     2921: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2922: $as_echo "yes" >&6; }
1.187     moko     2923: # If we didn't sleep, we still need to ensure time stamps of config.status and
                   2924: # generated files are strictly newer.
                   2925: am_sleep_pid=
                   2926: if grep 'slept: no' conftest.file >/dev/null 2>&1; then
                   2927:   ( sleep 1 ) &
                   2928:   am_sleep_pid=$!
                   2929: fi
                   2930: 
                   2931: rm -f conftest.file
                   2932: 
1.1       paf      2933: test "$program_prefix" != NONE &&
1.150     moko     2934:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
1.1       paf      2935: # Use a double $ so make ignores it.
                   2936: test "$program_suffix" != NONE &&
1.150     moko     2937:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
                   2938: # Double any \ or $.
1.62      paf      2939: # By default was `s,x,x', remove it if useless.
1.150     moko     2940: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
                   2941: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1.62      paf      2942: 
1.187     moko     2943: # Expand $ac_aux_dir to an absolute path.
                   2944: am_aux_dir=`cd "$ac_aux_dir" && pwd`
1.62      paf      2945: 
1.150     moko     2946: if test x"${MISSING+set}" != xset; then
1.216     moko     2947:   MISSING="\${SHELL} '$am_aux_dir/missing'"
1.150     moko     2948: fi
1.62      paf      2949: # Use eval to expand $SHELL
1.187     moko     2950: if eval "$MISSING --is-lightweight"; then
                   2951:   am_missing_run="$MISSING "
1.62      paf      2952: else
                   2953:   am_missing_run=
1.187     moko     2954:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
                   2955: $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
1.62      paf      2956: fi
                   2957: 
1.187     moko     2958: if test x"${install_sh+set}" != xset; then
1.150     moko     2959:   case $am_aux_dir in
                   2960:   *\ * | *\    *)
                   2961:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
                   2962:   *)
                   2963:     install_sh="\${SHELL} $am_aux_dir/install-sh"
                   2964:   esac
1.86      paf      2965: fi
                   2966: 
1.187     moko     2967: # Installed binaries are usually stripped using 'strip' when the user
                   2968: # run "make install-strip".  However 'strip' might not be the right
1.150     moko     2969: # tool to use in cross-compilation environments, therefore Automake
1.187     moko     2970: # will honor the 'STRIP' environment variable to overrule this program.
1.150     moko     2971: if test "$cross_compiling" != no; then
                   2972:   if test -n "$ac_tool_prefix"; then
                   2973:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   2974: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   2975: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2976: $as_echo_n "checking for $ac_word... " >&6; }
                   2977: if ${ac_cv_prog_STRIP+:} false; then :
                   2978:   $as_echo_n "(cached) " >&6
                   2979: else
                   2980:   if test -n "$STRIP"; then
                   2981:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   2982: else
                   2983: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2984: for as_dir in $PATH
                   2985: do
                   2986:   IFS=$as_save_IFS
                   2987:   test -z "$as_dir" && as_dir=.
                   2988:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     2989:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.150     moko     2990:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   2991:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2992:     break 2
                   2993:   fi
                   2994: done
                   2995:   done
                   2996: IFS=$as_save_IFS
                   2997: 
                   2998: fi
                   2999: fi
                   3000: STRIP=$ac_cv_prog_STRIP
                   3001: if test -n "$STRIP"; then
                   3002:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   3003: $as_echo "$STRIP" >&6; }
                   3004: else
                   3005:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3006: $as_echo "no" >&6; }
                   3007: fi
                   3008: 
                   3009: 
                   3010: fi
                   3011: if test -z "$ac_cv_prog_STRIP"; then
                   3012:   ac_ct_STRIP=$STRIP
                   3013:   # Extract the first word of "strip", so it can be a program name with args.
                   3014: set dummy strip; ac_word=$2
                   3015: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3016: $as_echo_n "checking for $ac_word... " >&6; }
                   3017: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
                   3018:   $as_echo_n "(cached) " >&6
                   3019: else
                   3020:   if test -n "$ac_ct_STRIP"; then
                   3021:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   3022: else
                   3023: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3024: for as_dir in $PATH
                   3025: do
                   3026:   IFS=$as_save_IFS
                   3027:   test -z "$as_dir" && as_dir=.
                   3028:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     3029:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.150     moko     3030:     ac_cv_prog_ac_ct_STRIP="strip"
                   3031:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3032:     break 2
                   3033:   fi
                   3034: done
                   3035:   done
                   3036: IFS=$as_save_IFS
                   3037: 
                   3038: fi
                   3039: fi
                   3040: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   3041: if test -n "$ac_ct_STRIP"; then
                   3042:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   3043: $as_echo "$ac_ct_STRIP" >&6; }
                   3044: else
                   3045:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3046: $as_echo "no" >&6; }
                   3047: fi
                   3048: 
                   3049:   if test "x$ac_ct_STRIP" = x; then
                   3050:     STRIP=":"
                   3051:   else
                   3052:     case $cross_compiling:$ac_tool_warned in
                   3053: yes:)
                   3054: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3055: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3056: ac_tool_warned=yes ;;
                   3057: esac
                   3058:     STRIP=$ac_ct_STRIP
                   3059:   fi
                   3060: else
                   3061:   STRIP="$ac_cv_prog_STRIP"
                   3062: fi
                   3063: 
                   3064: fi
                   3065: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
                   3066: 
                   3067: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
                   3068: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
                   3069: if test -z "$MKDIR_P"; then
                   3070:   if ${ac_cv_path_mkdir+:} false; then :
                   3071:   $as_echo_n "(cached) " >&6
                   3072: else
                   3073:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3074: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
                   3075: do
                   3076:   IFS=$as_save_IFS
                   3077:   test -z "$as_dir" && as_dir=.
                   3078:     for ac_prog in mkdir gmkdir; do
                   3079:         for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     3080:           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
1.150     moko     3081:           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
                   3082:             'mkdir (GNU coreutils) '* | \
                   3083:             'mkdir (coreutils) '* | \
                   3084:             'mkdir (fileutils) '4.1*)
                   3085:               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
                   3086:               break 3;;
                   3087:           esac
                   3088:         done
                   3089:        done
                   3090:   done
                   3091: IFS=$as_save_IFS
                   3092: 
                   3093: fi
                   3094: 
                   3095:   test -d ./--version && rmdir ./--version
                   3096:   if test "${ac_cv_path_mkdir+set}" = set; then
                   3097:     MKDIR_P="$ac_cv_path_mkdir -p"
                   3098:   else
                   3099:     # As a last resort, use the slow shell script.  Don't cache a
                   3100:     # value for MKDIR_P within a source directory, because that will
                   3101:     # break other packages using the cache if that directory is
                   3102:     # removed, or if the value is a relative name.
                   3103:     MKDIR_P="$ac_install_sh -d"
                   3104:   fi
                   3105: fi
                   3106: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
                   3107: $as_echo "$MKDIR_P" >&6; }
                   3108: 
                   3109: for ac_prog in gawk mawk nawk awk
1.62      paf      3110: do
                   3111:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3112: set dummy $ac_prog; ac_word=$2
1.150     moko     3113: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3114: $as_echo_n "checking for $ac_word... " >&6; }
                   3115: if ${ac_cv_prog_AWK+:} false; then :
                   3116:   $as_echo_n "(cached) " >&6
1.62      paf      3117: else
                   3118:   if test -n "$AWK"; then
                   3119:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   3120: else
                   3121: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3122: for as_dir in $PATH
                   3123: do
                   3124:   IFS=$as_save_IFS
                   3125:   test -z "$as_dir" && as_dir=.
1.150     moko     3126:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     3127:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.62      paf      3128:     ac_cv_prog_AWK="$ac_prog"
1.150     moko     3129:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3130:     break 2
                   3131:   fi
                   3132: done
1.150     moko     3133:   done
                   3134: IFS=$as_save_IFS
1.62      paf      3135: 
                   3136: fi
                   3137: fi
                   3138: AWK=$ac_cv_prog_AWK
                   3139: if test -n "$AWK"; then
1.150     moko     3140:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   3141: $as_echo "$AWK" >&6; }
1.62      paf      3142: else
1.150     moko     3143:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3144: $as_echo "no" >&6; }
1.62      paf      3145: fi
1.1       paf      3146: 
1.150     moko     3147: 
1.62      paf      3148:   test -n "$AWK" && break
                   3149: done
1.1       paf      3150: 
1.150     moko     3151: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   3152: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
                   3153: set x ${MAKE-make}
                   3154: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
                   3155: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
                   3156:   $as_echo_n "(cached) " >&6
1.1       paf      3157: else
1.62      paf      3158:   cat >conftest.make <<\_ACEOF
1.150     moko     3159: SHELL = /bin/sh
1.1       paf      3160: all:
1.150     moko     3161:        @echo '@@@%%%=$(MAKE)=@@@%%%'
1.62      paf      3162: _ACEOF
1.150     moko     3163: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
                   3164: case `${MAKE-make} -f conftest.make 2>/dev/null` in
                   3165:   *@@@%%%=?*=@@@%%%*)
                   3166:     eval ac_cv_prog_make_${ac_make}_set=yes;;
                   3167:   *)
                   3168:     eval ac_cv_prog_make_${ac_make}_set=no;;
                   3169: esac
1.62      paf      3170: rm -f conftest.make
1.1       paf      3171: fi
1.150     moko     3172: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
                   3173:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3174: $as_echo "yes" >&6; }
1.1       paf      3175:   SET_MAKE=
                   3176: else
1.150     moko     3177:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3178: $as_echo "no" >&6; }
1.1       paf      3179:   SET_MAKE="MAKE=${MAKE-make}"
                   3180: fi
                   3181: 
1.86      paf      3182: rm -rf .tst 2>/dev/null
                   3183: mkdir .tst 2>/dev/null
                   3184: if test -d .tst; then
                   3185:   am__leading_dot=.
                   3186: else
                   3187:   am__leading_dot=_
                   3188: fi
                   3189: rmdir .tst 2>/dev/null
                   3190: 
1.187     moko     3191: # Check whether --enable-silent-rules was given.
                   3192: if test "${enable_silent_rules+set}" = set; then :
                   3193:   enableval=$enable_silent_rules;
                   3194: fi
                   3195: 
                   3196: case $enable_silent_rules in # (((
                   3197:   yes) AM_DEFAULT_VERBOSITY=0;;
                   3198:    no) AM_DEFAULT_VERBOSITY=1;;
                   3199:     *) AM_DEFAULT_VERBOSITY=1;;
                   3200: esac
                   3201: am_make=${MAKE-make}
                   3202: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
                   3203: $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
                   3204: if ${am_cv_make_support_nested_variables+:} false; then :
                   3205:   $as_echo_n "(cached) " >&6
                   3206: else
                   3207:   if $as_echo 'TRUE=$(BAR$(V))
                   3208: BAR0=false
                   3209: BAR1=true
                   3210: V=1
                   3211: am__doit:
                   3212:        @$(TRUE)
                   3213: .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
                   3214:   am_cv_make_support_nested_variables=yes
                   3215: else
                   3216:   am_cv_make_support_nested_variables=no
                   3217: fi
                   3218: fi
                   3219: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
                   3220: $as_echo "$am_cv_make_support_nested_variables" >&6; }
                   3221: if test $am_cv_make_support_nested_variables = yes; then
                   3222:     AM_V='$(V)'
                   3223:   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
                   3224: else
                   3225:   AM_V=$AM_DEFAULT_VERBOSITY
                   3226:   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
                   3227: fi
                   3228: AM_BACKSLASH='\'
                   3229: 
1.150     moko     3230: if test "`cd $srcdir && pwd`" != "`pwd`"; then
                   3231:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
                   3232:   # is not polluted with repeated "-I."
                   3233:   am__isrc=' -I$(srcdir)'
                   3234:   # test to see if srcdir already configured
                   3235:   if test -f $srcdir/config.status; then
                   3236:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
                   3237:   fi
1.62      paf      3238: fi
                   3239: 
                   3240: # test whether we have cygpath
                   3241: if test -z "$CYGPATH_W"; then
                   3242:   if (cygpath --version) >/dev/null 2>/dev/null; then
                   3243:     CYGPATH_W='cygpath -w'
                   3244:   else
                   3245:     CYGPATH_W=echo
                   3246:   fi
                   3247: fi
                   3248: 
                   3249: 
                   3250: # Define the identity of the package.
1.128     moko     3251:  PACKAGE='parser'
1.230     moko     3252:  VERSION='3.5.2b'
1.128     moko     3253: 
                   3254: 
                   3255: cat >>confdefs.h <<_ACEOF
                   3256: #define PACKAGE "$PACKAGE"
                   3257: _ACEOF
1.1       paf      3258: 
                   3259: 
1.128     moko     3260: cat >>confdefs.h <<_ACEOF
                   3261: #define VERSION "$VERSION"
                   3262: _ACEOF
                   3263: 
1.62      paf      3264: # Some tools Automake needs.
                   3265: 
                   3266: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
                   3267: 
                   3268: 
                   3269: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   3270: 
                   3271: 
                   3272: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
                   3273: 
                   3274: 
                   3275: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   3276: 
                   3277: 
                   3278: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1.1       paf      3279: 
1.187     moko     3280: # For better backward compatibility.  To be removed once Automake 1.9.x
                   3281: # dies out for good.  For more background, see:
1.199     moko     3282: # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
                   3283: # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
1.187     moko     3284: mkdir_p='$(MKDIR_P)'
                   3285: 
                   3286: # We need awk for the "check" target (and possibly the TAP driver).  The
                   3287: # system "awk" is bad on some platforms.
                   3288: # Always define AMTAR for backward compatibility.  Yes, it's still used
                   3289: # in the wild :-(  We should find a proper way to deprecate it ...
                   3290: AMTAR='$${TAR-tar}'
                   3291: 
                   3292: 
                   3293: # We'll loop over all known methods to create a tar archive until one works.
                   3294: _am_tools='gnutar  pax cpio none'
                   3295: 
                   3296: am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
                   3297: 
1.86      paf      3298: 
                   3299: 
                   3300: 
                   3301: 
1.62      paf      3302: 
1.187     moko     3303: # POSIX will say in a future version that running "rm -f" with no argument
                   3304: # is OK; and we want to be able to make that assumption in our Makefile
                   3305: # recipes.  So use an aggressive probe to check that the usage we want is
                   3306: # actually supported "in the wild" to an acceptable degree.
                   3307: # See automake bug#10828.
                   3308: # To make any issue more visible, cause the running configure to be aborted
                   3309: # by default if the 'rm' program in use doesn't match our expectations; the
                   3310: # user can still override this though.
                   3311: if rm -f && rm -fr && rm -rf; then : OK; else
                   3312:   cat >&2 <<'END'
                   3313: Oops!
1.1       paf      3314: 
1.187     moko     3315: Your 'rm' program seems unable to run without file operands specified
                   3316: on the command line, even when the '-f' option is present.  This is contrary
                   3317: to the behaviour of most rm programs out there, and not conforming with
                   3318: the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
                   3319: 
                   3320: Please tell bug-automake@gnu.org about your system, including the value
                   3321: of your $PATH and any error possibly output before this message.  This
                   3322: can help us improve future automake versions.
                   3323: 
                   3324: END
                   3325:   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
                   3326:     echo 'Configuration will proceed anyway, since you have set the' >&2
                   3327:     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
                   3328:     echo >&2
                   3329:   else
                   3330:     cat >&2 <<'END'
                   3331: Aborting the configuration process, to ensure you take notice of the issue.
                   3332: 
                   3333: You can download and install GNU coreutils to get an 'rm' implementation
1.199     moko     3334: that behaves properly: <https://www.gnu.org/software/coreutils/>.
1.187     moko     3335: 
                   3336: If you want to complete the configuration process using your problematic
                   3337: 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
                   3338: to "yes", and re-run configure.
                   3339: 
                   3340: END
                   3341:     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
                   3342:   fi
                   3343: fi
1.1       paf      3344: 
                   3345: 
1.128     moko     3346: 
1.12      paf      3347: P3S=`cd $srcdir/src ; pwd`
1.1       paf      3348: 
                   3349: 
1.128     moko     3350: 
1.41      paf      3351: # Make sure we can run config.sub.
1.150     moko     3352: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
                   3353:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1.62      paf      3354: 
1.150     moko     3355: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
                   3356: $as_echo_n "checking build system type... " >&6; }
                   3357: if ${ac_cv_build+:} false; then :
                   3358:   $as_echo_n "(cached) " >&6
                   3359: else
                   3360:   ac_build_alias=$build_alias
                   3361: test "x$ac_build_alias" = x &&
                   3362:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
                   3363: test "x$ac_build_alias" = x &&
                   3364:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
                   3365: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
                   3366:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
                   3367: 
                   3368: fi
                   3369: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
                   3370: $as_echo "$ac_cv_build" >&6; }
                   3371: case $ac_cv_build in
                   3372: *-*-*) ;;
                   3373: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
                   3374: esac
                   3375: build=$ac_cv_build
                   3376: ac_save_IFS=$IFS; IFS='-'
                   3377: set x $ac_cv_build
                   3378: shift
                   3379: build_cpu=$1
                   3380: build_vendor=$2
                   3381: shift; shift
                   3382: # Remember, the first character of IFS is used to create $*,
                   3383: # except with old shells:
                   3384: build_os=$*
                   3385: IFS=$ac_save_IFS
                   3386: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
                   3387: 
                   3388: 
                   3389: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
                   3390: $as_echo_n "checking host system type... " >&6; }
                   3391: if ${ac_cv_host+:} false; then :
                   3392:   $as_echo_n "(cached) " >&6
                   3393: else
                   3394:   if test "x$host_alias" = x; then
                   3395:   ac_cv_host=$ac_cv_build
                   3396: else
                   3397:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
                   3398:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1.62      paf      3399: fi
                   3400: 
                   3401: fi
1.150     moko     3402: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
                   3403: $as_echo "$ac_cv_host" >&6; }
                   3404: case $ac_cv_host in
                   3405: *-*-*) ;;
                   3406: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
                   3407: esac
1.62      paf      3408: host=$ac_cv_host
1.150     moko     3409: ac_save_IFS=$IFS; IFS='-'
                   3410: set x $ac_cv_host
                   3411: shift
                   3412: host_cpu=$1
                   3413: host_vendor=$2
                   3414: shift; shift
                   3415: # Remember, the first character of IFS is used to create $*,
                   3416: # except with old shells:
                   3417: host_os=$*
                   3418: IFS=$ac_save_IFS
                   3419: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1.81      paf      3420: 
                   3421: 
                   3422: 
1.148     moko     3423: cat >>confdefs.h <<_ACEOF
                   3424: #define PARSER_VERSION "$VERSION (compiled on $host)"
1.147     moko     3425: _ACEOF
                   3426: 
                   3427: 
1.41      paf      3428: 
1.67      paf      3429: case $host_os in
                   3430:   *cygwin* )
1.150     moko     3431: $as_echo "#define CYGWIN /**/" >>confdefs.h
1.67      paf      3432: ;;
                   3433: esac
1.41      paf      3434: 
1.128     moko     3435: 
1.1       paf      3436: 
1.62      paf      3437: for ac_prog in gawk mawk nawk awk
1.41      paf      3438: do
1.62      paf      3439:   # Extract the first word of "$ac_prog", so it can be a program name with args.
1.41      paf      3440: set dummy $ac_prog; ac_word=$2
1.150     moko     3441: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3442: $as_echo_n "checking for $ac_word... " >&6; }
                   3443: if ${ac_cv_prog_AWK+:} false; then :
                   3444:   $as_echo_n "(cached) " >&6
1.41      paf      3445: else
                   3446:   if test -n "$AWK"; then
                   3447:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   3448: else
1.62      paf      3449: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3450: for as_dir in $PATH
                   3451: do
                   3452:   IFS=$as_save_IFS
                   3453:   test -z "$as_dir" && as_dir=.
1.150     moko     3454:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     3455:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.62      paf      3456:     ac_cv_prog_AWK="$ac_prog"
1.150     moko     3457:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3458:     break 2
                   3459:   fi
                   3460: done
1.150     moko     3461:   done
                   3462: IFS=$as_save_IFS
1.62      paf      3463: 
1.41      paf      3464: fi
                   3465: fi
1.62      paf      3466: AWK=$ac_cv_prog_AWK
1.41      paf      3467: if test -n "$AWK"; then
1.150     moko     3468:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   3469: $as_echo "$AWK" >&6; }
1.41      paf      3470: else
1.150     moko     3471:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3472: $as_echo "no" >&6; }
1.41      paf      3473: fi
                   3474: 
1.150     moko     3475: 
1.62      paf      3476:   test -n "$AWK" && break
1.41      paf      3477: done
                   3478: 
                   3479: 
                   3480: for ac_prog in 'bison -y' byacc
                   3481: do
1.62      paf      3482:   # Extract the first word of "$ac_prog", so it can be a program name with args.
1.41      paf      3483: set dummy $ac_prog; ac_word=$2
1.150     moko     3484: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3485: $as_echo_n "checking for $ac_word... " >&6; }
                   3486: if ${ac_cv_prog_YACC+:} false; then :
                   3487:   $as_echo_n "(cached) " >&6
1.41      paf      3488: else
                   3489:   if test -n "$YACC"; then
                   3490:   ac_cv_prog_YACC="$YACC" # Let the user override the test.
                   3491: else
1.62      paf      3492: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3493: for as_dir in $PATH
                   3494: do
                   3495:   IFS=$as_save_IFS
                   3496:   test -z "$as_dir" && as_dir=.
1.150     moko     3497:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     3498:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.62      paf      3499:     ac_cv_prog_YACC="$ac_prog"
1.150     moko     3500:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3501:     break 2
                   3502:   fi
                   3503: done
1.150     moko     3504:   done
                   3505: IFS=$as_save_IFS
1.62      paf      3506: 
1.41      paf      3507: fi
                   3508: fi
1.62      paf      3509: YACC=$ac_cv_prog_YACC
1.41      paf      3510: if test -n "$YACC"; then
1.150     moko     3511:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
                   3512: $as_echo "$YACC" >&6; }
1.41      paf      3513: else
1.150     moko     3514:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3515: $as_echo "no" >&6; }
1.41      paf      3516: fi
                   3517: 
1.150     moko     3518: 
1.62      paf      3519:   test -n "$YACC" && break
1.41      paf      3520: done
                   3521: test -n "$YACC" || YACC="yacc"
                   3522: 
                   3523: if test "$YACC" != "bison -y"; then
1.150     moko     3524:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&5
                   3525: $as_echo "$as_me: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&2;}
1.41      paf      3526: else
1.150     moko     3527:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking bison version" >&5
                   3528: $as_echo_n "checking bison version... " >&6; }
1.67      paf      3529:        oldIFS=$IFS; IFS=.
                   3530:        set `bison -V | sed -e 's/^GNU Bison version //' -e 's/^bison (GNU Bison) //' -e 's/$/./'`
                   3531:        IFS=$oldIFS
                   3532:        if test "$1" = "1" -a "$2" -lt "25"; then
1.150     moko     3533:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&5
                   3534: $as_echo "$as_me: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&2;}
1.67      paf      3535:        fi
1.150     moko     3536:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $1.$2 (ok)" >&5
                   3537: $as_echo "$1.$2 (ok)" >&6; }
1.62      paf      3538: fi
                   3539: 
1.150     moko     3540: ac_ext=cpp
1.66      paf      3541: ac_cpp='$CXXCPP $CPPFLAGS'
                   3542: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3543: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3544: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.150     moko     3545: if test -z "$CXX"; then
                   3546:   if test -n "$CCC"; then
                   3547:     CXX=$CCC
                   3548:   else
                   3549:     if test -n "$ac_tool_prefix"; then
                   3550:   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1.66      paf      3551:   do
                   3552:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3553: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150     moko     3554: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3555: $as_echo_n "checking for $ac_word... " >&6; }
                   3556: if ${ac_cv_prog_CXX+:} false; then :
                   3557:   $as_echo_n "(cached) " >&6
1.62      paf      3558: else
1.66      paf      3559:   if test -n "$CXX"; then
                   3560:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
1.62      paf      3561: else
                   3562: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3563: for as_dir in $PATH
                   3564: do
                   3565:   IFS=$as_save_IFS
                   3566:   test -z "$as_dir" && as_dir=.
1.150     moko     3567:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     3568:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      3569:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1.150     moko     3570:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3571:     break 2
                   3572:   fi
                   3573: done
1.150     moko     3574:   done
                   3575: IFS=$as_save_IFS
1.62      paf      3576: 
                   3577: fi
                   3578: fi
1.66      paf      3579: CXX=$ac_cv_prog_CXX
                   3580: if test -n "$CXX"; then
1.150     moko     3581:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
                   3582: $as_echo "$CXX" >&6; }
1.62      paf      3583: else
1.150     moko     3584:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3585: $as_echo "no" >&6; }
1.41      paf      3586: fi
                   3587: 
1.150     moko     3588: 
1.66      paf      3589:     test -n "$CXX" && break
                   3590:   done
1.62      paf      3591: fi
1.66      paf      3592: if test -z "$CXX"; then
                   3593:   ac_ct_CXX=$CXX
1.150     moko     3594:   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1.66      paf      3595: do
                   3596:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3597: set dummy $ac_prog; ac_word=$2
1.150     moko     3598: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3599: $as_echo_n "checking for $ac_word... " >&6; }
                   3600: if ${ac_cv_prog_ac_ct_CXX+:} false; then :
                   3601:   $as_echo_n "(cached) " >&6
1.62      paf      3602: else
1.66      paf      3603:   if test -n "$ac_ct_CXX"; then
                   3604:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1.62      paf      3605: else
                   3606: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3607: for as_dir in $PATH
                   3608: do
                   3609:   IFS=$as_save_IFS
                   3610:   test -z "$as_dir" && as_dir=.
1.150     moko     3611:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     3612:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      3613:     ac_cv_prog_ac_ct_CXX="$ac_prog"
1.150     moko     3614:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3615:     break 2
                   3616:   fi
                   3617: done
1.150     moko     3618:   done
                   3619: IFS=$as_save_IFS
1.62      paf      3620: 
                   3621: fi
                   3622: fi
1.66      paf      3623: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
                   3624: if test -n "$ac_ct_CXX"; then
1.150     moko     3625:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
                   3626: $as_echo "$ac_ct_CXX" >&6; }
1.62      paf      3627: else
1.150     moko     3628:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3629: $as_echo "no" >&6; }
1.62      paf      3630: fi
                   3631: 
1.150     moko     3632: 
1.66      paf      3633:   test -n "$ac_ct_CXX" && break
                   3634: done
                   3635: 
1.150     moko     3636:   if test "x$ac_ct_CXX" = x; then
                   3637:     CXX="g++"
                   3638:   else
                   3639:     case $cross_compiling:$ac_tool_warned in
                   3640: yes:)
                   3641: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3642: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3643: ac_tool_warned=yes ;;
                   3644: esac
                   3645:     CXX=$ac_ct_CXX
                   3646:   fi
1.62      paf      3647: fi
                   3648: 
1.150     moko     3649:   fi
                   3650: fi
1.66      paf      3651: # Provide some information about the compiler.
1.150     moko     3652: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
                   3653: set X $ac_compile
                   3654: ac_compiler=$2
                   3655: for ac_option in --version -v -V -qversion; do
                   3656:   { { ac_try="$ac_compiler $ac_option >&5"
                   3657: case "(($ac_try" in
                   3658:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3659:   *) ac_try_echo=$ac_try;;
                   3660: esac
                   3661: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3662: $as_echo "$ac_try_echo"; } >&5
                   3663:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.66      paf      3664:   ac_status=$?
1.150     moko     3665:   if test -s conftest.err; then
                   3666:     sed '10a\
                   3667: ... rest of stderr output deleted ...
                   3668:          10q' conftest.err >conftest.er1
                   3669:     cat conftest.er1 >&5
                   3670:   fi
                   3671:   rm -f conftest.er1 conftest.err
                   3672:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3673:   test $ac_status = 0; }
                   3674: done
1.66      paf      3675: 
1.150     moko     3676: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      3677: /* end confdefs.h.  */
                   3678: 
                   3679: int
                   3680: main ()
                   3681: {
                   3682: 
                   3683:   ;
                   3684:   return 0;
                   3685: }
                   3686: _ACEOF
                   3687: ac_clean_files_save=$ac_clean_files
1.150     moko     3688: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
1.66      paf      3689: # Try to create an executable without -o first, disregard a.out.
                   3690: # It will help us diagnose broken compilers, and finding out an intuition
                   3691: # of exeext.
1.150     moko     3692: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
                   3693: $as_echo_n "checking whether the C++ compiler works... " >&6; }
                   3694: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   3695: 
                   3696: # The possible output files:
                   3697: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
                   3698: 
                   3699: ac_rmfiles=
                   3700: for ac_file in $ac_files
                   3701: do
                   3702:   case $ac_file in
                   3703:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3704:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
                   3705:   esac
                   3706: done
                   3707: rm -f $ac_rmfiles
                   3708: 
                   3709: if { { ac_try="$ac_link_default"
                   3710: case "(($ac_try" in
                   3711:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3712:   *) ac_try_echo=$ac_try;;
                   3713: esac
                   3714: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3715: $as_echo "$ac_try_echo"; } >&5
                   3716:   (eval "$ac_link_default") 2>&5
                   3717:   ac_status=$?
                   3718:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3719:   test $ac_status = 0; }; then :
                   3720:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
                   3721: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
                   3722: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
                   3723: # so that the user can short-circuit this test for compilers unknown to
                   3724: # Autoconf.
                   3725: for ac_file in $ac_files ''
1.62      paf      3726: do
1.66      paf      3727:   test -f "$ac_file" || continue
                   3728:   case $ac_file in
1.150     moko     3729:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
1.86      paf      3730:        ;;
1.66      paf      3731:     [ab].out )
1.86      paf      3732:        # We found the default executable, but exeext='' is most
                   3733:        # certainly right.
                   3734:        break;;
1.66      paf      3735:     *.* )
1.150     moko     3736:        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
                   3737:        then :; else
                   3738:           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3739:        fi
                   3740:        # We set ac_cv_exeext here because the later test for it is not
                   3741:        # safe: cross compilers may not add the suffix if given an `-o'
                   3742:        # argument, so we may need to know it at that point already.
                   3743:        # Even if this section looks crufty: it has the advantage of
                   3744:        # actually working.
1.86      paf      3745:        break;;
1.66      paf      3746:     * )
1.86      paf      3747:        break;;
1.66      paf      3748:   esac
1.62      paf      3749: done
1.150     moko     3750: test "$ac_cv_exeext" = no && ac_cv_exeext=
                   3751: 
1.66      paf      3752: else
1.150     moko     3753:   ac_file=''
                   3754: fi
                   3755: if test -z "$ac_file"; then :
                   3756:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3757: $as_echo "no" >&6; }
                   3758: $as_echo "$as_me: failed program was:" >&5
1.66      paf      3759: sed 's/^/| /' conftest.$ac_ext >&5
1.62      paf      3760: 
1.150     moko     3761: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3762: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3763: as_fn_error 77 "C++ compiler cannot create executables
                   3764: See \`config.log' for more details" "$LINENO" 5; }
                   3765: else
                   3766:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3767: $as_echo "yes" >&6; }
1.1       paf      3768: fi
1.150     moko     3769: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
                   3770: $as_echo_n "checking for C++ compiler default output file name... " >&6; }
                   3771: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
                   3772: $as_echo "$ac_file" >&6; }
1.66      paf      3773: ac_exeext=$ac_cv_exeext
1.62      paf      3774: 
1.150     moko     3775: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
1.66      paf      3776: ac_clean_files=$ac_clean_files_save
1.150     moko     3777: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
                   3778: $as_echo_n "checking for suffix of executables... " >&6; }
                   3779: if { { ac_try="$ac_link"
                   3780: case "(($ac_try" in
                   3781:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3782:   *) ac_try_echo=$ac_try;;
                   3783: esac
                   3784: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3785: $as_echo "$ac_try_echo"; } >&5
                   3786:   (eval "$ac_link") 2>&5
1.62      paf      3787:   ac_status=$?
1.150     moko     3788:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3789:   test $ac_status = 0; }; then :
1.62      paf      3790:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   3791: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   3792: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   3793: # `rm'.
                   3794: for ac_file in conftest.exe conftest conftest.*; do
                   3795:   test -f "$ac_file" || continue
                   3796:   case $ac_file in
1.150     moko     3797:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
1.62      paf      3798:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.86      paf      3799:          break;;
1.62      paf      3800:     * ) break;;
                   3801:   esac
                   3802: done
                   3803: else
1.150     moko     3804:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3805: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3806: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
                   3807: See \`config.log' for more details" "$LINENO" 5; }
                   3808: fi
                   3809: rm -f conftest conftest$ac_cv_exeext
                   3810: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
                   3811: $as_echo "$ac_cv_exeext" >&6; }
1.62      paf      3812: 
                   3813: rm -f conftest.$ac_ext
                   3814: EXEEXT=$ac_cv_exeext
                   3815: ac_exeext=$EXEEXT
1.150     moko     3816: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3817: /* end confdefs.h.  */
                   3818: #include <stdio.h>
                   3819: int
                   3820: main ()
                   3821: {
                   3822: FILE *f = fopen ("conftest.out", "w");
                   3823:  return ferror (f) || fclose (f) != 0;
                   3824: 
                   3825:   ;
                   3826:   return 0;
                   3827: }
                   3828: _ACEOF
                   3829: ac_clean_files="$ac_clean_files conftest.out"
                   3830: # Check that the compiler produces executables we can run.  If not, either
                   3831: # the compiler is broken, or we cross compile.
                   3832: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
                   3833: $as_echo_n "checking whether we are cross compiling... " >&6; }
                   3834: if test "$cross_compiling" != yes; then
                   3835:   { { ac_try="$ac_link"
                   3836: case "(($ac_try" in
                   3837:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3838:   *) ac_try_echo=$ac_try;;
                   3839: esac
                   3840: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3841: $as_echo "$ac_try_echo"; } >&5
                   3842:   (eval "$ac_link") 2>&5
                   3843:   ac_status=$?
                   3844:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3845:   test $ac_status = 0; }
                   3846:   if { ac_try='./conftest$ac_cv_exeext'
                   3847:   { { case "(($ac_try" in
                   3848:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3849:   *) ac_try_echo=$ac_try;;
                   3850: esac
                   3851: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3852: $as_echo "$ac_try_echo"; } >&5
                   3853:   (eval "$ac_try") 2>&5
                   3854:   ac_status=$?
                   3855:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3856:   test $ac_status = 0; }; }; then
                   3857:     cross_compiling=no
                   3858:   else
                   3859:     if test "$cross_compiling" = maybe; then
                   3860:        cross_compiling=yes
                   3861:     else
                   3862:        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3863: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3864: as_fn_error $? "cannot run C++ compiled programs.
                   3865: If you meant to cross compile, use \`--host'.
                   3866: See \`config.log' for more details" "$LINENO" 5; }
                   3867:     fi
                   3868:   fi
                   3869: fi
                   3870: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
                   3871: $as_echo "$cross_compiling" >&6; }
                   3872: 
                   3873: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
                   3874: ac_clean_files=$ac_clean_files_save
                   3875: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
                   3876: $as_echo_n "checking for suffix of object files... " >&6; }
                   3877: if ${ac_cv_objext+:} false; then :
                   3878:   $as_echo_n "(cached) " >&6
1.62      paf      3879: else
1.150     moko     3880:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      3881: /* end confdefs.h.  */
                   3882: 
                   3883: int
                   3884: main ()
                   3885: {
                   3886: 
                   3887:   ;
                   3888:   return 0;
                   3889: }
                   3890: _ACEOF
                   3891: rm -f conftest.o conftest.obj
1.150     moko     3892: if { { ac_try="$ac_compile"
                   3893: case "(($ac_try" in
                   3894:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3895:   *) ac_try_echo=$ac_try;;
                   3896: esac
                   3897: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3898: $as_echo "$ac_try_echo"; } >&5
                   3899:   (eval "$ac_compile") 2>&5
                   3900:   ac_status=$?
                   3901:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3902:   test $ac_status = 0; }; then :
                   3903:   for ac_file in conftest.o conftest.obj conftest.*; do
                   3904:   test -f "$ac_file" || continue;
1.62      paf      3905:   case $ac_file in
1.150     moko     3906:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
1.62      paf      3907:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   3908:        break;;
                   3909:   esac
                   3910: done
                   3911: else
1.150     moko     3912:   $as_echo "$as_me: failed program was:" >&5
1.62      paf      3913: sed 's/^/| /' conftest.$ac_ext >&5
                   3914: 
1.150     moko     3915: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3916: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3917: as_fn_error $? "cannot compute suffix of object files: cannot compile
                   3918: See \`config.log' for more details" "$LINENO" 5; }
1.62      paf      3919: fi
                   3920: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   3921: fi
1.150     moko     3922: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
                   3923: $as_echo "$ac_cv_objext" >&6; }
1.66      paf      3924: OBJEXT=$ac_cv_objext
                   3925: ac_objext=$OBJEXT
1.150     moko     3926: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
                   3927: $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
                   3928: if ${ac_cv_cxx_compiler_gnu+:} false; then :
                   3929:   $as_echo_n "(cached) " >&6
1.62      paf      3930: else
1.150     moko     3931:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      3932: /* end confdefs.h.  */
1.66      paf      3933: 
1.62      paf      3934: int
                   3935: main ()
                   3936: {
1.66      paf      3937: #ifndef __GNUC__
                   3938:        choke me
                   3939: #endif
                   3940: 
1.62      paf      3941:   ;
                   3942:   return 0;
                   3943: }
                   3944: _ACEOF
1.150     moko     3945: if ac_fn_cxx_try_compile "$LINENO"; then :
1.66      paf      3946:   ac_compiler_gnu=yes
1.62      paf      3947: else
1.150     moko     3948:   ac_compiler_gnu=no
1.1       paf      3949: fi
1.150     moko     3950: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      3951: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1.1       paf      3952: 
                   3953: fi
1.150     moko     3954: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
                   3955: $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
                   3956: if test $ac_compiler_gnu = yes; then
                   3957:   GXX=yes
                   3958: else
                   3959:   GXX=
                   3960: fi
1.66      paf      3961: ac_test_CXXFLAGS=${CXXFLAGS+set}
                   3962: ac_save_CXXFLAGS=$CXXFLAGS
1.150     moko     3963: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
                   3964: $as_echo_n "checking whether $CXX accepts -g... " >&6; }
                   3965: if ${ac_cv_prog_cxx_g+:} false; then :
                   3966:   $as_echo_n "(cached) " >&6
                   3967: else
                   3968:   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
                   3969:    ac_cxx_werror_flag=yes
                   3970:    ac_cv_prog_cxx_g=no
                   3971:    CXXFLAGS="-g"
                   3972:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      3973: /* end confdefs.h.  */
1.1       paf      3974: 
1.66      paf      3975: int
                   3976: main ()
                   3977: {
1.1       paf      3978: 
1.66      paf      3979:   ;
                   3980:   return 0;
                   3981: }
1.62      paf      3982: _ACEOF
1.150     moko     3983: if ac_fn_cxx_try_compile "$LINENO"; then :
1.66      paf      3984:   ac_cv_prog_cxx_g=yes
                   3985: else
1.150     moko     3986:   CXXFLAGS=""
                   3987:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3988: /* end confdefs.h.  */
1.66      paf      3989: 
1.62      paf      3990: int
                   3991: main ()
                   3992: {
1.150     moko     3993: 
1.62      paf      3994:   ;
                   3995:   return 0;
                   3996: }
                   3997: _ACEOF
1.150     moko     3998: if ac_fn_cxx_try_compile "$LINENO"; then :
                   3999: 
1.1       paf      4000: else
1.150     moko     4001:   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
                   4002:         CXXFLAGS="-g"
                   4003:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4004: /* end confdefs.h.  */
1.62      paf      4005: 
                   4006: int
                   4007: main ()
                   4008: {
1.150     moko     4009: 
1.62      paf      4010:   ;
                   4011:   return 0;
                   4012: }
                   4013: _ACEOF
1.150     moko     4014: if ac_fn_cxx_try_compile "$LINENO"; then :
                   4015:   ac_cv_prog_cxx_g=yes
                   4016: fi
                   4017: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4018: fi
                   4019: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4020: fi
                   4021: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4022:    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
                   4023: fi
                   4024: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
                   4025: $as_echo "$ac_cv_prog_cxx_g" >&6; }
                   4026: if test "$ac_test_CXXFLAGS" = set; then
                   4027:   CXXFLAGS=$ac_save_CXXFLAGS
                   4028: elif test $ac_cv_prog_cxx_g = yes; then
                   4029:   if test "$GXX" = yes; then
                   4030:     CXXFLAGS="-g -O2"
                   4031:   else
                   4032:     CXXFLAGS="-g"
                   4033:   fi
1.1       paf      4034: else
1.150     moko     4035:   if test "$GXX" = yes; then
                   4036:     CXXFLAGS="-O2"
                   4037:   else
                   4038:     CXXFLAGS=
                   4039:   fi
1.1       paf      4040: fi
1.62      paf      4041: ac_ext=c
                   4042: ac_cpp='$CPP $CPPFLAGS'
                   4043: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4044: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4045: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.86      paf      4046: DEPDIR="${am__leading_dot}deps"
1.62      paf      4047: 
1.150     moko     4048: ac_config_commands="$ac_config_commands depfiles"
1.62      paf      4049: 
1.199     moko     4050: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
                   4051: $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
                   4052: cat > confinc.mk << 'END'
1.86      paf      4053: am__doit:
1.199     moko     4054:        @echo this is the am__doit target >confinc.out
1.86      paf      4055: .PHONY: am__doit
1.62      paf      4056: END
                   4057: am__include="#"
                   4058: am__quote=
1.199     moko     4059: # BSD make does it like this.
                   4060: echo '.include "confinc.mk" # ignored' > confmf.BSD
                   4061: # Other make implementations (GNU, Solaris 10, AIX) do it like this.
                   4062: echo 'include confinc.mk # ignored' > confmf.GNU
                   4063: _am_result=no
                   4064: for s in GNU BSD; do
                   4065:   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
                   4066:    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
                   4067:    ac_status=$?
                   4068:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4069:    (exit $ac_status); }
                   4070:   case $?:`cat confinc.out 2>/dev/null` in #(
                   4071:   '0:this is the am__doit target') :
                   4072:     case $s in #(
                   4073:   BSD) :
                   4074:     am__include='.include' am__quote='"' ;; #(
                   4075:   *) :
                   4076:     am__include='include' am__quote='' ;;
                   4077: esac ;; #(
                   4078:   *) :
1.150     moko     4079:      ;;
1.199     moko     4080: esac
                   4081:   if test "$am__include" != "#"; then
                   4082:     _am_result="yes ($s style)"
                   4083:     break
                   4084:   fi
                   4085: done
                   4086: rm -f confinc.* confmf.*
                   4087: { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
                   4088: $as_echo "${_am_result}" >&6; }
1.62      paf      4089: 
1.150     moko     4090: # Check whether --enable-dependency-tracking was given.
                   4091: if test "${enable_dependency_tracking+set}" = set; then :
                   4092:   enableval=$enable_dependency_tracking;
                   4093: fi
1.62      paf      4094: 
                   4095: if test "x$enable_dependency_tracking" != xno; then
                   4096:   am_depcomp="$ac_aux_dir/depcomp"
                   4097:   AMDEPBACKSLASH='\'
1.187     moko     4098:   am__nodep='_no'
1.1       paf      4099: fi
1.150     moko     4100:  if test "x$enable_dependency_tracking" != xno; then
1.62      paf      4101:   AMDEP_TRUE=
                   4102:   AMDEP_FALSE='#'
                   4103: else
                   4104:   AMDEP_TRUE='#'
                   4105:   AMDEP_FALSE=
                   4106: fi
1.1       paf      4107: 
                   4108: 
                   4109: 
1.66      paf      4110: depcc="$CXX"  am_compiler_list=
1.1       paf      4111: 
1.150     moko     4112: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   4113: $as_echo_n "checking dependency style of $depcc... " >&6; }
                   4114: if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
                   4115:   $as_echo_n "(cached) " >&6
1.62      paf      4116: else
                   4117:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   4118:   # We make a subdir and do the tests there.  Otherwise we can end up
                   4119:   # making bogus files that we don't know about and never remove.  For
                   4120:   # instance it was reported that on HP-UX the gcc test will end up
1.187     moko     4121:   # making a dummy file named 'D' -- because '-MD' means "put the output
                   4122:   # in D".
                   4123:   rm -rf conftest.dir
1.62      paf      4124:   mkdir conftest.dir
                   4125:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   4126:   # using a relative directory.
                   4127:   cp "$am_depcomp" conftest.dir
                   4128:   cd conftest.dir
1.86      paf      4129:   # We will build objects and dependencies in a subdirectory because
                   4130:   # it helps to detect inapplicable dependency modes.  For instance
                   4131:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   4132:   # side effect of compilation, but ICC will put the dependencies in
                   4133:   # the current directory while Tru64 will put them in the object
                   4134:   # directory.
                   4135:   mkdir sub
1.1       paf      4136: 
1.66      paf      4137:   am_cv_CXX_dependencies_compiler_type=none
1.62      paf      4138:   if test "$am_compiler_list" = ""; then
                   4139:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.1       paf      4140:   fi
1.150     moko     4141:   am__universal=false
                   4142:   case " $depcc " in #(
                   4143:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   4144:      esac
                   4145: 
1.62      paf      4146:   for depmode in $am_compiler_list; do
1.86      paf      4147:     # Setup a source with many dependencies, because some compilers
                   4148:     # like to wrap large dependency lists on column 80 (with \), and
                   4149:     # we should not choose a depcomp mode which is confused by this.
                   4150:     #
1.62      paf      4151:     # We need to recreate these files for each test, as the compiler may
                   4152:     # overwrite some of them when testing with obscure command lines.
                   4153:     # This happens at least with the AIX C compiler.
1.86      paf      4154:     : > sub/conftest.c
                   4155:     for i in 1 2 3 4 5 6; do
                   4156:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.187     moko     4157:       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
                   4158:       # Solaris 10 /bin/sh.
                   4159:       echo '/* dummy */' > sub/conftst$i.h
1.86      paf      4160:     done
                   4161:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.62      paf      4162: 
1.187     moko     4163:     # We check with '-c' and '-o' for the sake of the "dashmstdout"
1.150     moko     4164:     # mode.  It turns out that the SunPro C++ compiler does not properly
1.187     moko     4165:     # handle '-M -o', and we need to detect this.  Also, some Intel
                   4166:     # versions had trouble with output in subdirs.
1.150     moko     4167:     am__obj=sub/conftest.${OBJEXT-o}
                   4168:     am__minus_obj="-o $am__obj"
1.62      paf      4169:     case $depmode in
1.150     moko     4170:     gcc)
                   4171:       # This depmode causes a compiler race in universal mode.
                   4172:       test "$am__universal" = false || continue
                   4173:       ;;
1.62      paf      4174:     nosideeffect)
1.187     moko     4175:       # After this tag, mechanisms are not by side-effect, so they'll
                   4176:       # only be used when explicitly requested.
1.62      paf      4177:       if test "x$enable_dependency_tracking" = xyes; then
                   4178:        continue
                   4179:       else
                   4180:        break
                   4181:       fi
                   4182:       ;;
1.187     moko     4183:     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
                   4184:       # This compiler won't grok '-c -o', but also, the minuso test has
1.150     moko     4185:       # not run yet.  These depmodes are late enough in the game, and
                   4186:       # so weak that their functioning should not be impacted.
                   4187:       am__obj=conftest.${OBJEXT-o}
                   4188:       am__minus_obj=
                   4189:       ;;
1.62      paf      4190:     none) break ;;
                   4191:     esac
                   4192:     if depmode=$depmode \
1.150     moko     4193:        source=sub/conftest.c object=$am__obj \
1.86      paf      4194:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.150     moko     4195:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1.86      paf      4196:          >/dev/null 2>conftest.err &&
1.150     moko     4197:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1.86      paf      4198:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.150     moko     4199:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1.62      paf      4200:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.86      paf      4201:       # icc doesn't choke on unknown options, it will just issue warnings
                   4202:       # or remarks (even with -Werror).  So we grep stderr for any message
                   4203:       # that says an option was ignored or not supported.
                   4204:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   4205:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   4206:       # The diagnosis changed in icc 8.0:
                   4207:       #   icc: Command line remark: option '-MP' not supported
                   4208:       if (grep 'ignoring option' conftest.err ||
                   4209:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   4210:         am_cv_CXX_dependencies_compiler_type=$depmode
                   4211:         break
                   4212:       fi
1.66      paf      4213:     fi
                   4214:   done
                   4215: 
                   4216:   cd ..
                   4217:   rm -rf conftest.dir
                   4218: else
                   4219:   am_cv_CXX_dependencies_compiler_type=none
                   4220: fi
                   4221: 
                   4222: fi
1.150     moko     4223: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
                   4224: $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
1.66      paf      4225: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
                   4226: 
1.150     moko     4227:  if
1.66      paf      4228:   test "x$enable_dependency_tracking" != xno \
                   4229:   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
                   4230:   am__fastdepCXX_TRUE=
                   4231:   am__fastdepCXX_FALSE='#'
                   4232: else
                   4233:   am__fastdepCXX_TRUE='#'
                   4234:   am__fastdepCXX_FALSE=
                   4235: fi
                   4236: 
                   4237: 
                   4238: ac_ext=c
                   4239: ac_cpp='$CPP $CPPFLAGS'
                   4240: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4241: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4242: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4243: if test -n "$ac_tool_prefix"; then
                   4244:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   4245: set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.150     moko     4246: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4247: $as_echo_n "checking for $ac_word... " >&6; }
                   4248: if ${ac_cv_prog_CC+:} false; then :
                   4249:   $as_echo_n "(cached) " >&6
1.66      paf      4250: else
                   4251:   if test -n "$CC"; then
                   4252:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   4253: else
                   4254: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4255: for as_dir in $PATH
                   4256: do
                   4257:   IFS=$as_save_IFS
                   4258:   test -z "$as_dir" && as_dir=.
1.150     moko     4259:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     4260:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      4261:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.150     moko     4262:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.66      paf      4263:     break 2
                   4264:   fi
                   4265: done
1.150     moko     4266:   done
                   4267: IFS=$as_save_IFS
1.66      paf      4268: 
                   4269: fi
                   4270: fi
                   4271: CC=$ac_cv_prog_CC
                   4272: if test -n "$CC"; then
1.150     moko     4273:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4274: $as_echo "$CC" >&6; }
1.66      paf      4275: else
1.150     moko     4276:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4277: $as_echo "no" >&6; }
1.66      paf      4278: fi
                   4279: 
1.150     moko     4280: 
1.66      paf      4281: fi
                   4282: if test -z "$ac_cv_prog_CC"; then
                   4283:   ac_ct_CC=$CC
                   4284:   # Extract the first word of "gcc", so it can be a program name with args.
                   4285: set dummy gcc; ac_word=$2
1.150     moko     4286: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4287: $as_echo_n "checking for $ac_word... " >&6; }
                   4288: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   4289:   $as_echo_n "(cached) " >&6
1.66      paf      4290: else
                   4291:   if test -n "$ac_ct_CC"; then
                   4292:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   4293: else
                   4294: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4295: for as_dir in $PATH
                   4296: do
                   4297:   IFS=$as_save_IFS
                   4298:   test -z "$as_dir" && as_dir=.
1.150     moko     4299:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     4300:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      4301:     ac_cv_prog_ac_ct_CC="gcc"
1.150     moko     4302:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.66      paf      4303:     break 2
                   4304:   fi
                   4305: done
1.150     moko     4306:   done
                   4307: IFS=$as_save_IFS
1.66      paf      4308: 
                   4309: fi
                   4310: fi
                   4311: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   4312: if test -n "$ac_ct_CC"; then
1.150     moko     4313:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   4314: $as_echo "$ac_ct_CC" >&6; }
1.1       paf      4315: else
1.150     moko     4316:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4317: $as_echo "no" >&6; }
1.62      paf      4318: fi
                   4319: 
1.150     moko     4320:   if test "x$ac_ct_CC" = x; then
                   4321:     CC=""
                   4322:   else
                   4323:     case $cross_compiling:$ac_tool_warned in
                   4324: yes:)
                   4325: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   4326: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   4327: ac_tool_warned=yes ;;
                   4328: esac
                   4329:     CC=$ac_ct_CC
                   4330:   fi
1.66      paf      4331: else
                   4332:   CC="$ac_cv_prog_CC"
1.1       paf      4333: fi
1.62      paf      4334: 
1.66      paf      4335: if test -z "$CC"; then
1.150     moko     4336:           if test -n "$ac_tool_prefix"; then
                   4337:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1.66      paf      4338: set dummy ${ac_tool_prefix}cc; ac_word=$2
1.150     moko     4339: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4340: $as_echo_n "checking for $ac_word... " >&6; }
                   4341: if ${ac_cv_prog_CC+:} false; then :
                   4342:   $as_echo_n "(cached) " >&6
1.66      paf      4343: else
                   4344:   if test -n "$CC"; then
                   4345:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   4346: else
                   4347: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4348: for as_dir in $PATH
                   4349: do
                   4350:   IFS=$as_save_IFS
                   4351:   test -z "$as_dir" && as_dir=.
1.150     moko     4352:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     4353:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      4354:     ac_cv_prog_CC="${ac_tool_prefix}cc"
1.150     moko     4355:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.66      paf      4356:     break 2
                   4357:   fi
                   4358: done
1.150     moko     4359:   done
                   4360: IFS=$as_save_IFS
1.62      paf      4361: 
1.66      paf      4362: fi
                   4363: fi
                   4364: CC=$ac_cv_prog_CC
                   4365: if test -n "$CC"; then
1.150     moko     4366:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4367: $as_echo "$CC" >&6; }
1.62      paf      4368: else
1.150     moko     4369:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4370: $as_echo "no" >&6; }
1.1       paf      4371: fi
                   4372: 
1.150     moko     4373: 
1.66      paf      4374:   fi
1.1       paf      4375: fi
1.66      paf      4376: if test -z "$CC"; then
                   4377:   # Extract the first word of "cc", so it can be a program name with args.
                   4378: set dummy cc; ac_word=$2
1.150     moko     4379: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4380: $as_echo_n "checking for $ac_word... " >&6; }
                   4381: if ${ac_cv_prog_CC+:} false; then :
                   4382:   $as_echo_n "(cached) " >&6
1.66      paf      4383: else
                   4384:   if test -n "$CC"; then
                   4385:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   4386: else
                   4387:   ac_prog_rejected=no
                   4388: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4389: for as_dir in $PATH
                   4390: do
                   4391:   IFS=$as_save_IFS
                   4392:   test -z "$as_dir" && as_dir=.
1.150     moko     4393:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     4394:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      4395:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   4396:        ac_prog_rejected=yes
                   4397:        continue
                   4398:      fi
                   4399:     ac_cv_prog_CC="cc"
1.150     moko     4400:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.66      paf      4401:     break 2
                   4402:   fi
                   4403: done
1.150     moko     4404:   done
                   4405: IFS=$as_save_IFS
1.62      paf      4406: 
1.66      paf      4407: if test $ac_prog_rejected = yes; then
                   4408:   # We found a bogon in the path, so make sure we never use it.
                   4409:   set dummy $ac_cv_prog_CC
                   4410:   shift
                   4411:   if test $# != 0; then
                   4412:     # We chose a different compiler from the bogus one.
                   4413:     # However, it has the same basename, so the bogon will be chosen
                   4414:     # first if we set CC to just the basename; use the full file name.
                   4415:     shift
                   4416:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
                   4417:   fi
                   4418: fi
                   4419: fi
                   4420: fi
                   4421: CC=$ac_cv_prog_CC
                   4422: if test -n "$CC"; then
1.150     moko     4423:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4424: $as_echo "$CC" >&6; }
1.66      paf      4425: else
1.150     moko     4426:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4427: $as_echo "no" >&6; }
1.1       paf      4428: fi
                   4429: 
1.150     moko     4430: 
1.66      paf      4431: fi
                   4432: if test -z "$CC"; then
                   4433:   if test -n "$ac_tool_prefix"; then
1.150     moko     4434:   for ac_prog in cl.exe
1.62      paf      4435:   do
                   4436:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   4437: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150     moko     4438: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4439: $as_echo_n "checking for $ac_word... " >&6; }
                   4440: if ${ac_cv_prog_CC+:} false; then :
                   4441:   $as_echo_n "(cached) " >&6
1.62      paf      4442: else
1.66      paf      4443:   if test -n "$CC"; then
                   4444:   ac_cv_prog_CC="$CC" # Let the user override the test.
1.62      paf      4445: else
                   4446: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4447: for as_dir in $PATH
                   4448: do
                   4449:   IFS=$as_save_IFS
                   4450:   test -z "$as_dir" && as_dir=.
1.150     moko     4451:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     4452:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      4453:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.150     moko     4454:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      4455:     break 2
                   4456:   fi
                   4457: done
1.150     moko     4458:   done
                   4459: IFS=$as_save_IFS
1.1       paf      4460: 
1.62      paf      4461: fi
                   4462: fi
1.66      paf      4463: CC=$ac_cv_prog_CC
                   4464: if test -n "$CC"; then
1.150     moko     4465:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4466: $as_echo "$CC" >&6; }
1.1       paf      4467: else
1.150     moko     4468:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4469: $as_echo "no" >&6; }
1.1       paf      4470: fi
                   4471: 
1.150     moko     4472: 
1.66      paf      4473:     test -n "$CC" && break
1.62      paf      4474:   done
                   4475: fi
1.66      paf      4476: if test -z "$CC"; then
                   4477:   ac_ct_CC=$CC
1.150     moko     4478:   for ac_prog in cl.exe
1.62      paf      4479: do
                   4480:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   4481: set dummy $ac_prog; ac_word=$2
1.150     moko     4482: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4483: $as_echo_n "checking for $ac_word... " >&6; }
                   4484: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   4485:   $as_echo_n "(cached) " >&6
1.62      paf      4486: else
1.66      paf      4487:   if test -n "$ac_ct_CC"; then
                   4488:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.1       paf      4489: else
1.62      paf      4490: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4491: for as_dir in $PATH
                   4492: do
                   4493:   IFS=$as_save_IFS
                   4494:   test -z "$as_dir" && as_dir=.
1.150     moko     4495:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     4496:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      4497:     ac_cv_prog_ac_ct_CC="$ac_prog"
1.150     moko     4498:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      4499:     break 2
                   4500:   fi
                   4501: done
1.150     moko     4502:   done
                   4503: IFS=$as_save_IFS
1.62      paf      4504: 
                   4505: fi
                   4506: fi
1.66      paf      4507: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   4508: if test -n "$ac_ct_CC"; then
1.150     moko     4509:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   4510: $as_echo "$ac_ct_CC" >&6; }
1.1       paf      4511: else
1.150     moko     4512:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4513: $as_echo "no" >&6; }
1.1       paf      4514: fi
                   4515: 
1.150     moko     4516: 
1.66      paf      4517:   test -n "$ac_ct_CC" && break
                   4518: done
                   4519: 
1.150     moko     4520:   if test "x$ac_ct_CC" = x; then
                   4521:     CC=""
                   4522:   else
                   4523:     case $cross_compiling:$ac_tool_warned in
                   4524: yes:)
                   4525: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   4526: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   4527: ac_tool_warned=yes ;;
                   4528: esac
                   4529:     CC=$ac_ct_CC
                   4530:   fi
1.66      paf      4531: fi
                   4532: 
                   4533: fi
1.62      paf      4534: 
1.1       paf      4535: 
1.150     moko     4536: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   4537: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   4538: as_fn_error $? "no acceptable C compiler found in \$PATH
                   4539: See \`config.log' for more details" "$LINENO" 5; }
1.62      paf      4540: 
                   4541: # Provide some information about the compiler.
1.150     moko     4542: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
                   4543: set X $ac_compile
                   4544: ac_compiler=$2
                   4545: for ac_option in --version -v -V -qversion; do
                   4546:   { { ac_try="$ac_compiler $ac_option >&5"
                   4547: case "(($ac_try" in
                   4548:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4549:   *) ac_try_echo=$ac_try;;
                   4550: esac
                   4551: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4552: $as_echo "$ac_try_echo"; } >&5
                   4553:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.62      paf      4554:   ac_status=$?
1.150     moko     4555:   if test -s conftest.err; then
                   4556:     sed '10a\
                   4557: ... rest of stderr output deleted ...
                   4558:          10q' conftest.err >conftest.er1
                   4559:     cat conftest.er1 >&5
                   4560:   fi
                   4561:   rm -f conftest.er1 conftest.err
                   4562:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4563:   test $ac_status = 0; }
                   4564: done
                   4565: 
                   4566: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
                   4567: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
                   4568: if ${ac_cv_c_compiler_gnu+:} false; then :
                   4569:   $as_echo_n "(cached) " >&6
1.62      paf      4570: else
1.150     moko     4571:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      4572: /* end confdefs.h.  */
                   4573: 
                   4574: int
                   4575: main ()
                   4576: {
                   4577: #ifndef __GNUC__
                   4578:        choke me
                   4579: #endif
                   4580: 
                   4581:   ;
                   4582:   return 0;
                   4583: }
                   4584: _ACEOF
1.150     moko     4585: if ac_fn_c_try_compile "$LINENO"; then :
1.62      paf      4586:   ac_compiler_gnu=yes
                   4587: else
1.150     moko     4588:   ac_compiler_gnu=no
1.62      paf      4589: fi
1.150     moko     4590: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      4591: ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.62      paf      4592: 
                   4593: fi
1.150     moko     4594: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
                   4595: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
                   4596: if test $ac_compiler_gnu = yes; then
                   4597:   GCC=yes
                   4598: else
                   4599:   GCC=
                   4600: fi
1.66      paf      4601: ac_test_CFLAGS=${CFLAGS+set}
                   4602: ac_save_CFLAGS=$CFLAGS
1.150     moko     4603: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
                   4604: $as_echo_n "checking whether $CC accepts -g... " >&6; }
                   4605: if ${ac_cv_prog_cc_g+:} false; then :
                   4606:   $as_echo_n "(cached) " >&6
                   4607: else
                   4608:   ac_save_c_werror_flag=$ac_c_werror_flag
                   4609:    ac_c_werror_flag=yes
                   4610:    ac_cv_prog_cc_g=no
                   4611:    CFLAGS="-g"
                   4612:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      4613: /* end confdefs.h.  */
                   4614: 
                   4615: int
                   4616: main ()
                   4617: {
                   4618: 
                   4619:   ;
                   4620:   return 0;
                   4621: }
                   4622: _ACEOF
1.150     moko     4623: if ac_fn_c_try_compile "$LINENO"; then :
1.66      paf      4624:   ac_cv_prog_cc_g=yes
1.62      paf      4625: else
1.150     moko     4626:   CFLAGS=""
                   4627:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4628: /* end confdefs.h.  */
                   4629: 
                   4630: int
                   4631: main ()
                   4632: {
1.62      paf      4633: 
1.150     moko     4634:   ;
                   4635:   return 0;
                   4636: }
                   4637: _ACEOF
                   4638: if ac_fn_c_try_compile "$LINENO"; then :
                   4639: 
                   4640: else
                   4641:   ac_c_werror_flag=$ac_save_c_werror_flag
                   4642:         CFLAGS="-g"
                   4643:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4644: /* end confdefs.h.  */
                   4645: 
                   4646: int
                   4647: main ()
                   4648: {
                   4649: 
                   4650:   ;
                   4651:   return 0;
                   4652: }
                   4653: _ACEOF
                   4654: if ac_fn_c_try_compile "$LINENO"; then :
                   4655:   ac_cv_prog_cc_g=yes
                   4656: fi
                   4657: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      4658: fi
1.150     moko     4659: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      4660: fi
1.150     moko     4661: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4662:    ac_c_werror_flag=$ac_save_c_werror_flag
                   4663: fi
                   4664: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
                   4665: $as_echo "$ac_cv_prog_cc_g" >&6; }
1.66      paf      4666: if test "$ac_test_CFLAGS" = set; then
                   4667:   CFLAGS=$ac_save_CFLAGS
                   4668: elif test $ac_cv_prog_cc_g = yes; then
                   4669:   if test "$GCC" = yes; then
                   4670:     CFLAGS="-g -O2"
1.1       paf      4671:   else
1.66      paf      4672:     CFLAGS="-g"
1.1       paf      4673:   fi
                   4674: else
1.66      paf      4675:   if test "$GCC" = yes; then
                   4676:     CFLAGS="-O2"
1.1       paf      4677:   else
1.66      paf      4678:     CFLAGS=
1.1       paf      4679:   fi
                   4680: fi
1.150     moko     4681: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
                   4682: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
                   4683: if ${ac_cv_prog_cc_c89+:} false; then :
                   4684:   $as_echo_n "(cached) " >&6
1.66      paf      4685: else
1.150     moko     4686:   ac_cv_prog_cc_c89=no
1.66      paf      4687: ac_save_CC=$CC
1.150     moko     4688: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      4689: /* end confdefs.h.  */
                   4690: #include <stdarg.h>
                   4691: #include <stdio.h>
1.166     moko     4692: struct stat;
1.66      paf      4693: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   4694: struct buf { int x; };
                   4695: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   4696: static char *e (p, i)
                   4697:      char **p;
                   4698:      int i;
                   4699: {
                   4700:   return p[i];
                   4701: }
                   4702: static char *f (char * (*g) (char **, int), char **p, ...)
                   4703: {
                   4704:   char *s;
                   4705:   va_list v;
                   4706:   va_start (v,p);
                   4707:   s = g (p, va_arg (v,int));
                   4708:   va_end (v);
                   4709:   return s;
                   4710: }
1.86      paf      4711: 
                   4712: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   4713:    function prototypes and stuff, but not '\xHH' hex character constants.
                   4714:    These don't provoke an error unfortunately, instead are silently treated
1.150     moko     4715:    as 'x'.  The following induces an error, until -std is added to get
1.86      paf      4716:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   4717:    array size at least.  It's necessary to write '\x00'==0 to get something
1.150     moko     4718:    that's true only with -std.  */
1.86      paf      4719: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   4720: 
1.150     moko     4721: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
                   4722:    inside strings and character constants.  */
                   4723: #define FOO(x) 'x'
                   4724: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
                   4725: 
1.66      paf      4726: int test (int i, double x);
                   4727: struct s1 {int (*f) (int a);};
                   4728: struct s2 {int (*f) (double a);};
                   4729: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   4730: int argc;
                   4731: char **argv;
                   4732: int
                   4733: main ()
                   4734: {
                   4735: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   4736:   ;
                   4737:   return 0;
                   4738: }
                   4739: _ACEOF
1.150     moko     4740: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
                   4741:        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.66      paf      4742: do
                   4743:   CC="$ac_save_CC $ac_arg"
1.150     moko     4744:   if ac_fn_c_try_compile "$LINENO"; then :
                   4745:   ac_cv_prog_cc_c89=$ac_arg
1.66      paf      4746: fi
1.150     moko     4747: rm -f core conftest.err conftest.$ac_objext
                   4748:   test "x$ac_cv_prog_cc_c89" != "xno" && break
1.66      paf      4749: done
1.150     moko     4750: rm -f conftest.$ac_ext
1.66      paf      4751: CC=$ac_save_CC
                   4752: 
                   4753: fi
1.150     moko     4754: # AC_CACHE_VAL
                   4755: case "x$ac_cv_prog_cc_c89" in
                   4756:   x)
                   4757:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   4758: $as_echo "none needed" >&6; } ;;
                   4759:   xno)
                   4760:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   4761: $as_echo "unsupported" >&6; } ;;
1.66      paf      4762:   *)
1.150     moko     4763:     CC="$CC $ac_cv_prog_cc_c89"
                   4764:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
                   4765: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
1.66      paf      4766: esac
1.150     moko     4767: if test "x$ac_cv_prog_cc_c89" != xno; then :
1.62      paf      4768: 
                   4769: fi
1.66      paf      4770: 
1.62      paf      4771: ac_ext=c
                   4772: ac_cpp='$CPP $CPPFLAGS'
                   4773: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4774: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4775: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4776: 
1.187     moko     4777: ac_ext=c
                   4778: ac_cpp='$CPP $CPPFLAGS'
                   4779: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4780: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4781: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4782: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
                   4783: $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
                   4784: if ${am_cv_prog_cc_c_o+:} false; then :
                   4785:   $as_echo_n "(cached) " >&6
                   4786: else
                   4787:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4788: /* end confdefs.h.  */
                   4789: 
                   4790: int
                   4791: main ()
                   4792: {
                   4793: 
                   4794:   ;
                   4795:   return 0;
                   4796: }
                   4797: _ACEOF
                   4798:   # Make sure it works both with $CC and with simple cc.
                   4799:   # Following AC_PROG_CC_C_O, we do the test twice because some
                   4800:   # compilers refuse to overwrite an existing .o file with -o,
                   4801:   # though they will create one.
                   4802:   am_cv_prog_cc_c_o=yes
                   4803:   for am_i in 1 2; do
                   4804:     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
                   4805:    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
                   4806:    ac_status=$?
                   4807:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4808:    (exit $ac_status); } \
                   4809:          && test -f conftest2.$ac_objext; then
                   4810:       : OK
                   4811:     else
                   4812:       am_cv_prog_cc_c_o=no
                   4813:       break
                   4814:     fi
                   4815:   done
                   4816:   rm -f core conftest*
                   4817:   unset am_i
                   4818: fi
                   4819: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
                   4820: $as_echo "$am_cv_prog_cc_c_o" >&6; }
                   4821: if test "$am_cv_prog_cc_c_o" != yes; then
                   4822:    # Losing compiler, so override with the script.
                   4823:    # FIXME: It is wrong to rewrite CC.
                   4824:    # But if we don't then we get into trouble of one sort or another.
                   4825:    # A longer-term fix would be to have automake use am__CC in this case,
                   4826:    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
                   4827:    CC="$am_aux_dir/compile $CC"
                   4828: fi
                   4829: ac_ext=c
                   4830: ac_cpp='$CPP $CPPFLAGS'
                   4831: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4832: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4833: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4834: 
                   4835: 
1.66      paf      4836: depcc="$CC"   am_compiler_list=
1.62      paf      4837: 
1.150     moko     4838: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   4839: $as_echo_n "checking dependency style of $depcc... " >&6; }
                   4840: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
                   4841:   $as_echo_n "(cached) " >&6
1.62      paf      4842: else
                   4843:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   4844:   # We make a subdir and do the tests there.  Otherwise we can end up
                   4845:   # making bogus files that we don't know about and never remove.  For
                   4846:   # instance it was reported that on HP-UX the gcc test will end up
1.187     moko     4847:   # making a dummy file named 'D' -- because '-MD' means "put the output
                   4848:   # in D".
                   4849:   rm -rf conftest.dir
1.62      paf      4850:   mkdir conftest.dir
                   4851:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   4852:   # using a relative directory.
                   4853:   cp "$am_depcomp" conftest.dir
                   4854:   cd conftest.dir
1.86      paf      4855:   # We will build objects and dependencies in a subdirectory because
                   4856:   # it helps to detect inapplicable dependency modes.  For instance
                   4857:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   4858:   # side effect of compilation, but ICC will put the dependencies in
                   4859:   # the current directory while Tru64 will put them in the object
                   4860:   # directory.
                   4861:   mkdir sub
1.62      paf      4862: 
1.66      paf      4863:   am_cv_CC_dependencies_compiler_type=none
1.62      paf      4864:   if test "$am_compiler_list" = ""; then
                   4865:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   4866:   fi
1.150     moko     4867:   am__universal=false
                   4868:   case " $depcc " in #(
                   4869:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   4870:      esac
                   4871: 
1.62      paf      4872:   for depmode in $am_compiler_list; do
1.86      paf      4873:     # Setup a source with many dependencies, because some compilers
                   4874:     # like to wrap large dependency lists on column 80 (with \), and
                   4875:     # we should not choose a depcomp mode which is confused by this.
                   4876:     #
1.62      paf      4877:     # We need to recreate these files for each test, as the compiler may
                   4878:     # overwrite some of them when testing with obscure command lines.
                   4879:     # This happens at least with the AIX C compiler.
1.86      paf      4880:     : > sub/conftest.c
                   4881:     for i in 1 2 3 4 5 6; do
                   4882:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.187     moko     4883:       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
                   4884:       # Solaris 10 /bin/sh.
                   4885:       echo '/* dummy */' > sub/conftst$i.h
1.86      paf      4886:     done
                   4887:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.62      paf      4888: 
1.187     moko     4889:     # We check with '-c' and '-o' for the sake of the "dashmstdout"
1.150     moko     4890:     # mode.  It turns out that the SunPro C++ compiler does not properly
1.187     moko     4891:     # handle '-M -o', and we need to detect this.  Also, some Intel
                   4892:     # versions had trouble with output in subdirs.
1.150     moko     4893:     am__obj=sub/conftest.${OBJEXT-o}
                   4894:     am__minus_obj="-o $am__obj"
1.62      paf      4895:     case $depmode in
1.150     moko     4896:     gcc)
                   4897:       # This depmode causes a compiler race in universal mode.
                   4898:       test "$am__universal" = false || continue
                   4899:       ;;
1.62      paf      4900:     nosideeffect)
1.187     moko     4901:       # After this tag, mechanisms are not by side-effect, so they'll
                   4902:       # only be used when explicitly requested.
1.62      paf      4903:       if test "x$enable_dependency_tracking" = xyes; then
                   4904:        continue
                   4905:       else
                   4906:        break
                   4907:       fi
                   4908:       ;;
1.187     moko     4909:     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
                   4910:       # This compiler won't grok '-c -o', but also, the minuso test has
1.150     moko     4911:       # not run yet.  These depmodes are late enough in the game, and
                   4912:       # so weak that their functioning should not be impacted.
                   4913:       am__obj=conftest.${OBJEXT-o}
                   4914:       am__minus_obj=
                   4915:       ;;
1.62      paf      4916:     none) break ;;
                   4917:     esac
1.66      paf      4918:     if depmode=$depmode \
1.150     moko     4919:        source=sub/conftest.c object=$am__obj \
1.86      paf      4920:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.150     moko     4921:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1.86      paf      4922:          >/dev/null 2>conftest.err &&
1.150     moko     4923:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1.86      paf      4924:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.150     moko     4925:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1.66      paf      4926:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.86      paf      4927:       # icc doesn't choke on unknown options, it will just issue warnings
                   4928:       # or remarks (even with -Werror).  So we grep stderr for any message
                   4929:       # that says an option was ignored or not supported.
                   4930:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   4931:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   4932:       # The diagnosis changed in icc 8.0:
                   4933:       #   icc: Command line remark: option '-MP' not supported
                   4934:       if (grep 'ignoring option' conftest.err ||
                   4935:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   4936:         am_cv_CC_dependencies_compiler_type=$depmode
                   4937:         break
                   4938:       fi
1.66      paf      4939:     fi
                   4940:   done
                   4941: 
                   4942:   cd ..
                   4943:   rm -rf conftest.dir
                   4944: else
                   4945:   am_cv_CC_dependencies_compiler_type=none
                   4946: fi
                   4947: 
                   4948: fi
1.150     moko     4949: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
                   4950: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
1.66      paf      4951: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   4952: 
1.150     moko     4953:  if
1.66      paf      4954:   test "x$enable_dependency_tracking" != xno \
                   4955:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   4956:   am__fastdepCC_TRUE=
                   4957:   am__fastdepCC_FALSE='#'
                   4958: else
                   4959:   am__fastdepCC_TRUE='#'
                   4960:   am__fastdepCC_FALSE=
                   4961: fi
                   4962: 
                   4963: 
1.128     moko     4964: 
1.66      paf      4965: ac_ext=c
                   4966: ac_cpp='$CPP $CPPFLAGS'
                   4967: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4968: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4969: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4970: 
1.67      paf      4971: 
1.62      paf      4972: 
1.150     moko     4973: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dynamic-link library extension" >&5
                   4974: $as_echo_n "checking for dynamic-link library extension... " >&6; }
1.128     moko     4975: case "$host_os" in
1.158     moko     4976:   *cygwin* ) dll_extension=dll;;
                   4977:   * ) dll_extension=so
1.66      paf      4978: esac
1.150     moko     4979: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dll_extension" >&5
                   4980: $as_echo "$dll_extension" >&6; }
1.1       paf      4981: 
1.71      paf      4982: 
                   4983: 
                   4984: 
1.150     moko     4985: # Check whether --with-build-warnings was given.
                   4986: if test "${with_build_warnings+set}" = set; then :
                   4987:   withval=$with_build_warnings; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling compiler warnings" >&5
                   4988: $as_echo "$as_me: WARNING: enabling compiler warnings" >&2;}
1.225     moko     4989:        CXXFLAGS="$CXXFLAGS -D_FORTIFY_SOURCE=2 -Wextra -Wall -Wno-parentheses"
1.71      paf      4990: 
1.150     moko     4991: fi
                   4992: 
1.1       paf      4993: 
                   4994: 
1.182     moko     4995: # Check whether --with-coverage was given.
                   4996: if test "${with_coverage+set}" = set; then :
                   4997:   withval=$with_coverage; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling gcov support" >&5
                   4998: $as_echo "$as_me: WARNING: enabling gcov support" >&2;}
                   4999:        CFLAGS=`echo "$CFLAGS" | $SED -e 's/-O0-9*//g'`
                   5000:        CXXFLAGS=`echo "$XXCFLAGS" | $SED -e 's/-O0-9*//g'`
                   5001:        CFLAGS="$CFLAGS -O0 -fprofile-arcs -ftest-coverage"
                   5002:        CXXFLAGS="$CXXFLAGS -O0 -fprofile-arcs -ftest-coverage"
                   5003:        LDFLAGS="$LDFLAGS -lgcov"
                   5004: 
                   5005: fi
                   5006: 
                   5007: 
                   5008: 
                   5009: # Check whether --with-profiler was given.
                   5010: if test "${with_profiler+set}" = set; then :
                   5011:   withval=$with_profiler; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling gprof support" >&5
                   5012: $as_echo "$as_me: WARNING: enabling gprof support" >&2;}
1.193     moko     5013:        CFLAGS="$CFLAGS -O0 -pg -g"
                   5014:        CXXFLAGS="$CXXFLAGS -O0 -pg -g"
1.182     moko     5015: 
                   5016: fi
                   5017: 
                   5018: 
                   5019: 
1.150     moko     5020: # Check whether --with-assertions was given.
                   5021: if test "${with_assertions+set}" = set; then :
                   5022:   withval=$with_assertions; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling assertions" >&5
                   5023: $as_echo "$as_me: WARNING: enabling assertions" >&2;}
1.67      paf      5024: 
                   5025: else
                   5026: 
1.150     moko     5027: $as_echo "#define NDEBUG /**/" >>confdefs.h
                   5028: 
1.67      paf      5029: 
1.150     moko     5030: fi
1.67      paf      5031: 
                   5032: 
1.94      misha    5033: 
1.150     moko     5034: # Check whether --with-sjlj-exceptions was given.
                   5035: if test "${with_sjlj_exceptions+set}" = set; then :
                   5036:   withval=$with_sjlj_exceptions;
                   5037: $as_echo "#define PA_WITH_SJLJ_EXCEPTIONS /**/" >>confdefs.h
1.128     moko     5038: 
                   5039: 
1.150     moko     5040: fi
1.128     moko     5041: 
                   5042: 
1.62      paf      5043: 
1.201     moko     5044: 
1.203     moko     5045: # Check whether --with-system-cfg was given.
                   5046: if test "${with_system_cfg+set}" = set; then :
                   5047:   withval=$with_system_cfg;
                   5048: cat >>confdefs.h <<_ACEOF
                   5049: #define SYSTEM_CONFIG_FILE "$withval"
                   5050: _ACEOF
1.201     moko     5051: 
                   5052: 
                   5053: fi
                   5054: 
                   5055: 
                   5056: 
1.150     moko     5057: # Check whether --enable-safe-mode was given.
                   5058: if test "${enable_safe_mode+set}" = set; then :
                   5059:   enableval=$enable_safe_mode;
1.67      paf      5060:        SAFE_MODE=$enableval
1.60      paf      5061: 
1.1       paf      5062: 
1.150     moko     5063: fi
                   5064: 
1.128     moko     5065: 
1.60      paf      5066: if test "$SAFE_MODE" = "no"; then
1.150     moko     5067:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling reading of files belonging to group+user other then effective" >&5
                   5068: $as_echo "$as_me: WARNING: enabling reading of files belonging to group+user other then effective" >&2;}
1.60      paf      5069: else
1.62      paf      5070: 
1.150     moko     5071: $as_echo "#define PA_SAFE_MODE /**/" >>confdefs.h
1.1       paf      5072: 
                   5073: fi
                   5074: 
1.94      misha    5075: 
1.150     moko     5076: # Check whether --enable-execs was given.
                   5077: if test "${enable_execs+set}" = set; then :
                   5078:   enableval=$enable_execs;
1.13      paf      5079: if test "$enableval" = "no"; then
1.150     moko     5080:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabling file execs" >&5
                   5081: $as_echo "$as_me: WARNING: disabling file execs" >&2;}
1.62      paf      5082: 
1.150     moko     5083: $as_echo "#define NO_PA_EXECS /**/" >>confdefs.h
1.13      paf      5084: 
                   5085: fi
                   5086: 
                   5087: 
1.150     moko     5088: fi
1.13      paf      5089: 
1.60      paf      5090: 
1.94      misha    5091: 
1.150     moko     5092: # Check whether --enable-stringstream was given.
                   5093: if test "${enable_stringstream+set}" = set; then :
                   5094:   enableval=$enable_stringstream;
1.94      misha    5095: if test "$enableval" = "no"; then
1.150     moko     5096:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabling stringstream usage" >&5
                   5097: $as_echo "$as_me: WARNING: disabling stringstream usage" >&2;}
1.94      misha    5098: 
1.150     moko     5099: $as_echo "#define NO_STRINGSTREAM /**/" >>confdefs.h
1.94      misha    5100: 
                   5101: fi
                   5102: 
                   5103: 
1.150     moko     5104: fi
1.94      misha    5105: 
                   5106: 
1.62      paf      5107: 
1.17      paf      5108: 
1.150     moko     5109: # Check whether --with-gc was given.
                   5110: if test "${with_gc+set}" = set; then :
                   5111:   withval=$with_gc;
1.17      paf      5112: 
1.142     moko     5113:        GC=$withval
                   5114:        GC_LIBS="$GC/libgc.la"
                   5115: 
                   5116:        if test -f $GC_LIBS; then
                   5117:                GC_OK="yes"
                   5118:        else
                   5119:                GC_LIBS="-L$GC -lgc"
                   5120:        fi
1.62      paf      5121: 
1.151     moko     5122:        if test "$GC" = "yes"; then
                   5123:                GC=""
                   5124:                GC_LIBS="-lgc"
                   5125:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-gc value was not specified, hoping linker would find it" >&5
                   5126: $as_echo "$as_me: WARNING: --with-gc value was not specified, hoping linker would find it" >&2;}
                   5127:        fi
                   5128: 
1.142     moko     5129: else
1.17      paf      5130: 
1.142     moko     5131:        GC_LIBS="-lgc"
1.150     moko     5132:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-gc was not specified, hoping linker would find it" >&5
                   5133: $as_echo "$as_me: WARNING: --with-gc was not specified, hoping linker would find it" >&2;}
                   5134: 
                   5135: fi
1.17      paf      5136: 
                   5137: 
1.142     moko     5138: if test -z "$GC_OK"; then
1.150     moko     5139:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgc" >&5
                   5140: $as_echo_n "checking for libgc... " >&6; }
1.138     moko     5141:        SAVE_LIBS=$LIBS
                   5142:        LIBS="$LIBS $GC_LIBS"
1.128     moko     5143: 
1.229     moko     5144: 
                   5145:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.67      paf      5146: /* end confdefs.h.  */
1.142     moko     5147:  extern int GC_dont_gc;
1.67      paf      5148: int
                   5149: main ()
                   5150: {
1.142     moko     5151:  GC_dont_gc=0;
1.67      paf      5152:   ;
                   5153:   return 0;
                   5154: }
                   5155: _ACEOF
1.150     moko     5156: if ac_fn_c_try_link "$LINENO"; then :
                   5157:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5158: $as_echo "yes" >&6; }
1.67      paf      5159: 
                   5160: else
1.150     moko     5161:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5162: $as_echo "no" >&6; }
1.142     moko     5163:                if test -z "$GC"; then
1.201     moko     5164:                        as_fn_error $? "please specify path to libgc: --with-gc=DIR" "$LINENO" 5
1.142     moko     5165:                else
1.150     moko     5166:                        as_fn_error $? "$GC does not seem to be valid libgc installation directory" "$LINENO" 5
1.142     moko     5167:                fi
1.67      paf      5168: 
1.229     moko     5169: 
1.67      paf      5170: fi
1.150     moko     5171: rm -f core conftest.err conftest.$ac_objext \
                   5172:     conftest$ac_exeext conftest.$ac_ext
1.229     moko     5173: 
1.138     moko     5174:        LIBS=$SAVE_LIBS
                   5175: fi
1.67      paf      5176: 
                   5177: 
1.1       paf      5178: 
1.15      paf      5179: 
1.142     moko     5180: 
1.150     moko     5181: # Check whether --with-pcre was given.
                   5182: if test "${with_pcre+set}" = set; then :
                   5183:   withval=$with_pcre;
1.100     misha    5184:        PCRE=$withval
                   5185: 
1.151     moko     5186:        if test "$PCRE" = "yes"; then
                   5187:                PCRE=""
                   5188:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-pcre value was not specified, hoping linker would find it" >&5
                   5189: $as_echo "$as_me: WARNING: --with-pcre value was not specified, hoping linker would find it" >&2;}
1.218     moko     5190:        else
                   5191:                PCRE_INCLUDES="-I$PCRE/include"
                   5192: 
                   5193:                if test -f $PCRE/include/pcre.h -a -f $PCRE/lib/libpcre.la; then
                   5194:                        PCRE_OK="yes"
                   5195:                        PCRE_LIBS="$PCRE/lib/libpcre.la"
                   5196:                else
                   5197:                        if test -f $PCRE/include/pcre2.h -a -f $PCRE/lib/libpcre2-8.la; then
                   5198:                                PCRE_OK="yes"
                   5199:                                PCRE_LIBS="$PCRE/lib/libpcre2-8.la"
                   5200: 
                   5201: $as_echo "#define HAVE_PCRE2 /**/" >>confdefs.h
                   5202: 
                   5203:                        else
                   5204:                                PCRE_LIBS="-L$PCRE/lib"
                   5205:                        fi
                   5206:                fi
1.151     moko     5207:        fi
1.142     moko     5208: 
                   5209: else
                   5210: 
1.150     moko     5211:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-pcre was not specified, hoping linker would find it" >&5
                   5212: $as_echo "$as_me: WARNING: --with-pcre was not specified, hoping linker would find it" >&2;}
                   5213: 
                   5214: fi
1.100     misha    5215: 
                   5216: 
1.142     moko     5217: if test -z "$PCRE_OK"; then
1.218     moko     5218:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre2" >&5
                   5219: $as_echo_n "checking for pcre2... " >&6; }
                   5220:        SAVE_LIBS=$LIBS
                   5221:        LIBS="$LIBS $PCRE_LIBS $PCRE_INCLUDES -lpcre2-8"
1.229     moko     5222: 
                   5223:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.218     moko     5224: /* end confdefs.h.  */
                   5225:  #define PCRE2_CODE_UNIT_WIDTH 8
                   5226: #include <pcre2.h>
                   5227: int
                   5228: main ()
                   5229: {
                   5230:  void *v=pcre2_general_context_create(0,0,0);
                   5231:   ;
                   5232:   return 0;
                   5233: }
                   5234: _ACEOF
                   5235: if ac_fn_c_try_link "$LINENO"; then :
                   5236:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5237: $as_echo "yes" >&6; }
                   5238:                PCRE_LIBS="$PCRE_LIBS -lpcre2-8"
                   5239: 
                   5240: $as_echo "#define HAVE_PCRE2 /**/" >>confdefs.h
                   5241: 
                   5242:                PCRE_OK="yes"
                   5243: 
                   5244: else
                   5245:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5246: $as_echo "no" >&6; }
                   5247: 
1.229     moko     5248: 
1.218     moko     5249: fi
                   5250: rm -f core conftest.err conftest.$ac_objext \
                   5251:     conftest$ac_exeext conftest.$ac_ext
1.229     moko     5252: 
1.218     moko     5253:        LIBS=$SAVE_LIBS
                   5254: fi
                   5255: 
                   5256: if test -z "$PCRE_OK"; then
                   5257:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre" >&5
                   5258: $as_echo_n "checking for pcre... " >&6; }
                   5259:        PCRE_LIBS="$PCRE_LIBS -lpcre"
1.142     moko     5260:        SAVE_LIBS=$LIBS
                   5261:        LIBS="$LIBS $PCRE_LIBS $PCRE_INCLUDES"
1.229     moko     5262: 
                   5263:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.142     moko     5264: /* end confdefs.h.  */
                   5265:  #include <pcre.h>
                   5266: int
                   5267: main ()
                   5268: {
                   5269:  const char *v=pcre_version();
                   5270:   ;
                   5271:   return 0;
                   5272: }
                   5273: _ACEOF
1.150     moko     5274: if ac_fn_c_try_link "$LINENO"; then :
                   5275:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5276: $as_echo "yes" >&6; }
1.142     moko     5277: 
                   5278: else
1.150     moko     5279:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5280: $as_echo "no" >&6; }
1.142     moko     5281:                if test -z "$PCRE"; then
1.201     moko     5282:                        as_fn_error $? "please specify path to PCRE: --with-pcre=DIR" "$LINENO" 5
1.142     moko     5283:                else
1.150     moko     5284:                        as_fn_error $? "$PCRE does not seem to be valid PCRE installation directory" "$LINENO" 5
1.142     moko     5285:                fi
                   5286: 
1.229     moko     5287: 
1.142     moko     5288: fi
1.150     moko     5289: rm -f core conftest.err conftest.$ac_objext \
                   5290:     conftest$ac_exeext conftest.$ac_ext
1.229     moko     5291: 
1.142     moko     5292:        LIBS=$SAVE_LIBS
                   5293: fi
1.100     misha    5294: 
                   5295: 
                   5296: 
                   5297: 
1.66      paf      5298: 
                   5299: 
1.150     moko     5300: # Check whether --with-xml was given.
                   5301: if test "${with_xml+set}" = set; then :
                   5302:   withval=$with_xml;
1.66      paf      5303: 
1.142     moko     5304:        XML=$withval
                   5305:        XML_LIBS="-lxml2 -lxslt -lexslt"
                   5306: 
                   5307:        if test -z "$XML" -o "$XML" = "yes"; then
                   5308:                XML=""
                   5309:                XML_INCLUDES="-I/usr/include/libxml2"
1.150     moko     5310:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-xml value was not specified, hoping linker would find it" >&5
                   5311: $as_echo "$as_me: WARNING: --with-xml value was not specified, hoping linker would find it" >&2;}
1.142     moko     5312:        else
                   5313:                XML_INCLUDES="-I$XML/include -I$XML/include/libxml2"
1.193     moko     5314:                XML_LIBS="-L$XML/lib $XML_LIBS"
1.67      paf      5315: 
1.142     moko     5316:                if test -f $XML/include/libxslt/xslt.h -a -f $XML/lib/libxml2.la \
                   5317:                        -a -f $XML/lib/libxslt.la -a -f $XML/lib/libexslt.la; then
                   5318:                        XML_LIBS="$XML/lib/libxml2.la $XML/lib/libxslt.la $XML/lib/libexslt.la"
                   5319:                        XML_OK="yes"
                   5320:                fi
1.67      paf      5321:        fi
1.66      paf      5322: 
1.142     moko     5323:        if test -z "$XML_OK"; then
1.150     moko     5324:                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xml" >&5
                   5325: $as_echo_n "checking for xml... " >&6; }
1.142     moko     5326:                SAVE_LIBS=$LIBS
                   5327:                LIBS="$LIBS $XML_LIBS $XML_INCLUDES"
1.229     moko     5328: 
                   5329:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.142     moko     5330: /* end confdefs.h.  */
                   5331:  #include <libxslt/xslt.h>
                   5332: int
                   5333: main ()
                   5334: {
                   5335:  const char *v=xsltEngineVersion;
                   5336:   ;
                   5337:   return 0;
                   5338: }
                   5339: _ACEOF
1.150     moko     5340: if ac_fn_c_try_link "$LINENO"; then :
                   5341:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5342: $as_echo "yes" >&6; }
1.142     moko     5343: 
                   5344: else
1.150     moko     5345:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5346: $as_echo "no" >&6; }
1.142     moko     5347:                        if test -z "$XML"; then
1.201     moko     5348:                                as_fn_error $? "please specify path to Gnome XML libraries: --with-xml=DIR" "$LINENO" 5
1.142     moko     5349:                        else
1.150     moko     5350:                                as_fn_error $? "$XML does not seem to be valid Gnome XML installation directory" "$LINENO" 5
1.142     moko     5351:                        fi
                   5352: 
1.229     moko     5353: 
1.142     moko     5354: fi
1.150     moko     5355: rm -f core conftest.err conftest.$ac_objext \
                   5356:     conftest$ac_exeext conftest.$ac_ext
1.229     moko     5357: 
1.142     moko     5358:                LIBS=$SAVE_LIBS
1.67      paf      5359:        fi
1.66      paf      5360: 
1.150     moko     5361: $as_echo "#define XML /**/" >>confdefs.h
                   5362: 
1.66      paf      5363: 
1.150     moko     5364: fi
1.66      paf      5365: 
1.90      paf      5366: 
1.66      paf      5367: 
                   5368: 
                   5369: 
                   5370: 
1.90      paf      5371: 
1.154     moko     5372: # Check whether --with-mailreceive was given.
                   5373: if test "${with_mailreceive+set}" = set; then :
                   5374:   withval=$with_mailreceive;
                   5375:        MIME=$withval
1.155     moko     5376:        GLIB="glib-2.0"
1.154     moko     5377:        GMIME="gmime-2.4"
                   5378: 
                   5379:        if test -z "$MIME" -o "$MIME" = "yes"; then
                   5380:                MIME=""
                   5381:                MIME_INCLUDES=`pkg-config --cflags $GMIME 2>/dev/null`
                   5382:                MIME_LIBS=`pkg-config --libs $GMIME 2>/dev/null`
1.194     moko     5383:                if test -z "$MIME_LIBS"; then
                   5384:                        GMIME="gmime-3.0"
                   5385:                        MIME_INCLUDES=`pkg-config --cflags $GMIME 2>/dev/null`
                   5386:                        MIME_LIBS=`pkg-config --libs $GMIME 2>/dev/null`
                   5387:                fi
1.154     moko     5388:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-mailreceive value was not specified, hoping linker would find Gnome MIME library" >&5
                   5389: $as_echo "$as_me: WARNING: --with-mailreceive value was not specified, hoping linker would find Gnome MIME library" >&2;}
                   5390:        else
1.155     moko     5391:                MIME_INCLUDES="-I$MIME/include/$GMIME"
1.154     moko     5392:                MIME_LIBS="-l$GMIME"
                   5393:                if test -f $MIME/include/$GMIME/gmime/gmime.h -a -f $MIME/lib/lib$GMIME.la; then
                   5394:                        MIME_LIBS="$MIME/lib/lib$GMIME.la"
1.155     moko     5395:                        if test -f $MIME/lib/lib$GLIB.la; then
                   5396:                                MIME_INCLUDES="$MIME_INCLUDES -I$MIME/include/$GLIB -I$MIME/lib/$GLIB/include"
                   5397:                        else
                   5398:                                GLIB_INCLUDES=`pkg-config --cflags $GLIB 2>/dev/null`
                   5399:                                MIME_INCLUDES="$MIME_INCLUDES $GLIB_INCLUDES"
                   5400:                        fi
1.154     moko     5401:                        MIME_OK="yes"
                   5402:                fi
1.67      paf      5403:        fi
1.66      paf      5404: 
1.154     moko     5405:        if test -z "$MIME_OK"; then
                   5406:                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mime" >&5
                   5407: $as_echo_n "checking for mime... " >&6; }
                   5408:                SAVE_LIBS=$LIBS
                   5409:                LIBS="$LIBS $MIME_LIBS $MIME_INCLUDES"
1.229     moko     5410: 
                   5411:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.154     moko     5412: /* end confdefs.h.  */
                   5413:  #include <gmime/gmime.h>
                   5414: int
                   5415: main ()
                   5416: {
                   5417:  guint v=gmime_major_version;
                   5418:   ;
                   5419:   return 0;
                   5420: }
                   5421: _ACEOF
                   5422: if ac_fn_c_try_link "$LINENO"; then :
                   5423:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5424: $as_echo "yes" >&6; }
1.66      paf      5425: 
1.154     moko     5426: else
                   5427:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5428: $as_echo "no" >&6; }
                   5429:                        if test -z "$MIME"; then
1.201     moko     5430:                                as_fn_error $? "please specify path to Gnome MIME library: --with-mailreceive=DIR" "$LINENO" 5
1.154     moko     5431:                        else
                   5432:                                as_fn_error $? "$MIME does not seem to be valid Gnome MIME installation directory" "$LINENO" 5
1.90      paf      5433:                        fi
1.66      paf      5434: 
1.229     moko     5435: 
1.150     moko     5436: fi
1.154     moko     5437: rm -f core conftest.err conftest.$ac_objext \
                   5438:     conftest$ac_exeext conftest.$ac_ext
1.229     moko     5439: 
1.154     moko     5440:                LIBS=$SAVE_LIBS
1.67      paf      5441:        fi
1.66      paf      5442: 
1.150     moko     5443: $as_echo "#define WITH_MAILRECEIVE /**/" >>confdefs.h
1.66      paf      5444: 
                   5445: 
1.154     moko     5446: fi
1.66      paf      5447: 
                   5448: 
                   5449: 
                   5450: 
                   5451: 
                   5452: 
                   5453: 
1.232     moko     5454: # Check whether --with-amqp was given.
                   5455: if test "${with_amqp+set}" = set; then :
                   5456:   withval=$with_amqp;
                   5457:     AMQP=$withval
                   5458: 
                   5459:     if test -z "$AMQP" -o "$AMQP" = "yes"; then
                   5460:         AMQP_INCLUDES=""
                   5461:         AMQP_LIBS="-lrabbitmq"
                   5462:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-amqp value was not specified, hoping linker would find it" >&5
                   5463: $as_echo "$as_me: WARNING: --with-amqp value was not specified, hoping linker would find it" >&2;}
                   5464:     else
                   5465:         AMQP_INCLUDES="-I$AMQP/include"
                   5466:         if test -f $AMQP/lib/librabbitmq.la; then
                   5467:             AMQP_LIBS="$AMQP/lib/librabbitmq.la"
                   5468:         else
                   5469:             AMQP_LIBS="-L$AMQP/lib -lrabbitmq"
                   5470:         fi
                   5471:     fi
                   5472: 
                   5473:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for librabbitmq" >&5
                   5474: $as_echo_n "checking for librabbitmq... " >&6; }
                   5475:     SAVE_LIBS=$LIBS
                   5476:     LIBS="$LIBS $AMQP_LIBS $AMQP_INCLUDES"
                   5477: 
                   5478:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5479: /* end confdefs.h.  */
                   5480:  #include <amqp.h>
                   5481: int
                   5482: main ()
                   5483: {
                   5484:  amqp_connection_state_t c = 0;
                   5485:   ;
                   5486:   return 0;
                   5487: }
                   5488: _ACEOF
                   5489: if ac_fn_c_try_link "$LINENO"; then :
                   5490:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5491: $as_echo "yes" >&6; }
                   5492: 
                   5493: else
                   5494:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5495: $as_echo "no" >&6; }
                   5496:         if test -z "$AMQP"; then
                   5497:             as_fn_error $? "please specify path to librabbitmq: --with-amqp=DIR" "$LINENO" 5
                   5498:         else
                   5499:             as_fn_error $? "$AMQP does not seem to be valid librabbitmq installation directory" "$LINENO" 5
                   5500:         fi
                   5501: 
                   5502: 
                   5503: fi
                   5504: rm -f core conftest.err conftest.$ac_objext \
                   5505:     conftest$ac_exeext conftest.$ac_ext
                   5506: 
                   5507:     LIBS=$SAVE_LIBS
                   5508: 
                   5509: $as_echo "#define WITH_AMQP /**/" >>confdefs.h
                   5510: 
                   5511: 
                   5512: fi
                   5513: 
                   5514: 
                   5515: 
                   5516: 
                   5517: 
                   5518: 
1.150     moko     5519: # Check whether --with-sendmail was given.
                   5520: if test "${with_sendmail+set}" = set; then :
                   5521:   withval=$with_sendmail;
1.66      paf      5522: cat >>confdefs.h <<_ACEOF
                   5523: #define PA_FORCED_SENDMAIL "$withval"
                   5524: _ACEOF
                   5525: 
                   5526: 
1.150     moko     5527: fi
1.66      paf      5528: 
                   5529: 
                   5530: 
1.122     moko     5531: 
1.150     moko     5532: # Check whether --with-apache was given.
                   5533: if test "${with_apache+set}" = set; then :
                   5534:   withval=$with_apache;
1.122     moko     5535:        APXS=$withval
                   5536: 
                   5537:        if test -z "$APXS" -o "$APXS" = "yes"; then
                   5538:                APXS=`which apxs 2>/dev/null`
1.142     moko     5539:                if test -z "$APXS"; then
                   5540:                        APXS=`which apxs2 2>/dev/null`
                   5541:                fi
                   5542:        fi
1.122     moko     5543: 
                   5544:        APACHE=`$APXS -q TARGET 2>/dev/null`
                   5545: 
                   5546:        if test -z "$APACHE"; then
1.150     moko     5547:                as_fn_error $? "$APXS does not seem to be valid apache apxs utility path" "$LINENO" 5
1.67      paf      5548:        fi
1.7       paf      5549: 
1.122     moko     5550:        APACHE_MAIN_INC=`$APXS -q INCLUDEDIR`
                   5551:        APACHE_EXTRA_INC=`$APXS -q EXTRA_INCLUDES 2>/dev/null`
                   5552:        APACHE_INC="-I$APACHE_MAIN_INC $APACHE_EXTRA_INC"
                   5553:        APACHE_CFLAGS=`$APXS -q CFLAGS`
                   5554: 
1.150     moko     5555: fi
1.7       paf      5556: 
                   5557: 
1.62      paf      5558: 
1.122     moko     5559: 
1.150     moko     5560:  if test -n "$APACHE"; then
1.122     moko     5561:   COMPILE_APACHE_MODULE_TRUE=
                   5562:   COMPILE_APACHE_MODULE_FALSE='#'
1.66      paf      5563: else
1.122     moko     5564:   COMPILE_APACHE_MODULE_TRUE='#'
                   5565:   COMPILE_APACHE_MODULE_FALSE=
1.66      paf      5566: fi
1.1       paf      5567: 
                   5568: 
                   5569: 
1.62      paf      5570: 
                   5571: 
1.7       paf      5572: 
1.1       paf      5573: 
                   5574: 
                   5575: 
1.62      paf      5576: 
1.128     moko     5577: case `pwd` in
                   5578:   *\ * | *\    *)
1.150     moko     5579:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
                   5580: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
1.128     moko     5581: esac
                   5582: 
                   5583: 
                   5584: 
                   5585: macro_version='2.4.2'
                   5586: macro_revision='1.3337'
                   5587: 
                   5588: 
                   5589: 
                   5590: 
                   5591: 
                   5592: 
                   5593: 
                   5594: 
                   5595: 
                   5596: 
                   5597: 
                   5598: 
                   5599: 
                   5600: ltmain="$ac_aux_dir/ltmain.sh"
                   5601: 
                   5602: # Backslashify metacharacters that are still active within
                   5603: # double-quoted strings.
                   5604: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
1.10      paf      5605: 
1.128     moko     5606: # Same as above, but do not quote variable references.
                   5607: double_quote_subst='s/\(["`\\]\)/\\\1/g'
1.10      paf      5608: 
1.128     moko     5609: # Sed substitution to delay expansion of an escaped shell variable in a
                   5610: # double_quote_subst'ed string.
                   5611: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1.62      paf      5612: 
1.128     moko     5613: # Sed substitution to delay expansion of an escaped single quote.
                   5614: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
1.86      paf      5615: 
1.128     moko     5616: # Sed substitution to avoid accidental globbing in evaled expressions
                   5617: no_glob_subst='s/\*/\\\*/g'
1.86      paf      5618: 
1.128     moko     5619: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   5620: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
                   5621: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
1.86      paf      5622: 
1.150     moko     5623: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
                   5624: $as_echo_n "checking how to print strings... " >&6; }
1.128     moko     5625: # Test print first, because it will be a builtin if present.
                   5626: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
                   5627:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
                   5628:   ECHO='print -r --'
                   5629: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
                   5630:   ECHO='printf %s\n'
                   5631: else
                   5632:   # Use this function as a fallback that always works.
                   5633:   func_fallback_echo ()
                   5634:   {
                   5635:     eval 'cat <<_LTECHO_EOF
                   5636: $1
                   5637: _LTECHO_EOF'
                   5638:   }
                   5639:   ECHO='func_fallback_echo'
                   5640: fi
1.86      paf      5641: 
1.128     moko     5642: # func_echo_all arg...
                   5643: # Invoke $ECHO with all args, space-separated.
                   5644: func_echo_all ()
1.66      paf      5645: {
1.128     moko     5646:     $ECHO ""
1.66      paf      5647: }
1.10      paf      5648: 
1.128     moko     5649: case "$ECHO" in
1.150     moko     5650:   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
                   5651: $as_echo "printf" >&6; } ;;
                   5652:   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
                   5653: $as_echo "print -r" >&6; } ;;
                   5654:   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
                   5655: $as_echo "cat" >&6; } ;;
1.128     moko     5656: esac
                   5657: 
                   5658: 
                   5659: 
                   5660: 
                   5661: 
                   5662: 
                   5663: 
                   5664: 
                   5665: 
                   5666: 
                   5667: 
                   5668: 
                   5669: 
                   5670: 
1.150     moko     5671: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
                   5672: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
                   5673: if ${ac_cv_path_SED+:} false; then :
                   5674:   $as_echo_n "(cached) " >&6
                   5675: else
                   5676:             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
                   5677:      for ac_i in 1 2 3 4 5 6 7; do
                   5678:        ac_script="$ac_script$as_nl$ac_script"
                   5679:      done
                   5680:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
                   5681:      { ac_script=; unset ac_script;}
                   5682:      if test -z "$SED"; then
                   5683:   ac_path_SED_found=false
                   5684:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5685:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.128     moko     5686: for as_dir in $PATH
                   5687: do
                   5688:   IFS=$as_save_IFS
                   5689:   test -z "$as_dir" && as_dir=.
1.150     moko     5690:     for ac_prog in sed gsed; do
1.128     moko     5691:     for ac_exec_ext in '' $ac_executable_extensions; do
1.150     moko     5692:       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
1.166     moko     5693:       as_fn_executable_p "$ac_path_SED" || continue
1.150     moko     5694: # Check for GNU ac_path_SED and select it if it is found.
                   5695:   # Check for GNU $ac_path_SED
                   5696: case `"$ac_path_SED" --version 2>&1` in
                   5697: *GNU*)
                   5698:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
                   5699: *)
                   5700:   ac_count=0
                   5701:   $as_echo_n 0123456789 >"conftest.in"
                   5702:   while :
                   5703:   do
                   5704:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5705:     mv "conftest.tmp" "conftest.in"
                   5706:     cp "conftest.in" "conftest.nl"
                   5707:     $as_echo '' >> "conftest.nl"
                   5708:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5709:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5710:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5711:     if test $ac_count -gt ${ac_path_SED_max-0}; then
                   5712:       # Best one so far, save it but keep looking for a better one
                   5713:       ac_cv_path_SED="$ac_path_SED"
                   5714:       ac_path_SED_max=$ac_count
                   5715:     fi
                   5716:     # 10*(2^10) chars as input seems more than enough
                   5717:     test $ac_count -gt 10 && break
                   5718:   done
                   5719:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5720: esac
                   5721: 
                   5722:       $ac_path_SED_found && break 3
1.128     moko     5723:     done
                   5724:   done
1.150     moko     5725:   done
1.128     moko     5726: IFS=$as_save_IFS
1.150     moko     5727:   if test -z "$ac_cv_path_SED"; then
                   5728:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
1.128     moko     5729:   fi
1.150     moko     5730: else
                   5731:   ac_cv_path_SED=$SED
                   5732: fi
1.10      paf      5733: 
1.66      paf      5734: fi
1.150     moko     5735: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
                   5736: $as_echo "$ac_cv_path_SED" >&6; }
                   5737:  SED="$ac_cv_path_SED"
                   5738:   rm -f conftest.sed
1.128     moko     5739: 
                   5740: test -z "$SED" && SED=sed
                   5741: Xsed="$SED -e 1s/^X//"
1.10      paf      5742: 
1.128     moko     5743: 
                   5744: 
                   5745: 
                   5746: 
                   5747: 
                   5748: 
                   5749: 
                   5750: 
                   5751: 
                   5752: 
1.150     moko     5753: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
                   5754: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
                   5755: if ${ac_cv_path_GREP+:} false; then :
                   5756:   $as_echo_n "(cached) " >&6
                   5757: else
                   5758:   if test -z "$GREP"; then
                   5759:   ac_path_GREP_found=false
                   5760:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5761:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5762: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5763: do
                   5764:   IFS=$as_save_IFS
                   5765:   test -z "$as_dir" && as_dir=.
                   5766:     for ac_prog in grep ggrep; do
                   5767:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5768:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
1.166     moko     5769:       as_fn_executable_p "$ac_path_GREP" || continue
1.150     moko     5770: # Check for GNU ac_path_GREP and select it if it is found.
                   5771:   # Check for GNU $ac_path_GREP
                   5772: case `"$ac_path_GREP" --version 2>&1` in
                   5773: *GNU*)
                   5774:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
                   5775: *)
                   5776:   ac_count=0
                   5777:   $as_echo_n 0123456789 >"conftest.in"
                   5778:   while :
                   5779:   do
                   5780:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5781:     mv "conftest.tmp" "conftest.in"
                   5782:     cp "conftest.in" "conftest.nl"
                   5783:     $as_echo 'GREP' >> "conftest.nl"
                   5784:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5785:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5786:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5787:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
                   5788:       # Best one so far, save it but keep looking for a better one
                   5789:       ac_cv_path_GREP="$ac_path_GREP"
                   5790:       ac_path_GREP_max=$ac_count
1.128     moko     5791:     fi
1.150     moko     5792:     # 10*(2^10) chars as input seems more than enough
                   5793:     test $ac_count -gt 10 && break
                   5794:   done
                   5795:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5796: esac
                   5797: 
                   5798:       $ac_path_GREP_found && break 3
                   5799:     done
                   5800:   done
                   5801:   done
                   5802: IFS=$as_save_IFS
                   5803:   if test -z "$ac_cv_path_GREP"; then
                   5804:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   5805:   fi
                   5806: else
                   5807:   ac_cv_path_GREP=$GREP
                   5808: fi
                   5809: 
1.128     moko     5810: fi
1.150     moko     5811: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
                   5812: $as_echo "$ac_cv_path_GREP" >&6; }
                   5813:  GREP="$ac_cv_path_GREP"
                   5814: 
                   5815: 
                   5816: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
                   5817: $as_echo_n "checking for egrep... " >&6; }
                   5818: if ${ac_cv_path_EGREP+:} false; then :
                   5819:   $as_echo_n "(cached) " >&6
                   5820: else
                   5821:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
                   5822:    then ac_cv_path_EGREP="$GREP -E"
                   5823:    else
                   5824:      if test -z "$EGREP"; then
                   5825:   ac_path_EGREP_found=false
                   5826:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5827:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5828: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5829: do
                   5830:   IFS=$as_save_IFS
                   5831:   test -z "$as_dir" && as_dir=.
                   5832:     for ac_prog in egrep; do
                   5833:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5834:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
1.166     moko     5835:       as_fn_executable_p "$ac_path_EGREP" || continue
1.150     moko     5836: # Check for GNU ac_path_EGREP and select it if it is found.
                   5837:   # Check for GNU $ac_path_EGREP
                   5838: case `"$ac_path_EGREP" --version 2>&1` in
                   5839: *GNU*)
                   5840:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
                   5841: *)
                   5842:   ac_count=0
                   5843:   $as_echo_n 0123456789 >"conftest.in"
                   5844:   while :
                   5845:   do
                   5846:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5847:     mv "conftest.tmp" "conftest.in"
                   5848:     cp "conftest.in" "conftest.nl"
                   5849:     $as_echo 'EGREP' >> "conftest.nl"
                   5850:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5851:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5852:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5853:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
                   5854:       # Best one so far, save it but keep looking for a better one
                   5855:       ac_cv_path_EGREP="$ac_path_EGREP"
                   5856:       ac_path_EGREP_max=$ac_count
                   5857:     fi
                   5858:     # 10*(2^10) chars as input seems more than enough
                   5859:     test $ac_count -gt 10 && break
                   5860:   done
                   5861:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5862: esac
1.128     moko     5863: 
1.150     moko     5864:       $ac_path_EGREP_found && break 3
                   5865:     done
                   5866:   done
                   5867:   done
                   5868: IFS=$as_save_IFS
                   5869:   if test -z "$ac_cv_path_EGREP"; then
                   5870:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   5871:   fi
                   5872: else
                   5873:   ac_cv_path_EGREP=$EGREP
                   5874: fi
1.128     moko     5875: 
1.150     moko     5876:    fi
                   5877: fi
                   5878: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
                   5879: $as_echo "$ac_cv_path_EGREP" >&6; }
                   5880:  EGREP="$ac_cv_path_EGREP"
                   5881: 
                   5882: 
                   5883: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
                   5884: $as_echo_n "checking for fgrep... " >&6; }
                   5885: if ${ac_cv_path_FGREP+:} false; then :
                   5886:   $as_echo_n "(cached) " >&6
                   5887: else
                   5888:   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
                   5889:    then ac_cv_path_FGREP="$GREP -F"
                   5890:    else
                   5891:      if test -z "$FGREP"; then
                   5892:   ac_path_FGREP_found=false
                   5893:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5894:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5895: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5896: do
                   5897:   IFS=$as_save_IFS
                   5898:   test -z "$as_dir" && as_dir=.
                   5899:     for ac_prog in fgrep; do
                   5900:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5901:       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
1.166     moko     5902:       as_fn_executable_p "$ac_path_FGREP" || continue
1.150     moko     5903: # Check for GNU ac_path_FGREP and select it if it is found.
                   5904:   # Check for GNU $ac_path_FGREP
                   5905: case `"$ac_path_FGREP" --version 2>&1` in
                   5906: *GNU*)
                   5907:   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
                   5908: *)
                   5909:   ac_count=0
                   5910:   $as_echo_n 0123456789 >"conftest.in"
                   5911:   while :
                   5912:   do
                   5913:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5914:     mv "conftest.tmp" "conftest.in"
                   5915:     cp "conftest.in" "conftest.nl"
                   5916:     $as_echo 'FGREP' >> "conftest.nl"
                   5917:     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5918:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5919:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5920:     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
                   5921:       # Best one so far, save it but keep looking for a better one
                   5922:       ac_cv_path_FGREP="$ac_path_FGREP"
                   5923:       ac_path_FGREP_max=$ac_count
1.128     moko     5924:     fi
1.150     moko     5925:     # 10*(2^10) chars as input seems more than enough
                   5926:     test $ac_count -gt 10 && break
                   5927:   done
                   5928:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5929: esac
                   5930: 
                   5931:       $ac_path_FGREP_found && break 3
                   5932:     done
                   5933:   done
                   5934:   done
                   5935: IFS=$as_save_IFS
                   5936:   if test -z "$ac_cv_path_FGREP"; then
                   5937:     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   5938:   fi
                   5939: else
                   5940:   ac_cv_path_FGREP=$FGREP
                   5941: fi
                   5942: 
                   5943:    fi
1.128     moko     5944: fi
1.150     moko     5945: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
                   5946: $as_echo "$ac_cv_path_FGREP" >&6; }
                   5947:  FGREP="$ac_cv_path_FGREP"
1.128     moko     5948: 
                   5949: 
                   5950: test -z "$GREP" && GREP=grep
                   5951: 
                   5952: 
                   5953: 
                   5954: 
                   5955: 
                   5956: 
                   5957: 
                   5958: 
                   5959: 
                   5960: 
                   5961: 
                   5962: 
                   5963: 
                   5964: 
                   5965: 
                   5966: 
                   5967: 
                   5968: 
                   5969: 
1.150     moko     5970: # Check whether --with-gnu-ld was given.
                   5971: if test "${with_gnu_ld+set}" = set; then :
                   5972:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
1.128     moko     5973: else
                   5974:   with_gnu_ld=no
1.150     moko     5975: fi
                   5976: 
1.128     moko     5977: ac_prog=ld
                   5978: if test "$GCC" = yes; then
                   5979:   # Check if gcc -print-prog-name=ld gives a path.
1.150     moko     5980:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   5981: $as_echo_n "checking for ld used by $CC... " >&6; }
1.128     moko     5982:   case $host in
                   5983:   *-*-mingw*)
                   5984:     # gcc leaves a trailing carriage return which upsets mingw
                   5985:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   5986:   *)
                   5987:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   5988:   esac
                   5989:   case $ac_prog in
                   5990:     # Accept absolute paths.
                   5991:     [\\/]* | ?:[\\/]*)
                   5992:       re_direlt='/[^/][^/]*/\.\./'
                   5993:       # Canonicalize the pathname of ld
                   5994:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   5995:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   5996:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   5997:       done
                   5998:       test -z "$LD" && LD="$ac_prog"
                   5999:       ;;
                   6000:   "")
                   6001:     # If it fails, then pretend we aren't using GCC.
                   6002:     ac_prog=ld
                   6003:     ;;
                   6004:   *)
                   6005:     # If it is relative, then search for the first ld in PATH.
                   6006:     with_gnu_ld=unknown
                   6007:     ;;
                   6008:   esac
                   6009: elif test "$with_gnu_ld" = yes; then
1.150     moko     6010:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   6011: $as_echo_n "checking for GNU ld... " >&6; }
1.128     moko     6012: else
1.150     moko     6013:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   6014: $as_echo_n "checking for non-GNU ld... " >&6; }
1.128     moko     6015: fi
1.150     moko     6016: if ${lt_cv_path_LD+:} false; then :
                   6017:   $as_echo_n "(cached) " >&6
1.128     moko     6018: else
                   6019:   if test -z "$LD"; then
                   6020:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   6021:   for ac_dir in $PATH; do
                   6022:     IFS="$lt_save_ifs"
                   6023:     test -z "$ac_dir" && ac_dir=.
                   6024:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   6025:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   6026:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   6027:       # but apparently some variants of GNU ld only accept -v.
                   6028:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   6029:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   6030:       *GNU* | *'with BFD'*)
                   6031:        test "$with_gnu_ld" != no && break
                   6032:        ;;
                   6033:       *)
                   6034:        test "$with_gnu_ld" != yes && break
                   6035:        ;;
                   6036:       esac
                   6037:     fi
                   6038:   done
                   6039:   IFS="$lt_save_ifs"
                   6040: else
                   6041:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   6042: fi
                   6043: fi
                   6044: 
                   6045: LD="$lt_cv_path_LD"
                   6046: if test -n "$LD"; then
1.150     moko     6047:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   6048: $as_echo "$LD" >&6; }
1.128     moko     6049: else
1.150     moko     6050:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6051: $as_echo "no" >&6; }
1.128     moko     6052: fi
1.150     moko     6053: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
                   6054: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   6055: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
                   6056: if ${lt_cv_prog_gnu_ld+:} false; then :
                   6057:   $as_echo_n "(cached) " >&6
1.128     moko     6058: else
                   6059:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   6060: case `$LD -v 2>&1 </dev/null` in
                   6061: *GNU* | *'with BFD'*)
                   6062:   lt_cv_prog_gnu_ld=yes
                   6063:   ;;
                   6064: *)
                   6065:   lt_cv_prog_gnu_ld=no
                   6066:   ;;
                   6067: esac
                   6068: fi
1.150     moko     6069: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   6070: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
1.128     moko     6071: with_gnu_ld=$lt_cv_prog_gnu_ld
                   6072: 
                   6073: 
                   6074: 
                   6075: 
                   6076: 
                   6077: 
                   6078: 
                   6079: 
                   6080: 
1.150     moko     6081: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
                   6082: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
                   6083: if ${lt_cv_path_NM+:} false; then :
                   6084:   $as_echo_n "(cached) " >&6
1.128     moko     6085: else
                   6086:   if test -n "$NM"; then
                   6087:   # Let the user override the test.
                   6088:   lt_cv_path_NM="$NM"
                   6089: else
                   6090:   lt_nm_to_check="${ac_tool_prefix}nm"
                   6091:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
                   6092:     lt_nm_to_check="$lt_nm_to_check nm"
                   6093:   fi
                   6094:   for lt_tmp_nm in $lt_nm_to_check; do
                   6095:     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   6096:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
                   6097:       IFS="$lt_save_ifs"
                   6098:       test -z "$ac_dir" && ac_dir=.
                   6099:       tmp_nm="$ac_dir/$lt_tmp_nm"
                   6100:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
                   6101:        # Check to see if the nm accepts a BSD-compat flag.
                   6102:        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
                   6103:        #   nm: unknown option "B" ignored
                   6104:        # Tru64's nm complains that /dev/null is an invalid object file
                   6105:        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
                   6106:        */dev/null* | *'Invalid file or object type'*)
                   6107:          lt_cv_path_NM="$tmp_nm -B"
                   6108:          break
                   6109:          ;;
                   6110:        *)
                   6111:          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
                   6112:          */dev/null*)
                   6113:            lt_cv_path_NM="$tmp_nm -p"
                   6114:            break
                   6115:            ;;
                   6116:          *)
                   6117:            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
                   6118:            continue # so that we can try to find one that supports BSD flags
                   6119:            ;;
                   6120:          esac
                   6121:          ;;
                   6122:        esac
                   6123:       fi
                   6124:     done
                   6125:     IFS="$lt_save_ifs"
                   6126:   done
                   6127:   : ${lt_cv_path_NM=no}
                   6128: fi
                   6129: fi
1.150     moko     6130: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
                   6131: $as_echo "$lt_cv_path_NM" >&6; }
1.128     moko     6132: if test "$lt_cv_path_NM" != "no"; then
                   6133:   NM="$lt_cv_path_NM"
                   6134: else
                   6135:   # Didn't find any BSD compatible name lister, look for dumpbin.
                   6136:   if test -n "$DUMPBIN"; then :
                   6137:     # Let the user override the test.
                   6138:   else
                   6139:     if test -n "$ac_tool_prefix"; then
                   6140:   for ac_prog in dumpbin "link -dump"
                   6141:   do
                   6142:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   6143: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150     moko     6144: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6145: $as_echo_n "checking for $ac_word... " >&6; }
                   6146: if ${ac_cv_prog_DUMPBIN+:} false; then :
                   6147:   $as_echo_n "(cached) " >&6
1.128     moko     6148: else
                   6149:   if test -n "$DUMPBIN"; then
                   6150:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
                   6151: else
                   6152: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6153: for as_dir in $PATH
                   6154: do
                   6155:   IFS=$as_save_IFS
                   6156:   test -z "$as_dir" && as_dir=.
1.150     moko     6157:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     6158:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     6159:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
1.150     moko     6160:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6161:     break 2
                   6162:   fi
                   6163: done
1.150     moko     6164:   done
                   6165: IFS=$as_save_IFS
1.128     moko     6166: 
                   6167: fi
                   6168: fi
                   6169: DUMPBIN=$ac_cv_prog_DUMPBIN
                   6170: if test -n "$DUMPBIN"; then
1.150     moko     6171:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
                   6172: $as_echo "$DUMPBIN" >&6; }
1.128     moko     6173: else
1.150     moko     6174:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6175: $as_echo "no" >&6; }
1.128     moko     6176: fi
                   6177: 
1.150     moko     6178: 
1.128     moko     6179:     test -n "$DUMPBIN" && break
                   6180:   done
                   6181: fi
                   6182: if test -z "$DUMPBIN"; then
                   6183:   ac_ct_DUMPBIN=$DUMPBIN
                   6184:   for ac_prog in dumpbin "link -dump"
                   6185: do
                   6186:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   6187: set dummy $ac_prog; ac_word=$2
1.150     moko     6188: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6189: $as_echo_n "checking for $ac_word... " >&6; }
                   6190: if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
                   6191:   $as_echo_n "(cached) " >&6
1.128     moko     6192: else
                   6193:   if test -n "$ac_ct_DUMPBIN"; then
                   6194:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
                   6195: else
                   6196: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6197: for as_dir in $PATH
                   6198: do
                   6199:   IFS=$as_save_IFS
                   6200:   test -z "$as_dir" && as_dir=.
1.150     moko     6201:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     6202:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     6203:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
1.150     moko     6204:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6205:     break 2
                   6206:   fi
                   6207: done
1.150     moko     6208:   done
                   6209: IFS=$as_save_IFS
1.128     moko     6210: 
                   6211: fi
                   6212: fi
                   6213: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
                   6214: if test -n "$ac_ct_DUMPBIN"; then
1.150     moko     6215:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
                   6216: $as_echo "$ac_ct_DUMPBIN" >&6; }
1.128     moko     6217: else
1.150     moko     6218:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6219: $as_echo "no" >&6; }
1.128     moko     6220: fi
                   6221: 
1.150     moko     6222: 
1.128     moko     6223:   test -n "$ac_ct_DUMPBIN" && break
                   6224: done
                   6225: 
1.150     moko     6226:   if test "x$ac_ct_DUMPBIN" = x; then
                   6227:     DUMPBIN=":"
                   6228:   else
                   6229:     case $cross_compiling:$ac_tool_warned in
                   6230: yes:)
                   6231: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6232: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6233: ac_tool_warned=yes ;;
                   6234: esac
                   6235:     DUMPBIN=$ac_ct_DUMPBIN
                   6236:   fi
1.128     moko     6237: fi
                   6238: 
                   6239:     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
                   6240:     *COFF*)
                   6241:       DUMPBIN="$DUMPBIN -symbols"
                   6242:       ;;
                   6243:     *)
                   6244:       DUMPBIN=:
                   6245:       ;;
                   6246:     esac
                   6247:   fi
                   6248: 
                   6249:   if test "$DUMPBIN" != ":"; then
                   6250:     NM="$DUMPBIN"
                   6251:   fi
                   6252: fi
                   6253: test -z "$NM" && NM=nm
                   6254: 
                   6255: 
                   6256: 
                   6257: 
                   6258: 
                   6259: 
1.150     moko     6260: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
                   6261: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
                   6262: if ${lt_cv_nm_interface+:} false; then :
                   6263:   $as_echo_n "(cached) " >&6
1.128     moko     6264: else
                   6265:   lt_cv_nm_interface="BSD nm"
                   6266:   echo "int some_variable = 0;" > conftest.$ac_ext
                   6267:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
                   6268:   (eval "$ac_compile" 2>conftest.err)
                   6269:   cat conftest.err >&5
                   6270:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
                   6271:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
                   6272:   cat conftest.err >&5
                   6273:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
                   6274:   cat conftest.out >&5
                   6275:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
                   6276:     lt_cv_nm_interface="MS dumpbin"
                   6277:   fi
                   6278:   rm -f conftest*
                   6279: fi
1.150     moko     6280: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
                   6281: $as_echo "$lt_cv_nm_interface" >&6; }
1.128     moko     6282: 
1.150     moko     6283: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
                   6284: $as_echo_n "checking whether ln -s works... " >&6; }
1.128     moko     6285: LN_S=$as_ln_s
                   6286: if test "$LN_S" = "ln -s"; then
1.150     moko     6287:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6288: $as_echo "yes" >&6; }
1.128     moko     6289: else
1.150     moko     6290:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
                   6291: $as_echo "no, using $LN_S" >&6; }
1.128     moko     6292: fi
                   6293: 
                   6294: # find the maximum length of command line arguments
1.150     moko     6295: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
                   6296: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
                   6297: if ${lt_cv_sys_max_cmd_len+:} false; then :
                   6298:   $as_echo_n "(cached) " >&6
1.128     moko     6299: else
                   6300:     i=0
                   6301:   teststring="ABCD"
                   6302: 
                   6303:   case $build_os in
                   6304:   msdosdjgpp*)
                   6305:     # On DJGPP, this test can blow up pretty badly due to problems in libc
                   6306:     # (any single argument exceeding 2000 bytes causes a buffer overrun
                   6307:     # during glob expansion).  Even if it were fixed, the result of this
                   6308:     # check would be larger than it should be.
                   6309:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
                   6310:     ;;
                   6311: 
                   6312:   gnu*)
                   6313:     # Under GNU Hurd, this test is not required because there is
                   6314:     # no limit to the length of command line arguments.
                   6315:     # Libtool will interpret -1 as no limit whatsoever
                   6316:     lt_cv_sys_max_cmd_len=-1;
                   6317:     ;;
                   6318: 
                   6319:   cygwin* | mingw* | cegcc*)
                   6320:     # On Win9x/ME, this test blows up -- it succeeds, but takes
                   6321:     # about 5 minutes as the teststring grows exponentially.
                   6322:     # Worse, since 9x/ME are not pre-emptively multitasking,
                   6323:     # you end up with a "frozen" computer, even though with patience
                   6324:     # the test eventually succeeds (with a max line length of 256k).
                   6325:     # Instead, let's just punt: use the minimum linelength reported by
                   6326:     # all of the supported platforms: 8192 (on NT/2K/XP).
                   6327:     lt_cv_sys_max_cmd_len=8192;
                   6328:     ;;
                   6329: 
                   6330:   mint*)
                   6331:     # On MiNT this can take a long time and run out of memory.
                   6332:     lt_cv_sys_max_cmd_len=8192;
                   6333:     ;;
                   6334: 
                   6335:   amigaos*)
                   6336:     # On AmigaOS with pdksh, this test takes hours, literally.
                   6337:     # So we just punt and use a minimum line length of 8192.
                   6338:     lt_cv_sys_max_cmd_len=8192;
                   6339:     ;;
                   6340: 
                   6341:   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
                   6342:     # This has been around since 386BSD, at least.  Likely further.
                   6343:     if test -x /sbin/sysctl; then
                   6344:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
                   6345:     elif test -x /usr/sbin/sysctl; then
                   6346:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
                   6347:     else
                   6348:       lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
                   6349:     fi
                   6350:     # And add a safety zone
                   6351:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   6352:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   6353:     ;;
                   6354: 
                   6355:   interix*)
                   6356:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
                   6357:     lt_cv_sys_max_cmd_len=196608
                   6358:     ;;
                   6359: 
                   6360:   os2*)
                   6361:     # The test takes a long time on OS/2.
                   6362:     lt_cv_sys_max_cmd_len=8192
                   6363:     ;;
                   6364: 
                   6365:   osf*)
                   6366:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
                   6367:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
                   6368:     # nice to cause kernel panics so lets avoid the loop below.
                   6369:     # First set a reasonable default.
                   6370:     lt_cv_sys_max_cmd_len=16384
                   6371:     #
                   6372:     if test -x /sbin/sysconfig; then
                   6373:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
                   6374:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
                   6375:       esac
                   6376:     fi
                   6377:     ;;
                   6378:   sco3.2v5*)
                   6379:     lt_cv_sys_max_cmd_len=102400
                   6380:     ;;
                   6381:   sysv5* | sco5v6* | sysv4.2uw2*)
                   6382:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
                   6383:     if test -n "$kargmax"; then
                   6384:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
                   6385:     else
                   6386:       lt_cv_sys_max_cmd_len=32768
                   6387:     fi
                   6388:     ;;
                   6389:   *)
                   6390:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
                   6391:     if test -n "$lt_cv_sys_max_cmd_len"; then
                   6392:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   6393:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   6394:     else
                   6395:       # Make teststring a little bigger before we do anything with it.
                   6396:       # a 1K string should be a reasonable start.
                   6397:       for i in 1 2 3 4 5 6 7 8 ; do
                   6398:         teststring=$teststring$teststring
                   6399:       done
                   6400:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
                   6401:       # If test is not a shell built-in, we'll probably end up computing a
                   6402:       # maximum length that is only half of the actual maximum length, but
                   6403:       # we can't tell.
                   6404:       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
                   6405:                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
                   6406:              test $i != 17 # 1/2 MB should be enough
                   6407:       do
                   6408:         i=`expr $i + 1`
                   6409:         teststring=$teststring$teststring
                   6410:       done
                   6411:       # Only check the string length outside the loop.
                   6412:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
                   6413:       teststring=
                   6414:       # Add a significant safety factor because C++ compilers can tack on
                   6415:       # massive amounts of additional arguments before passing them to the
                   6416:       # linker.  It appears as though 1/2 is a usable value.
                   6417:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
                   6418:     fi
                   6419:     ;;
                   6420:   esac
                   6421: 
                   6422: fi
                   6423: 
                   6424: if test -n $lt_cv_sys_max_cmd_len ; then
1.150     moko     6425:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
                   6426: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
1.128     moko     6427: else
1.150     moko     6428:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
                   6429: $as_echo "none" >&6; }
1.128     moko     6430: fi
                   6431: max_cmd_len=$lt_cv_sys_max_cmd_len
                   6432: 
                   6433: 
                   6434: 
                   6435: 
                   6436: 
                   6437: 
                   6438: : ${CP="cp -f"}
                   6439: : ${MV="mv -f"}
                   6440: : ${RM="rm -f"}
                   6441: 
1.150     moko     6442: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
                   6443: $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
1.128     moko     6444: # Try some XSI features
                   6445: xsi_shell=no
                   6446: ( _lt_dummy="a/b/c"
                   6447:   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
                   6448:       = c,a/b,b/c, \
                   6449:     && eval 'test $(( 1 + 1 )) -eq 2 \
                   6450:     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
                   6451:   && xsi_shell=yes
1.150     moko     6452: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
                   6453: $as_echo "$xsi_shell" >&6; }
1.128     moko     6454: 
                   6455: 
1.150     moko     6456: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
                   6457: $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
1.128     moko     6458: lt_shell_append=no
                   6459: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
                   6460:     >/dev/null 2>&1 \
                   6461:   && lt_shell_append=yes
1.150     moko     6462: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
                   6463: $as_echo "$lt_shell_append" >&6; }
1.128     moko     6464: 
                   6465: 
                   6466: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                   6467:   lt_unset=unset
                   6468: else
                   6469:   lt_unset=false
                   6470: fi
                   6471: 
                   6472: 
                   6473: 
                   6474: 
                   6475: 
                   6476: # test EBCDIC or ASCII
                   6477: case `echo X|tr X '\101'` in
                   6478:  A) # ASCII based system
                   6479:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
                   6480:   lt_SP2NL='tr \040 \012'
                   6481:   lt_NL2SP='tr \015\012 \040\040'
                   6482:   ;;
                   6483:  *) # EBCDIC based system
                   6484:   lt_SP2NL='tr \100 \n'
                   6485:   lt_NL2SP='tr \r\n \100\100'
                   6486:   ;;
                   6487: esac
                   6488: 
                   6489: 
                   6490: 
                   6491: 
                   6492: 
                   6493: 
                   6494: 
                   6495: 
                   6496: 
1.150     moko     6497: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
                   6498: $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
                   6499: if ${lt_cv_to_host_file_cmd+:} false; then :
                   6500:   $as_echo_n "(cached) " >&6
1.128     moko     6501: else
                   6502:   case $host in
                   6503:   *-*-mingw* )
                   6504:     case $build in
                   6505:       *-*-mingw* ) # actually msys
                   6506:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
                   6507:         ;;
                   6508:       *-*-cygwin* )
                   6509:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
                   6510:         ;;
                   6511:       * ) # otherwise, assume *nix
                   6512:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
                   6513:         ;;
                   6514:     esac
                   6515:     ;;
                   6516:   *-*-cygwin* )
                   6517:     case $build in
                   6518:       *-*-mingw* ) # actually msys
                   6519:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
                   6520:         ;;
                   6521:       *-*-cygwin* )
                   6522:         lt_cv_to_host_file_cmd=func_convert_file_noop
                   6523:         ;;
                   6524:       * ) # otherwise, assume *nix
                   6525:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
                   6526:         ;;
                   6527:     esac
                   6528:     ;;
                   6529:   * ) # unhandled hosts (and "normal" native builds)
                   6530:     lt_cv_to_host_file_cmd=func_convert_file_noop
                   6531:     ;;
                   6532: esac
                   6533: 
                   6534: fi
                   6535: 
                   6536: to_host_file_cmd=$lt_cv_to_host_file_cmd
1.150     moko     6537: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
                   6538: $as_echo "$lt_cv_to_host_file_cmd" >&6; }
1.128     moko     6539: 
                   6540: 
                   6541: 
                   6542: 
                   6543: 
1.150     moko     6544: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
                   6545: $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
                   6546: if ${lt_cv_to_tool_file_cmd+:} false; then :
                   6547:   $as_echo_n "(cached) " >&6
1.128     moko     6548: else
                   6549:   #assume ordinary cross tools, or native build.
                   6550: lt_cv_to_tool_file_cmd=func_convert_file_noop
                   6551: case $host in
                   6552:   *-*-mingw* )
                   6553:     case $build in
                   6554:       *-*-mingw* ) # actually msys
                   6555:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
                   6556:         ;;
                   6557:     esac
                   6558:     ;;
                   6559: esac
                   6560: 
                   6561: fi
                   6562: 
                   6563: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
1.150     moko     6564: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
                   6565: $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
1.128     moko     6566: 
                   6567: 
                   6568: 
                   6569: 
                   6570: 
1.150     moko     6571: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
                   6572: $as_echo_n "checking for $LD option to reload object files... " >&6; }
                   6573: if ${lt_cv_ld_reload_flag+:} false; then :
                   6574:   $as_echo_n "(cached) " >&6
1.128     moko     6575: else
                   6576:   lt_cv_ld_reload_flag='-r'
                   6577: fi
1.150     moko     6578: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
                   6579: $as_echo "$lt_cv_ld_reload_flag" >&6; }
1.128     moko     6580: reload_flag=$lt_cv_ld_reload_flag
                   6581: case $reload_flag in
                   6582: "" | " "*) ;;
                   6583: *) reload_flag=" $reload_flag" ;;
                   6584: esac
                   6585: reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   6586: case $host_os in
                   6587:   cygwin* | mingw* | pw32* | cegcc*)
                   6588:     if test "$GCC" != yes; then
                   6589:       reload_cmds=false
                   6590:     fi
                   6591:     ;;
                   6592:   darwin*)
                   6593:     if test "$GCC" = yes; then
                   6594:       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
                   6595:     else
                   6596:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   6597:     fi
                   6598:     ;;
                   6599: esac
                   6600: 
                   6601: 
                   6602: 
                   6603: 
                   6604: 
                   6605: 
                   6606: 
                   6607: 
                   6608: 
                   6609: if test -n "$ac_tool_prefix"; then
                   6610:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   6611: set dummy ${ac_tool_prefix}objdump; ac_word=$2
1.150     moko     6612: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6613: $as_echo_n "checking for $ac_word... " >&6; }
                   6614: if ${ac_cv_prog_OBJDUMP+:} false; then :
                   6615:   $as_echo_n "(cached) " >&6
1.128     moko     6616: else
                   6617:   if test -n "$OBJDUMP"; then
                   6618:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   6619: else
                   6620: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6621: for as_dir in $PATH
                   6622: do
                   6623:   IFS=$as_save_IFS
                   6624:   test -z "$as_dir" && as_dir=.
1.150     moko     6625:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     6626:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     6627:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1.150     moko     6628:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6629:     break 2
                   6630:   fi
                   6631: done
1.150     moko     6632:   done
                   6633: IFS=$as_save_IFS
1.128     moko     6634: 
                   6635: fi
                   6636: fi
                   6637: OBJDUMP=$ac_cv_prog_OBJDUMP
                   6638: if test -n "$OBJDUMP"; then
1.150     moko     6639:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   6640: $as_echo "$OBJDUMP" >&6; }
1.128     moko     6641: else
1.150     moko     6642:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6643: $as_echo "no" >&6; }
1.128     moko     6644: fi
                   6645: 
1.150     moko     6646: 
1.128     moko     6647: fi
                   6648: if test -z "$ac_cv_prog_OBJDUMP"; then
                   6649:   ac_ct_OBJDUMP=$OBJDUMP
                   6650:   # Extract the first word of "objdump", so it can be a program name with args.
                   6651: set dummy objdump; ac_word=$2
1.150     moko     6652: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6653: $as_echo_n "checking for $ac_word... " >&6; }
                   6654: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
                   6655:   $as_echo_n "(cached) " >&6
1.128     moko     6656: else
                   6657:   if test -n "$ac_ct_OBJDUMP"; then
                   6658:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   6659: else
                   6660: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6661: for as_dir in $PATH
                   6662: do
                   6663:   IFS=$as_save_IFS
                   6664:   test -z "$as_dir" && as_dir=.
1.150     moko     6665:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     6666:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     6667:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.150     moko     6668:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6669:     break 2
                   6670:   fi
                   6671: done
1.150     moko     6672:   done
                   6673: IFS=$as_save_IFS
1.128     moko     6674: 
                   6675: fi
                   6676: fi
                   6677: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   6678: if test -n "$ac_ct_OBJDUMP"; then
1.150     moko     6679:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   6680: $as_echo "$ac_ct_OBJDUMP" >&6; }
1.128     moko     6681: else
1.150     moko     6682:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6683: $as_echo "no" >&6; }
1.128     moko     6684: fi
                   6685: 
1.150     moko     6686:   if test "x$ac_ct_OBJDUMP" = x; then
                   6687:     OBJDUMP="false"
                   6688:   else
                   6689:     case $cross_compiling:$ac_tool_warned in
                   6690: yes:)
                   6691: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6692: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6693: ac_tool_warned=yes ;;
                   6694: esac
                   6695:     OBJDUMP=$ac_ct_OBJDUMP
                   6696:   fi
1.128     moko     6697: else
                   6698:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   6699: fi
                   6700: 
                   6701: test -z "$OBJDUMP" && OBJDUMP=objdump
                   6702: 
                   6703: 
                   6704: 
                   6705: 
                   6706: 
                   6707: 
1.150     moko     6708: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
                   6709: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
                   6710: if ${lt_cv_deplibs_check_method+:} false; then :
                   6711:   $as_echo_n "(cached) " >&6
1.128     moko     6712: else
                   6713:   lt_cv_file_magic_cmd='$MAGIC_CMD'
                   6714: lt_cv_file_magic_test_file=
                   6715: lt_cv_deplibs_check_method='unknown'
                   6716: # Need to set the preceding variable on all platforms that support
                   6717: # interlibrary dependencies.
                   6718: # 'none' -- dependencies not supported.
                   6719: # `unknown' -- same as none, but documents that we really don't know.
                   6720: # 'pass_all' -- all dependencies passed with no checks.
                   6721: # 'test_compile' -- check by making test program.
                   6722: # 'file_magic [[regex]]' -- check by looking for files in library path
                   6723: # which responds to the $file_magic_cmd with a given extended regex.
                   6724: # If you have `file' or equivalent on your system and you're not sure
                   6725: # whether `pass_all' will *always* work, you probably want this one.
                   6726: 
                   6727: case $host_os in
                   6728: aix[4-9]*)
                   6729:   lt_cv_deplibs_check_method=pass_all
                   6730:   ;;
                   6731: 
                   6732: beos*)
                   6733:   lt_cv_deplibs_check_method=pass_all
                   6734:   ;;
                   6735: 
                   6736: bsdi[45]*)
                   6737:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
                   6738:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   6739:   lt_cv_file_magic_test_file=/shlib/libc.so
                   6740:   ;;
                   6741: 
                   6742: cygwin*)
                   6743:   # func_win32_libid is a shell function defined in ltmain.sh
                   6744:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   6745:   lt_cv_file_magic_cmd='func_win32_libid'
                   6746:   ;;
                   6747: 
                   6748: mingw* | pw32*)
                   6749:   # Base MSYS/MinGW do not provide the 'file' command needed by
                   6750:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
                   6751:   # unless we find 'file', for example because we are cross-compiling.
                   6752:   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
                   6753:   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
                   6754:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   6755:     lt_cv_file_magic_cmd='func_win32_libid'
                   6756:   else
                   6757:     # Keep this pattern in sync with the one in func_win32_libid.
                   6758:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
                   6759:     lt_cv_file_magic_cmd='$OBJDUMP -f'
                   6760:   fi
                   6761:   ;;
                   6762: 
                   6763: cegcc*)
                   6764:   # use the weaker test based on 'objdump'. See mingw*.
                   6765:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
                   6766:   lt_cv_file_magic_cmd='$OBJDUMP -f'
                   6767:   ;;
                   6768: 
                   6769: darwin* | rhapsody*)
                   6770:   lt_cv_deplibs_check_method=pass_all
                   6771:   ;;
                   6772: 
                   6773: freebsd* | dragonfly*)
                   6774:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   6775:     case $host_cpu in
                   6776:     i*86 )
                   6777:       # Not sure whether the presence of OpenBSD here was a mistake.
                   6778:       # Let's accept both of them until this is cleared up.
                   6779:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
                   6780:       lt_cv_file_magic_cmd=/usr/bin/file
                   6781:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
                   6782:       ;;
                   6783:     esac
                   6784:   else
                   6785:     lt_cv_deplibs_check_method=pass_all
                   6786:   fi
                   6787:   ;;
                   6788: 
                   6789: gnu*)
                   6790:   lt_cv_deplibs_check_method=pass_all
                   6791:   ;;
                   6792: 
                   6793: haiku*)
                   6794:   lt_cv_deplibs_check_method=pass_all
                   6795:   ;;
                   6796: 
                   6797: hpux10.20* | hpux11*)
                   6798:   lt_cv_file_magic_cmd=/usr/bin/file
                   6799:   case $host_cpu in
                   6800:   ia64*)
                   6801:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
                   6802:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
                   6803:     ;;
                   6804:   hppa*64*)
                   6805:     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]'
                   6806:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
                   6807:     ;;
                   6808:   *)
                   6809:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
                   6810:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
                   6811:     ;;
                   6812:   esac
                   6813:   ;;
                   6814: 
                   6815: interix[3-9]*)
                   6816:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
                   6817:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
                   6818:   ;;
                   6819: 
                   6820: irix5* | irix6* | nonstopux*)
                   6821:   case $LD in
                   6822:   *-32|*"-32 ") libmagic=32-bit;;
                   6823:   *-n32|*"-n32 ") libmagic=N32;;
                   6824:   *-64|*"-64 ") libmagic=64-bit;;
                   6825:   *) libmagic=never-match;;
                   6826:   esac
                   6827:   lt_cv_deplibs_check_method=pass_all
                   6828:   ;;
                   6829: 
                   6830: # This must be glibc/ELF.
                   6831: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   6832:   lt_cv_deplibs_check_method=pass_all
                   6833:   ;;
                   6834: 
                   6835: netbsd*)
                   6836:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   6837:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   6838:   else
                   6839:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
                   6840:   fi
                   6841:   ;;
                   6842: 
                   6843: newos6*)
                   6844:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
                   6845:   lt_cv_file_magic_cmd=/usr/bin/file
                   6846:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
                   6847:   ;;
                   6848: 
                   6849: *nto* | *qnx*)
                   6850:   lt_cv_deplibs_check_method=pass_all
                   6851:   ;;
                   6852: 
                   6853: openbsd*)
                   6854:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   6855:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
                   6856:   else
                   6857:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   6858:   fi
                   6859:   ;;
                   6860: 
                   6861: osf3* | osf4* | osf5*)
                   6862:   lt_cv_deplibs_check_method=pass_all
                   6863:   ;;
                   6864: 
                   6865: rdos*)
                   6866:   lt_cv_deplibs_check_method=pass_all
                   6867:   ;;
                   6868: 
                   6869: solaris*)
                   6870:   lt_cv_deplibs_check_method=pass_all
                   6871:   ;;
                   6872: 
                   6873: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   6874:   lt_cv_deplibs_check_method=pass_all
                   6875:   ;;
                   6876: 
                   6877: sysv4 | sysv4.3*)
                   6878:   case $host_vendor in
                   6879:   motorola)
                   6880:     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]'
                   6881:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
                   6882:     ;;
                   6883:   ncr)
                   6884:     lt_cv_deplibs_check_method=pass_all
                   6885:     ;;
                   6886:   sequent)
                   6887:     lt_cv_file_magic_cmd='/bin/file'
                   6888:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
                   6889:     ;;
                   6890:   sni)
                   6891:     lt_cv_file_magic_cmd='/bin/file'
                   6892:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
                   6893:     lt_cv_file_magic_test_file=/lib/libc.so
                   6894:     ;;
                   6895:   siemens)
                   6896:     lt_cv_deplibs_check_method=pass_all
                   6897:     ;;
                   6898:   pc)
                   6899:     lt_cv_deplibs_check_method=pass_all
                   6900:     ;;
                   6901:   esac
                   6902:   ;;
                   6903: 
                   6904: tpf*)
                   6905:   lt_cv_deplibs_check_method=pass_all
                   6906:   ;;
                   6907: esac
                   6908: 
                   6909: fi
1.150     moko     6910: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
                   6911: $as_echo "$lt_cv_deplibs_check_method" >&6; }
1.128     moko     6912: 
                   6913: file_magic_glob=
                   6914: want_nocaseglob=no
                   6915: if test "$build" = "$host"; then
                   6916:   case $host_os in
                   6917:   mingw* | pw32*)
                   6918:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
                   6919:       want_nocaseglob=yes
                   6920:     else
                   6921:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
                   6922:     fi
                   6923:     ;;
                   6924:   esac
                   6925: fi
                   6926: 
                   6927: file_magic_cmd=$lt_cv_file_magic_cmd
                   6928: deplibs_check_method=$lt_cv_deplibs_check_method
                   6929: test -z "$deplibs_check_method" && deplibs_check_method=unknown
                   6930: 
                   6931: 
                   6932: 
                   6933: 
                   6934: 
                   6935: 
                   6936: 
                   6937: 
                   6938: 
                   6939: 
                   6940: 
                   6941: 
                   6942: 
                   6943: 
                   6944: 
                   6945: 
                   6946: 
                   6947: 
                   6948: 
                   6949: 
                   6950: 
                   6951: 
                   6952: if test -n "$ac_tool_prefix"; then
                   6953:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   6954: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1.150     moko     6955: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6956: $as_echo_n "checking for $ac_word... " >&6; }
                   6957: if ${ac_cv_prog_DLLTOOL+:} false; then :
                   6958:   $as_echo_n "(cached) " >&6
1.128     moko     6959: else
                   6960:   if test -n "$DLLTOOL"; then
                   6961:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   6962: else
                   6963: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6964: for as_dir in $PATH
                   6965: do
                   6966:   IFS=$as_save_IFS
                   6967:   test -z "$as_dir" && as_dir=.
1.150     moko     6968:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     6969:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     6970:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
1.150     moko     6971:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6972:     break 2
                   6973:   fi
                   6974: done
1.150     moko     6975:   done
                   6976: IFS=$as_save_IFS
1.128     moko     6977: 
                   6978: fi
                   6979: fi
                   6980: DLLTOOL=$ac_cv_prog_DLLTOOL
                   6981: if test -n "$DLLTOOL"; then
1.150     moko     6982:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
                   6983: $as_echo "$DLLTOOL" >&6; }
1.128     moko     6984: else
1.150     moko     6985:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6986: $as_echo "no" >&6; }
1.128     moko     6987: fi
                   6988: 
1.150     moko     6989: 
1.128     moko     6990: fi
                   6991: if test -z "$ac_cv_prog_DLLTOOL"; then
                   6992:   ac_ct_DLLTOOL=$DLLTOOL
                   6993:   # Extract the first word of "dlltool", so it can be a program name with args.
                   6994: set dummy dlltool; ac_word=$2
1.150     moko     6995: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6996: $as_echo_n "checking for $ac_word... " >&6; }
                   6997: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
                   6998:   $as_echo_n "(cached) " >&6
1.128     moko     6999: else
                   7000:   if test -n "$ac_ct_DLLTOOL"; then
                   7001:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   7002: else
                   7003: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7004: for as_dir in $PATH
                   7005: do
                   7006:   IFS=$as_save_IFS
                   7007:   test -z "$as_dir" && as_dir=.
1.150     moko     7008:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     7009:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     7010:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
1.150     moko     7011:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7012:     break 2
                   7013:   fi
                   7014: done
1.150     moko     7015:   done
                   7016: IFS=$as_save_IFS
1.128     moko     7017: 
                   7018: fi
                   7019: fi
                   7020: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   7021: if test -n "$ac_ct_DLLTOOL"; then
1.150     moko     7022:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
                   7023: $as_echo "$ac_ct_DLLTOOL" >&6; }
1.128     moko     7024: else
1.150     moko     7025:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7026: $as_echo "no" >&6; }
1.128     moko     7027: fi
                   7028: 
1.150     moko     7029:   if test "x$ac_ct_DLLTOOL" = x; then
                   7030:     DLLTOOL="false"
                   7031:   else
                   7032:     case $cross_compiling:$ac_tool_warned in
                   7033: yes:)
                   7034: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7035: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7036: ac_tool_warned=yes ;;
                   7037: esac
                   7038:     DLLTOOL=$ac_ct_DLLTOOL
                   7039:   fi
1.128     moko     7040: else
                   7041:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   7042: fi
                   7043: 
                   7044: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   7045: 
                   7046: 
                   7047: 
                   7048: 
                   7049: 
                   7050: 
                   7051: 
1.150     moko     7052: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
                   7053: $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
                   7054: if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
                   7055:   $as_echo_n "(cached) " >&6
1.128     moko     7056: else
                   7057:   lt_cv_sharedlib_from_linklib_cmd='unknown'
                   7058: 
                   7059: case $host_os in
                   7060: cygwin* | mingw* | pw32* | cegcc*)
                   7061:   # two different shell functions defined in ltmain.sh
                   7062:   # decide which to use based on capabilities of $DLLTOOL
                   7063:   case `$DLLTOOL --help 2>&1` in
                   7064:   *--identify-strict*)
                   7065:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
                   7066:     ;;
                   7067:   *)
                   7068:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
                   7069:     ;;
                   7070:   esac
                   7071:   ;;
                   7072: *)
                   7073:   # fallback: assume linklib IS sharedlib
                   7074:   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
                   7075:   ;;
                   7076: esac
                   7077: 
                   7078: fi
1.150     moko     7079: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
                   7080: $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
1.128     moko     7081: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
                   7082: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
                   7083: 
                   7084: 
                   7085: 
                   7086: 
                   7087: 
                   7088: 
                   7089: 
                   7090: if test -n "$ac_tool_prefix"; then
                   7091:   for ac_prog in ar
                   7092:   do
                   7093:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   7094: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150     moko     7095: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7096: $as_echo_n "checking for $ac_word... " >&6; }
                   7097: if ${ac_cv_prog_AR+:} false; then :
                   7098:   $as_echo_n "(cached) " >&6
1.128     moko     7099: else
                   7100:   if test -n "$AR"; then
                   7101:   ac_cv_prog_AR="$AR" # Let the user override the test.
                   7102: else
                   7103: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7104: for as_dir in $PATH
                   7105: do
                   7106:   IFS=$as_save_IFS
                   7107:   test -z "$as_dir" && as_dir=.
1.150     moko     7108:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     7109:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     7110:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
1.150     moko     7111:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7112:     break 2
                   7113:   fi
                   7114: done
1.150     moko     7115:   done
                   7116: IFS=$as_save_IFS
1.128     moko     7117: 
                   7118: fi
                   7119: fi
                   7120: AR=$ac_cv_prog_AR
                   7121: if test -n "$AR"; then
1.150     moko     7122:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
                   7123: $as_echo "$AR" >&6; }
1.128     moko     7124: else
1.150     moko     7125:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7126: $as_echo "no" >&6; }
1.128     moko     7127: fi
                   7128: 
1.150     moko     7129: 
1.128     moko     7130:     test -n "$AR" && break
                   7131:   done
                   7132: fi
                   7133: if test -z "$AR"; then
                   7134:   ac_ct_AR=$AR
                   7135:   for ac_prog in ar
                   7136: do
                   7137:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   7138: set dummy $ac_prog; ac_word=$2
1.150     moko     7139: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7140: $as_echo_n "checking for $ac_word... " >&6; }
                   7141: if ${ac_cv_prog_ac_ct_AR+:} false; then :
                   7142:   $as_echo_n "(cached) " >&6
1.128     moko     7143: else
                   7144:   if test -n "$ac_ct_AR"; then
                   7145:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
                   7146: else
                   7147: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7148: for as_dir in $PATH
                   7149: do
                   7150:   IFS=$as_save_IFS
                   7151:   test -z "$as_dir" && as_dir=.
1.150     moko     7152:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     7153:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     7154:     ac_cv_prog_ac_ct_AR="$ac_prog"
1.150     moko     7155:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7156:     break 2
                   7157:   fi
                   7158: done
1.150     moko     7159:   done
                   7160: IFS=$as_save_IFS
1.128     moko     7161: 
                   7162: fi
                   7163: fi
                   7164: ac_ct_AR=$ac_cv_prog_ac_ct_AR
                   7165: if test -n "$ac_ct_AR"; then
1.150     moko     7166:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
                   7167: $as_echo "$ac_ct_AR" >&6; }
1.128     moko     7168: else
1.150     moko     7169:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7170: $as_echo "no" >&6; }
1.128     moko     7171: fi
                   7172: 
1.150     moko     7173: 
1.128     moko     7174:   test -n "$ac_ct_AR" && break
                   7175: done
                   7176: 
1.150     moko     7177:   if test "x$ac_ct_AR" = x; then
                   7178:     AR="false"
                   7179:   else
                   7180:     case $cross_compiling:$ac_tool_warned in
                   7181: yes:)
                   7182: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7183: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7184: ac_tool_warned=yes ;;
                   7185: esac
                   7186:     AR=$ac_ct_AR
                   7187:   fi
1.128     moko     7188: fi
                   7189: 
                   7190: : ${AR=ar}
                   7191: : ${AR_FLAGS=cru}
                   7192: 
                   7193: 
                   7194: 
                   7195: 
                   7196: 
                   7197: 
                   7198: 
                   7199: 
                   7200: 
                   7201: 
                   7202: 
1.150     moko     7203: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
                   7204: $as_echo_n "checking for archiver @FILE support... " >&6; }
                   7205: if ${lt_cv_ar_at_file+:} false; then :
                   7206:   $as_echo_n "(cached) " >&6
1.128     moko     7207: else
                   7208:   lt_cv_ar_at_file=no
1.150     moko     7209:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     7210: /* end confdefs.h.  */
                   7211: 
                   7212: int
                   7213: main ()
                   7214: {
                   7215: 
                   7216:   ;
                   7217:   return 0;
                   7218: }
                   7219: _ACEOF
1.150     moko     7220: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     7221:   echo conftest.$ac_objext > conftest.lst
                   7222:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
1.150     moko     7223:       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
1.128     moko     7224:   (eval $lt_ar_try) 2>&5
                   7225:   ac_status=$?
1.150     moko     7226:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7227:   test $ac_status = 0; }
1.128     moko     7228:       if test "$ac_status" -eq 0; then
                   7229:        # Ensure the archiver fails upon bogus file names.
                   7230:        rm -f conftest.$ac_objext libconftest.a
1.150     moko     7231:        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
1.128     moko     7232:   (eval $lt_ar_try) 2>&5
                   7233:   ac_status=$?
1.150     moko     7234:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7235:   test $ac_status = 0; }
1.128     moko     7236:        if test "$ac_status" -ne 0; then
                   7237:           lt_cv_ar_at_file=@
                   7238:         fi
                   7239:       fi
                   7240:       rm -f conftest.* libconftest.a
                   7241: 
                   7242: fi
1.150     moko     7243: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     7244: 
                   7245: fi
1.150     moko     7246: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
                   7247: $as_echo "$lt_cv_ar_at_file" >&6; }
1.128     moko     7248: 
                   7249: if test "x$lt_cv_ar_at_file" = xno; then
                   7250:   archiver_list_spec=
                   7251: else
                   7252:   archiver_list_spec=$lt_cv_ar_at_file
                   7253: fi
                   7254: 
                   7255: 
                   7256: 
                   7257: 
                   7258: 
                   7259: 
                   7260: 
                   7261: if test -n "$ac_tool_prefix"; then
                   7262:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   7263: set dummy ${ac_tool_prefix}strip; ac_word=$2
1.150     moko     7264: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7265: $as_echo_n "checking for $ac_word... " >&6; }
                   7266: if ${ac_cv_prog_STRIP+:} false; then :
                   7267:   $as_echo_n "(cached) " >&6
1.128     moko     7268: else
                   7269:   if test -n "$STRIP"; then
                   7270:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   7271: else
                   7272: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7273: for as_dir in $PATH
                   7274: do
                   7275:   IFS=$as_save_IFS
                   7276:   test -z "$as_dir" && as_dir=.
1.150     moko     7277:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     7278:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     7279:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1.150     moko     7280:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7281:     break 2
                   7282:   fi
                   7283: done
1.150     moko     7284:   done
                   7285: IFS=$as_save_IFS
1.128     moko     7286: 
                   7287: fi
                   7288: fi
                   7289: STRIP=$ac_cv_prog_STRIP
                   7290: if test -n "$STRIP"; then
1.150     moko     7291:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   7292: $as_echo "$STRIP" >&6; }
1.128     moko     7293: else
1.150     moko     7294:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7295: $as_echo "no" >&6; }
1.128     moko     7296: fi
                   7297: 
1.150     moko     7298: 
1.128     moko     7299: fi
                   7300: if test -z "$ac_cv_prog_STRIP"; then
                   7301:   ac_ct_STRIP=$STRIP
                   7302:   # Extract the first word of "strip", so it can be a program name with args.
                   7303: set dummy strip; ac_word=$2
1.150     moko     7304: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7305: $as_echo_n "checking for $ac_word... " >&6; }
                   7306: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
                   7307:   $as_echo_n "(cached) " >&6
1.128     moko     7308: else
                   7309:   if test -n "$ac_ct_STRIP"; then
                   7310:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   7311: else
                   7312: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7313: for as_dir in $PATH
                   7314: do
                   7315:   IFS=$as_save_IFS
                   7316:   test -z "$as_dir" && as_dir=.
1.150     moko     7317:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     7318:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     7319:     ac_cv_prog_ac_ct_STRIP="strip"
1.150     moko     7320:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7321:     break 2
                   7322:   fi
                   7323: done
1.150     moko     7324:   done
                   7325: IFS=$as_save_IFS
1.128     moko     7326: 
                   7327: fi
                   7328: fi
                   7329: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   7330: if test -n "$ac_ct_STRIP"; then
1.150     moko     7331:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   7332: $as_echo "$ac_ct_STRIP" >&6; }
1.128     moko     7333: else
1.150     moko     7334:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7335: $as_echo "no" >&6; }
1.128     moko     7336: fi
                   7337: 
1.150     moko     7338:   if test "x$ac_ct_STRIP" = x; then
                   7339:     STRIP=":"
                   7340:   else
                   7341:     case $cross_compiling:$ac_tool_warned in
                   7342: yes:)
                   7343: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7344: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7345: ac_tool_warned=yes ;;
                   7346: esac
                   7347:     STRIP=$ac_ct_STRIP
                   7348:   fi
1.128     moko     7349: else
                   7350:   STRIP="$ac_cv_prog_STRIP"
                   7351: fi
                   7352: 
                   7353: test -z "$STRIP" && STRIP=:
                   7354: 
                   7355: 
                   7356: 
                   7357: 
                   7358: 
                   7359: 
                   7360: if test -n "$ac_tool_prefix"; then
                   7361:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   7362: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1.150     moko     7363: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7364: $as_echo_n "checking for $ac_word... " >&6; }
                   7365: if ${ac_cv_prog_RANLIB+:} false; then :
                   7366:   $as_echo_n "(cached) " >&6
1.128     moko     7367: else
                   7368:   if test -n "$RANLIB"; then
                   7369:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   7370: else
                   7371: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7372: for as_dir in $PATH
                   7373: do
                   7374:   IFS=$as_save_IFS
                   7375:   test -z "$as_dir" && as_dir=.
1.150     moko     7376:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     7377:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     7378:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1.150     moko     7379:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7380:     break 2
                   7381:   fi
                   7382: done
1.150     moko     7383:   done
                   7384: IFS=$as_save_IFS
1.128     moko     7385: 
                   7386: fi
                   7387: fi
                   7388: RANLIB=$ac_cv_prog_RANLIB
                   7389: if test -n "$RANLIB"; then
1.150     moko     7390:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
                   7391: $as_echo "$RANLIB" >&6; }
1.128     moko     7392: else
1.150     moko     7393:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7394: $as_echo "no" >&6; }
1.128     moko     7395: fi
                   7396: 
1.150     moko     7397: 
1.128     moko     7398: fi
                   7399: if test -z "$ac_cv_prog_RANLIB"; then
                   7400:   ac_ct_RANLIB=$RANLIB
                   7401:   # Extract the first word of "ranlib", so it can be a program name with args.
                   7402: set dummy ranlib; ac_word=$2
1.150     moko     7403: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7404: $as_echo_n "checking for $ac_word... " >&6; }
                   7405: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
                   7406:   $as_echo_n "(cached) " >&6
1.128     moko     7407: else
                   7408:   if test -n "$ac_ct_RANLIB"; then
                   7409:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   7410: else
                   7411: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7412: for as_dir in $PATH
                   7413: do
                   7414:   IFS=$as_save_IFS
                   7415:   test -z "$as_dir" && as_dir=.
1.150     moko     7416:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     7417:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     7418:     ac_cv_prog_ac_ct_RANLIB="ranlib"
1.150     moko     7419:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7420:     break 2
                   7421:   fi
                   7422: done
1.150     moko     7423:   done
                   7424: IFS=$as_save_IFS
1.128     moko     7425: 
                   7426: fi
                   7427: fi
                   7428: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   7429: if test -n "$ac_ct_RANLIB"; then
1.150     moko     7430:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
                   7431: $as_echo "$ac_ct_RANLIB" >&6; }
1.128     moko     7432: else
1.150     moko     7433:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7434: $as_echo "no" >&6; }
1.128     moko     7435: fi
                   7436: 
1.150     moko     7437:   if test "x$ac_ct_RANLIB" = x; then
                   7438:     RANLIB=":"
                   7439:   else
                   7440:     case $cross_compiling:$ac_tool_warned in
                   7441: yes:)
                   7442: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7443: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7444: ac_tool_warned=yes ;;
                   7445: esac
                   7446:     RANLIB=$ac_ct_RANLIB
                   7447:   fi
1.128     moko     7448: else
                   7449:   RANLIB="$ac_cv_prog_RANLIB"
                   7450: fi
                   7451: 
                   7452: test -z "$RANLIB" && RANLIB=:
                   7453: 
                   7454: 
                   7455: 
                   7456: 
                   7457: 
                   7458: 
                   7459: # Determine commands to create old-style static archives.
                   7460: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
                   7461: old_postinstall_cmds='chmod 644 $oldlib'
                   7462: old_postuninstall_cmds=
                   7463: 
                   7464: if test -n "$RANLIB"; then
                   7465:   case $host_os in
                   7466:   openbsd*)
                   7467:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
                   7468:     ;;
                   7469:   *)
                   7470:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
                   7471:     ;;
                   7472:   esac
                   7473:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
                   7474: fi
                   7475: 
                   7476: case $host_os in
                   7477:   darwin*)
                   7478:     lock_old_archive_extraction=yes ;;
                   7479:   *)
                   7480:     lock_old_archive_extraction=no ;;
                   7481: esac
                   7482: 
                   7483: 
                   7484: 
                   7485: 
                   7486: 
                   7487: 
                   7488: 
                   7489: 
                   7490: 
                   7491: 
                   7492: 
                   7493: 
                   7494: 
                   7495: 
                   7496: 
                   7497: 
                   7498: 
                   7499: 
                   7500: 
                   7501: 
                   7502: 
                   7503: 
                   7504: 
                   7505: 
                   7506: 
                   7507: 
                   7508: 
                   7509: 
                   7510: 
                   7511: 
                   7512: 
                   7513: 
                   7514: 
                   7515: 
                   7516: 
                   7517: 
                   7518: 
                   7519: 
                   7520: 
                   7521: # If no C compiler was specified, use CC.
                   7522: LTCC=${LTCC-"$CC"}
                   7523: 
                   7524: # If no C compiler flags were specified, use CFLAGS.
                   7525: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   7526: 
                   7527: # Allow CC to be a program name with arguments.
                   7528: compiler=$CC
                   7529: 
                   7530: 
                   7531: # Check for command to grab the raw symbol name followed by C symbol from nm.
1.150     moko     7532: { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
                   7533: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
                   7534: if ${lt_cv_sys_global_symbol_pipe+:} false; then :
                   7535:   $as_echo_n "(cached) " >&6
1.128     moko     7536: else
                   7537: 
                   7538: # These are sane defaults that work on at least a few old systems.
                   7539: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
                   7540: 
                   7541: # Character class describing NM global symbol codes.
                   7542: symcode='[BCDEGRST]'
                   7543: 
                   7544: # Regexp to match symbols that can be accessed directly from C.
                   7545: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
                   7546: 
                   7547: # Define system-specific variables.
                   7548: case $host_os in
                   7549: aix*)
                   7550:   symcode='[BCDT]'
                   7551:   ;;
                   7552: cygwin* | mingw* | pw32* | cegcc*)
                   7553:   symcode='[ABCDGISTW]'
                   7554:   ;;
                   7555: hpux*)
                   7556:   if test "$host_cpu" = ia64; then
                   7557:     symcode='[ABCDEGRST]'
                   7558:   fi
                   7559:   ;;
                   7560: irix* | nonstopux*)
                   7561:   symcode='[BCDEGRST]'
                   7562:   ;;
                   7563: osf*)
                   7564:   symcode='[BCDEGQRST]'
                   7565:   ;;
                   7566: solaris*)
                   7567:   symcode='[BDRT]'
                   7568:   ;;
                   7569: sco3.2v5*)
                   7570:   symcode='[DT]'
                   7571:   ;;
                   7572: sysv4.2uw2*)
                   7573:   symcode='[DT]'
                   7574:   ;;
                   7575: sysv5* | sco5v6* | unixware* | OpenUNIX*)
                   7576:   symcode='[ABDT]'
                   7577:   ;;
                   7578: sysv4)
                   7579:   symcode='[DFNSTU]'
                   7580:   ;;
                   7581: esac
                   7582: 
                   7583: # If we're using GNU nm, then use its standard symbol codes.
                   7584: case `$NM -V 2>&1` in
                   7585: *GNU* | *'with BFD'*)
                   7586:   symcode='[ABCDGIRSTW]' ;;
                   7587: esac
                   7588: 
                   7589: # Transform an extracted symbol line into a proper C declaration.
                   7590: # Some systems (esp. on ia64) link data and code symbols differently,
                   7591: # so use this general approach.
                   7592: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
                   7593: 
                   7594: # Transform an extracted symbol line into symbol name and symbol address
                   7595: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
                   7596: 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'"
                   7597: 
                   7598: # Handle CRLF in mingw tool chain
                   7599: opt_cr=
                   7600: case $build_os in
                   7601: mingw*)
                   7602:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
                   7603:   ;;
                   7604: esac
                   7605: 
                   7606: # Try without a prefix underscore, then with it.
                   7607: for ac_symprfx in "" "_"; do
                   7608: 
                   7609:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
                   7610:   symxfrm="\\1 $ac_symprfx\\2 \\2"
                   7611: 
                   7612:   # Write the raw and C identifiers.
                   7613:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   7614:     # Fake it for dumpbin and say T for any non-static function
                   7615:     # and D for any global variable.
                   7616:     # Also find C++ and __fastcall symbols from MSVC++,
                   7617:     # which start with @ or ?.
                   7618:     lt_cv_sys_global_symbol_pipe="$AWK '"\
                   7619: "     {last_section=section; section=\$ 3};"\
                   7620: "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
                   7621: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
                   7622: "     \$ 0!~/External *\|/{next};"\
                   7623: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
                   7624: "     {if(hide[section]) next};"\
                   7625: "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
                   7626: "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
                   7627: "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
                   7628: "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
                   7629: "     ' prfx=^$ac_symprfx"
                   7630:   else
                   7631:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
                   7632:   fi
                   7633:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
                   7634: 
                   7635:   # Check to see that the pipe works correctly.
                   7636:   pipe_works=no
                   7637: 
                   7638:   rm -f conftest*
                   7639:   cat > conftest.$ac_ext <<_LT_EOF
                   7640: #ifdef __cplusplus
                   7641: extern "C" {
                   7642: #endif
                   7643: char nm_test_var;
                   7644: void nm_test_func(void);
                   7645: void nm_test_func(void){}
                   7646: #ifdef __cplusplus
                   7647: }
                   7648: #endif
                   7649: int main(){nm_test_var='a';nm_test_func();return(0);}
                   7650: _LT_EOF
                   7651: 
1.150     moko     7652:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7653:   (eval $ac_compile) 2>&5
                   7654:   ac_status=$?
1.150     moko     7655:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7656:   test $ac_status = 0; }; then
1.128     moko     7657:     # Now try to grab the symbols.
                   7658:     nlist=conftest.nm
1.150     moko     7659:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
1.128     moko     7660:   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
                   7661:   ac_status=$?
1.150     moko     7662:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7663:   test $ac_status = 0; } && test -s "$nlist"; then
1.128     moko     7664:       # Try sorting and uniquifying the output.
                   7665:       if sort "$nlist" | uniq > "$nlist"T; then
                   7666:        mv -f "$nlist"T "$nlist"
                   7667:       else
                   7668:        rm -f "$nlist"T
                   7669:       fi
                   7670: 
                   7671:       # Make sure that we snagged all the symbols we need.
                   7672:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
                   7673:        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
                   7674:          cat <<_LT_EOF > conftest.$ac_ext
                   7675: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
                   7676: #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
                   7677: /* DATA imports from DLLs on WIN32 con't be const, because runtime
                   7678:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
                   7679: # define LT_DLSYM_CONST
                   7680: #elif defined(__osf__)
                   7681: /* This system does not cope well with relocations in const data.  */
                   7682: # define LT_DLSYM_CONST
                   7683: #else
                   7684: # define LT_DLSYM_CONST const
                   7685: #endif
                   7686: 
                   7687: #ifdef __cplusplus
                   7688: extern "C" {
                   7689: #endif
                   7690: 
                   7691: _LT_EOF
                   7692:          # Now generate the symbol file.
                   7693:          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
                   7694: 
                   7695:          cat <<_LT_EOF >> conftest.$ac_ext
                   7696: 
                   7697: /* The mapping between symbol names and symbols.  */
                   7698: LT_DLSYM_CONST struct {
                   7699:   const char *name;
                   7700:   void       *address;
                   7701: }
                   7702: lt__PROGRAM__LTX_preloaded_symbols[] =
                   7703: {
                   7704:   { "@PROGRAM@", (void *) 0 },
                   7705: _LT_EOF
                   7706:          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
                   7707:          cat <<\_LT_EOF >> conftest.$ac_ext
                   7708:   {0, (void *) 0}
                   7709: };
                   7710: 
                   7711: /* This works around a problem in FreeBSD linker */
                   7712: #ifdef FREEBSD_WORKAROUND
                   7713: static const void *lt_preloaded_setup() {
                   7714:   return lt__PROGRAM__LTX_preloaded_symbols;
                   7715: }
                   7716: #endif
                   7717: 
                   7718: #ifdef __cplusplus
                   7719: }
                   7720: #endif
                   7721: _LT_EOF
                   7722:          # Now try linking the two files.
                   7723:          mv conftest.$ac_objext conftstm.$ac_objext
                   7724:          lt_globsym_save_LIBS=$LIBS
                   7725:          lt_globsym_save_CFLAGS=$CFLAGS
                   7726:          LIBS="conftstm.$ac_objext"
                   7727:          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
1.150     moko     7728:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     7729:   (eval $ac_link) 2>&5
                   7730:   ac_status=$?
1.150     moko     7731:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7732:   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
1.128     moko     7733:            pipe_works=yes
                   7734:          fi
                   7735:          LIBS=$lt_globsym_save_LIBS
                   7736:          CFLAGS=$lt_globsym_save_CFLAGS
                   7737:        else
                   7738:          echo "cannot find nm_test_func in $nlist" >&5
                   7739:        fi
                   7740:       else
                   7741:        echo "cannot find nm_test_var in $nlist" >&5
                   7742:       fi
                   7743:     else
                   7744:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   7745:     fi
                   7746:   else
                   7747:     echo "$progname: failed program was:" >&5
                   7748:     cat conftest.$ac_ext >&5
                   7749:   fi
                   7750:   rm -rf conftest* conftst*
                   7751: 
                   7752:   # Do not use the global_symbol_pipe unless it works.
                   7753:   if test "$pipe_works" = yes; then
                   7754:     break
                   7755:   else
                   7756:     lt_cv_sys_global_symbol_pipe=
                   7757:   fi
                   7758: done
                   7759: 
                   7760: fi
                   7761: 
                   7762: if test -z "$lt_cv_sys_global_symbol_pipe"; then
                   7763:   lt_cv_sys_global_symbol_to_cdecl=
                   7764: fi
                   7765: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
1.150     moko     7766:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
                   7767: $as_echo "failed" >&6; }
1.128     moko     7768: else
1.150     moko     7769:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
                   7770: $as_echo "ok" >&6; }
1.128     moko     7771: fi
                   7772: 
                   7773: # Response file support.
                   7774: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   7775:   nm_file_list_spec='@'
                   7776: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
                   7777:   nm_file_list_spec='@'
                   7778: fi
                   7779: 
                   7780: 
                   7781: 
                   7782: 
                   7783: 
                   7784: 
                   7785: 
                   7786: 
                   7787: 
                   7788: 
                   7789: 
                   7790: 
                   7791: 
                   7792: 
                   7793: 
                   7794: 
                   7795: 
                   7796: 
                   7797: 
                   7798: 
                   7799: 
                   7800: 
                   7801: 
                   7802: 
                   7803: 
                   7804: 
                   7805: 
1.150     moko     7806: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
                   7807: $as_echo_n "checking for sysroot... " >&6; }
1.128     moko     7808: 
1.150     moko     7809: # Check whether --with-sysroot was given.
                   7810: if test "${with_sysroot+set}" = set; then :
                   7811:   withval=$with_sysroot;
1.128     moko     7812: else
                   7813:   with_sysroot=no
1.150     moko     7814: fi
                   7815: 
1.128     moko     7816: 
                   7817: lt_sysroot=
                   7818: case ${with_sysroot} in #(
                   7819:  yes)
                   7820:    if test "$GCC" = yes; then
                   7821:      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
                   7822:    fi
                   7823:    ;; #(
                   7824:  /*)
                   7825:    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
                   7826:    ;; #(
                   7827:  no|'')
                   7828:    ;; #(
                   7829:  *)
1.150     moko     7830:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
                   7831: $as_echo "${with_sysroot}" >&6; }
                   7832:    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
1.128     moko     7833:    ;;
                   7834: esac
                   7835: 
1.150     moko     7836:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
                   7837: $as_echo "${lt_sysroot:-no}" >&6; }
1.128     moko     7838: 
                   7839: 
                   7840: 
                   7841: 
                   7842: 
1.150     moko     7843: # Check whether --enable-libtool-lock was given.
                   7844: if test "${enable_libtool_lock+set}" = set; then :
                   7845:   enableval=$enable_libtool_lock;
                   7846: fi
1.128     moko     7847: 
                   7848: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
                   7849: 
                   7850: # Some flags need to be propagated to the compiler or linker for good
                   7851: # libtool support.
                   7852: case $host in
                   7853: ia64-*-hpux*)
                   7854:   # Find out which ABI we are using.
                   7855:   echo 'int i;' > conftest.$ac_ext
1.150     moko     7856:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7857:   (eval $ac_compile) 2>&5
                   7858:   ac_status=$?
1.150     moko     7859:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7860:   test $ac_status = 0; }; then
1.128     moko     7861:     case `/usr/bin/file conftest.$ac_objext` in
                   7862:       *ELF-32*)
                   7863:        HPUX_IA64_MODE="32"
                   7864:        ;;
                   7865:       *ELF-64*)
                   7866:        HPUX_IA64_MODE="64"
                   7867:        ;;
                   7868:     esac
                   7869:   fi
                   7870:   rm -rf conftest*
                   7871:   ;;
                   7872: *-*-irix6*)
                   7873:   # Find out which ABI we are using.
                   7874:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
1.150     moko     7875:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7876:   (eval $ac_compile) 2>&5
                   7877:   ac_status=$?
1.150     moko     7878:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7879:   test $ac_status = 0; }; then
1.128     moko     7880:     if test "$lt_cv_prog_gnu_ld" = yes; then
                   7881:       case `/usr/bin/file conftest.$ac_objext` in
                   7882:        *32-bit*)
                   7883:          LD="${LD-ld} -melf32bsmip"
                   7884:          ;;
                   7885:        *N32*)
                   7886:          LD="${LD-ld} -melf32bmipn32"
                   7887:          ;;
                   7888:        *64-bit*)
                   7889:          LD="${LD-ld} -melf64bmip"
                   7890:        ;;
                   7891:       esac
                   7892:     else
                   7893:       case `/usr/bin/file conftest.$ac_objext` in
                   7894:        *32-bit*)
                   7895:          LD="${LD-ld} -32"
                   7896:          ;;
                   7897:        *N32*)
                   7898:          LD="${LD-ld} -n32"
                   7899:          ;;
                   7900:        *64-bit*)
                   7901:          LD="${LD-ld} -64"
                   7902:          ;;
                   7903:       esac
                   7904:     fi
                   7905:   fi
                   7906:   rm -rf conftest*
                   7907:   ;;
                   7908: 
                   7909: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
                   7910: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
                   7911:   # Find out which ABI we are using.
                   7912:   echo 'int i;' > conftest.$ac_ext
1.150     moko     7913:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7914:   (eval $ac_compile) 2>&5
                   7915:   ac_status=$?
1.150     moko     7916:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7917:   test $ac_status = 0; }; then
1.128     moko     7918:     case `/usr/bin/file conftest.o` in
                   7919:       *32-bit*)
                   7920:        case $host in
                   7921:          x86_64-*kfreebsd*-gnu)
                   7922:            LD="${LD-ld} -m elf_i386_fbsd"
                   7923:            ;;
                   7924:          x86_64-*linux*)
                   7925:            LD="${LD-ld} -m elf_i386"
                   7926:            ;;
                   7927:          ppc64-*linux*|powerpc64-*linux*)
                   7928:            LD="${LD-ld} -m elf32ppclinux"
                   7929:            ;;
                   7930:          s390x-*linux*)
                   7931:            LD="${LD-ld} -m elf_s390"
                   7932:            ;;
                   7933:          sparc64-*linux*)
                   7934:            LD="${LD-ld} -m elf32_sparc"
                   7935:            ;;
                   7936:        esac
                   7937:        ;;
                   7938:       *64-bit*)
                   7939:        case $host in
                   7940:          x86_64-*kfreebsd*-gnu)
                   7941:            LD="${LD-ld} -m elf_x86_64_fbsd"
                   7942:            ;;
                   7943:          x86_64-*linux*)
                   7944:            LD="${LD-ld} -m elf_x86_64"
                   7945:            ;;
                   7946:          ppc*-*linux*|powerpc*-*linux*)
                   7947:            LD="${LD-ld} -m elf64ppc"
                   7948:            ;;
                   7949:          s390*-*linux*|s390*-*tpf*)
                   7950:            LD="${LD-ld} -m elf64_s390"
                   7951:            ;;
                   7952:          sparc*-*linux*)
                   7953:            LD="${LD-ld} -m elf64_sparc"
                   7954:            ;;
                   7955:        esac
                   7956:        ;;
                   7957:     esac
                   7958:   fi
                   7959:   rm -rf conftest*
                   7960:   ;;
                   7961: 
                   7962: *-*-sco3.2v5*)
                   7963:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
                   7964:   SAVE_CFLAGS="$CFLAGS"
                   7965:   CFLAGS="$CFLAGS -belf"
1.150     moko     7966:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
                   7967: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
                   7968: if ${lt_cv_cc_needs_belf+:} false; then :
                   7969:   $as_echo_n "(cached) " >&6
1.128     moko     7970: else
                   7971:   ac_ext=c
                   7972: ac_cpp='$CPP $CPPFLAGS'
                   7973: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7974: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7975: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7976: 
1.150     moko     7977:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     7978: /* end confdefs.h.  */
                   7979: 
                   7980: int
                   7981: main ()
                   7982: {
                   7983: 
                   7984:   ;
                   7985:   return 0;
                   7986: }
                   7987: _ACEOF
1.150     moko     7988: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     7989:   lt_cv_cc_needs_belf=yes
                   7990: else
1.150     moko     7991:   lt_cv_cc_needs_belf=no
1.128     moko     7992: fi
1.150     moko     7993: rm -f core conftest.err conftest.$ac_objext \
                   7994:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     7995:      ac_ext=c
                   7996: ac_cpp='$CPP $CPPFLAGS'
                   7997: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7998: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7999: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   8000: 
                   8001: fi
1.150     moko     8002: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
                   8003: $as_echo "$lt_cv_cc_needs_belf" >&6; }
1.128     moko     8004:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
                   8005:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
                   8006:     CFLAGS="$SAVE_CFLAGS"
                   8007:   fi
                   8008:   ;;
                   8009: *-*solaris*)
                   8010:   # Find out which ABI we are using.
                   8011:   echo 'int i;' > conftest.$ac_ext
1.150     moko     8012:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     8013:   (eval $ac_compile) 2>&5
                   8014:   ac_status=$?
1.150     moko     8015:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   8016:   test $ac_status = 0; }; then
1.128     moko     8017:     case `/usr/bin/file conftest.o` in
                   8018:     *64-bit*)
                   8019:       case $lt_cv_prog_gnu_ld in
                   8020:       yes*)
                   8021:         case $host in
                   8022:         i?86-*-solaris*)
                   8023:           LD="${LD-ld} -m elf_x86_64"
                   8024:           ;;
                   8025:         sparc*-*-solaris*)
                   8026:           LD="${LD-ld} -m elf64_sparc"
                   8027:           ;;
                   8028:         esac
                   8029:         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
                   8030:         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
                   8031:           LD="${LD-ld}_sol2"
                   8032:         fi
                   8033:         ;;
                   8034:       *)
                   8035:        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
                   8036:          LD="${LD-ld} -64"
                   8037:        fi
                   8038:        ;;
                   8039:       esac
                   8040:       ;;
                   8041:     esac
                   8042:   fi
                   8043:   rm -rf conftest*
                   8044:   ;;
                   8045: esac
                   8046: 
                   8047: need_locks="$enable_libtool_lock"
                   8048: 
                   8049: if test -n "$ac_tool_prefix"; then
                   8050:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
                   8051: set dummy ${ac_tool_prefix}mt; ac_word=$2
1.150     moko     8052: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8053: $as_echo_n "checking for $ac_word... " >&6; }
                   8054: if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
                   8055:   $as_echo_n "(cached) " >&6
1.128     moko     8056: else
                   8057:   if test -n "$MANIFEST_TOOL"; then
                   8058:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
                   8059: else
                   8060: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8061: for as_dir in $PATH
                   8062: do
                   8063:   IFS=$as_save_IFS
                   8064:   test -z "$as_dir" && as_dir=.
1.150     moko     8065:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8066:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8067:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
1.150     moko     8068:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8069:     break 2
                   8070:   fi
                   8071: done
1.150     moko     8072:   done
                   8073: IFS=$as_save_IFS
1.128     moko     8074: 
                   8075: fi
                   8076: fi
                   8077: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
                   8078: if test -n "$MANIFEST_TOOL"; then
1.150     moko     8079:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
                   8080: $as_echo "$MANIFEST_TOOL" >&6; }
1.128     moko     8081: else
1.150     moko     8082:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8083: $as_echo "no" >&6; }
1.128     moko     8084: fi
                   8085: 
1.150     moko     8086: 
1.128     moko     8087: fi
                   8088: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
                   8089:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
                   8090:   # Extract the first word of "mt", so it can be a program name with args.
                   8091: set dummy mt; ac_word=$2
1.150     moko     8092: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8093: $as_echo_n "checking for $ac_word... " >&6; }
                   8094: if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
                   8095:   $as_echo_n "(cached) " >&6
1.128     moko     8096: else
                   8097:   if test -n "$ac_ct_MANIFEST_TOOL"; then
                   8098:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
                   8099: else
                   8100: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8101: for as_dir in $PATH
                   8102: do
                   8103:   IFS=$as_save_IFS
                   8104:   test -z "$as_dir" && as_dir=.
1.150     moko     8105:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8106:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8107:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
1.150     moko     8108:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8109:     break 2
                   8110:   fi
                   8111: done
1.150     moko     8112:   done
                   8113: IFS=$as_save_IFS
1.128     moko     8114: 
                   8115: fi
                   8116: fi
                   8117: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
                   8118: if test -n "$ac_ct_MANIFEST_TOOL"; then
1.150     moko     8119:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
                   8120: $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
1.128     moko     8121: else
1.150     moko     8122:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8123: $as_echo "no" >&6; }
1.128     moko     8124: fi
                   8125: 
1.150     moko     8126:   if test "x$ac_ct_MANIFEST_TOOL" = x; then
                   8127:     MANIFEST_TOOL=":"
                   8128:   else
                   8129:     case $cross_compiling:$ac_tool_warned in
                   8130: yes:)
                   8131: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8132: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8133: ac_tool_warned=yes ;;
                   8134: esac
                   8135:     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
                   8136:   fi
1.128     moko     8137: else
                   8138:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
                   8139: fi
                   8140: 
                   8141: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
1.150     moko     8142: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
                   8143: $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
                   8144: if ${lt_cv_path_mainfest_tool+:} false; then :
                   8145:   $as_echo_n "(cached) " >&6
1.128     moko     8146: else
                   8147:   lt_cv_path_mainfest_tool=no
                   8148:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
                   8149:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
                   8150:   cat conftest.err >&5
                   8151:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
                   8152:     lt_cv_path_mainfest_tool=yes
                   8153:   fi
                   8154:   rm -f conftest*
                   8155: fi
1.150     moko     8156: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
                   8157: $as_echo "$lt_cv_path_mainfest_tool" >&6; }
1.128     moko     8158: if test "x$lt_cv_path_mainfest_tool" != xyes; then
                   8159:   MANIFEST_TOOL=:
                   8160: fi
                   8161: 
                   8162: 
                   8163: 
                   8164: 
                   8165: 
                   8166: 
                   8167:   case $host_os in
                   8168:     rhapsody* | darwin*)
                   8169:     if test -n "$ac_tool_prefix"; then
                   8170:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
                   8171: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
1.150     moko     8172: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8173: $as_echo_n "checking for $ac_word... " >&6; }
                   8174: if ${ac_cv_prog_DSYMUTIL+:} false; then :
                   8175:   $as_echo_n "(cached) " >&6
1.128     moko     8176: else
                   8177:   if test -n "$DSYMUTIL"; then
                   8178:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
                   8179: else
                   8180: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8181: for as_dir in $PATH
                   8182: do
                   8183:   IFS=$as_save_IFS
                   8184:   test -z "$as_dir" && as_dir=.
1.150     moko     8185:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8186:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8187:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
1.150     moko     8188:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8189:     break 2
                   8190:   fi
                   8191: done
1.150     moko     8192:   done
                   8193: IFS=$as_save_IFS
1.128     moko     8194: 
                   8195: fi
                   8196: fi
                   8197: DSYMUTIL=$ac_cv_prog_DSYMUTIL
                   8198: if test -n "$DSYMUTIL"; then
1.150     moko     8199:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
                   8200: $as_echo "$DSYMUTIL" >&6; }
1.128     moko     8201: else
1.150     moko     8202:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8203: $as_echo "no" >&6; }
1.128     moko     8204: fi
                   8205: 
1.150     moko     8206: 
1.128     moko     8207: fi
                   8208: if test -z "$ac_cv_prog_DSYMUTIL"; then
                   8209:   ac_ct_DSYMUTIL=$DSYMUTIL
                   8210:   # Extract the first word of "dsymutil", so it can be a program name with args.
                   8211: set dummy dsymutil; ac_word=$2
1.150     moko     8212: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8213: $as_echo_n "checking for $ac_word... " >&6; }
                   8214: if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
                   8215:   $as_echo_n "(cached) " >&6
1.128     moko     8216: else
                   8217:   if test -n "$ac_ct_DSYMUTIL"; then
                   8218:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
                   8219: else
                   8220: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8221: for as_dir in $PATH
                   8222: do
                   8223:   IFS=$as_save_IFS
                   8224:   test -z "$as_dir" && as_dir=.
1.150     moko     8225:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8226:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8227:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
1.150     moko     8228:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8229:     break 2
                   8230:   fi
                   8231: done
1.150     moko     8232:   done
                   8233: IFS=$as_save_IFS
1.128     moko     8234: 
                   8235: fi
                   8236: fi
                   8237: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
                   8238: if test -n "$ac_ct_DSYMUTIL"; then
1.150     moko     8239:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
                   8240: $as_echo "$ac_ct_DSYMUTIL" >&6; }
1.128     moko     8241: else
1.150     moko     8242:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8243: $as_echo "no" >&6; }
1.128     moko     8244: fi
                   8245: 
1.150     moko     8246:   if test "x$ac_ct_DSYMUTIL" = x; then
                   8247:     DSYMUTIL=":"
                   8248:   else
                   8249:     case $cross_compiling:$ac_tool_warned in
                   8250: yes:)
                   8251: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8252: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8253: ac_tool_warned=yes ;;
                   8254: esac
                   8255:     DSYMUTIL=$ac_ct_DSYMUTIL
                   8256:   fi
1.128     moko     8257: else
                   8258:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
                   8259: fi
                   8260: 
                   8261:     if test -n "$ac_tool_prefix"; then
                   8262:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
                   8263: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
1.150     moko     8264: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8265: $as_echo_n "checking for $ac_word... " >&6; }
                   8266: if ${ac_cv_prog_NMEDIT+:} false; then :
                   8267:   $as_echo_n "(cached) " >&6
1.128     moko     8268: else
                   8269:   if test -n "$NMEDIT"; then
                   8270:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
                   8271: else
                   8272: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8273: for as_dir in $PATH
                   8274: do
                   8275:   IFS=$as_save_IFS
                   8276:   test -z "$as_dir" && as_dir=.
1.150     moko     8277:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8278:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8279:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
1.150     moko     8280:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8281:     break 2
                   8282:   fi
                   8283: done
1.150     moko     8284:   done
                   8285: IFS=$as_save_IFS
1.128     moko     8286: 
                   8287: fi
                   8288: fi
                   8289: NMEDIT=$ac_cv_prog_NMEDIT
                   8290: if test -n "$NMEDIT"; then
1.150     moko     8291:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
                   8292: $as_echo "$NMEDIT" >&6; }
1.128     moko     8293: else
1.150     moko     8294:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8295: $as_echo "no" >&6; }
1.128     moko     8296: fi
                   8297: 
1.150     moko     8298: 
1.128     moko     8299: fi
                   8300: if test -z "$ac_cv_prog_NMEDIT"; then
                   8301:   ac_ct_NMEDIT=$NMEDIT
                   8302:   # Extract the first word of "nmedit", so it can be a program name with args.
                   8303: set dummy nmedit; ac_word=$2
1.150     moko     8304: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8305: $as_echo_n "checking for $ac_word... " >&6; }
                   8306: if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
                   8307:   $as_echo_n "(cached) " >&6
1.128     moko     8308: else
                   8309:   if test -n "$ac_ct_NMEDIT"; then
                   8310:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
                   8311: else
                   8312: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8313: for as_dir in $PATH
                   8314: do
                   8315:   IFS=$as_save_IFS
                   8316:   test -z "$as_dir" && as_dir=.
1.150     moko     8317:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8318:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8319:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
1.150     moko     8320:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8321:     break 2
                   8322:   fi
                   8323: done
1.150     moko     8324:   done
                   8325: IFS=$as_save_IFS
1.128     moko     8326: 
                   8327: fi
                   8328: fi
                   8329: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
                   8330: if test -n "$ac_ct_NMEDIT"; then
1.150     moko     8331:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
                   8332: $as_echo "$ac_ct_NMEDIT" >&6; }
1.128     moko     8333: else
1.150     moko     8334:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8335: $as_echo "no" >&6; }
1.128     moko     8336: fi
                   8337: 
1.150     moko     8338:   if test "x$ac_ct_NMEDIT" = x; then
                   8339:     NMEDIT=":"
                   8340:   else
                   8341:     case $cross_compiling:$ac_tool_warned in
                   8342: yes:)
                   8343: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8344: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8345: ac_tool_warned=yes ;;
                   8346: esac
                   8347:     NMEDIT=$ac_ct_NMEDIT
                   8348:   fi
1.128     moko     8349: else
                   8350:   NMEDIT="$ac_cv_prog_NMEDIT"
                   8351: fi
                   8352: 
                   8353:     if test -n "$ac_tool_prefix"; then
                   8354:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
                   8355: set dummy ${ac_tool_prefix}lipo; ac_word=$2
1.150     moko     8356: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8357: $as_echo_n "checking for $ac_word... " >&6; }
                   8358: if ${ac_cv_prog_LIPO+:} false; then :
                   8359:   $as_echo_n "(cached) " >&6
1.128     moko     8360: else
                   8361:   if test -n "$LIPO"; then
                   8362:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
                   8363: else
                   8364: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8365: for as_dir in $PATH
                   8366: do
                   8367:   IFS=$as_save_IFS
                   8368:   test -z "$as_dir" && as_dir=.
1.150     moko     8369:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8370:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8371:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
1.150     moko     8372:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8373:     break 2
                   8374:   fi
                   8375: done
1.150     moko     8376:   done
                   8377: IFS=$as_save_IFS
1.128     moko     8378: 
                   8379: fi
                   8380: fi
                   8381: LIPO=$ac_cv_prog_LIPO
                   8382: if test -n "$LIPO"; then
1.150     moko     8383:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
                   8384: $as_echo "$LIPO" >&6; }
1.128     moko     8385: else
1.150     moko     8386:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8387: $as_echo "no" >&6; }
1.128     moko     8388: fi
                   8389: 
1.150     moko     8390: 
1.128     moko     8391: fi
                   8392: if test -z "$ac_cv_prog_LIPO"; then
                   8393:   ac_ct_LIPO=$LIPO
                   8394:   # Extract the first word of "lipo", so it can be a program name with args.
                   8395: set dummy lipo; ac_word=$2
1.150     moko     8396: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8397: $as_echo_n "checking for $ac_word... " >&6; }
                   8398: if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
                   8399:   $as_echo_n "(cached) " >&6
1.128     moko     8400: else
                   8401:   if test -n "$ac_ct_LIPO"; then
                   8402:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
                   8403: else
                   8404: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8405: for as_dir in $PATH
                   8406: do
                   8407:   IFS=$as_save_IFS
                   8408:   test -z "$as_dir" && as_dir=.
1.150     moko     8409:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8410:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8411:     ac_cv_prog_ac_ct_LIPO="lipo"
1.150     moko     8412:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8413:     break 2
                   8414:   fi
                   8415: done
1.150     moko     8416:   done
                   8417: IFS=$as_save_IFS
1.128     moko     8418: 
                   8419: fi
                   8420: fi
                   8421: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
                   8422: if test -n "$ac_ct_LIPO"; then
1.150     moko     8423:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
                   8424: $as_echo "$ac_ct_LIPO" >&6; }
1.128     moko     8425: else
1.150     moko     8426:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8427: $as_echo "no" >&6; }
1.128     moko     8428: fi
                   8429: 
1.150     moko     8430:   if test "x$ac_ct_LIPO" = x; then
                   8431:     LIPO=":"
                   8432:   else
                   8433:     case $cross_compiling:$ac_tool_warned in
                   8434: yes:)
                   8435: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8436: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8437: ac_tool_warned=yes ;;
                   8438: esac
                   8439:     LIPO=$ac_ct_LIPO
                   8440:   fi
1.128     moko     8441: else
                   8442:   LIPO="$ac_cv_prog_LIPO"
                   8443: fi
                   8444: 
                   8445:     if test -n "$ac_tool_prefix"; then
                   8446:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
                   8447: set dummy ${ac_tool_prefix}otool; ac_word=$2
1.150     moko     8448: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8449: $as_echo_n "checking for $ac_word... " >&6; }
                   8450: if ${ac_cv_prog_OTOOL+:} false; then :
                   8451:   $as_echo_n "(cached) " >&6
1.128     moko     8452: else
                   8453:   if test -n "$OTOOL"; then
                   8454:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
                   8455: else
                   8456: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8457: for as_dir in $PATH
                   8458: do
                   8459:   IFS=$as_save_IFS
                   8460:   test -z "$as_dir" && as_dir=.
1.150     moko     8461:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8462:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8463:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
1.150     moko     8464:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8465:     break 2
                   8466:   fi
                   8467: done
1.150     moko     8468:   done
                   8469: IFS=$as_save_IFS
1.128     moko     8470: 
                   8471: fi
                   8472: fi
                   8473: OTOOL=$ac_cv_prog_OTOOL
                   8474: if test -n "$OTOOL"; then
1.150     moko     8475:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
                   8476: $as_echo "$OTOOL" >&6; }
1.128     moko     8477: else
1.150     moko     8478:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8479: $as_echo "no" >&6; }
1.128     moko     8480: fi
                   8481: 
1.150     moko     8482: 
1.128     moko     8483: fi
                   8484: if test -z "$ac_cv_prog_OTOOL"; then
                   8485:   ac_ct_OTOOL=$OTOOL
                   8486:   # Extract the first word of "otool", so it can be a program name with args.
                   8487: set dummy otool; ac_word=$2
1.150     moko     8488: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8489: $as_echo_n "checking for $ac_word... " >&6; }
                   8490: if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
                   8491:   $as_echo_n "(cached) " >&6
1.128     moko     8492: else
                   8493:   if test -n "$ac_ct_OTOOL"; then
                   8494:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
                   8495: else
                   8496: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8497: for as_dir in $PATH
                   8498: do
                   8499:   IFS=$as_save_IFS
                   8500:   test -z "$as_dir" && as_dir=.
1.150     moko     8501:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8502:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8503:     ac_cv_prog_ac_ct_OTOOL="otool"
1.150     moko     8504:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8505:     break 2
                   8506:   fi
                   8507: done
1.150     moko     8508:   done
                   8509: IFS=$as_save_IFS
1.128     moko     8510: 
                   8511: fi
                   8512: fi
                   8513: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
                   8514: if test -n "$ac_ct_OTOOL"; then
1.150     moko     8515:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
                   8516: $as_echo "$ac_ct_OTOOL" >&6; }
1.128     moko     8517: else
1.150     moko     8518:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8519: $as_echo "no" >&6; }
1.128     moko     8520: fi
                   8521: 
1.150     moko     8522:   if test "x$ac_ct_OTOOL" = x; then
                   8523:     OTOOL=":"
                   8524:   else
                   8525:     case $cross_compiling:$ac_tool_warned in
                   8526: yes:)
                   8527: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8528: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8529: ac_tool_warned=yes ;;
                   8530: esac
                   8531:     OTOOL=$ac_ct_OTOOL
                   8532:   fi
1.128     moko     8533: else
                   8534:   OTOOL="$ac_cv_prog_OTOOL"
                   8535: fi
                   8536: 
                   8537:     if test -n "$ac_tool_prefix"; then
                   8538:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
                   8539: set dummy ${ac_tool_prefix}otool64; ac_word=$2
1.150     moko     8540: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8541: $as_echo_n "checking for $ac_word... " >&6; }
                   8542: if ${ac_cv_prog_OTOOL64+:} false; then :
                   8543:   $as_echo_n "(cached) " >&6
1.128     moko     8544: else
                   8545:   if test -n "$OTOOL64"; then
                   8546:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
                   8547: else
                   8548: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8549: for as_dir in $PATH
                   8550: do
                   8551:   IFS=$as_save_IFS
                   8552:   test -z "$as_dir" && as_dir=.
1.150     moko     8553:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8554:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8555:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
1.150     moko     8556:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8557:     break 2
                   8558:   fi
                   8559: done
1.150     moko     8560:   done
                   8561: IFS=$as_save_IFS
1.128     moko     8562: 
                   8563: fi
                   8564: fi
                   8565: OTOOL64=$ac_cv_prog_OTOOL64
                   8566: if test -n "$OTOOL64"; then
1.150     moko     8567:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
                   8568: $as_echo "$OTOOL64" >&6; }
1.128     moko     8569: else
1.150     moko     8570:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8571: $as_echo "no" >&6; }
1.128     moko     8572: fi
                   8573: 
1.150     moko     8574: 
1.128     moko     8575: fi
                   8576: if test -z "$ac_cv_prog_OTOOL64"; then
                   8577:   ac_ct_OTOOL64=$OTOOL64
                   8578:   # Extract the first word of "otool64", so it can be a program name with args.
                   8579: set dummy otool64; ac_word=$2
1.150     moko     8580: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8581: $as_echo_n "checking for $ac_word... " >&6; }
                   8582: if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
                   8583:   $as_echo_n "(cached) " >&6
1.128     moko     8584: else
                   8585:   if test -n "$ac_ct_OTOOL64"; then
                   8586:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
                   8587: else
                   8588: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8589: for as_dir in $PATH
                   8590: do
                   8591:   IFS=$as_save_IFS
                   8592:   test -z "$as_dir" && as_dir=.
1.150     moko     8593:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8594:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8595:     ac_cv_prog_ac_ct_OTOOL64="otool64"
1.150     moko     8596:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8597:     break 2
                   8598:   fi
                   8599: done
1.150     moko     8600:   done
                   8601: IFS=$as_save_IFS
1.128     moko     8602: 
                   8603: fi
                   8604: fi
                   8605: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
                   8606: if test -n "$ac_ct_OTOOL64"; then
1.150     moko     8607:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
                   8608: $as_echo "$ac_ct_OTOOL64" >&6; }
1.128     moko     8609: else
1.150     moko     8610:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8611: $as_echo "no" >&6; }
1.128     moko     8612: fi
                   8613: 
1.150     moko     8614:   if test "x$ac_ct_OTOOL64" = x; then
                   8615:     OTOOL64=":"
                   8616:   else
                   8617:     case $cross_compiling:$ac_tool_warned in
                   8618: yes:)
                   8619: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8620: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8621: ac_tool_warned=yes ;;
                   8622: esac
                   8623:     OTOOL64=$ac_ct_OTOOL64
                   8624:   fi
1.128     moko     8625: else
                   8626:   OTOOL64="$ac_cv_prog_OTOOL64"
                   8627: fi
                   8628: 
                   8629: 
                   8630: 
                   8631: 
                   8632: 
                   8633: 
                   8634: 
                   8635: 
                   8636: 
                   8637: 
                   8638: 
                   8639: 
                   8640: 
                   8641: 
                   8642: 
                   8643: 
                   8644: 
                   8645: 
                   8646: 
                   8647: 
                   8648: 
                   8649: 
                   8650: 
                   8651: 
                   8652: 
                   8653: 
                   8654: 
1.150     moko     8655:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
                   8656: $as_echo_n "checking for -single_module linker flag... " >&6; }
                   8657: if ${lt_cv_apple_cc_single_mod+:} false; then :
                   8658:   $as_echo_n "(cached) " >&6
1.128     moko     8659: else
                   8660:   lt_cv_apple_cc_single_mod=no
                   8661:       if test -z "${LT_MULTI_MODULE}"; then
                   8662:        # By default we will add the -single_module flag. You can override
                   8663:        # by either setting the environment variable LT_MULTI_MODULE
                   8664:        # non-empty at configure time, or by adding -multi_module to the
                   8665:        # link flags.
                   8666:        rm -rf libconftest.dylib*
                   8667:        echo "int foo(void){return 1;}" > conftest.c
                   8668:        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   8669: -dynamiclib -Wl,-single_module conftest.c" >&5
                   8670:        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   8671:          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
                   8672:         _lt_result=$?
                   8673:        # If there is a non-empty error log, and "single_module"
                   8674:        # appears in it, assume the flag caused a linker warning
                   8675:         if test -s conftest.err && $GREP single_module conftest.err; then
                   8676:          cat conftest.err >&5
                   8677:        # Otherwise, if the output was created with a 0 exit code from
                   8678:        # the compiler, it worked.
                   8679:        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
                   8680:          lt_cv_apple_cc_single_mod=yes
                   8681:        else
                   8682:          cat conftest.err >&5
                   8683:        fi
                   8684:        rm -rf libconftest.dylib*
                   8685:        rm -f conftest.*
                   8686:       fi
                   8687: fi
1.150     moko     8688: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
                   8689: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
1.128     moko     8690: 
1.150     moko     8691:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
                   8692: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
                   8693: if ${lt_cv_ld_exported_symbols_list+:} false; then :
                   8694:   $as_echo_n "(cached) " >&6
1.128     moko     8695: else
                   8696:   lt_cv_ld_exported_symbols_list=no
                   8697:       save_LDFLAGS=$LDFLAGS
                   8698:       echo "_main" > conftest.sym
                   8699:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
1.150     moko     8700:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8701: /* end confdefs.h.  */
                   8702: 
                   8703: int
                   8704: main ()
                   8705: {
                   8706: 
                   8707:   ;
                   8708:   return 0;
                   8709: }
                   8710: _ACEOF
1.150     moko     8711: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     8712:   lt_cv_ld_exported_symbols_list=yes
                   8713: else
1.150     moko     8714:   lt_cv_ld_exported_symbols_list=no
1.128     moko     8715: fi
1.150     moko     8716: rm -f core conftest.err conftest.$ac_objext \
                   8717:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     8718:        LDFLAGS="$save_LDFLAGS"
                   8719: 
                   8720: fi
1.150     moko     8721: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
                   8722: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
1.128     moko     8723: 
1.150     moko     8724:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
                   8725: $as_echo_n "checking for -force_load linker flag... " >&6; }
                   8726: if ${lt_cv_ld_force_load+:} false; then :
                   8727:   $as_echo_n "(cached) " >&6
1.128     moko     8728: else
                   8729:   lt_cv_ld_force_load=no
                   8730:       cat > conftest.c << _LT_EOF
                   8731: int forced_loaded() { return 2;}
                   8732: _LT_EOF
                   8733:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
                   8734:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
                   8735:       echo "$AR cru libconftest.a conftest.o" >&5
                   8736:       $AR cru libconftest.a conftest.o 2>&5
                   8737:       echo "$RANLIB libconftest.a" >&5
                   8738:       $RANLIB libconftest.a 2>&5
                   8739:       cat > conftest.c << _LT_EOF
                   8740: int main() { return 0;}
                   8741: _LT_EOF
                   8742:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
                   8743:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
                   8744:       _lt_result=$?
                   8745:       if test -s conftest.err && $GREP force_load conftest.err; then
                   8746:        cat conftest.err >&5
                   8747:       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
                   8748:        lt_cv_ld_force_load=yes
                   8749:       else
                   8750:        cat conftest.err >&5
                   8751:       fi
                   8752:         rm -f conftest.err libconftest.a conftest conftest.c
                   8753:         rm -rf conftest.dSYM
                   8754: 
                   8755: fi
1.150     moko     8756: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
                   8757: $as_echo "$lt_cv_ld_force_load" >&6; }
1.128     moko     8758:     case $host_os in
                   8759:     rhapsody* | darwin1.[012])
                   8760:       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
                   8761:     darwin1.*)
                   8762:       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   8763:     darwin*) # darwin 5.x on
                   8764:       # if running on 10.5 or later, the deployment target defaults
                   8765:       # to the OS version, if on x86, and 10.4, the deployment
                   8766:       # target defaults to 10.4. Don't you love it?
                   8767:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
                   8768:        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
                   8769:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   8770:        10.[012]*)
                   8771:          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   8772:        10.*)
                   8773:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   8774:       esac
                   8775:     ;;
                   8776:   esac
                   8777:     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
                   8778:       _lt_dar_single_mod='$single_module'
                   8779:     fi
                   8780:     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
                   8781:       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
                   8782:     else
                   8783:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
                   8784:     fi
                   8785:     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
                   8786:       _lt_dsymutil='~$DSYMUTIL $lib || :'
                   8787:     else
                   8788:       _lt_dsymutil=
                   8789:     fi
                   8790:     ;;
                   8791:   esac
                   8792: 
                   8793: ac_ext=c
                   8794: ac_cpp='$CPP $CPPFLAGS'
                   8795: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   8796: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   8797: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.150     moko     8798: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
                   8799: $as_echo_n "checking how to run the C preprocessor... " >&6; }
1.128     moko     8800: # On Suns, sometimes $CPP names a directory.
                   8801: if test -n "$CPP" && test -d "$CPP"; then
                   8802:   CPP=
                   8803: fi
                   8804: if test -z "$CPP"; then
1.150     moko     8805:   if ${ac_cv_prog_CPP+:} false; then :
                   8806:   $as_echo_n "(cached) " >&6
1.128     moko     8807: else
                   8808:       # Double quotes because CPP needs to be expanded
                   8809:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   8810:     do
                   8811:       ac_preproc_ok=false
                   8812: for ac_c_preproc_warn_flag in '' yes
                   8813: do
                   8814:   # Use a header file that comes with gcc, so configuring glibc
                   8815:   # with a fresh cross-compiler works.
                   8816:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   8817:   # <limits.h> exists even on freestanding compilers.
                   8818:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   8819:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     8820:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8821: /* end confdefs.h.  */
                   8822: #ifdef __STDC__
                   8823: # include <limits.h>
                   8824: #else
                   8825: # include <assert.h>
                   8826: #endif
                   8827:                     Syntax error
                   8828: _ACEOF
1.150     moko     8829: if ac_fn_c_try_cpp "$LINENO"; then :
                   8830: 
1.128     moko     8831: else
                   8832:   # Broken: fails on valid input.
                   8833: continue
                   8834: fi
1.150     moko     8835: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8836: 
1.150     moko     8837:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     8838:   # can be detected and how.
1.150     moko     8839:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8840: /* end confdefs.h.  */
                   8841: #include <ac_nonexistent.h>
                   8842: _ACEOF
1.150     moko     8843: if ac_fn_c_try_cpp "$LINENO"; then :
1.128     moko     8844:   # Broken: success on invalid input.
                   8845: continue
                   8846: else
                   8847:   # Passes both tests.
                   8848: ac_preproc_ok=:
                   8849: break
                   8850: fi
1.150     moko     8851: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8852: 
                   8853: done
                   8854: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     8855: rm -f conftest.i conftest.err conftest.$ac_ext
                   8856: if $ac_preproc_ok; then :
1.128     moko     8857:   break
                   8858: fi
                   8859: 
                   8860:     done
                   8861:     ac_cv_prog_CPP=$CPP
                   8862: 
                   8863: fi
                   8864:   CPP=$ac_cv_prog_CPP
                   8865: else
                   8866:   ac_cv_prog_CPP=$CPP
                   8867: fi
1.150     moko     8868: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
                   8869: $as_echo "$CPP" >&6; }
1.128     moko     8870: ac_preproc_ok=false
                   8871: for ac_c_preproc_warn_flag in '' yes
                   8872: do
                   8873:   # Use a header file that comes with gcc, so configuring glibc
                   8874:   # with a fresh cross-compiler works.
                   8875:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   8876:   # <limits.h> exists even on freestanding compilers.
                   8877:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   8878:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     8879:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8880: /* end confdefs.h.  */
                   8881: #ifdef __STDC__
                   8882: # include <limits.h>
                   8883: #else
                   8884: # include <assert.h>
                   8885: #endif
                   8886:                     Syntax error
                   8887: _ACEOF
1.150     moko     8888: if ac_fn_c_try_cpp "$LINENO"; then :
                   8889: 
1.128     moko     8890: else
                   8891:   # Broken: fails on valid input.
                   8892: continue
                   8893: fi
1.150     moko     8894: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8895: 
1.150     moko     8896:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     8897:   # can be detected and how.
1.150     moko     8898:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8899: /* end confdefs.h.  */
                   8900: #include <ac_nonexistent.h>
                   8901: _ACEOF
1.150     moko     8902: if ac_fn_c_try_cpp "$LINENO"; then :
1.128     moko     8903:   # Broken: success on invalid input.
                   8904: continue
                   8905: else
                   8906:   # Passes both tests.
                   8907: ac_preproc_ok=:
                   8908: break
                   8909: fi
1.150     moko     8910: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8911: 
                   8912: done
                   8913: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     8914: rm -f conftest.i conftest.err conftest.$ac_ext
                   8915: if $ac_preproc_ok; then :
                   8916: 
1.128     moko     8917: else
1.150     moko     8918:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   8919: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   8920: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
                   8921: See \`config.log' for more details" "$LINENO" 5; }
1.128     moko     8922: fi
                   8923: 
                   8924: ac_ext=c
                   8925: ac_cpp='$CPP $CPPFLAGS'
                   8926: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   8927: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   8928: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   8929: 
                   8930: 
1.150     moko     8931: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   8932: $as_echo_n "checking for ANSI C header files... " >&6; }
                   8933: if ${ac_cv_header_stdc+:} false; then :
                   8934:   $as_echo_n "(cached) " >&6
1.128     moko     8935: else
1.150     moko     8936:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8937: /* end confdefs.h.  */
                   8938: #include <stdlib.h>
                   8939: #include <stdarg.h>
                   8940: #include <string.h>
                   8941: #include <float.h>
                   8942: 
                   8943: int
                   8944: main ()
                   8945: {
                   8946: 
                   8947:   ;
                   8948:   return 0;
                   8949: }
                   8950: _ACEOF
1.150     moko     8951: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     8952:   ac_cv_header_stdc=yes
                   8953: else
1.150     moko     8954:   ac_cv_header_stdc=no
1.128     moko     8955: fi
1.150     moko     8956: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     8957: 
                   8958: if test $ac_cv_header_stdc = yes; then
                   8959:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.150     moko     8960:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8961: /* end confdefs.h.  */
                   8962: #include <string.h>
                   8963: 
                   8964: _ACEOF
                   8965: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.150     moko     8966:   $EGREP "memchr" >/dev/null 2>&1; then :
                   8967: 
1.128     moko     8968: else
                   8969:   ac_cv_header_stdc=no
                   8970: fi
                   8971: rm -f conftest*
                   8972: 
                   8973: fi
                   8974: 
                   8975: if test $ac_cv_header_stdc = yes; then
                   8976:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.150     moko     8977:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8978: /* end confdefs.h.  */
                   8979: #include <stdlib.h>
                   8980: 
                   8981: _ACEOF
                   8982: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.150     moko     8983:   $EGREP "free" >/dev/null 2>&1; then :
                   8984: 
1.128     moko     8985: else
                   8986:   ac_cv_header_stdc=no
                   8987: fi
                   8988: rm -f conftest*
                   8989: 
                   8990: fi
                   8991: 
                   8992: if test $ac_cv_header_stdc = yes; then
                   8993:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.150     moko     8994:   if test "$cross_compiling" = yes; then :
1.128     moko     8995:   :
                   8996: else
1.150     moko     8997:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8998: /* end confdefs.h.  */
                   8999: #include <ctype.h>
1.150     moko     9000: #include <stdlib.h>
1.128     moko     9001: #if ((' ' & 0x0FF) == 0x020)
                   9002: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   9003: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   9004: #else
                   9005: # define ISLOWER(c) \
                   9006:                   (('a' <= (c) && (c) <= 'i') \
                   9007:                     || ('j' <= (c) && (c) <= 'r') \
                   9008:                     || ('s' <= (c) && (c) <= 'z'))
                   9009: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   9010: #endif
                   9011: 
                   9012: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   9013: int
                   9014: main ()
                   9015: {
                   9016:   int i;
                   9017:   for (i = 0; i < 256; i++)
                   9018:     if (XOR (islower (i), ISLOWER (i))
                   9019:        || toupper (i) != TOUPPER (i))
1.150     moko     9020:       return 2;
                   9021:   return 0;
1.128     moko     9022: }
                   9023: _ACEOF
1.150     moko     9024: if ac_fn_c_try_run "$LINENO"; then :
                   9025: 
1.128     moko     9026: else
1.150     moko     9027:   ac_cv_header_stdc=no
1.128     moko     9028: fi
1.150     moko     9029: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   9030:   conftest.$ac_objext conftest.beam conftest.$ac_ext
1.128     moko     9031: fi
1.150     moko     9032: 
1.128     moko     9033: fi
                   9034: fi
1.150     moko     9035: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   9036: $as_echo "$ac_cv_header_stdc" >&6; }
1.128     moko     9037: if test $ac_cv_header_stdc = yes; then
                   9038: 
1.150     moko     9039: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
1.128     moko     9040: 
                   9041: fi
                   9042: 
                   9043: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
1.150     moko     9044: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   9045:                  inttypes.h stdint.h unistd.h
                   9046: do :
                   9047:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   9048: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   9049: "
                   9050: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   9051:   cat >>confdefs.h <<_ACEOF
                   9052: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   9053: _ACEOF
1.128     moko     9054: 
1.150     moko     9055: fi
1.128     moko     9056: 
1.150     moko     9057: done
1.128     moko     9058: 
                   9059: 
1.150     moko     9060: for ac_header in dlfcn.h
                   9061: do :
                   9062:   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
                   9063: "
                   9064: if test "x$ac_cv_header_dlfcn_h" = xyes; then :
                   9065:   cat >>confdefs.h <<_ACEOF
                   9066: #define HAVE_DLFCN_H 1
                   9067: _ACEOF
1.128     moko     9068: 
1.150     moko     9069: fi
1.128     moko     9070: 
1.150     moko     9071: done
1.128     moko     9072: 
                   9073: 
                   9074: 
                   9075: 
1.150     moko     9076: func_stripname_cnf ()
                   9077: {
                   9078:   case ${2} in
                   9079:   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
                   9080:   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
                   9081:   esac
                   9082: } # func_stripname_cnf
1.128     moko     9083: 
                   9084: 
                   9085: 
                   9086: 
                   9087: 
                   9088: # Set options
                   9089: enable_dlopen=yes
                   9090: enable_win32_dll=yes
                   9091: 
                   9092: case $host in
                   9093: *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
                   9094:   if test -n "$ac_tool_prefix"; then
                   9095:   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
                   9096: set dummy ${ac_tool_prefix}as; ac_word=$2
1.150     moko     9097: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9098: $as_echo_n "checking for $ac_word... " >&6; }
                   9099: if ${ac_cv_prog_AS+:} false; then :
                   9100:   $as_echo_n "(cached) " >&6
1.128     moko     9101: else
                   9102:   if test -n "$AS"; then
                   9103:   ac_cv_prog_AS="$AS" # Let the user override the test.
                   9104: else
                   9105: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9106: for as_dir in $PATH
                   9107: do
                   9108:   IFS=$as_save_IFS
                   9109:   test -z "$as_dir" && as_dir=.
1.150     moko     9110:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     9111:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     9112:     ac_cv_prog_AS="${ac_tool_prefix}as"
1.150     moko     9113:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     9114:     break 2
                   9115:   fi
                   9116: done
1.150     moko     9117:   done
                   9118: IFS=$as_save_IFS
1.128     moko     9119: 
                   9120: fi
                   9121: fi
                   9122: AS=$ac_cv_prog_AS
                   9123: if test -n "$AS"; then
1.150     moko     9124:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
                   9125: $as_echo "$AS" >&6; }
1.128     moko     9126: else
1.150     moko     9127:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9128: $as_echo "no" >&6; }
1.128     moko     9129: fi
                   9130: 
1.150     moko     9131: 
1.128     moko     9132: fi
                   9133: if test -z "$ac_cv_prog_AS"; then
                   9134:   ac_ct_AS=$AS
                   9135:   # Extract the first word of "as", so it can be a program name with args.
                   9136: set dummy as; ac_word=$2
1.150     moko     9137: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9138: $as_echo_n "checking for $ac_word... " >&6; }
                   9139: if ${ac_cv_prog_ac_ct_AS+:} false; then :
                   9140:   $as_echo_n "(cached) " >&6
1.128     moko     9141: else
                   9142:   if test -n "$ac_ct_AS"; then
                   9143:   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
                   9144: else
                   9145: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9146: for as_dir in $PATH
                   9147: do
                   9148:   IFS=$as_save_IFS
                   9149:   test -z "$as_dir" && as_dir=.
1.150     moko     9150:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     9151:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     9152:     ac_cv_prog_ac_ct_AS="as"
1.150     moko     9153:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     9154:     break 2
                   9155:   fi
                   9156: done
1.150     moko     9157:   done
                   9158: IFS=$as_save_IFS
1.128     moko     9159: 
                   9160: fi
                   9161: fi
                   9162: ac_ct_AS=$ac_cv_prog_ac_ct_AS
                   9163: if test -n "$ac_ct_AS"; then
1.150     moko     9164:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
                   9165: $as_echo "$ac_ct_AS" >&6; }
1.128     moko     9166: else
1.150     moko     9167:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9168: $as_echo "no" >&6; }
1.128     moko     9169: fi
                   9170: 
1.150     moko     9171:   if test "x$ac_ct_AS" = x; then
                   9172:     AS="false"
                   9173:   else
                   9174:     case $cross_compiling:$ac_tool_warned in
                   9175: yes:)
                   9176: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   9177: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   9178: ac_tool_warned=yes ;;
                   9179: esac
                   9180:     AS=$ac_ct_AS
                   9181:   fi
1.128     moko     9182: else
                   9183:   AS="$ac_cv_prog_AS"
                   9184: fi
                   9185: 
                   9186:   if test -n "$ac_tool_prefix"; then
                   9187:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   9188: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1.150     moko     9189: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9190: $as_echo_n "checking for $ac_word... " >&6; }
                   9191: if ${ac_cv_prog_DLLTOOL+:} false; then :
                   9192:   $as_echo_n "(cached) " >&6
1.128     moko     9193: else
                   9194:   if test -n "$DLLTOOL"; then
                   9195:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   9196: else
                   9197: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9198: for as_dir in $PATH
                   9199: do
                   9200:   IFS=$as_save_IFS
                   9201:   test -z "$as_dir" && as_dir=.
1.150     moko     9202:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     9203:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     9204:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
1.150     moko     9205:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     9206:     break 2
                   9207:   fi
                   9208: done
1.150     moko     9209:   done
                   9210: IFS=$as_save_IFS
1.128     moko     9211: 
                   9212: fi
                   9213: fi
                   9214: DLLTOOL=$ac_cv_prog_DLLTOOL
                   9215: if test -n "$DLLTOOL"; then
1.150     moko     9216:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
                   9217: $as_echo "$DLLTOOL" >&6; }
1.128     moko     9218: else
1.150     moko     9219:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9220: $as_echo "no" >&6; }
1.128     moko     9221: fi
                   9222: 
1.150     moko     9223: 
1.128     moko     9224: fi
                   9225: if test -z "$ac_cv_prog_DLLTOOL"; then
                   9226:   ac_ct_DLLTOOL=$DLLTOOL
                   9227:   # Extract the first word of "dlltool", so it can be a program name with args.
                   9228: set dummy dlltool; ac_word=$2
1.150     moko     9229: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9230: $as_echo_n "checking for $ac_word... " >&6; }
                   9231: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
                   9232:   $as_echo_n "(cached) " >&6
1.128     moko     9233: else
                   9234:   if test -n "$ac_ct_DLLTOOL"; then
                   9235:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   9236: else
                   9237: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9238: for as_dir in $PATH
                   9239: do
                   9240:   IFS=$as_save_IFS
                   9241:   test -z "$as_dir" && as_dir=.
1.150     moko     9242:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     9243:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     9244:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
1.150     moko     9245:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     9246:     break 2
                   9247:   fi
                   9248: done
1.150     moko     9249:   done
                   9250: IFS=$as_save_IFS
1.128     moko     9251: 
                   9252: fi
                   9253: fi
                   9254: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   9255: if test -n "$ac_ct_DLLTOOL"; then
1.150     moko     9256:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
                   9257: $as_echo "$ac_ct_DLLTOOL" >&6; }
1.128     moko     9258: else
1.150     moko     9259:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9260: $as_echo "no" >&6; }
1.128     moko     9261: fi
                   9262: 
1.150     moko     9263:   if test "x$ac_ct_DLLTOOL" = x; then
                   9264:     DLLTOOL="false"
                   9265:   else
                   9266:     case $cross_compiling:$ac_tool_warned in
                   9267: yes:)
                   9268: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   9269: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   9270: ac_tool_warned=yes ;;
                   9271: esac
                   9272:     DLLTOOL=$ac_ct_DLLTOOL
                   9273:   fi
1.128     moko     9274: else
                   9275:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   9276: fi
                   9277: 
                   9278:   if test -n "$ac_tool_prefix"; then
                   9279:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   9280: set dummy ${ac_tool_prefix}objdump; ac_word=$2
1.150     moko     9281: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9282: $as_echo_n "checking for $ac_word... " >&6; }
                   9283: if ${ac_cv_prog_OBJDUMP+:} false; then :
                   9284:   $as_echo_n "(cached) " >&6
1.128     moko     9285: else
                   9286:   if test -n "$OBJDUMP"; then
                   9287:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   9288: else
                   9289: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9290: for as_dir in $PATH
                   9291: do
                   9292:   IFS=$as_save_IFS
                   9293:   test -z "$as_dir" && as_dir=.
1.150     moko     9294:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     9295:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     9296:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1.150     moko     9297:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     9298:     break 2
                   9299:   fi
                   9300: done
1.150     moko     9301:   done
                   9302: IFS=$as_save_IFS
1.128     moko     9303: 
                   9304: fi
                   9305: fi
                   9306: OBJDUMP=$ac_cv_prog_OBJDUMP
                   9307: if test -n "$OBJDUMP"; then
1.150     moko     9308:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   9309: $as_echo "$OBJDUMP" >&6; }
1.128     moko     9310: else
1.150     moko     9311:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9312: $as_echo "no" >&6; }
1.128     moko     9313: fi
                   9314: 
1.150     moko     9315: 
1.128     moko     9316: fi
                   9317: if test -z "$ac_cv_prog_OBJDUMP"; then
                   9318:   ac_ct_OBJDUMP=$OBJDUMP
                   9319:   # Extract the first word of "objdump", so it can be a program name with args.
                   9320: set dummy objdump; ac_word=$2
1.150     moko     9321: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9322: $as_echo_n "checking for $ac_word... " >&6; }
                   9323: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
                   9324:   $as_echo_n "(cached) " >&6
1.128     moko     9325: else
                   9326:   if test -n "$ac_ct_OBJDUMP"; then
                   9327:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   9328: else
                   9329: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9330: for as_dir in $PATH
                   9331: do
                   9332:   IFS=$as_save_IFS
                   9333:   test -z "$as_dir" && as_dir=.
1.150     moko     9334:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     9335:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     9336:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.150     moko     9337:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     9338:     break 2
                   9339:   fi
                   9340: done
1.150     moko     9341:   done
                   9342: IFS=$as_save_IFS
1.128     moko     9343: 
                   9344: fi
                   9345: fi
                   9346: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   9347: if test -n "$ac_ct_OBJDUMP"; then
1.150     moko     9348:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   9349: $as_echo "$ac_ct_OBJDUMP" >&6; }
1.128     moko     9350: else
1.150     moko     9351:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9352: $as_echo "no" >&6; }
1.128     moko     9353: fi
                   9354: 
1.150     moko     9355:   if test "x$ac_ct_OBJDUMP" = x; then
                   9356:     OBJDUMP="false"
                   9357:   else
                   9358:     case $cross_compiling:$ac_tool_warned in
                   9359: yes:)
                   9360: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   9361: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   9362: ac_tool_warned=yes ;;
                   9363: esac
                   9364:     OBJDUMP=$ac_ct_OBJDUMP
                   9365:   fi
1.128     moko     9366: else
                   9367:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   9368: fi
                   9369: 
                   9370:   ;;
                   9371: esac
                   9372: 
                   9373: test -z "$AS" && AS=as
                   9374: 
                   9375: 
                   9376: 
                   9377: 
                   9378: 
                   9379: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   9380: 
                   9381: 
                   9382: 
                   9383: 
                   9384: 
                   9385: test -z "$OBJDUMP" && OBJDUMP=objdump
                   9386: 
                   9387: 
                   9388: 
                   9389: 
                   9390: 
1.150     moko     9391: # Check whether --with-pic was given.
                   9392: if test "${with_pic+set}" = set; then :
                   9393:   withval=$with_pic; lt_p=${PACKAGE-default}
1.145     moko     9394:     case $withval in
                   9395:     yes|no) pic_mode=$withval ;;
                   9396:     *)
                   9397:       pic_mode=default
                   9398:       # Look at the argument we got.  We use all the common list separators.
                   9399:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   9400:       for lt_pkg in $withval; do
                   9401:        IFS="$lt_save_ifs"
                   9402:        if test "X$lt_pkg" = "X$lt_p"; then
                   9403:          pic_mode=yes
                   9404:        fi
                   9405:       done
                   9406:       IFS="$lt_save_ifs"
                   9407:       ;;
                   9408:     esac
                   9409: else
                   9410:   pic_mode=default
1.150     moko     9411: fi
                   9412: 
1.145     moko     9413: 
                   9414: test -z "$pic_mode" && pic_mode=no
                   9415: 
                   9416: 
                   9417: 
                   9418: 
                   9419: 
                   9420: 
1.128     moko     9421: 
                   9422: 
                   9423: 
                   9424: 
1.150     moko     9425:             # Check whether --enable-shared was given.
                   9426: if test "${enable_shared+set}" = set; then :
                   9427:   enableval=$enable_shared; p=${PACKAGE-default}
1.128     moko     9428:     case $enableval in
                   9429:     yes) enable_shared=yes ;;
                   9430:     no) enable_shared=no ;;
                   9431:     *)
                   9432:       enable_shared=no
                   9433:       # Look at the argument we got.  We use all the common list separators.
                   9434:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   9435:       for pkg in $enableval; do
                   9436:        IFS="$lt_save_ifs"
                   9437:        if test "X$pkg" = "X$p"; then
                   9438:          enable_shared=yes
                   9439:        fi
                   9440:       done
                   9441:       IFS="$lt_save_ifs"
                   9442:       ;;
                   9443:     esac
                   9444: else
                   9445:   enable_shared=yes
1.150     moko     9446: fi
                   9447: 
1.128     moko     9448: 
                   9449: 
                   9450: 
                   9451: 
                   9452: 
                   9453: 
                   9454: 
                   9455: 
1.150     moko     9456:   # Check whether --enable-static was given.
                   9457: if test "${enable_static+set}" = set; then :
                   9458:   enableval=$enable_static; p=${PACKAGE-default}
1.138     moko     9459:     case $enableval in
                   9460:     yes) enable_static=yes ;;
                   9461:     no) enable_static=no ;;
                   9462:     *)
                   9463:      enable_static=no
                   9464:       # Look at the argument we got.  We use all the common list separators.
                   9465:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   9466:       for pkg in $enableval; do
                   9467:        IFS="$lt_save_ifs"
                   9468:        if test "X$pkg" = "X$p"; then
                   9469:          enable_static=yes
                   9470:        fi
                   9471:       done
                   9472:       IFS="$lt_save_ifs"
                   9473:       ;;
                   9474:     esac
                   9475: else
                   9476:   enable_static=yes
1.150     moko     9477: fi
                   9478: 
1.138     moko     9479: 
                   9480: 
                   9481: 
                   9482: 
                   9483: 
                   9484: 
                   9485: 
1.128     moko     9486: 
                   9487: 
1.150     moko     9488:   # Check whether --enable-fast-install was given.
                   9489: if test "${enable_fast_install+set}" = set; then :
                   9490:   enableval=$enable_fast_install; p=${PACKAGE-default}
1.128     moko     9491:     case $enableval in
                   9492:     yes) enable_fast_install=yes ;;
                   9493:     no) enable_fast_install=no ;;
                   9494:     *)
                   9495:       enable_fast_install=no
                   9496:       # Look at the argument we got.  We use all the common list separators.
                   9497:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   9498:       for pkg in $enableval; do
                   9499:        IFS="$lt_save_ifs"
                   9500:        if test "X$pkg" = "X$p"; then
                   9501:          enable_fast_install=yes
                   9502:        fi
                   9503:       done
                   9504:       IFS="$lt_save_ifs"
                   9505:       ;;
                   9506:     esac
                   9507: else
                   9508:   enable_fast_install=yes
1.150     moko     9509: fi
                   9510: 
1.128     moko     9511: 
                   9512: 
                   9513: 
                   9514: 
                   9515: 
                   9516: 
                   9517: 
                   9518: 
                   9519: 
                   9520: 
                   9521: # This can be used to rebuild libtool when needed
                   9522: LIBTOOL_DEPS="$ltmain"
                   9523: 
                   9524: # Always use our own libtool.
                   9525: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
                   9526: 
                   9527: 
                   9528: 
                   9529: 
                   9530: 
                   9531: 
                   9532: 
                   9533: 
                   9534: 
                   9535: 
                   9536: 
                   9537: 
                   9538: 
                   9539: 
                   9540: 
                   9541: 
                   9542: 
                   9543: 
                   9544: 
                   9545: 
                   9546: 
                   9547: 
                   9548: 
                   9549: 
                   9550: 
                   9551: 
                   9552: 
                   9553: 
                   9554: 
                   9555: 
                   9556: test -z "$LN_S" && LN_S="ln -s"
                   9557: 
                   9558: 
                   9559: 
                   9560: 
                   9561: 
                   9562: 
                   9563: 
                   9564: 
                   9565: 
                   9566: 
                   9567: 
                   9568: 
                   9569: 
                   9570: 
                   9571: if test -n "${ZSH_VERSION+set}" ; then
                   9572:    setopt NO_GLOB_SUBST
                   9573: fi
                   9574: 
1.150     moko     9575: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
                   9576: $as_echo_n "checking for objdir... " >&6; }
                   9577: if ${lt_cv_objdir+:} false; then :
                   9578:   $as_echo_n "(cached) " >&6
1.128     moko     9579: else
                   9580:   rm -f .libs 2>/dev/null
                   9581: mkdir .libs 2>/dev/null
                   9582: if test -d .libs; then
                   9583:   lt_cv_objdir=.libs
                   9584: else
                   9585:   # MS-DOS does not allow filenames that begin with a dot.
                   9586:   lt_cv_objdir=_libs
                   9587: fi
                   9588: rmdir .libs 2>/dev/null
                   9589: fi
1.150     moko     9590: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
                   9591: $as_echo "$lt_cv_objdir" >&6; }
1.128     moko     9592: objdir=$lt_cv_objdir
                   9593: 
                   9594: 
                   9595: 
                   9596: 
                   9597: 
                   9598: cat >>confdefs.h <<_ACEOF
                   9599: #define LT_OBJDIR "$lt_cv_objdir/"
                   9600: _ACEOF
                   9601: 
                   9602: 
                   9603: 
                   9604: 
                   9605: case $host_os in
                   9606: aix3*)
                   9607:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   9608:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   9609:   # vanish in a puff of smoke.
                   9610:   if test "X${COLLECT_NAMES+set}" != Xset; then
                   9611:     COLLECT_NAMES=
                   9612:     export COLLECT_NAMES
                   9613:   fi
                   9614:   ;;
                   9615: esac
                   9616: 
                   9617: # Global variables:
                   9618: ofile=libtool
                   9619: can_build_shared=yes
                   9620: 
                   9621: # All known linkers require a `.a' archive for static linking (except MSVC,
                   9622: # which needs '.lib').
                   9623: libext=a
                   9624: 
                   9625: with_gnu_ld="$lt_cv_prog_gnu_ld"
                   9626: 
                   9627: old_CC="$CC"
                   9628: old_CFLAGS="$CFLAGS"
                   9629: 
                   9630: # Set sane defaults for various variables
                   9631: test -z "$CC" && CC=cc
                   9632: test -z "$LTCC" && LTCC=$CC
                   9633: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
                   9634: test -z "$LD" && LD=ld
                   9635: test -z "$ac_objext" && ac_objext=o
                   9636: 
                   9637: for cc_temp in $compiler""; do
                   9638:   case $cc_temp in
                   9639:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   9640:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   9641:     \-*) ;;
                   9642:     *) break;;
                   9643:   esac
                   9644: done
                   9645: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   9646: 
                   9647: 
                   9648: # Only perform the check for file, if the check method requires it
                   9649: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   9650: case $deplibs_check_method in
                   9651: file_magic*)
                   9652:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1.150     moko     9653:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
                   9654: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
                   9655: if ${lt_cv_path_MAGIC_CMD+:} false; then :
                   9656:   $as_echo_n "(cached) " >&6
1.128     moko     9657: else
                   9658:   case $MAGIC_CMD in
                   9659: [\\/*] |  ?:[\\/]*)
                   9660:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   9661:   ;;
                   9662: *)
                   9663:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   9664:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   9665:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   9666:   for ac_dir in $ac_dummy; do
                   9667:     IFS="$lt_save_ifs"
                   9668:     test -z "$ac_dir" && ac_dir=.
                   9669:     if test -f $ac_dir/${ac_tool_prefix}file; then
                   9670:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
                   9671:       if test -n "$file_magic_test_file"; then
                   9672:        case $deplibs_check_method in
                   9673:        "file_magic "*)
                   9674:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   9675:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9676:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   9677:            $EGREP "$file_magic_regex" > /dev/null; then
                   9678:            :
                   9679:          else
                   9680:            cat <<_LT_EOF 1>&2
                   9681: 
                   9682: *** Warning: the command libtool uses to detect shared libraries,
                   9683: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   9684: *** The result is that libtool may fail to recognize shared libraries
                   9685: *** as such.  This will affect the creation of libtool libraries that
                   9686: *** depend on shared libraries, but programs linked with such libtool
                   9687: *** libraries will work regardless of this problem.  Nevertheless, you
                   9688: *** may want to report the problem to your system manager and/or to
                   9689: *** bug-libtool@gnu.org
                   9690: 
                   9691: _LT_EOF
                   9692:          fi ;;
                   9693:        esac
                   9694:       fi
                   9695:       break
                   9696:     fi
                   9697:   done
                   9698:   IFS="$lt_save_ifs"
                   9699:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   9700:   ;;
                   9701: esac
                   9702: fi
                   9703: 
                   9704: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9705: if test -n "$MAGIC_CMD"; then
1.150     moko     9706:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   9707: $as_echo "$MAGIC_CMD" >&6; }
1.128     moko     9708: else
1.150     moko     9709:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9710: $as_echo "no" >&6; }
1.128     moko     9711: fi
                   9712: 
                   9713: 
                   9714: 
                   9715: 
                   9716: 
                   9717: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   9718:   if test -n "$ac_tool_prefix"; then
1.150     moko     9719:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
                   9720: $as_echo_n "checking for file... " >&6; }
                   9721: if ${lt_cv_path_MAGIC_CMD+:} false; then :
                   9722:   $as_echo_n "(cached) " >&6
1.128     moko     9723: else
                   9724:   case $MAGIC_CMD in
                   9725: [\\/*] |  ?:[\\/]*)
                   9726:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   9727:   ;;
                   9728: *)
                   9729:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   9730:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   9731:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   9732:   for ac_dir in $ac_dummy; do
                   9733:     IFS="$lt_save_ifs"
                   9734:     test -z "$ac_dir" && ac_dir=.
                   9735:     if test -f $ac_dir/file; then
                   9736:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
                   9737:       if test -n "$file_magic_test_file"; then
                   9738:        case $deplibs_check_method in
                   9739:        "file_magic "*)
                   9740:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   9741:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9742:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   9743:            $EGREP "$file_magic_regex" > /dev/null; then
                   9744:            :
                   9745:          else
                   9746:            cat <<_LT_EOF 1>&2
                   9747: 
                   9748: *** Warning: the command libtool uses to detect shared libraries,
                   9749: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   9750: *** The result is that libtool may fail to recognize shared libraries
                   9751: *** as such.  This will affect the creation of libtool libraries that
                   9752: *** depend on shared libraries, but programs linked with such libtool
                   9753: *** libraries will work regardless of this problem.  Nevertheless, you
                   9754: *** may want to report the problem to your system manager and/or to
                   9755: *** bug-libtool@gnu.org
                   9756: 
                   9757: _LT_EOF
                   9758:          fi ;;
                   9759:        esac
                   9760:       fi
                   9761:       break
                   9762:     fi
                   9763:   done
                   9764:   IFS="$lt_save_ifs"
                   9765:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   9766:   ;;
                   9767: esac
                   9768: fi
                   9769: 
                   9770: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9771: if test -n "$MAGIC_CMD"; then
1.150     moko     9772:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   9773: $as_echo "$MAGIC_CMD" >&6; }
1.128     moko     9774: else
1.150     moko     9775:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9776: $as_echo "no" >&6; }
1.128     moko     9777: fi
                   9778: 
                   9779: 
                   9780:   else
                   9781:     MAGIC_CMD=:
                   9782:   fi
                   9783: fi
                   9784: 
                   9785:   fi
                   9786:   ;;
                   9787: esac
                   9788: 
                   9789: # Use C for the default configuration in the libtool script
                   9790: 
                   9791: lt_save_CC="$CC"
                   9792: ac_ext=c
                   9793: ac_cpp='$CPP $CPPFLAGS'
                   9794: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   9795: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   9796: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   9797: 
                   9798: 
                   9799: # Source file extension for C test sources.
                   9800: ac_ext=c
                   9801: 
                   9802: # Object file extension for compiled C test sources.
                   9803: objext=o
                   9804: objext=$objext
                   9805: 
                   9806: # Code to be used in simple compile tests
                   9807: lt_simple_compile_test_code="int some_variable = 0;"
                   9808: 
                   9809: # Code to be used in simple link tests
                   9810: lt_simple_link_test_code='int main(){return(0);}'
                   9811: 
                   9812: 
                   9813: 
                   9814: 
                   9815: 
                   9816: 
                   9817: 
                   9818: # If no C compiler was specified, use CC.
                   9819: LTCC=${LTCC-"$CC"}
                   9820: 
                   9821: # If no C compiler flags were specified, use CFLAGS.
                   9822: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   9823: 
                   9824: # Allow CC to be a program name with arguments.
                   9825: compiler=$CC
                   9826: 
                   9827: # Save the default compiler, since it gets overwritten when the other
                   9828: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
                   9829: compiler_DEFAULT=$CC
                   9830: 
                   9831: # save warnings/boilerplate of simple test code
                   9832: ac_outfile=conftest.$ac_objext
                   9833: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   9834: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   9835: _lt_compiler_boilerplate=`cat conftest.err`
                   9836: $RM conftest*
                   9837: 
                   9838: ac_outfile=conftest.$ac_objext
                   9839: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   9840: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   9841: _lt_linker_boilerplate=`cat conftest.err`
                   9842: $RM -r conftest*
                   9843: 
                   9844: 
                   9845: ## CAVEAT EMPTOR:
                   9846: ## There is no encapsulation within the following macros, do not change
                   9847: ## the running order or otherwise move them around unless you know exactly
                   9848: ## what you are doing...
                   9849: if test -n "$compiler"; then
                   9850: 
                   9851: lt_prog_compiler_no_builtin_flag=
                   9852: 
                   9853: if test "$GCC" = yes; then
                   9854:   case $cc_basename in
                   9855:   nvcc*)
                   9856:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
                   9857:   *)
                   9858:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
                   9859:   esac
                   9860: 
1.150     moko     9861:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
                   9862: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
                   9863: if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
                   9864:   $as_echo_n "(cached) " >&6
1.128     moko     9865: else
                   9866:   lt_cv_prog_compiler_rtti_exceptions=no
                   9867:    ac_outfile=conftest.$ac_objext
                   9868:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9869:    lt_compiler_flag="-fno-rtti -fno-exceptions"
                   9870:    # Insert the option either (1) after the last *FLAGS variable, or
                   9871:    # (2) before a word containing "conftest.", or (3) at the end.
                   9872:    # Note that $ac_compile itself does not contain backslashes and begins
                   9873:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9874:    # The option is referenced via a variable to avoid confusing sed.
                   9875:    lt_compile=`echo "$ac_compile" | $SED \
                   9876:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9877:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9878:    -e 's:$: $lt_compiler_flag:'`
                   9879:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9880:    (eval "$lt_compile" 2>conftest.err)
                   9881:    ac_status=$?
                   9882:    cat conftest.err >&5
                   9883:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9884:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   9885:      # The compiler can only warn and ignore the option if not recognized
                   9886:      # So say no if there are warnings other than the usual output.
                   9887:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   9888:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9889:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   9890:        lt_cv_prog_compiler_rtti_exceptions=yes
                   9891:      fi
                   9892:    fi
                   9893:    $RM conftest*
                   9894: 
                   9895: fi
1.150     moko     9896: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
                   9897: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
1.128     moko     9898: 
                   9899: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
                   9900:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
                   9901: else
                   9902:     :
                   9903: fi
                   9904: 
                   9905: fi
                   9906: 
                   9907: 
                   9908: 
                   9909: 
                   9910: 
                   9911: 
                   9912:   lt_prog_compiler_wl=
                   9913: lt_prog_compiler_pic=
                   9914: lt_prog_compiler_static=
                   9915: 
                   9916: 
                   9917:   if test "$GCC" = yes; then
                   9918:     lt_prog_compiler_wl='-Wl,'
                   9919:     lt_prog_compiler_static='-static'
                   9920: 
                   9921:     case $host_os in
                   9922:       aix*)
                   9923:       # All AIX code is PIC.
                   9924:       if test "$host_cpu" = ia64; then
                   9925:        # AIX 5 now supports IA64 processor
                   9926:        lt_prog_compiler_static='-Bstatic'
                   9927:       fi
                   9928:       ;;
                   9929: 
                   9930:     amigaos*)
                   9931:       case $host_cpu in
                   9932:       powerpc)
                   9933:             # see comment about AmigaOS4 .so support
                   9934:             lt_prog_compiler_pic='-fPIC'
                   9935:         ;;
                   9936:       m68k)
                   9937:             # FIXME: we need at least 68020 code to build shared libraries, but
                   9938:             # adding the `-m68020' flag to GCC prevents building anything better,
                   9939:             # like `-m68040'.
                   9940:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
                   9941:         ;;
                   9942:       esac
                   9943:       ;;
                   9944: 
                   9945:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   9946:       # PIC is the default for these OSes.
                   9947:       ;;
                   9948: 
                   9949:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   9950:       # This hack is so that the source file can tell whether it is being
                   9951:       # built for inclusion in a dll (and should export symbols for example).
                   9952:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   9953:       # (--disable-auto-import) libraries
                   9954:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   9955:       ;;
                   9956: 
                   9957:     darwin* | rhapsody*)
                   9958:       # PIC is the default on this platform
                   9959:       # Common symbols not allowed in MH_DYLIB files
                   9960:       lt_prog_compiler_pic='-fno-common'
                   9961:       ;;
                   9962: 
                   9963:     haiku*)
                   9964:       # PIC is the default for Haiku.
                   9965:       # The "-static" flag exists, but is broken.
                   9966:       lt_prog_compiler_static=
                   9967:       ;;
                   9968: 
                   9969:     hpux*)
                   9970:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   9971:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   9972:       # sets the default TLS model and affects inlining.
                   9973:       case $host_cpu in
                   9974:       hppa*64*)
                   9975:        # +Z the default
                   9976:        ;;
                   9977:       *)
                   9978:        lt_prog_compiler_pic='-fPIC'
                   9979:        ;;
                   9980:       esac
                   9981:       ;;
                   9982: 
                   9983:     interix[3-9]*)
                   9984:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   9985:       # Instead, we relocate shared libraries at runtime.
                   9986:       ;;
                   9987: 
                   9988:     msdosdjgpp*)
                   9989:       # Just because we use GCC doesn't mean we suddenly get shared libraries
                   9990:       # on systems that don't support them.
                   9991:       lt_prog_compiler_can_build_shared=no
                   9992:       enable_shared=no
                   9993:       ;;
                   9994: 
                   9995:     *nto* | *qnx*)
                   9996:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   9997:       # it will coredump.
                   9998:       lt_prog_compiler_pic='-fPIC -shared'
                   9999:       ;;
                   10000: 
                   10001:     sysv4*MP*)
                   10002:       if test -d /usr/nec; then
                   10003:        lt_prog_compiler_pic=-Kconform_pic
                   10004:       fi
                   10005:       ;;
                   10006: 
                   10007:     *)
                   10008:       lt_prog_compiler_pic='-fPIC'
                   10009:       ;;
                   10010:     esac
                   10011: 
                   10012:     case $cc_basename in
                   10013:     nvcc*) # Cuda Compiler Driver 2.2
                   10014:       lt_prog_compiler_wl='-Xlinker '
                   10015:       if test -n "$lt_prog_compiler_pic"; then
                   10016:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
                   10017:       fi
                   10018:       ;;
                   10019:     esac
                   10020:   else
                   10021:     # PORTME Check for flag to pass linker flags through the system compiler.
                   10022:     case $host_os in
                   10023:     aix*)
                   10024:       lt_prog_compiler_wl='-Wl,'
                   10025:       if test "$host_cpu" = ia64; then
                   10026:        # AIX 5 now supports IA64 processor
                   10027:        lt_prog_compiler_static='-Bstatic'
                   10028:       else
                   10029:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
                   10030:       fi
                   10031:       ;;
                   10032: 
                   10033:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   10034:       # This hack is so that the source file can tell whether it is being
                   10035:       # built for inclusion in a dll (and should export symbols for example).
                   10036:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   10037:       ;;
                   10038: 
                   10039:     hpux9* | hpux10* | hpux11*)
                   10040:       lt_prog_compiler_wl='-Wl,'
                   10041:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
                   10042:       # not for PA HP-UX.
                   10043:       case $host_cpu in
                   10044:       hppa*64*|ia64*)
                   10045:        # +Z the default
                   10046:        ;;
                   10047:       *)
                   10048:        lt_prog_compiler_pic='+Z'
                   10049:        ;;
                   10050:       esac
                   10051:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
                   10052:       lt_prog_compiler_static='${wl}-a ${wl}archive'
                   10053:       ;;
                   10054: 
                   10055:     irix5* | irix6* | nonstopux*)
                   10056:       lt_prog_compiler_wl='-Wl,'
                   10057:       # PIC (with -KPIC) is the default.
                   10058:       lt_prog_compiler_static='-non_shared'
                   10059:       ;;
                   10060: 
                   10061:     linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   10062:       case $cc_basename in
                   10063:       # old Intel for x86_64 which still supported -KPIC.
                   10064:       ecc*)
                   10065:        lt_prog_compiler_wl='-Wl,'
                   10066:        lt_prog_compiler_pic='-KPIC'
                   10067:        lt_prog_compiler_static='-static'
                   10068:         ;;
                   10069:       # icc used to be incompatible with GCC.
                   10070:       # ICC 10 doesn't accept -KPIC any more.
                   10071:       icc* | ifort*)
                   10072:        lt_prog_compiler_wl='-Wl,'
                   10073:        lt_prog_compiler_pic='-fPIC'
                   10074:        lt_prog_compiler_static='-static'
                   10075:         ;;
                   10076:       # Lahey Fortran 8.1.
                   10077:       lf95*)
                   10078:        lt_prog_compiler_wl='-Wl,'
                   10079:        lt_prog_compiler_pic='--shared'
                   10080:        lt_prog_compiler_static='--static'
                   10081:        ;;
                   10082:       nagfor*)
                   10083:        # NAG Fortran compiler
                   10084:        lt_prog_compiler_wl='-Wl,-Wl,,'
                   10085:        lt_prog_compiler_pic='-PIC'
                   10086:        lt_prog_compiler_static='-Bstatic'
                   10087:        ;;
                   10088:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
                   10089:         # Portland Group compilers (*not* the Pentium gcc compiler,
                   10090:        # which looks to be a dead project)
                   10091:        lt_prog_compiler_wl='-Wl,'
                   10092:        lt_prog_compiler_pic='-fpic'
                   10093:        lt_prog_compiler_static='-Bstatic'
                   10094:         ;;
                   10095:       ccc*)
                   10096:         lt_prog_compiler_wl='-Wl,'
                   10097:         # All Alpha code is PIC.
                   10098:         lt_prog_compiler_static='-non_shared'
                   10099:         ;;
                   10100:       xl* | bgxl* | bgf* | mpixl*)
                   10101:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
                   10102:        lt_prog_compiler_wl='-Wl,'
                   10103:        lt_prog_compiler_pic='-qpic'
                   10104:        lt_prog_compiler_static='-qstaticlink'
                   10105:        ;;
                   10106:       *)
                   10107:        case `$CC -V 2>&1 | sed 5q` in
                   10108:        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
                   10109:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
                   10110:          lt_prog_compiler_pic='-KPIC'
                   10111:          lt_prog_compiler_static='-Bstatic'
                   10112:          lt_prog_compiler_wl=''
                   10113:          ;;
                   10114:        *Sun\ F* | *Sun*Fortran*)
                   10115:          lt_prog_compiler_pic='-KPIC'
                   10116:          lt_prog_compiler_static='-Bstatic'
                   10117:          lt_prog_compiler_wl='-Qoption ld '
                   10118:          ;;
                   10119:        *Sun\ C*)
                   10120:          # Sun C 5.9
                   10121:          lt_prog_compiler_pic='-KPIC'
                   10122:          lt_prog_compiler_static='-Bstatic'
                   10123:          lt_prog_compiler_wl='-Wl,'
                   10124:          ;;
                   10125:         *Intel*\ [CF]*Compiler*)
                   10126:          lt_prog_compiler_wl='-Wl,'
                   10127:          lt_prog_compiler_pic='-fPIC'
                   10128:          lt_prog_compiler_static='-static'
                   10129:          ;;
                   10130:        *Portland\ Group*)
                   10131:          lt_prog_compiler_wl='-Wl,'
                   10132:          lt_prog_compiler_pic='-fpic'
                   10133:          lt_prog_compiler_static='-Bstatic'
                   10134:          ;;
                   10135:        esac
                   10136:        ;;
                   10137:       esac
                   10138:       ;;
                   10139: 
                   10140:     newsos6)
                   10141:       lt_prog_compiler_pic='-KPIC'
                   10142:       lt_prog_compiler_static='-Bstatic'
                   10143:       ;;
                   10144: 
                   10145:     *nto* | *qnx*)
                   10146:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   10147:       # it will coredump.
                   10148:       lt_prog_compiler_pic='-fPIC -shared'
                   10149:       ;;
                   10150: 
                   10151:     osf3* | osf4* | osf5*)
                   10152:       lt_prog_compiler_wl='-Wl,'
                   10153:       # All OSF/1 code is PIC.
                   10154:       lt_prog_compiler_static='-non_shared'
                   10155:       ;;
                   10156: 
                   10157:     rdos*)
                   10158:       lt_prog_compiler_static='-non_shared'
                   10159:       ;;
                   10160: 
                   10161:     solaris*)
                   10162:       lt_prog_compiler_pic='-KPIC'
                   10163:       lt_prog_compiler_static='-Bstatic'
                   10164:       case $cc_basename in
                   10165:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
                   10166:        lt_prog_compiler_wl='-Qoption ld ';;
                   10167:       *)
                   10168:        lt_prog_compiler_wl='-Wl,';;
                   10169:       esac
                   10170:       ;;
                   10171: 
                   10172:     sunos4*)
                   10173:       lt_prog_compiler_wl='-Qoption ld '
                   10174:       lt_prog_compiler_pic='-PIC'
                   10175:       lt_prog_compiler_static='-Bstatic'
                   10176:       ;;
                   10177: 
                   10178:     sysv4 | sysv4.2uw2* | sysv4.3*)
                   10179:       lt_prog_compiler_wl='-Wl,'
                   10180:       lt_prog_compiler_pic='-KPIC'
                   10181:       lt_prog_compiler_static='-Bstatic'
                   10182:       ;;
                   10183: 
                   10184:     sysv4*MP*)
                   10185:       if test -d /usr/nec ;then
                   10186:        lt_prog_compiler_pic='-Kconform_pic'
                   10187:        lt_prog_compiler_static='-Bstatic'
                   10188:       fi
                   10189:       ;;
                   10190: 
                   10191:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   10192:       lt_prog_compiler_wl='-Wl,'
                   10193:       lt_prog_compiler_pic='-KPIC'
                   10194:       lt_prog_compiler_static='-Bstatic'
                   10195:       ;;
                   10196: 
                   10197:     unicos*)
                   10198:       lt_prog_compiler_wl='-Wl,'
                   10199:       lt_prog_compiler_can_build_shared=no
                   10200:       ;;
                   10201: 
                   10202:     uts4*)
                   10203:       lt_prog_compiler_pic='-pic'
                   10204:       lt_prog_compiler_static='-Bstatic'
                   10205:       ;;
                   10206: 
                   10207:     *)
                   10208:       lt_prog_compiler_can_build_shared=no
                   10209:       ;;
                   10210:     esac
                   10211:   fi
                   10212: 
                   10213: case $host_os in
                   10214:   # For platforms which do not support PIC, -DPIC is meaningless:
                   10215:   *djgpp*)
                   10216:     lt_prog_compiler_pic=
                   10217:     ;;
                   10218:   *)
                   10219:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
                   10220:     ;;
                   10221: esac
                   10222: 
1.150     moko     10223: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   10224: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
                   10225: if ${lt_cv_prog_compiler_pic+:} false; then :
                   10226:   $as_echo_n "(cached) " >&6
1.128     moko     10227: else
                   10228:   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
                   10229: fi
1.150     moko     10230: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
                   10231: $as_echo "$lt_cv_prog_compiler_pic" >&6; }
1.128     moko     10232: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
                   10233: 
                   10234: #
                   10235: # Check to make sure the PIC flag actually works.
                   10236: #
                   10237: if test -n "$lt_prog_compiler_pic"; then
1.150     moko     10238:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
                   10239: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
                   10240: if ${lt_cv_prog_compiler_pic_works+:} false; then :
                   10241:   $as_echo_n "(cached) " >&6
1.128     moko     10242: else
                   10243:   lt_cv_prog_compiler_pic_works=no
                   10244:    ac_outfile=conftest.$ac_objext
                   10245:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   10246:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
                   10247:    # Insert the option either (1) after the last *FLAGS variable, or
                   10248:    # (2) before a word containing "conftest.", or (3) at the end.
                   10249:    # Note that $ac_compile itself does not contain backslashes and begins
                   10250:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   10251:    # The option is referenced via a variable to avoid confusing sed.
                   10252:    lt_compile=`echo "$ac_compile" | $SED \
                   10253:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   10254:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   10255:    -e 's:$: $lt_compiler_flag:'`
                   10256:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   10257:    (eval "$lt_compile" 2>conftest.err)
                   10258:    ac_status=$?
                   10259:    cat conftest.err >&5
                   10260:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10261:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   10262:      # The compiler can only warn and ignore the option if not recognized
                   10263:      # So say no if there are warnings other than the usual output.
                   10264:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   10265:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   10266:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   10267:        lt_cv_prog_compiler_pic_works=yes
                   10268:      fi
                   10269:    fi
                   10270:    $RM conftest*
                   10271: 
                   10272: fi
1.150     moko     10273: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
                   10274: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
1.128     moko     10275: 
                   10276: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
                   10277:     case $lt_prog_compiler_pic in
                   10278:      "" | " "*) ;;
                   10279:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
                   10280:      esac
                   10281: else
                   10282:     lt_prog_compiler_pic=
                   10283:      lt_prog_compiler_can_build_shared=no
                   10284: fi
                   10285: 
                   10286: fi
                   10287: 
                   10288: 
                   10289: 
                   10290: 
                   10291: 
                   10292: 
                   10293: 
                   10294: 
                   10295: 
                   10296: 
                   10297: 
                   10298: #
                   10299: # Check to make sure the static flag actually works.
                   10300: #
                   10301: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
1.150     moko     10302: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   10303: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   10304: if ${lt_cv_prog_compiler_static_works+:} false; then :
                   10305:   $as_echo_n "(cached) " >&6
1.128     moko     10306: else
                   10307:   lt_cv_prog_compiler_static_works=no
                   10308:    save_LDFLAGS="$LDFLAGS"
                   10309:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   10310:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   10311:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   10312:      # The linker can only warn and ignore the option if not recognized
                   10313:      # So say no if there are warnings
                   10314:      if test -s conftest.err; then
                   10315:        # Append any errors to the config.log.
                   10316:        cat conftest.err 1>&5
                   10317:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   10318:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   10319:        if diff conftest.exp conftest.er2 >/dev/null; then
                   10320:          lt_cv_prog_compiler_static_works=yes
                   10321:        fi
                   10322:      else
                   10323:        lt_cv_prog_compiler_static_works=yes
                   10324:      fi
                   10325:    fi
                   10326:    $RM -r conftest*
                   10327:    LDFLAGS="$save_LDFLAGS"
                   10328: 
                   10329: fi
1.150     moko     10330: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
                   10331: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
1.128     moko     10332: 
                   10333: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
                   10334:     :
                   10335: else
                   10336:     lt_prog_compiler_static=
                   10337: fi
                   10338: 
                   10339: 
                   10340: 
                   10341: 
                   10342: 
                   10343: 
                   10344: 
1.150     moko     10345:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   10346: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   10347: if ${lt_cv_prog_compiler_c_o+:} false; then :
                   10348:   $as_echo_n "(cached) " >&6
1.128     moko     10349: else
                   10350:   lt_cv_prog_compiler_c_o=no
                   10351:    $RM -r conftest 2>/dev/null
                   10352:    mkdir conftest
                   10353:    cd conftest
                   10354:    mkdir out
                   10355:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   10356: 
                   10357:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   10358:    # Insert the option either (1) after the last *FLAGS variable, or
                   10359:    # (2) before a word containing "conftest.", or (3) at the end.
                   10360:    # Note that $ac_compile itself does not contain backslashes and begins
                   10361:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   10362:    lt_compile=`echo "$ac_compile" | $SED \
                   10363:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   10364:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   10365:    -e 's:$: $lt_compiler_flag:'`
                   10366:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   10367:    (eval "$lt_compile" 2>out/conftest.err)
                   10368:    ac_status=$?
                   10369:    cat out/conftest.err >&5
                   10370:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10371:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   10372:    then
                   10373:      # The compiler can only warn and ignore the option if not recognized
                   10374:      # So say no if there are warnings
                   10375:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   10376:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   10377:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   10378:        lt_cv_prog_compiler_c_o=yes
                   10379:      fi
                   10380:    fi
                   10381:    chmod u+w . 2>&5
                   10382:    $RM conftest*
                   10383:    # SGI C++ compiler will create directory out/ii_files/ for
                   10384:    # template instantiation
                   10385:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   10386:    $RM out/* && rmdir out
                   10387:    cd ..
                   10388:    $RM -r conftest
                   10389:    $RM conftest*
                   10390: 
                   10391: fi
1.150     moko     10392: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   10393: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
1.128     moko     10394: 
                   10395: 
                   10396: 
                   10397: 
                   10398: 
                   10399: 
1.150     moko     10400:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   10401: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   10402: if ${lt_cv_prog_compiler_c_o+:} false; then :
                   10403:   $as_echo_n "(cached) " >&6
1.128     moko     10404: else
                   10405:   lt_cv_prog_compiler_c_o=no
                   10406:    $RM -r conftest 2>/dev/null
                   10407:    mkdir conftest
                   10408:    cd conftest
                   10409:    mkdir out
                   10410:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   10411: 
                   10412:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   10413:    # Insert the option either (1) after the last *FLAGS variable, or
                   10414:    # (2) before a word containing "conftest.", or (3) at the end.
                   10415:    # Note that $ac_compile itself does not contain backslashes and begins
                   10416:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   10417:    lt_compile=`echo "$ac_compile" | $SED \
                   10418:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   10419:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   10420:    -e 's:$: $lt_compiler_flag:'`
                   10421:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   10422:    (eval "$lt_compile" 2>out/conftest.err)
                   10423:    ac_status=$?
                   10424:    cat out/conftest.err >&5
                   10425:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10426:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   10427:    then
                   10428:      # The compiler can only warn and ignore the option if not recognized
                   10429:      # So say no if there are warnings
                   10430:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   10431:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   10432:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   10433:        lt_cv_prog_compiler_c_o=yes
                   10434:      fi
                   10435:    fi
                   10436:    chmod u+w . 2>&5
                   10437:    $RM conftest*
                   10438:    # SGI C++ compiler will create directory out/ii_files/ for
                   10439:    # template instantiation
                   10440:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   10441:    $RM out/* && rmdir out
                   10442:    cd ..
                   10443:    $RM -r conftest
                   10444:    $RM conftest*
                   10445: 
                   10446: fi
1.150     moko     10447: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   10448: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
1.128     moko     10449: 
                   10450: 
                   10451: 
                   10452: 
                   10453: hard_links="nottested"
                   10454: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
                   10455:   # do not overwrite the value of need_locks provided by the user
1.150     moko     10456:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   10457: $as_echo_n "checking if we can lock with hard links... " >&6; }
1.128     moko     10458:   hard_links=yes
                   10459:   $RM conftest*
                   10460:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   10461:   touch conftest.a
                   10462:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   10463:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.150     moko     10464:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   10465: $as_echo "$hard_links" >&6; }
1.128     moko     10466:   if test "$hard_links" = no; then
1.150     moko     10467:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   10468: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.128     moko     10469:     need_locks=warn
                   10470:   fi
                   10471: else
                   10472:   need_locks=no
                   10473: fi
                   10474: 
                   10475: 
                   10476: 
                   10477: 
                   10478: 
                   10479: 
1.150     moko     10480:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   10481: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     10482: 
                   10483:   runpath_var=
                   10484:   allow_undefined_flag=
                   10485:   always_export_symbols=no
                   10486:   archive_cmds=
                   10487:   archive_expsym_cmds=
                   10488:   compiler_needs_object=no
                   10489:   enable_shared_with_static_runtimes=no
                   10490:   export_dynamic_flag_spec=
                   10491:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   10492:   hardcode_automatic=no
                   10493:   hardcode_direct=no
                   10494:   hardcode_direct_absolute=no
                   10495:   hardcode_libdir_flag_spec=
                   10496:   hardcode_libdir_separator=
                   10497:   hardcode_minus_L=no
                   10498:   hardcode_shlibpath_var=unsupported
                   10499:   inherit_rpath=no
                   10500:   link_all_deplibs=unknown
                   10501:   module_cmds=
                   10502:   module_expsym_cmds=
                   10503:   old_archive_from_new_cmds=
                   10504:   old_archive_from_expsyms_cmds=
                   10505:   thread_safe_flag_spec=
                   10506:   whole_archive_flag_spec=
                   10507:   # include_expsyms should be a list of space-separated symbols to be *always*
                   10508:   # included in the symbol list
                   10509:   include_expsyms=
                   10510:   # exclude_expsyms can be an extended regexp of symbols to exclude
                   10511:   # it will be wrapped by ` (' and `)$', so one must not match beginning or
                   10512:   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
                   10513:   # as well as any symbol that contains `d'.
                   10514:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   10515:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   10516:   # platforms (ab)use it in PIC code, but their linkers get confused if
                   10517:   # the symbol is explicitly referenced.  Since portable code cannot
                   10518:   # rely on this symbol name, it's probably fine to never include it in
                   10519:   # preloaded symbol tables.
                   10520:   # Exclude shared library initialization/finalization symbols.
                   10521:   extract_expsyms_cmds=
                   10522: 
                   10523:   case $host_os in
                   10524:   cygwin* | mingw* | pw32* | cegcc*)
                   10525:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
                   10526:     # When not using gcc, we currently assume that we are using
                   10527:     # Microsoft Visual C++.
                   10528:     if test "$GCC" != yes; then
                   10529:       with_gnu_ld=no
                   10530:     fi
                   10531:     ;;
                   10532:   interix*)
                   10533:     # we just hope/assume this is gcc and not c89 (= MSVC++)
                   10534:     with_gnu_ld=yes
                   10535:     ;;
                   10536:   openbsd*)
                   10537:     with_gnu_ld=no
                   10538:     ;;
                   10539:   esac
                   10540: 
                   10541:   ld_shlibs=yes
                   10542: 
                   10543:   # On some targets, GNU ld is compatible enough with the native linker
                   10544:   # that we're better off using the native interface for both.
                   10545:   lt_use_gnu_ld_interface=no
                   10546:   if test "$with_gnu_ld" = yes; then
                   10547:     case $host_os in
                   10548:       aix*)
                   10549:        # The AIX port of GNU ld has always aspired to compatibility
                   10550:        # with the native linker.  However, as the warning in the GNU ld
                   10551:        # block says, versions before 2.19.5* couldn't really create working
                   10552:        # shared libraries, regardless of the interface used.
                   10553:        case `$LD -v 2>&1` in
                   10554:          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
                   10555:          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
                   10556:          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
                   10557:          *)
                   10558:            lt_use_gnu_ld_interface=yes
                   10559:            ;;
                   10560:        esac
                   10561:        ;;
                   10562:       *)
                   10563:        lt_use_gnu_ld_interface=yes
                   10564:        ;;
                   10565:     esac
                   10566:   fi
                   10567: 
                   10568:   if test "$lt_use_gnu_ld_interface" = yes; then
                   10569:     # If archive_cmds runs LD, not CC, wlarc should be empty
                   10570:     wlarc='${wl}'
                   10571: 
                   10572:     # Set some defaults for GNU ld with shared library support. These
                   10573:     # are reset later if shared libraries are not supported. Putting them
                   10574:     # here allows them to be overridden if necessary.
                   10575:     runpath_var=LD_RUN_PATH
                   10576:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10577:     export_dynamic_flag_spec='${wl}--export-dynamic'
                   10578:     # ancient GNU ld didn't support --whole-archive et. al.
                   10579:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
                   10580:       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   10581:     else
                   10582:       whole_archive_flag_spec=
                   10583:     fi
                   10584:     supports_anon_versioning=no
                   10585:     case `$LD -v 2>&1` in
                   10586:       *GNU\ gold*) supports_anon_versioning=yes ;;
                   10587:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
                   10588:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
                   10589:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
                   10590:       *\ 2.11.*) ;; # other 2.11 versions
                   10591:       *) supports_anon_versioning=yes ;;
                   10592:     esac
                   10593: 
                   10594:     # See if GNU ld supports shared libraries.
                   10595:     case $host_os in
                   10596:     aix[3-9]*)
                   10597:       # On AIX/PPC, the GNU linker is very broken
                   10598:       if test "$host_cpu" != ia64; then
                   10599:        ld_shlibs=no
                   10600:        cat <<_LT_EOF 1>&2
                   10601: 
                   10602: *** Warning: the GNU linker, at least up to release 2.19, is reported
                   10603: *** to be unable to reliably create shared libraries on AIX.
                   10604: *** Therefore, libtool is disabling shared libraries support.  If you
                   10605: *** really care for shared libraries, you may want to install binutils
                   10606: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
                   10607: *** You will then need to restart the configuration process.
                   10608: 
                   10609: _LT_EOF
                   10610:       fi
                   10611:       ;;
                   10612: 
                   10613:     amigaos*)
                   10614:       case $host_cpu in
                   10615:       powerpc)
                   10616:             # see comment about AmigaOS4 .so support
                   10617:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10618:             archive_expsym_cmds=''
                   10619:         ;;
                   10620:       m68k)
                   10621:             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)'
                   10622:             hardcode_libdir_flag_spec='-L$libdir'
                   10623:             hardcode_minus_L=yes
                   10624:         ;;
                   10625:       esac
                   10626:       ;;
                   10627: 
                   10628:     beos*)
                   10629:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10630:        allow_undefined_flag=unsupported
                   10631:        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   10632:        # support --undefined.  This deserves some investigation.  FIXME
                   10633:        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10634:       else
                   10635:        ld_shlibs=no
                   10636:       fi
                   10637:       ;;
                   10638: 
                   10639:     cygwin* | mingw* | pw32* | cegcc*)
                   10640:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
                   10641:       # as there is no search path for DLLs.
                   10642:       hardcode_libdir_flag_spec='-L$libdir'
                   10643:       export_dynamic_flag_spec='${wl}--export-all-symbols'
                   10644:       allow_undefined_flag=unsupported
                   10645:       always_export_symbols=no
                   10646:       enable_shared_with_static_runtimes=yes
                   10647:       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'
                   10648:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   10649: 
                   10650:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   10651:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   10652:        # If the export-symbols file already is a .def file (1st line
                   10653:        # is EXPORTS), use it as is; otherwise, prepend...
                   10654:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   10655:          cp $export_symbols $output_objdir/$soname.def;
                   10656:        else
                   10657:          echo EXPORTS > $output_objdir/$soname.def;
                   10658:          cat $export_symbols >> $output_objdir/$soname.def;
                   10659:        fi~
                   10660:        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   10661:       else
                   10662:        ld_shlibs=no
                   10663:       fi
                   10664:       ;;
                   10665: 
                   10666:     haiku*)
                   10667:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10668:       link_all_deplibs=yes
                   10669:       ;;
                   10670: 
                   10671:     interix[3-9]*)
                   10672:       hardcode_direct=no
                   10673:       hardcode_shlibpath_var=no
                   10674:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   10675:       export_dynamic_flag_spec='${wl}-E'
                   10676:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   10677:       # Instead, shared libraries are loaded at an image base (0x10000000 by
                   10678:       # default) and relocated if they conflict, which is a slow very memory
                   10679:       # consuming and fragmenting process.  To avoid this, we pick a random,
                   10680:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   10681:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   10682:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   10683:       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'
                   10684:       ;;
                   10685: 
                   10686:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
                   10687:       tmp_diet=no
                   10688:       if test "$host_os" = linux-dietlibc; then
                   10689:        case $cc_basename in
                   10690:          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
                   10691:        esac
                   10692:       fi
                   10693:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
                   10694:         && test "$tmp_diet" = no
                   10695:       then
                   10696:        tmp_addflag=' $pic_flag'
                   10697:        tmp_sharedflag='-shared'
                   10698:        case $cc_basename,$host_cpu in
                   10699:         pgcc*)                         # Portland Group C compiler
                   10700:          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'
                   10701:          tmp_addflag=' $pic_flag'
                   10702:          ;;
                   10703:        pgf77* | pgf90* | pgf95* | pgfortran*)
                   10704:                                        # Portland Group f77 and f90 compilers
                   10705:          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'
                   10706:          tmp_addflag=' $pic_flag -Mnomain' ;;
                   10707:        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
                   10708:          tmp_addflag=' -i_dynamic' ;;
                   10709:        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
                   10710:          tmp_addflag=' -i_dynamic -nofor_main' ;;
                   10711:        ifc* | ifort*)                  # Intel Fortran compiler
                   10712:          tmp_addflag=' -nofor_main' ;;
                   10713:        lf95*)                          # Lahey Fortran 8.1
                   10714:          whole_archive_flag_spec=
                   10715:          tmp_sharedflag='--shared' ;;
                   10716:        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
                   10717:          tmp_sharedflag='-qmkshrobj'
                   10718:          tmp_addflag= ;;
                   10719:        nvcc*)  # Cuda Compiler Driver 2.2
                   10720:          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'
                   10721:          compiler_needs_object=yes
                   10722:          ;;
                   10723:        esac
                   10724:        case `$CC -V 2>&1 | sed 5q` in
                   10725:        *Sun\ C*)                       # Sun C 5.9
                   10726:          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'
                   10727:          compiler_needs_object=yes
                   10728:          tmp_sharedflag='-G' ;;
                   10729:        *Sun\ F*)                       # Sun Fortran 8.3
                   10730:          tmp_sharedflag='-G' ;;
                   10731:        esac
                   10732:        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10733: 
                   10734:         if test "x$supports_anon_versioning" = xyes; then
                   10735:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   10736:            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   10737:            echo "local: *; };" >> $output_objdir/$libname.ver~
                   10738:            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   10739:         fi
                   10740: 
                   10741:        case $cc_basename in
                   10742:        xlf* | bgf* | bgxlf* | mpixlf*)
                   10743:          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
                   10744:          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
                   10745:          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10746:          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
                   10747:          if test "x$supports_anon_versioning" = xyes; then
                   10748:            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   10749:              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   10750:              echo "local: *; };" >> $output_objdir/$libname.ver~
                   10751:              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
                   10752:          fi
                   10753:          ;;
                   10754:        esac
                   10755:       else
                   10756:         ld_shlibs=no
                   10757:       fi
                   10758:       ;;
                   10759: 
                   10760:     netbsd*)
                   10761:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   10762:        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   10763:        wlarc=
                   10764:       else
                   10765:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10766:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10767:       fi
                   10768:       ;;
                   10769: 
                   10770:     solaris*)
                   10771:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
                   10772:        ld_shlibs=no
                   10773:        cat <<_LT_EOF 1>&2
                   10774: 
                   10775: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   10776: *** create shared libraries on Solaris systems.  Therefore, libtool
                   10777: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   10778: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   10779: *** your PATH or compiler configuration so that the native linker is
                   10780: *** used, and then restart.
                   10781: 
                   10782: _LT_EOF
                   10783:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10784:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10785:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10786:       else
                   10787:        ld_shlibs=no
                   10788:       fi
                   10789:       ;;
                   10790: 
                   10791:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
                   10792:       case `$LD -v 2>&1` in
                   10793:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
                   10794:        ld_shlibs=no
                   10795:        cat <<_LT_EOF 1>&2
                   10796: 
                   10797: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
                   10798: *** reliably create shared libraries on SCO systems.  Therefore, libtool
                   10799: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   10800: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
                   10801: *** your PATH or compiler configuration so that the native linker is
                   10802: *** used, and then restart.
                   10803: 
                   10804: _LT_EOF
                   10805:        ;;
                   10806:        *)
                   10807:          # For security reasons, it is highly recommended that you always
                   10808:          # use absolute paths for naming shared libraries, and exclude the
                   10809:          # DT_RUNPATH tag from executables and libraries.  But doing so
                   10810:          # requires that you compile everything twice, which is a pain.
                   10811:          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10812:            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10813:            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10814:            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10815:          else
                   10816:            ld_shlibs=no
                   10817:          fi
                   10818:        ;;
                   10819:       esac
                   10820:       ;;
                   10821: 
                   10822:     sunos4*)
                   10823:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   10824:       wlarc=
                   10825:       hardcode_direct=yes
                   10826:       hardcode_shlibpath_var=no
                   10827:       ;;
                   10828: 
                   10829:     *)
                   10830:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10831:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10832:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10833:       else
                   10834:        ld_shlibs=no
                   10835:       fi
                   10836:       ;;
                   10837:     esac
                   10838: 
                   10839:     if test "$ld_shlibs" = no; then
                   10840:       runpath_var=
                   10841:       hardcode_libdir_flag_spec=
                   10842:       export_dynamic_flag_spec=
                   10843:       whole_archive_flag_spec=
                   10844:     fi
                   10845:   else
                   10846:     # PORTME fill in a description of your system's linker (not GNU ld)
                   10847:     case $host_os in
                   10848:     aix3*)
                   10849:       allow_undefined_flag=unsupported
                   10850:       always_export_symbols=yes
                   10851:       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'
                   10852:       # Note: this linker hardcodes the directories in LIBPATH if there
                   10853:       # are no directories specified by -L.
                   10854:       hardcode_minus_L=yes
                   10855:       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
                   10856:        # Neither direct hardcoding nor static linking is supported with a
                   10857:        # broken collect2.
                   10858:        hardcode_direct=unsupported
                   10859:       fi
                   10860:       ;;
                   10861: 
                   10862:     aix[4-9]*)
                   10863:       if test "$host_cpu" = ia64; then
                   10864:        # On IA64, the linker does run time linking by default, so we don't
                   10865:        # have to do anything special.
                   10866:        aix_use_runtimelinking=no
                   10867:        exp_sym_flag='-Bexport'
                   10868:        no_entry_flag=""
                   10869:       else
                   10870:        # If we're using GNU nm, then we don't want the "-C" option.
                   10871:        # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   10872:        # Also, AIX nm treats weak defined symbols like other global
                   10873:        # defined symbols, whereas GNU nm marks them as "W".
                   10874:        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   10875:          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'
                   10876:        else
                   10877:          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'
                   10878:        fi
                   10879:        aix_use_runtimelinking=no
                   10880: 
                   10881:        # Test if we are trying to use run time linking or normal
                   10882:        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   10883:        # need to do runtime linking.
                   10884:        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   10885:          for ld_flag in $LDFLAGS; do
                   10886:          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
                   10887:            aix_use_runtimelinking=yes
                   10888:            break
                   10889:          fi
                   10890:          done
                   10891:          ;;
                   10892:        esac
                   10893: 
                   10894:        exp_sym_flag='-bexport'
                   10895:        no_entry_flag='-bnoentry'
                   10896:       fi
                   10897: 
                   10898:       # When large executables or shared objects are built, AIX ld can
                   10899:       # have problems creating the table of contents.  If linking a library
                   10900:       # or program results in "error TOC overflow" add -mminimal-toc to
                   10901:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   10902:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   10903: 
                   10904:       archive_cmds=''
                   10905:       hardcode_direct=yes
                   10906:       hardcode_direct_absolute=yes
                   10907:       hardcode_libdir_separator=':'
                   10908:       link_all_deplibs=yes
                   10909:       file_list_spec='${wl}-f,'
                   10910: 
                   10911:       if test "$GCC" = yes; then
                   10912:        case $host_os in aix4.[012]|aix4.[012].*)
                   10913:        # We only want to do this on AIX 4.2 and lower, the check
                   10914:        # below for broken collect2 doesn't work under 4.3+
                   10915:          collect2name=`${CC} -print-prog-name=collect2`
                   10916:          if test -f "$collect2name" &&
                   10917:           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   10918:          then
                   10919:          # We have reworked collect2
                   10920:          :
                   10921:          else
                   10922:          # We have old collect2
                   10923:          hardcode_direct=unsupported
                   10924:          # It fails to find uninstalled libraries when the uninstalled
                   10925:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   10926:          # to unsupported forces relinking
                   10927:          hardcode_minus_L=yes
                   10928:          hardcode_libdir_flag_spec='-L$libdir'
                   10929:          hardcode_libdir_separator=
                   10930:          fi
                   10931:          ;;
                   10932:        esac
                   10933:        shared_flag='-shared'
                   10934:        if test "$aix_use_runtimelinking" = yes; then
                   10935:          shared_flag="$shared_flag "'${wl}-G'
                   10936:        fi
                   10937:       else
                   10938:        # not using gcc
                   10939:        if test "$host_cpu" = ia64; then
                   10940:        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   10941:        # chokes on -Wl,-G. The following line is correct:
                   10942:          shared_flag='-G'
                   10943:        else
                   10944:          if test "$aix_use_runtimelinking" = yes; then
                   10945:            shared_flag='${wl}-G'
                   10946:          else
                   10947:            shared_flag='${wl}-bM:SRE'
                   10948:          fi
                   10949:        fi
                   10950:       fi
                   10951: 
                   10952:       export_dynamic_flag_spec='${wl}-bexpall'
                   10953:       # It seems that -bexpall does not export symbols beginning with
                   10954:       # underscore (_), so it is better to generate a list of symbols to export.
                   10955:       always_export_symbols=yes
                   10956:       if test "$aix_use_runtimelinking" = yes; then
                   10957:        # Warning - without using the other runtime loading flags (-brtl),
                   10958:        # -berok will link without error, but may produce a broken library.
                   10959:        allow_undefined_flag='-berok'
                   10960:         # Determine the default libpath from the value encoded in an
                   10961:         # empty executable.
                   10962:         if test "${lt_cv_aix_libpath+set}" = set; then
                   10963:   aix_libpath=$lt_cv_aix_libpath
                   10964: else
1.150     moko     10965:   if ${lt_cv_aix_libpath_+:} false; then :
                   10966:   $as_echo_n "(cached) " >&6
1.128     moko     10967: else
1.150     moko     10968:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     10969: /* end confdefs.h.  */
                   10970: 
                   10971: int
                   10972: main ()
                   10973: {
                   10974: 
                   10975:   ;
                   10976:   return 0;
                   10977: }
                   10978: _ACEOF
1.150     moko     10979: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     10980: 
                   10981:   lt_aix_libpath_sed='
                   10982:       /Import File Strings/,/^$/ {
                   10983:          /^0/ {
                   10984:              s/^0  *\([^ ]*\) *$/\1/
                   10985:              p
                   10986:          }
                   10987:       }'
                   10988:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10989:   # Check for a 64-bit object if we didn't find anything.
                   10990:   if test -z "$lt_cv_aix_libpath_"; then
                   10991:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10992:   fi
                   10993: fi
1.150     moko     10994: rm -f core conftest.err conftest.$ac_objext \
                   10995:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     10996:   if test -z "$lt_cv_aix_libpath_"; then
                   10997:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   10998:   fi
                   10999: 
                   11000: fi
                   11001: 
                   11002:   aix_libpath=$lt_cv_aix_libpath_
                   11003: fi
                   11004: 
                   11005:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   11006:         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"
                   11007:       else
                   11008:        if test "$host_cpu" = ia64; then
                   11009:          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
                   11010:          allow_undefined_flag="-z nodefs"
                   11011:          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"
                   11012:        else
                   11013:         # Determine the default libpath from the value encoded in an
                   11014:         # empty executable.
                   11015:         if test "${lt_cv_aix_libpath+set}" = set; then
                   11016:   aix_libpath=$lt_cv_aix_libpath
                   11017: else
1.150     moko     11018:   if ${lt_cv_aix_libpath_+:} false; then :
                   11019:   $as_echo_n "(cached) " >&6
1.128     moko     11020: else
1.150     moko     11021:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     11022: /* end confdefs.h.  */
                   11023: 
                   11024: int
                   11025: main ()
                   11026: {
                   11027: 
                   11028:   ;
                   11029:   return 0;
                   11030: }
                   11031: _ACEOF
1.150     moko     11032: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     11033: 
                   11034:   lt_aix_libpath_sed='
                   11035:       /Import File Strings/,/^$/ {
                   11036:          /^0/ {
                   11037:              s/^0  *\([^ ]*\) *$/\1/
                   11038:              p
                   11039:          }
                   11040:       }'
                   11041:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   11042:   # Check for a 64-bit object if we didn't find anything.
                   11043:   if test -z "$lt_cv_aix_libpath_"; then
                   11044:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   11045:   fi
                   11046: fi
1.150     moko     11047: rm -f core conftest.err conftest.$ac_objext \
                   11048:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     11049:   if test -z "$lt_cv_aix_libpath_"; then
                   11050:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   11051:   fi
                   11052: 
                   11053: fi
                   11054: 
                   11055:   aix_libpath=$lt_cv_aix_libpath_
                   11056: fi
                   11057: 
                   11058:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   11059:          # Warning - without using the other run time loading flags,
                   11060:          # -berok will link without error, but may produce a broken library.
                   11061:          no_undefined_flag=' ${wl}-bernotok'
                   11062:          allow_undefined_flag=' ${wl}-berok'
                   11063:          if test "$with_gnu_ld" = yes; then
                   11064:            # We only use this code for GNU lds that support --whole-archive.
                   11065:            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   11066:          else
                   11067:            # Exported symbols can be pulled into shared objects from archives
                   11068:            whole_archive_flag_spec='$convenience'
                   11069:          fi
                   11070:          archive_cmds_need_lc=yes
                   11071:          # This is similar to how AIX traditionally builds its shared libraries.
                   11072:          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'
                   11073:        fi
                   11074:       fi
                   11075:       ;;
                   11076: 
                   11077:     amigaos*)
                   11078:       case $host_cpu in
                   11079:       powerpc)
                   11080:             # see comment about AmigaOS4 .so support
                   11081:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   11082:             archive_expsym_cmds=''
                   11083:         ;;
                   11084:       m68k)
                   11085:             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)'
                   11086:             hardcode_libdir_flag_spec='-L$libdir'
                   11087:             hardcode_minus_L=yes
                   11088:         ;;
                   11089:       esac
                   11090:       ;;
                   11091: 
                   11092:     bsdi[45]*)
                   11093:       export_dynamic_flag_spec=-rdynamic
                   11094:       ;;
                   11095: 
                   11096:     cygwin* | mingw* | pw32* | cegcc*)
                   11097:       # When not using gcc, we currently assume that we are using
                   11098:       # Microsoft Visual C++.
                   11099:       # hardcode_libdir_flag_spec is actually meaningless, as there is
                   11100:       # no search path for DLLs.
                   11101:       case $cc_basename in
                   11102:       cl*)
                   11103:        # Native MSVC
                   11104:        hardcode_libdir_flag_spec=' '
                   11105:        allow_undefined_flag=unsupported
                   11106:        always_export_symbols=yes
                   11107:        file_list_spec='@'
                   11108:        # Tell ltmain to make .lib files, not .a files.
                   11109:        libext=lib
                   11110:        # Tell ltmain to make .dll files, not .so files.
                   11111:        shrext_cmds=".dll"
                   11112:        # FIXME: Setting linknames here is a bad hack.
                   11113:        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   11114:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   11115:            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   11116:          else
                   11117:            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   11118:          fi~
                   11119:          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   11120:          linknames='
                   11121:        # The linker will not automatically build a static lib if we build a DLL.
                   11122:        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
                   11123:        enable_shared_with_static_runtimes=yes
                   11124:        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   11125:        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
                   11126:        # Don't use ranlib
                   11127:        old_postinstall_cmds='chmod 644 $oldlib'
                   11128:        postlink_cmds='lt_outputfile="@OUTPUT@"~
                   11129:          lt_tool_outputfile="@TOOL_OUTPUT@"~
                   11130:          case $lt_outputfile in
                   11131:            *.exe|*.EXE) ;;
                   11132:            *)
                   11133:              lt_outputfile="$lt_outputfile.exe"
                   11134:              lt_tool_outputfile="$lt_tool_outputfile.exe"
                   11135:              ;;
                   11136:          esac~
                   11137:          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   11138:            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   11139:            $RM "$lt_outputfile.manifest";
                   11140:          fi'
                   11141:        ;;
                   11142:       *)
                   11143:        # Assume MSVC wrapper
                   11144:        hardcode_libdir_flag_spec=' '
                   11145:        allow_undefined_flag=unsupported
                   11146:        # Tell ltmain to make .lib files, not .a files.
                   11147:        libext=lib
                   11148:        # Tell ltmain to make .dll files, not .so files.
                   11149:        shrext_cmds=".dll"
                   11150:        # FIXME: Setting linknames here is a bad hack.
                   11151:        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
                   11152:        # The linker will automatically build a .lib file if we build a DLL.
                   11153:        old_archive_from_new_cmds='true'
                   11154:        # FIXME: Should let the user specify the lib program.
                   11155:        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
                   11156:        enable_shared_with_static_runtimes=yes
                   11157:        ;;
                   11158:       esac
                   11159:       ;;
                   11160: 
                   11161:     darwin* | rhapsody*)
                   11162: 
                   11163: 
                   11164:   archive_cmds_need_lc=no
                   11165:   hardcode_direct=no
                   11166:   hardcode_automatic=yes
                   11167:   hardcode_shlibpath_var=unsupported
                   11168:   if test "$lt_cv_ld_force_load" = "yes"; then
                   11169:     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\"`'
                   11170: 
                   11171:   else
                   11172:     whole_archive_flag_spec=''
                   11173:   fi
                   11174:   link_all_deplibs=yes
                   11175:   allow_undefined_flag="$_lt_dar_allow_undefined"
                   11176:   case $cc_basename in
                   11177:      ifort*) _lt_dar_can_shared=yes ;;
                   11178:      *) _lt_dar_can_shared=$GCC ;;
                   11179:   esac
                   11180:   if test "$_lt_dar_can_shared" = "yes"; then
                   11181:     output_verbose_link_cmd=func_echo_all
                   11182:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
                   11183:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   11184:     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}"
                   11185:     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}"
                   11186: 
                   11187:   else
                   11188:   ld_shlibs=no
                   11189:   fi
                   11190: 
                   11191:       ;;
                   11192: 
                   11193:     dgux*)
                   11194:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11195:       hardcode_libdir_flag_spec='-L$libdir'
                   11196:       hardcode_shlibpath_var=no
                   11197:       ;;
                   11198: 
                   11199:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   11200:     # support.  Future versions do this automatically, but an explicit c++rt0.o
                   11201:     # does not break anything, and helps significantly (at the cost of a little
                   11202:     # extra space).
                   11203:     freebsd2.2*)
                   11204:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   11205:       hardcode_libdir_flag_spec='-R$libdir'
                   11206:       hardcode_direct=yes
                   11207:       hardcode_shlibpath_var=no
                   11208:       ;;
                   11209: 
                   11210:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
                   11211:     freebsd2.*)
                   11212:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   11213:       hardcode_direct=yes
                   11214:       hardcode_minus_L=yes
                   11215:       hardcode_shlibpath_var=no
                   11216:       ;;
                   11217: 
                   11218:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
                   11219:     freebsd* | dragonfly*)
                   11220:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   11221:       hardcode_libdir_flag_spec='-R$libdir'
                   11222:       hardcode_direct=yes
                   11223:       hardcode_shlibpath_var=no
                   11224:       ;;
                   11225: 
                   11226:     hpux9*)
                   11227:       if test "$GCC" = yes; then
                   11228:        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'
                   11229:       else
                   11230:        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'
                   11231:       fi
                   11232:       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   11233:       hardcode_libdir_separator=:
                   11234:       hardcode_direct=yes
                   11235: 
                   11236:       # hardcode_minus_L: Not really in the search PATH,
                   11237:       # but as the default location of the library.
                   11238:       hardcode_minus_L=yes
                   11239:       export_dynamic_flag_spec='${wl}-E'
                   11240:       ;;
                   11241: 
                   11242:     hpux10*)
                   11243:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   11244:        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   11245:       else
                   11246:        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   11247:       fi
                   11248:       if test "$with_gnu_ld" = no; then
                   11249:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   11250:        hardcode_libdir_separator=:
                   11251:        hardcode_direct=yes
                   11252:        hardcode_direct_absolute=yes
                   11253:        export_dynamic_flag_spec='${wl}-E'
                   11254:        # hardcode_minus_L: Not really in the search PATH,
                   11255:        # but as the default location of the library.
                   11256:        hardcode_minus_L=yes
                   11257:       fi
                   11258:       ;;
                   11259: 
                   11260:     hpux11*)
                   11261:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   11262:        case $host_cpu in
                   11263:        hppa*64*)
                   11264:          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11265:          ;;
                   11266:        ia64*)
                   11267:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   11268:          ;;
                   11269:        *)
                   11270:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   11271:          ;;
                   11272:        esac
                   11273:       else
                   11274:        case $host_cpu in
                   11275:        hppa*64*)
                   11276:          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11277:          ;;
                   11278:        ia64*)
                   11279:          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   11280:          ;;
                   11281:        *)
                   11282: 
                   11283:          # Older versions of the 11.00 compiler do not understand -b yet
                   11284:          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
1.150     moko     11285:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
                   11286: $as_echo_n "checking if $CC understands -b... " >&6; }
                   11287: if ${lt_cv_prog_compiler__b+:} false; then :
                   11288:   $as_echo_n "(cached) " >&6
1.128     moko     11289: else
                   11290:   lt_cv_prog_compiler__b=no
                   11291:    save_LDFLAGS="$LDFLAGS"
                   11292:    LDFLAGS="$LDFLAGS -b"
                   11293:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   11294:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   11295:      # The linker can only warn and ignore the option if not recognized
                   11296:      # So say no if there are warnings
                   11297:      if test -s conftest.err; then
                   11298:        # Append any errors to the config.log.
                   11299:        cat conftest.err 1>&5
                   11300:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   11301:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   11302:        if diff conftest.exp conftest.er2 >/dev/null; then
                   11303:          lt_cv_prog_compiler__b=yes
                   11304:        fi
                   11305:      else
                   11306:        lt_cv_prog_compiler__b=yes
                   11307:      fi
                   11308:    fi
                   11309:    $RM -r conftest*
                   11310:    LDFLAGS="$save_LDFLAGS"
                   11311: 
                   11312: fi
1.150     moko     11313: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
                   11314: $as_echo "$lt_cv_prog_compiler__b" >&6; }
1.128     moko     11315: 
                   11316: if test x"$lt_cv_prog_compiler__b" = xyes; then
                   11317:     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   11318: else
                   11319:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   11320: fi
                   11321: 
                   11322:          ;;
                   11323:        esac
                   11324:       fi
                   11325:       if test "$with_gnu_ld" = no; then
                   11326:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   11327:        hardcode_libdir_separator=:
                   11328: 
                   11329:        case $host_cpu in
                   11330:        hppa*64*|ia64*)
                   11331:          hardcode_direct=no
                   11332:          hardcode_shlibpath_var=no
                   11333:          ;;
                   11334:        *)
                   11335:          hardcode_direct=yes
                   11336:          hardcode_direct_absolute=yes
                   11337:          export_dynamic_flag_spec='${wl}-E'
                   11338: 
                   11339:          # hardcode_minus_L: Not really in the search PATH,
                   11340:          # but as the default location of the library.
                   11341:          hardcode_minus_L=yes
                   11342:          ;;
                   11343:        esac
                   11344:       fi
                   11345:       ;;
                   11346: 
                   11347:     irix5* | irix6* | nonstopux*)
                   11348:       if test "$GCC" = yes; then
                   11349:        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'
                   11350:        # Try to use the -exported_symbol ld option, if it does not
                   11351:        # work, assume that -exports_file does not work either and
                   11352:        # implicitly export all symbols.
                   11353:        # This should be the same for all languages, so no per-tag cache variable.
1.150     moko     11354:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
                   11355: $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
                   11356: if ${lt_cv_irix_exported_symbol+:} false; then :
                   11357:   $as_echo_n "(cached) " >&6
1.128     moko     11358: else
                   11359:   save_LDFLAGS="$LDFLAGS"
                   11360:           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
1.150     moko     11361:           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     11362: /* end confdefs.h.  */
                   11363: int foo (void) { return 0; }
                   11364: _ACEOF
1.150     moko     11365: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     11366:   lt_cv_irix_exported_symbol=yes
                   11367: else
1.150     moko     11368:   lt_cv_irix_exported_symbol=no
1.128     moko     11369: fi
1.150     moko     11370: rm -f core conftest.err conftest.$ac_objext \
                   11371:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     11372:            LDFLAGS="$save_LDFLAGS"
                   11373: fi
1.150     moko     11374: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
                   11375: $as_echo "$lt_cv_irix_exported_symbol" >&6; }
1.128     moko     11376:        if test "$lt_cv_irix_exported_symbol" = yes; then
                   11377:           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'
                   11378:        fi
                   11379:       else
                   11380:        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'
                   11381:        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'
                   11382:       fi
                   11383:       archive_cmds_need_lc='no'
                   11384:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   11385:       hardcode_libdir_separator=:
                   11386:       inherit_rpath=yes
                   11387:       link_all_deplibs=yes
                   11388:       ;;
                   11389: 
                   11390:     netbsd*)
                   11391:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   11392:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   11393:       else
                   11394:        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   11395:       fi
                   11396:       hardcode_libdir_flag_spec='-R$libdir'
                   11397:       hardcode_direct=yes
                   11398:       hardcode_shlibpath_var=no
                   11399:       ;;
                   11400: 
                   11401:     newsos6)
                   11402:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11403:       hardcode_direct=yes
                   11404:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   11405:       hardcode_libdir_separator=:
                   11406:       hardcode_shlibpath_var=no
                   11407:       ;;
                   11408: 
                   11409:     *nto* | *qnx*)
                   11410:       ;;
                   11411: 
                   11412:     openbsd*)
                   11413:       if test -f /usr/libexec/ld.so; then
                   11414:        hardcode_direct=yes
                   11415:        hardcode_shlibpath_var=no
                   11416:        hardcode_direct_absolute=yes
                   11417:        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   11418:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   11419:          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
                   11420:          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   11421:          export_dynamic_flag_spec='${wl}-E'
                   11422:        else
                   11423:          case $host_os in
                   11424:           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
                   11425:             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   11426:             hardcode_libdir_flag_spec='-R$libdir'
                   11427:             ;;
                   11428:           *)
                   11429:             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   11430:             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   11431:             ;;
                   11432:          esac
                   11433:        fi
                   11434:       else
                   11435:        ld_shlibs=no
                   11436:       fi
                   11437:       ;;
                   11438: 
                   11439:     os2*)
                   11440:       hardcode_libdir_flag_spec='-L$libdir'
                   11441:       hardcode_minus_L=yes
                   11442:       allow_undefined_flag=unsupported
                   11443:       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'
                   11444:       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
                   11445:       ;;
                   11446: 
                   11447:     osf3*)
                   11448:       if test "$GCC" = yes; then
                   11449:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   11450:        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'
                   11451:       else
                   11452:        allow_undefined_flag=' -expect_unresolved \*'
                   11453:        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'
                   11454:       fi
                   11455:       archive_cmds_need_lc='no'
                   11456:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   11457:       hardcode_libdir_separator=:
                   11458:       ;;
                   11459: 
                   11460:     osf4* | osf5*)     # as osf3* with the addition of -msym flag
                   11461:       if test "$GCC" = yes; then
                   11462:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   11463:        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'
                   11464:        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   11465:       else
                   11466:        allow_undefined_flag=' -expect_unresolved \*'
                   11467:        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'
                   11468:        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~
                   11469:        $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'
                   11470: 
                   11471:        # Both c and cxx compiler support -rpath directly
                   11472:        hardcode_libdir_flag_spec='-rpath $libdir'
                   11473:       fi
                   11474:       archive_cmds_need_lc='no'
                   11475:       hardcode_libdir_separator=:
                   11476:       ;;
                   11477: 
                   11478:     solaris*)
                   11479:       no_undefined_flag=' -z defs'
                   11480:       if test "$GCC" = yes; then
                   11481:        wlarc='${wl}'
                   11482:        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11483:        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   11484:          $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'
                   11485:       else
                   11486:        case `$CC -V 2>&1` in
                   11487:        *"Compilers 5.0"*)
                   11488:          wlarc=''
                   11489:          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11490:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   11491:          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
                   11492:          ;;
                   11493:        *)
                   11494:          wlarc='${wl}'
                   11495:          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   11496:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   11497:          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
                   11498:          ;;
                   11499:        esac
                   11500:       fi
                   11501:       hardcode_libdir_flag_spec='-R$libdir'
                   11502:       hardcode_shlibpath_var=no
                   11503:       case $host_os in
                   11504:       solaris2.[0-5] | solaris2.[0-5].*) ;;
                   11505:       *)
                   11506:        # The compiler driver will combine and reorder linker options,
                   11507:        # but understands `-z linker_flag'.  GCC discards it without `$wl',
                   11508:        # but is careful enough not to reorder.
                   11509:        # Supported since Solaris 2.6 (maybe 2.5.1?)
                   11510:        if test "$GCC" = yes; then
                   11511:          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   11512:        else
                   11513:          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
                   11514:        fi
                   11515:        ;;
                   11516:       esac
                   11517:       link_all_deplibs=yes
                   11518:       ;;
                   11519: 
                   11520:     sunos4*)
                   11521:       if test "x$host_vendor" = xsequent; then
                   11522:        # Use $CC to link under sequent, because it throws in some extra .o
                   11523:        # files that make .init and .fini sections work.
                   11524:        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   11525:       else
                   11526:        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   11527:       fi
                   11528:       hardcode_libdir_flag_spec='-L$libdir'
                   11529:       hardcode_direct=yes
                   11530:       hardcode_minus_L=yes
                   11531:       hardcode_shlibpath_var=no
                   11532:       ;;
                   11533: 
                   11534:     sysv4)
                   11535:       case $host_vendor in
                   11536:        sni)
                   11537:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11538:          hardcode_direct=yes # is this really true???
                   11539:        ;;
                   11540:        siemens)
                   11541:          ## LD is ld it makes a PLAMLIB
                   11542:          ## CC just makes a GrossModule.
                   11543:          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   11544:          reload_cmds='$CC -r -o $output$reload_objs'
                   11545:          hardcode_direct=no
                   11546:         ;;
                   11547:        motorola)
                   11548:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11549:          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   11550:        ;;
                   11551:       esac
                   11552:       runpath_var='LD_RUN_PATH'
                   11553:       hardcode_shlibpath_var=no
                   11554:       ;;
                   11555: 
                   11556:     sysv4.3*)
                   11557:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11558:       hardcode_shlibpath_var=no
                   11559:       export_dynamic_flag_spec='-Bexport'
                   11560:       ;;
                   11561: 
                   11562:     sysv4*MP*)
                   11563:       if test -d /usr/nec; then
                   11564:        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11565:        hardcode_shlibpath_var=no
                   11566:        runpath_var=LD_RUN_PATH
                   11567:        hardcode_runpath_var=yes
                   11568:        ld_shlibs=yes
                   11569:       fi
                   11570:       ;;
                   11571: 
                   11572:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   11573:       no_undefined_flag='${wl}-z,text'
                   11574:       archive_cmds_need_lc=no
                   11575:       hardcode_shlibpath_var=no
                   11576:       runpath_var='LD_RUN_PATH'
                   11577: 
                   11578:       if test "$GCC" = yes; then
                   11579:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11580:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11581:       else
                   11582:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11583:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11584:       fi
                   11585:       ;;
                   11586: 
                   11587:     sysv5* | sco3.2v5* | sco5v6*)
                   11588:       # Note: We can NOT use -z defs as we might desire, because we do not
                   11589:       # link with -lc, and that would cause any symbols used from libc to
                   11590:       # always be unresolved, which means just about no library would
                   11591:       # ever link correctly.  If we're not using GNU ld we use -z text
                   11592:       # though, which does catch some bad symbols but isn't as heavy-handed
                   11593:       # as -z defs.
                   11594:       no_undefined_flag='${wl}-z,text'
                   11595:       allow_undefined_flag='${wl}-z,nodefs'
                   11596:       archive_cmds_need_lc=no
                   11597:       hardcode_shlibpath_var=no
                   11598:       hardcode_libdir_flag_spec='${wl}-R,$libdir'
                   11599:       hardcode_libdir_separator=':'
                   11600:       link_all_deplibs=yes
                   11601:       export_dynamic_flag_spec='${wl}-Bexport'
                   11602:       runpath_var='LD_RUN_PATH'
                   11603: 
                   11604:       if test "$GCC" = yes; then
                   11605:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11606:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11607:       else
                   11608:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11609:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11610:       fi
                   11611:       ;;
                   11612: 
                   11613:     uts4*)
                   11614:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11615:       hardcode_libdir_flag_spec='-L$libdir'
                   11616:       hardcode_shlibpath_var=no
                   11617:       ;;
                   11618: 
                   11619:     *)
                   11620:       ld_shlibs=no
                   11621:       ;;
                   11622:     esac
                   11623: 
                   11624:     if test x$host_vendor = xsni; then
                   11625:       case $host in
                   11626:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   11627:        export_dynamic_flag_spec='${wl}-Blargedynsym'
                   11628:        ;;
                   11629:       esac
                   11630:     fi
                   11631:   fi
                   11632: 
1.150     moko     11633: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
                   11634: $as_echo "$ld_shlibs" >&6; }
1.128     moko     11635: test "$ld_shlibs" = no && can_build_shared=no
                   11636: 
                   11637: with_gnu_ld=$with_gnu_ld
                   11638: 
                   11639: 
                   11640: 
                   11641: 
                   11642: 
                   11643: 
                   11644: 
                   11645: 
                   11646: 
                   11647: 
                   11648: 
                   11649: 
                   11650: 
                   11651: 
                   11652: 
                   11653: #
                   11654: # Do we need to explicitly link libc?
                   11655: #
                   11656: case "x$archive_cmds_need_lc" in
                   11657: x|xyes)
                   11658:   # Assume -lc should be added
                   11659:   archive_cmds_need_lc=yes
                   11660: 
                   11661:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   11662:     case $archive_cmds in
                   11663:     *'~'*)
                   11664:       # FIXME: we may have to deal with multi-command sequences.
                   11665:       ;;
                   11666:     '$CC '*)
                   11667:       # Test whether the compiler implicitly links with -lc since on some
                   11668:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   11669:       # to ld, don't add -lc before -lgcc.
1.150     moko     11670:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   11671: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
                   11672: if ${lt_cv_archive_cmds_need_lc+:} false; then :
                   11673:   $as_echo_n "(cached) " >&6
1.128     moko     11674: else
                   11675:   $RM conftest*
                   11676:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   11677: 
1.150     moko     11678:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     11679:   (eval $ac_compile) 2>&5
                   11680:   ac_status=$?
1.150     moko     11681:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   11682:   test $ac_status = 0; } 2>conftest.err; then
1.128     moko     11683:          soname=conftest
                   11684:          lib=conftest
                   11685:          libobjs=conftest.$ac_objext
                   11686:          deplibs=
                   11687:          wl=$lt_prog_compiler_wl
                   11688:          pic_flag=$lt_prog_compiler_pic
                   11689:          compiler_flags=-v
                   11690:          linker_flags=-v
                   11691:          verstring=
                   11692:          output_objdir=.
                   11693:          libname=conftest
                   11694:          lt_save_allow_undefined_flag=$allow_undefined_flag
                   11695:          allow_undefined_flag=
1.150     moko     11696:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1.128     moko     11697:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   11698:   ac_status=$?
1.150     moko     11699:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   11700:   test $ac_status = 0; }
1.128     moko     11701:          then
                   11702:            lt_cv_archive_cmds_need_lc=no
                   11703:          else
                   11704:            lt_cv_archive_cmds_need_lc=yes
                   11705:          fi
                   11706:          allow_undefined_flag=$lt_save_allow_undefined_flag
                   11707:        else
                   11708:          cat conftest.err 1>&5
                   11709:        fi
                   11710:        $RM conftest*
                   11711: 
                   11712: fi
1.150     moko     11713: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
                   11714: $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
1.128     moko     11715:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
                   11716:       ;;
                   11717:     esac
                   11718:   fi
                   11719:   ;;
                   11720: esac
                   11721: 
                   11722: 
                   11723: 
                   11724: 
                   11725: 
                   11726: 
                   11727: 
                   11728: 
                   11729: 
                   11730: 
                   11731: 
                   11732: 
                   11733: 
                   11734: 
                   11735: 
                   11736: 
                   11737: 
                   11738: 
                   11739: 
                   11740: 
                   11741: 
                   11742: 
                   11743: 
                   11744: 
                   11745: 
                   11746: 
                   11747: 
                   11748: 
                   11749: 
                   11750: 
                   11751: 
                   11752: 
                   11753: 
                   11754: 
                   11755: 
                   11756: 
                   11757: 
                   11758: 
                   11759: 
                   11760: 
                   11761: 
                   11762: 
                   11763: 
                   11764: 
                   11765: 
                   11766: 
                   11767: 
                   11768: 
                   11769: 
                   11770: 
                   11771: 
                   11772: 
                   11773: 
                   11774: 
                   11775: 
                   11776: 
                   11777: 
                   11778: 
                   11779: 
                   11780: 
                   11781: 
                   11782: 
                   11783: 
                   11784: 
                   11785: 
                   11786: 
                   11787: 
                   11788: 
                   11789: 
                   11790: 
                   11791: 
                   11792: 
                   11793: 
                   11794: 
                   11795: 
                   11796: 
                   11797: 
                   11798: 
                   11799: 
                   11800: 
                   11801: 
                   11802: 
                   11803: 
                   11804: 
                   11805: 
                   11806: 
                   11807: 
                   11808: 
                   11809: 
                   11810: 
                   11811: 
                   11812: 
                   11813: 
                   11814: 
                   11815: 
                   11816: 
                   11817: 
                   11818: 
                   11819: 
                   11820: 
                   11821: 
                   11822: 
                   11823: 
                   11824: 
                   11825: 
                   11826: 
                   11827: 
                   11828: 
                   11829: 
                   11830: 
                   11831: 
                   11832: 
                   11833: 
                   11834: 
                   11835: 
                   11836: 
                   11837: 
                   11838: 
                   11839: 
                   11840: 
                   11841: 
                   11842: 
                   11843: 
                   11844: 
                   11845: 
                   11846: 
                   11847: 
                   11848: 
                   11849: 
                   11850: 
                   11851: 
                   11852: 
                   11853: 
                   11854: 
                   11855: 
                   11856: 
                   11857: 
                   11858: 
                   11859: 
                   11860: 
                   11861: 
                   11862: 
                   11863: 
                   11864: 
                   11865: 
                   11866: 
                   11867: 
                   11868: 
                   11869: 
                   11870: 
                   11871: 
                   11872: 
1.150     moko     11873:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   11874: $as_echo_n "checking dynamic linker characteristics... " >&6; }
1.128     moko     11875: 
                   11876: if test "$GCC" = yes; then
                   11877:   case $host_os in
                   11878:     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
                   11879:     *) lt_awk_arg="/^libraries:/" ;;
                   11880:   esac
                   11881:   case $host_os in
                   11882:     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
                   11883:     *) lt_sed_strip_eq="s,=/,/,g" ;;
                   11884:   esac
                   11885:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
                   11886:   case $lt_search_path_spec in
                   11887:   *\;*)
                   11888:     # if the path contains ";" then we assume it to be the separator
                   11889:     # otherwise default to the standard path separator (i.e. ":") - it is
                   11890:     # assumed that no part of a normal pathname contains ";" but that should
                   11891:     # okay in the real world where ";" in dirpaths is itself problematic.
                   11892:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
                   11893:     ;;
                   11894:   *)
                   11895:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
                   11896:     ;;
                   11897:   esac
                   11898:   # Ok, now we have the path, separated by spaces, we can step through it
                   11899:   # and add multilib dir if necessary.
                   11900:   lt_tmp_lt_search_path_spec=
                   11901:   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
                   11902:   for lt_sys_path in $lt_search_path_spec; do
                   11903:     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
                   11904:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
                   11905:     else
                   11906:       test -d "$lt_sys_path" && \
                   11907:        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
                   11908:     fi
                   11909:   done
                   11910:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
                   11911: BEGIN {RS=" "; FS="/|\n";} {
                   11912:   lt_foo="";
                   11913:   lt_count=0;
                   11914:   for (lt_i = NF; lt_i > 0; lt_i--) {
                   11915:     if ($lt_i != "" && $lt_i != ".") {
                   11916:       if ($lt_i == "..") {
                   11917:         lt_count++;
                   11918:       } else {
                   11919:         if (lt_count == 0) {
                   11920:           lt_foo="/" $lt_i lt_foo;
                   11921:         } else {
                   11922:           lt_count--;
                   11923:         }
                   11924:       }
                   11925:     }
                   11926:   }
                   11927:   if (lt_foo != "") { lt_freq[lt_foo]++; }
                   11928:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
                   11929: }'`
                   11930:   # AWK program above erroneously prepends '/' to C:/dos/paths
                   11931:   # for these hosts.
                   11932:   case $host_os in
                   11933:     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
                   11934:       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
                   11935:   esac
                   11936:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
                   11937: else
                   11938:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   11939: fi
                   11940: library_names_spec=
                   11941: libname_spec='lib$name'
                   11942: soname_spec=
                   11943: shrext_cmds=".so"
                   11944: postinstall_cmds=
                   11945: postuninstall_cmds=
                   11946: finish_cmds=
                   11947: finish_eval=
                   11948: shlibpath_var=
                   11949: shlibpath_overrides_runpath=unknown
                   11950: version_type=none
                   11951: dynamic_linker="$host_os ld.so"
                   11952: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   11953: need_lib_prefix=unknown
                   11954: hardcode_into_libs=no
                   11955: 
                   11956: # when you set need_version to no, make sure it does not cause -set_version
                   11957: # flags to be left without arguments
                   11958: need_version=unknown
                   11959: 
                   11960: case $host_os in
                   11961: aix3*)
                   11962:   version_type=linux # correct to gnu/linux during the next big refactor
                   11963:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   11964:   shlibpath_var=LIBPATH
                   11965: 
                   11966:   # AIX 3 has no versioning support, so we append a major version to the name.
                   11967:   soname_spec='${libname}${release}${shared_ext}$major'
                   11968:   ;;
                   11969: 
                   11970: aix[4-9]*)
                   11971:   version_type=linux # correct to gnu/linux during the next big refactor
                   11972:   need_lib_prefix=no
                   11973:   need_version=no
                   11974:   hardcode_into_libs=yes
                   11975:   if test "$host_cpu" = ia64; then
                   11976:     # AIX 5 supports IA64
                   11977:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   11978:     shlibpath_var=LD_LIBRARY_PATH
                   11979:   else
                   11980:     # With GCC up to 2.95.x, collect2 would create an import file
                   11981:     # for dependence libraries.  The import file would start with
                   11982:     # the line `#! .'.  This would cause the generated library to
                   11983:     # depend on `.', always an invalid library.  This was fixed in
                   11984:     # development snapshots of GCC prior to 3.0.
                   11985:     case $host_os in
                   11986:       aix4 | aix4.[01] | aix4.[01].*)
                   11987:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   11988:           echo ' yes '
                   11989:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   11990:        :
                   11991:       else
                   11992:        can_build_shared=no
                   11993:       fi
                   11994:       ;;
                   11995:     esac
                   11996:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   11997:     # soname into executable. Probably we can add versioning support to
                   11998:     # collect2, so additional links can be useful in future.
                   11999:     if test "$aix_use_runtimelinking" = yes; then
                   12000:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   12001:       # instead of lib<name>.a to let people know that these are not
                   12002:       # typical AIX shared libraries.
                   12003:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12004:     else
                   12005:       # We preserve .a as extension for shared libraries through AIX4.2
                   12006:       # and later when we are not doing run time linking.
                   12007:       library_names_spec='${libname}${release}.a $libname.a'
                   12008:       soname_spec='${libname}${release}${shared_ext}$major'
                   12009:     fi
                   12010:     shlibpath_var=LIBPATH
                   12011:   fi
                   12012:   ;;
                   12013: 
                   12014: amigaos*)
                   12015:   case $host_cpu in
                   12016:   powerpc)
                   12017:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   12018:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   12019:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12020:     ;;
                   12021:   m68k)
                   12022:     library_names_spec='$libname.ixlibrary $libname.a'
                   12023:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   12024:     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'
                   12025:     ;;
                   12026:   esac
                   12027:   ;;
                   12028: 
                   12029: beos*)
                   12030:   library_names_spec='${libname}${shared_ext}'
                   12031:   dynamic_linker="$host_os ld.so"
                   12032:   shlibpath_var=LIBRARY_PATH
                   12033:   ;;
                   12034: 
                   12035: bsdi[45]*)
                   12036:   version_type=linux # correct to gnu/linux during the next big refactor
                   12037:   need_version=no
                   12038:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12039:   soname_spec='${libname}${release}${shared_ext}$major'
                   12040:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   12041:   shlibpath_var=LD_LIBRARY_PATH
                   12042:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   12043:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   12044:   # the default ld.so.conf also contains /usr/contrib/lib and
                   12045:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   12046:   # libtool to hard-code these into programs
                   12047:   ;;
                   12048: 
                   12049: cygwin* | mingw* | pw32* | cegcc*)
                   12050:   version_type=windows
                   12051:   shrext_cmds=".dll"
                   12052:   need_version=no
                   12053:   need_lib_prefix=no
                   12054: 
                   12055:   case $GCC,$cc_basename in
                   12056:   yes,*)
                   12057:     # gcc
                   12058:     library_names_spec='$libname.dll.a'
                   12059:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   12060:     postinstall_cmds='base_file=`basename \${file}`~
                   12061:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   12062:       dldir=$destdir/`dirname \$dlpath`~
                   12063:       test -d \$dldir || mkdir -p \$dldir~
                   12064:       $install_prog $dir/$dlname \$dldir/$dlname~
                   12065:       chmod a+x \$dldir/$dlname~
                   12066:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   12067:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   12068:       fi'
                   12069:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   12070:       dlpath=$dir/\$dldll~
                   12071:        $RM \$dlpath'
                   12072:     shlibpath_overrides_runpath=yes
                   12073: 
                   12074:     case $host_os in
                   12075:     cygwin*)
                   12076:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   12077:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   12078: 
                   12079:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
                   12080:       ;;
                   12081:     mingw* | cegcc*)
                   12082:       # MinGW DLLs use traditional 'lib' prefix
                   12083:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   12084:       ;;
                   12085:     pw32*)
                   12086:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   12087:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   12088:       ;;
                   12089:     esac
                   12090:     dynamic_linker='Win32 ld.exe'
                   12091:     ;;
                   12092: 
                   12093:   *,cl*)
                   12094:     # Native MSVC
                   12095:     libname_spec='$name'
                   12096:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   12097:     library_names_spec='${libname}.dll.lib'
                   12098: 
                   12099:     case $build_os in
                   12100:     mingw*)
                   12101:       sys_lib_search_path_spec=
                   12102:       lt_save_ifs=$IFS
                   12103:       IFS=';'
                   12104:       for lt_path in $LIB
                   12105:       do
                   12106:         IFS=$lt_save_ifs
                   12107:         # Let DOS variable expansion print the short 8.3 style file name.
                   12108:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   12109:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   12110:       done
                   12111:       IFS=$lt_save_ifs
                   12112:       # Convert to MSYS style.
                   12113:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   12114:       ;;
                   12115:     cygwin*)
                   12116:       # Convert to unix form, then to dos form, then back to unix form
                   12117:       # but this time dos style (no spaces!) so that the unix form looks
                   12118:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   12119:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   12120:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   12121:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   12122:       ;;
                   12123:     *)
                   12124:       sys_lib_search_path_spec="$LIB"
                   12125:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   12126:         # It is most probably a Windows format PATH.
                   12127:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   12128:       else
                   12129:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   12130:       fi
                   12131:       # FIXME: find the short name or the path components, as spaces are
                   12132:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   12133:       ;;
                   12134:     esac
                   12135: 
                   12136:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   12137:     postinstall_cmds='base_file=`basename \${file}`~
                   12138:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   12139:       dldir=$destdir/`dirname \$dlpath`~
                   12140:       test -d \$dldir || mkdir -p \$dldir~
                   12141:       $install_prog $dir/$dlname \$dldir/$dlname'
                   12142:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   12143:       dlpath=$dir/\$dldll~
                   12144:        $RM \$dlpath'
                   12145:     shlibpath_overrides_runpath=yes
                   12146:     dynamic_linker='Win32 link.exe'
                   12147:     ;;
                   12148: 
                   12149:   *)
                   12150:     # Assume MSVC wrapper
                   12151:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   12152:     dynamic_linker='Win32 ld.exe'
                   12153:     ;;
                   12154:   esac
                   12155:   # FIXME: first we should search . and the directory the executable is in
                   12156:   shlibpath_var=PATH
                   12157:   ;;
                   12158: 
                   12159: darwin* | rhapsody*)
                   12160:   dynamic_linker="$host_os dyld"
                   12161:   version_type=darwin
                   12162:   need_lib_prefix=no
                   12163:   need_version=no
                   12164:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   12165:   soname_spec='${libname}${release}${major}$shared_ext'
                   12166:   shlibpath_overrides_runpath=yes
                   12167:   shlibpath_var=DYLD_LIBRARY_PATH
                   12168:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   12169: 
                   12170:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
                   12171:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   12172:   ;;
                   12173: 
                   12174: dgux*)
                   12175:   version_type=linux # correct to gnu/linux during the next big refactor
                   12176:   need_lib_prefix=no
                   12177:   need_version=no
                   12178:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   12179:   soname_spec='${libname}${release}${shared_ext}$major'
                   12180:   shlibpath_var=LD_LIBRARY_PATH
                   12181:   ;;
                   12182: 
                   12183: freebsd* | dragonfly*)
                   12184:   # DragonFly does not have aout.  When/if they implement a new
                   12185:   # versioning mechanism, adjust this.
                   12186:   if test -x /usr/bin/objformat; then
                   12187:     objformat=`/usr/bin/objformat`
                   12188:   else
                   12189:     case $host_os in
                   12190:     freebsd[23].*) objformat=aout ;;
                   12191:     *) objformat=elf ;;
                   12192:     esac
                   12193:   fi
                   12194:   version_type=freebsd-$objformat
                   12195:   case $version_type in
                   12196:     freebsd-elf*)
                   12197:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   12198:       need_version=no
                   12199:       need_lib_prefix=no
                   12200:       ;;
                   12201:     freebsd-*)
                   12202:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   12203:       need_version=yes
                   12204:       ;;
                   12205:   esac
                   12206:   shlibpath_var=LD_LIBRARY_PATH
                   12207:   case $host_os in
                   12208:   freebsd2.*)
                   12209:     shlibpath_overrides_runpath=yes
                   12210:     ;;
                   12211:   freebsd3.[01]* | freebsdelf3.[01]*)
                   12212:     shlibpath_overrides_runpath=yes
                   12213:     hardcode_into_libs=yes
                   12214:     ;;
                   12215:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   12216:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   12217:     shlibpath_overrides_runpath=no
                   12218:     hardcode_into_libs=yes
                   12219:     ;;
                   12220:   *) # from 4.6 on, and DragonFly
                   12221:     shlibpath_overrides_runpath=yes
                   12222:     hardcode_into_libs=yes
                   12223:     ;;
                   12224:   esac
                   12225:   ;;
                   12226: 
                   12227: gnu*)
                   12228:   version_type=linux # correct to gnu/linux during the next big refactor
                   12229:   need_lib_prefix=no
                   12230:   need_version=no
                   12231:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   12232:   soname_spec='${libname}${release}${shared_ext}$major'
                   12233:   shlibpath_var=LD_LIBRARY_PATH
                   12234:   shlibpath_overrides_runpath=no
                   12235:   hardcode_into_libs=yes
                   12236:   ;;
                   12237: 
                   12238: haiku*)
                   12239:   version_type=linux # correct to gnu/linux during the next big refactor
                   12240:   need_lib_prefix=no
                   12241:   need_version=no
                   12242:   dynamic_linker="$host_os runtime_loader"
                   12243:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   12244:   soname_spec='${libname}${release}${shared_ext}$major'
                   12245:   shlibpath_var=LIBRARY_PATH
                   12246:   shlibpath_overrides_runpath=yes
                   12247:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   12248:   hardcode_into_libs=yes
                   12249:   ;;
                   12250: 
                   12251: hpux9* | hpux10* | hpux11*)
                   12252:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   12253:   # link against other versions.
                   12254:   version_type=sunos
                   12255:   need_lib_prefix=no
                   12256:   need_version=no
                   12257:   case $host_cpu in
                   12258:   ia64*)
                   12259:     shrext_cmds='.so'
                   12260:     hardcode_into_libs=yes
                   12261:     dynamic_linker="$host_os dld.so"
                   12262:     shlibpath_var=LD_LIBRARY_PATH
                   12263:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   12264:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12265:     soname_spec='${libname}${release}${shared_ext}$major'
                   12266:     if test "X$HPUX_IA64_MODE" = X32; then
                   12267:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   12268:     else
                   12269:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   12270:     fi
                   12271:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   12272:     ;;
                   12273:   hppa*64*)
                   12274:     shrext_cmds='.sl'
                   12275:     hardcode_into_libs=yes
                   12276:     dynamic_linker="$host_os dld.sl"
                   12277:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   12278:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   12279:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12280:     soname_spec='${libname}${release}${shared_ext}$major'
                   12281:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   12282:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   12283:     ;;
                   12284:   *)
                   12285:     shrext_cmds='.sl'
                   12286:     dynamic_linker="$host_os dld.sl"
                   12287:     shlibpath_var=SHLIB_PATH
                   12288:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   12289:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12290:     soname_spec='${libname}${release}${shared_ext}$major'
                   12291:     ;;
                   12292:   esac
                   12293:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   12294:   postinstall_cmds='chmod 555 $lib'
                   12295:   # or fails outright, so override atomically:
                   12296:   install_override_mode=555
                   12297:   ;;
                   12298: 
                   12299: interix[3-9]*)
                   12300:   version_type=linux # correct to gnu/linux during the next big refactor
                   12301:   need_lib_prefix=no
                   12302:   need_version=no
                   12303:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   12304:   soname_spec='${libname}${release}${shared_ext}$major'
                   12305:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   12306:   shlibpath_var=LD_LIBRARY_PATH
                   12307:   shlibpath_overrides_runpath=no
                   12308:   hardcode_into_libs=yes
                   12309:   ;;
                   12310: 
                   12311: irix5* | irix6* | nonstopux*)
                   12312:   case $host_os in
                   12313:     nonstopux*) version_type=nonstopux ;;
                   12314:     *)
                   12315:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   12316:                version_type=linux # correct to gnu/linux during the next big refactor
                   12317:        else
                   12318:                version_type=irix
                   12319:        fi ;;
                   12320:   esac
                   12321:   need_lib_prefix=no
                   12322:   need_version=no
                   12323:   soname_spec='${libname}${release}${shared_ext}$major'
                   12324:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   12325:   case $host_os in
                   12326:   irix5* | nonstopux*)
                   12327:     libsuff= shlibsuff=
                   12328:     ;;
                   12329:   *)
                   12330:     case $LD in # libtool.m4 will add one of these switches to LD
                   12331:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   12332:       libsuff= shlibsuff= libmagic=32-bit;;
                   12333:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   12334:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   12335:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   12336:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   12337:     *) libsuff= shlibsuff= libmagic=never-match;;
                   12338:     esac
                   12339:     ;;
                   12340:   esac
                   12341:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   12342:   shlibpath_overrides_runpath=no
                   12343:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   12344:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   12345:   hardcode_into_libs=yes
                   12346:   ;;
                   12347: 
                   12348: # No shared lib support for Linux oldld, aout, or coff.
                   12349: linux*oldld* | linux*aout* | linux*coff*)
                   12350:   dynamic_linker=no
                   12351:   ;;
                   12352: 
                   12353: # This must be glibc/ELF.
                   12354: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   12355:   version_type=linux # correct to gnu/linux during the next big refactor
                   12356:   need_lib_prefix=no
                   12357:   need_version=no
                   12358:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12359:   soname_spec='${libname}${release}${shared_ext}$major'
                   12360:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   12361:   shlibpath_var=LD_LIBRARY_PATH
                   12362:   shlibpath_overrides_runpath=no
                   12363: 
                   12364:   # Some binutils ld are patched to set DT_RUNPATH
1.150     moko     12365:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
                   12366:   $as_echo_n "(cached) " >&6
1.128     moko     12367: else
                   12368:   lt_cv_shlibpath_overrides_runpath=no
                   12369:     save_LDFLAGS=$LDFLAGS
                   12370:     save_libdir=$libdir
                   12371:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
                   12372:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
1.150     moko     12373:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12374: /* end confdefs.h.  */
                   12375: 
                   12376: int
                   12377: main ()
                   12378: {
                   12379: 
                   12380:   ;
                   12381:   return 0;
                   12382: }
                   12383: _ACEOF
1.150     moko     12384: if ac_fn_c_try_link "$LINENO"; then :
                   12385:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
1.128     moko     12386:   lt_cv_shlibpath_overrides_runpath=yes
                   12387: fi
                   12388: fi
1.150     moko     12389: rm -f core conftest.err conftest.$ac_objext \
                   12390:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12391:     LDFLAGS=$save_LDFLAGS
                   12392:     libdir=$save_libdir
                   12393: 
                   12394: fi
                   12395: 
                   12396:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   12397: 
                   12398:   # This implies no fast_install, which is unacceptable.
                   12399:   # Some rework will be needed to allow for fast_install
                   12400:   # before this can be enabled.
                   12401:   hardcode_into_libs=yes
                   12402: 
                   12403:   # Append ld.so.conf contents to the search path
                   12404:   if test -f /etc/ld.so.conf; then
                   12405:     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' ' '`
                   12406:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   12407:   fi
                   12408: 
                   12409:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   12410:   # powerpc, because MkLinux only supported shared libraries with the
                   12411:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   12412:   # most powerpc-linux boxes support dynamic linking these days and
                   12413:   # people can always --disable-shared, the test was removed, and we
                   12414:   # assume the GNU/Linux dynamic linker is in use.
                   12415:   dynamic_linker='GNU/Linux ld.so'
                   12416:   ;;
                   12417: 
                   12418: netbsd*)
                   12419:   version_type=sunos
                   12420:   need_lib_prefix=no
                   12421:   need_version=no
                   12422:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   12423:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   12424:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   12425:     dynamic_linker='NetBSD (a.out) ld.so'
                   12426:   else
                   12427:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   12428:     soname_spec='${libname}${release}${shared_ext}$major'
                   12429:     dynamic_linker='NetBSD ld.elf_so'
                   12430:   fi
                   12431:   shlibpath_var=LD_LIBRARY_PATH
                   12432:   shlibpath_overrides_runpath=yes
                   12433:   hardcode_into_libs=yes
                   12434:   ;;
                   12435: 
                   12436: newsos6)
                   12437:   version_type=linux # correct to gnu/linux during the next big refactor
                   12438:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12439:   shlibpath_var=LD_LIBRARY_PATH
                   12440:   shlibpath_overrides_runpath=yes
                   12441:   ;;
                   12442: 
                   12443: *nto* | *qnx*)
                   12444:   version_type=qnx
                   12445:   need_lib_prefix=no
                   12446:   need_version=no
                   12447:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12448:   soname_spec='${libname}${release}${shared_ext}$major'
                   12449:   shlibpath_var=LD_LIBRARY_PATH
                   12450:   shlibpath_overrides_runpath=no
                   12451:   hardcode_into_libs=yes
                   12452:   dynamic_linker='ldqnx.so'
                   12453:   ;;
                   12454: 
                   12455: openbsd*)
                   12456:   version_type=sunos
                   12457:   sys_lib_dlsearch_path_spec="/usr/lib"
                   12458:   need_lib_prefix=no
                   12459:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   12460:   case $host_os in
                   12461:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   12462:     *)                         need_version=no  ;;
                   12463:   esac
                   12464:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   12465:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   12466:   shlibpath_var=LD_LIBRARY_PATH
                   12467:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   12468:     case $host_os in
                   12469:       openbsd2.[89] | openbsd2.[89].*)
                   12470:        shlibpath_overrides_runpath=no
                   12471:        ;;
                   12472:       *)
                   12473:        shlibpath_overrides_runpath=yes
                   12474:        ;;
                   12475:       esac
                   12476:   else
                   12477:     shlibpath_overrides_runpath=yes
                   12478:   fi
                   12479:   ;;
                   12480: 
                   12481: os2*)
                   12482:   libname_spec='$name'
                   12483:   shrext_cmds=".dll"
                   12484:   need_lib_prefix=no
                   12485:   library_names_spec='$libname${shared_ext} $libname.a'
                   12486:   dynamic_linker='OS/2 ld.exe'
                   12487:   shlibpath_var=LIBPATH
                   12488:   ;;
                   12489: 
                   12490: osf3* | osf4* | osf5*)
                   12491:   version_type=osf
                   12492:   need_lib_prefix=no
                   12493:   need_version=no
                   12494:   soname_spec='${libname}${release}${shared_ext}$major'
                   12495:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12496:   shlibpath_var=LD_LIBRARY_PATH
                   12497:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   12498:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   12499:   ;;
                   12500: 
                   12501: rdos*)
                   12502:   dynamic_linker=no
                   12503:   ;;
                   12504: 
                   12505: solaris*)
                   12506:   version_type=linux # correct to gnu/linux during the next big refactor
                   12507:   need_lib_prefix=no
                   12508:   need_version=no
                   12509:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12510:   soname_spec='${libname}${release}${shared_ext}$major'
                   12511:   shlibpath_var=LD_LIBRARY_PATH
                   12512:   shlibpath_overrides_runpath=yes
                   12513:   hardcode_into_libs=yes
                   12514:   # ldd complains unless libraries are executable
                   12515:   postinstall_cmds='chmod +x $lib'
                   12516:   ;;
                   12517: 
                   12518: sunos4*)
                   12519:   version_type=sunos
                   12520:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   12521:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   12522:   shlibpath_var=LD_LIBRARY_PATH
                   12523:   shlibpath_overrides_runpath=yes
                   12524:   if test "$with_gnu_ld" = yes; then
                   12525:     need_lib_prefix=no
                   12526:   fi
                   12527:   need_version=yes
                   12528:   ;;
                   12529: 
                   12530: sysv4 | sysv4.3*)
                   12531:   version_type=linux # correct to gnu/linux during the next big refactor
                   12532:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12533:   soname_spec='${libname}${release}${shared_ext}$major'
                   12534:   shlibpath_var=LD_LIBRARY_PATH
                   12535:   case $host_vendor in
                   12536:     sni)
                   12537:       shlibpath_overrides_runpath=no
                   12538:       need_lib_prefix=no
                   12539:       runpath_var=LD_RUN_PATH
                   12540:       ;;
                   12541:     siemens)
                   12542:       need_lib_prefix=no
                   12543:       ;;
                   12544:     motorola)
                   12545:       need_lib_prefix=no
                   12546:       need_version=no
                   12547:       shlibpath_overrides_runpath=no
                   12548:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   12549:       ;;
                   12550:   esac
                   12551:   ;;
                   12552: 
                   12553: sysv4*MP*)
                   12554:   if test -d /usr/nec ;then
                   12555:     version_type=linux # correct to gnu/linux during the next big refactor
                   12556:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   12557:     soname_spec='$libname${shared_ext}.$major'
                   12558:     shlibpath_var=LD_LIBRARY_PATH
                   12559:   fi
                   12560:   ;;
                   12561: 
                   12562: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   12563:   version_type=freebsd-elf
                   12564:   need_lib_prefix=no
                   12565:   need_version=no
                   12566:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   12567:   soname_spec='${libname}${release}${shared_ext}$major'
                   12568:   shlibpath_var=LD_LIBRARY_PATH
                   12569:   shlibpath_overrides_runpath=yes
                   12570:   hardcode_into_libs=yes
                   12571:   if test "$with_gnu_ld" = yes; then
                   12572:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   12573:   else
                   12574:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   12575:     case $host_os in
                   12576:       sco3.2v5*)
                   12577:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   12578:        ;;
                   12579:     esac
                   12580:   fi
                   12581:   sys_lib_dlsearch_path_spec='/usr/lib'
                   12582:   ;;
                   12583: 
                   12584: tpf*)
                   12585:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   12586:   version_type=linux # correct to gnu/linux during the next big refactor
                   12587:   need_lib_prefix=no
                   12588:   need_version=no
                   12589:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12590:   shlibpath_var=LD_LIBRARY_PATH
                   12591:   shlibpath_overrides_runpath=no
                   12592:   hardcode_into_libs=yes
                   12593:   ;;
                   12594: 
                   12595: uts4*)
                   12596:   version_type=linux # correct to gnu/linux during the next big refactor
                   12597:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12598:   soname_spec='${libname}${release}${shared_ext}$major'
                   12599:   shlibpath_var=LD_LIBRARY_PATH
                   12600:   ;;
                   12601: 
                   12602: *)
                   12603:   dynamic_linker=no
                   12604:   ;;
                   12605: esac
1.150     moko     12606: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   12607: $as_echo "$dynamic_linker" >&6; }
1.128     moko     12608: test "$dynamic_linker" = no && can_build_shared=no
                   12609: 
                   12610: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   12611: if test "$GCC" = yes; then
                   12612:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   12613: fi
                   12614: 
                   12615: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   12616:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   12617: fi
                   12618: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   12619:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   12620: fi
                   12621: 
                   12622: 
                   12623: 
                   12624: 
                   12625: 
                   12626: 
                   12627: 
                   12628: 
                   12629: 
                   12630: 
                   12631: 
                   12632: 
                   12633: 
                   12634: 
                   12635: 
                   12636: 
                   12637: 
                   12638: 
                   12639: 
                   12640: 
                   12641: 
                   12642: 
                   12643: 
                   12644: 
                   12645: 
                   12646: 
                   12647: 
                   12648: 
                   12649: 
                   12650: 
                   12651: 
                   12652: 
                   12653: 
                   12654: 
                   12655: 
                   12656: 
                   12657: 
                   12658: 
                   12659: 
                   12660: 
                   12661: 
                   12662: 
                   12663: 
                   12664: 
                   12665: 
                   12666: 
                   12667: 
                   12668: 
                   12669: 
                   12670: 
                   12671: 
                   12672: 
                   12673: 
                   12674: 
                   12675: 
                   12676: 
                   12677: 
                   12678: 
                   12679: 
                   12680: 
                   12681: 
                   12682: 
                   12683: 
                   12684: 
                   12685: 
                   12686: 
                   12687: 
                   12688: 
                   12689: 
                   12690: 
                   12691: 
                   12692: 
                   12693: 
                   12694: 
                   12695: 
                   12696: 
                   12697: 
                   12698: 
                   12699: 
                   12700: 
                   12701: 
                   12702: 
                   12703: 
                   12704: 
                   12705: 
                   12706: 
                   12707: 
                   12708: 
                   12709: 
                   12710: 
                   12711: 
                   12712: 
1.150     moko     12713:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   12714: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1.128     moko     12715: hardcode_action=
                   12716: if test -n "$hardcode_libdir_flag_spec" ||
                   12717:    test -n "$runpath_var" ||
                   12718:    test "X$hardcode_automatic" = "Xyes" ; then
                   12719: 
                   12720:   # We can hardcode non-existent directories.
                   12721:   if test "$hardcode_direct" != no &&
                   12722:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   12723:      # have to relink, otherwise we might link with an installed library
                   12724:      # when we should be linking with a yet-to-be-installed one
                   12725:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
                   12726:      test "$hardcode_minus_L" != no; then
                   12727:     # Linking always hardcodes the temporary library directory.
                   12728:     hardcode_action=relink
                   12729:   else
                   12730:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   12731:     hardcode_action=immediate
                   12732:   fi
                   12733: else
                   12734:   # We cannot hardcode anything, or else we can only hardcode existing
                   12735:   # directories.
                   12736:   hardcode_action=unsupported
                   12737: fi
1.150     moko     12738: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
                   12739: $as_echo "$hardcode_action" >&6; }
1.128     moko     12740: 
                   12741: if test "$hardcode_action" = relink ||
                   12742:    test "$inherit_rpath" = yes; then
                   12743:   # Fast installation is not supported
                   12744:   enable_fast_install=no
                   12745: elif test "$shlibpath_overrides_runpath" = yes ||
                   12746:      test "$enable_shared" = no; then
                   12747:   # Fast installation is not necessary
                   12748:   enable_fast_install=needless
                   12749: fi
                   12750: 
                   12751: 
                   12752: 
                   12753: 
                   12754: 
                   12755: 
                   12756:   if test "x$enable_dlopen" != xyes; then
                   12757:   enable_dlopen=unknown
                   12758:   enable_dlopen_self=unknown
                   12759:   enable_dlopen_self_static=unknown
                   12760: else
                   12761:   lt_cv_dlopen=no
                   12762:   lt_cv_dlopen_libs=
                   12763: 
                   12764:   case $host_os in
                   12765:   beos*)
                   12766:     lt_cv_dlopen="load_add_on"
                   12767:     lt_cv_dlopen_libs=
                   12768:     lt_cv_dlopen_self=yes
                   12769:     ;;
                   12770: 
                   12771:   mingw* | pw32* | cegcc*)
                   12772:     lt_cv_dlopen="LoadLibrary"
                   12773:     lt_cv_dlopen_libs=
                   12774:     ;;
                   12775: 
                   12776:   cygwin*)
                   12777:     lt_cv_dlopen="dlopen"
                   12778:     lt_cv_dlopen_libs=
                   12779:     ;;
                   12780: 
                   12781:   darwin*)
                   12782:   # if libdl is installed we need to link against it
1.150     moko     12783:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   12784: $as_echo_n "checking for dlopen in -ldl... " >&6; }
                   12785: if ${ac_cv_lib_dl_dlopen+:} false; then :
                   12786:   $as_echo_n "(cached) " >&6
1.128     moko     12787: else
                   12788:   ac_check_lib_save_LIBS=$LIBS
                   12789: LIBS="-ldl  $LIBS"
1.150     moko     12790: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12791: /* end confdefs.h.  */
                   12792: 
1.150     moko     12793: /* Override any GCC internal prototype to avoid an error.
                   12794:    Use char because int might match the return type of a GCC
                   12795:    builtin and then its argument prototype would still apply.  */
1.128     moko     12796: #ifdef __cplusplus
                   12797: extern "C"
                   12798: #endif
                   12799: char dlopen ();
                   12800: int
                   12801: main ()
                   12802: {
1.150     moko     12803: return dlopen ();
1.128     moko     12804:   ;
                   12805:   return 0;
                   12806: }
                   12807: _ACEOF
1.150     moko     12808: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12809:   ac_cv_lib_dl_dlopen=yes
                   12810: else
1.150     moko     12811:   ac_cv_lib_dl_dlopen=no
1.128     moko     12812: fi
1.150     moko     12813: rm -f core conftest.err conftest.$ac_objext \
                   12814:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12815: LIBS=$ac_check_lib_save_LIBS
                   12816: fi
1.150     moko     12817: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   12818: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
                   12819: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1.128     moko     12820:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   12821: else
                   12822: 
                   12823:     lt_cv_dlopen="dyld"
                   12824:     lt_cv_dlopen_libs=
                   12825:     lt_cv_dlopen_self=yes
                   12826: 
                   12827: fi
                   12828: 
                   12829:     ;;
                   12830: 
                   12831:   *)
1.150     moko     12832:     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
                   12833: if test "x$ac_cv_func_shl_load" = xyes; then :
1.128     moko     12834:   lt_cv_dlopen="shl_load"
                   12835: else
1.150     moko     12836:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   12837: $as_echo_n "checking for shl_load in -ldld... " >&6; }
                   12838: if ${ac_cv_lib_dld_shl_load+:} false; then :
                   12839:   $as_echo_n "(cached) " >&6
1.128     moko     12840: else
                   12841:   ac_check_lib_save_LIBS=$LIBS
                   12842: LIBS="-ldld  $LIBS"
1.150     moko     12843: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12844: /* end confdefs.h.  */
                   12845: 
1.150     moko     12846: /* Override any GCC internal prototype to avoid an error.
                   12847:    Use char because int might match the return type of a GCC
                   12848:    builtin and then its argument prototype would still apply.  */
1.128     moko     12849: #ifdef __cplusplus
                   12850: extern "C"
                   12851: #endif
                   12852: char shl_load ();
                   12853: int
                   12854: main ()
                   12855: {
1.150     moko     12856: return shl_load ();
1.128     moko     12857:   ;
                   12858:   return 0;
                   12859: }
                   12860: _ACEOF
1.150     moko     12861: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12862:   ac_cv_lib_dld_shl_load=yes
                   12863: else
1.150     moko     12864:   ac_cv_lib_dld_shl_load=no
1.128     moko     12865: fi
1.150     moko     12866: rm -f core conftest.err conftest.$ac_objext \
                   12867:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12868: LIBS=$ac_check_lib_save_LIBS
                   12869: fi
1.150     moko     12870: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   12871: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
                   12872: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
1.128     moko     12873:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
                   12874: else
1.150     moko     12875:   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
                   12876: if test "x$ac_cv_func_dlopen" = xyes; then :
1.128     moko     12877:   lt_cv_dlopen="dlopen"
                   12878: else
1.150     moko     12879:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   12880: $as_echo_n "checking for dlopen in -ldl... " >&6; }
                   12881: if ${ac_cv_lib_dl_dlopen+:} false; then :
                   12882:   $as_echo_n "(cached) " >&6
1.128     moko     12883: else
                   12884:   ac_check_lib_save_LIBS=$LIBS
                   12885: LIBS="-ldl  $LIBS"
1.150     moko     12886: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12887: /* end confdefs.h.  */
                   12888: 
1.150     moko     12889: /* Override any GCC internal prototype to avoid an error.
                   12890:    Use char because int might match the return type of a GCC
                   12891:    builtin and then its argument prototype would still apply.  */
1.128     moko     12892: #ifdef __cplusplus
                   12893: extern "C"
                   12894: #endif
                   12895: char dlopen ();
                   12896: int
                   12897: main ()
                   12898: {
1.150     moko     12899: return dlopen ();
1.128     moko     12900:   ;
                   12901:   return 0;
                   12902: }
                   12903: _ACEOF
1.150     moko     12904: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12905:   ac_cv_lib_dl_dlopen=yes
                   12906: else
1.150     moko     12907:   ac_cv_lib_dl_dlopen=no
1.128     moko     12908: fi
1.150     moko     12909: rm -f core conftest.err conftest.$ac_objext \
                   12910:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12911: LIBS=$ac_check_lib_save_LIBS
                   12912: fi
1.150     moko     12913: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   12914: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
                   12915: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1.128     moko     12916:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   12917: else
1.150     moko     12918:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   12919: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
                   12920: if ${ac_cv_lib_svld_dlopen+:} false; then :
                   12921:   $as_echo_n "(cached) " >&6
1.128     moko     12922: else
                   12923:   ac_check_lib_save_LIBS=$LIBS
                   12924: LIBS="-lsvld  $LIBS"
1.150     moko     12925: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12926: /* end confdefs.h.  */
                   12927: 
1.150     moko     12928: /* Override any GCC internal prototype to avoid an error.
                   12929:    Use char because int might match the return type of a GCC
                   12930:    builtin and then its argument prototype would still apply.  */
1.128     moko     12931: #ifdef __cplusplus
                   12932: extern "C"
                   12933: #endif
                   12934: char dlopen ();
                   12935: int
                   12936: main ()
                   12937: {
1.150     moko     12938: return dlopen ();
1.128     moko     12939:   ;
                   12940:   return 0;
                   12941: }
                   12942: _ACEOF
1.150     moko     12943: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12944:   ac_cv_lib_svld_dlopen=yes
                   12945: else
1.150     moko     12946:   ac_cv_lib_svld_dlopen=no
1.128     moko     12947: fi
1.150     moko     12948: rm -f core conftest.err conftest.$ac_objext \
                   12949:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12950: LIBS=$ac_check_lib_save_LIBS
                   12951: fi
1.150     moko     12952: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   12953: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
                   12954: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
1.128     moko     12955:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
                   12956: else
1.150     moko     12957:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   12958: $as_echo_n "checking for dld_link in -ldld... " >&6; }
                   12959: if ${ac_cv_lib_dld_dld_link+:} false; then :
                   12960:   $as_echo_n "(cached) " >&6
1.128     moko     12961: else
                   12962:   ac_check_lib_save_LIBS=$LIBS
                   12963: LIBS="-ldld  $LIBS"
1.150     moko     12964: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12965: /* end confdefs.h.  */
                   12966: 
1.150     moko     12967: /* Override any GCC internal prototype to avoid an error.
                   12968:    Use char because int might match the return type of a GCC
                   12969:    builtin and then its argument prototype would still apply.  */
1.128     moko     12970: #ifdef __cplusplus
                   12971: extern "C"
                   12972: #endif
                   12973: char dld_link ();
                   12974: int
                   12975: main ()
                   12976: {
1.150     moko     12977: return dld_link ();
1.128     moko     12978:   ;
                   12979:   return 0;
                   12980: }
                   12981: _ACEOF
1.150     moko     12982: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12983:   ac_cv_lib_dld_dld_link=yes
                   12984: else
1.150     moko     12985:   ac_cv_lib_dld_dld_link=no
                   12986: fi
                   12987: rm -f core conftest.err conftest.$ac_objext \
                   12988:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12989: LIBS=$ac_check_lib_save_LIBS
                   12990: fi
1.150     moko     12991: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   12992: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
                   12993: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
1.128     moko     12994:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
                   12995: fi
                   12996: 
                   12997: 
                   12998: fi
                   12999: 
                   13000: 
                   13001: fi
                   13002: 
                   13003: 
                   13004: fi
                   13005: 
                   13006: 
                   13007: fi
                   13008: 
                   13009: 
                   13010: fi
                   13011: 
                   13012:     ;;
                   13013:   esac
                   13014: 
                   13015:   if test "x$lt_cv_dlopen" != xno; then
                   13016:     enable_dlopen=yes
                   13017:   else
                   13018:     enable_dlopen=no
                   13019:   fi
                   13020: 
                   13021:   case $lt_cv_dlopen in
                   13022:   dlopen)
                   13023:     save_CPPFLAGS="$CPPFLAGS"
                   13024:     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
                   13025: 
                   13026:     save_LDFLAGS="$LDFLAGS"
                   13027:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
                   13028: 
                   13029:     save_LIBS="$LIBS"
                   13030:     LIBS="$lt_cv_dlopen_libs $LIBS"
                   13031: 
1.150     moko     13032:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
                   13033: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
                   13034: if ${lt_cv_dlopen_self+:} false; then :
                   13035:   $as_echo_n "(cached) " >&6
1.128     moko     13036: else
                   13037:          if test "$cross_compiling" = yes; then :
                   13038:   lt_cv_dlopen_self=cross
                   13039: else
                   13040:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   13041:   lt_status=$lt_dlunknown
                   13042:   cat > conftest.$ac_ext <<_LT_EOF
                   13043: #line $LINENO "configure"
                   13044: #include "confdefs.h"
                   13045: 
                   13046: #if HAVE_DLFCN_H
                   13047: #include <dlfcn.h>
                   13048: #endif
                   13049: 
                   13050: #include <stdio.h>
                   13051: 
                   13052: #ifdef RTLD_GLOBAL
                   13053: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   13054: #else
                   13055: #  ifdef DL_GLOBAL
                   13056: #    define LT_DLGLOBAL                DL_GLOBAL
                   13057: #  else
                   13058: #    define LT_DLGLOBAL                0
                   13059: #  endif
                   13060: #endif
                   13061: 
                   13062: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   13063:    find out it does not work in some platform. */
                   13064: #ifndef LT_DLLAZY_OR_NOW
                   13065: #  ifdef RTLD_LAZY
                   13066: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   13067: #  else
                   13068: #    ifdef DL_LAZY
                   13069: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   13070: #    else
                   13071: #      ifdef RTLD_NOW
                   13072: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   13073: #      else
                   13074: #        ifdef DL_NOW
                   13075: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   13076: #        else
                   13077: #          define LT_DLLAZY_OR_NOW     0
                   13078: #        endif
                   13079: #      endif
                   13080: #    endif
                   13081: #  endif
                   13082: #endif
                   13083: 
                   13084: /* When -fvisbility=hidden is used, assume the code has been annotated
                   13085:    correspondingly for the symbols needed.  */
                   13086: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   13087: int fnord () __attribute__((visibility("default")));
                   13088: #endif
                   13089: 
                   13090: int fnord () { return 42; }
                   13091: int main ()
                   13092: {
                   13093:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   13094:   int status = $lt_dlunknown;
                   13095: 
                   13096:   if (self)
                   13097:     {
                   13098:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   13099:       else
                   13100:         {
                   13101:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   13102:           else puts (dlerror ());
                   13103:        }
                   13104:       /* dlclose (self); */
                   13105:     }
                   13106:   else
                   13107:     puts (dlerror ());
                   13108: 
                   13109:   return status;
                   13110: }
                   13111: _LT_EOF
1.150     moko     13112:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     13113:   (eval $ac_link) 2>&5
                   13114:   ac_status=$?
1.150     moko     13115:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   13116:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.128     moko     13117:     (./conftest; exit; ) >&5 2>/dev/null
                   13118:     lt_status=$?
                   13119:     case x$lt_status in
                   13120:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   13121:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
                   13122:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
                   13123:     esac
                   13124:   else :
                   13125:     # compilation failed
                   13126:     lt_cv_dlopen_self=no
                   13127:   fi
                   13128: fi
                   13129: rm -fr conftest*
                   13130: 
                   13131: 
                   13132: fi
1.150     moko     13133: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
                   13134: $as_echo "$lt_cv_dlopen_self" >&6; }
1.128     moko     13135: 
                   13136:     if test "x$lt_cv_dlopen_self" = xyes; then
                   13137:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
1.150     moko     13138:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
                   13139: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
                   13140: if ${lt_cv_dlopen_self_static+:} false; then :
                   13141:   $as_echo_n "(cached) " >&6
1.128     moko     13142: else
                   13143:          if test "$cross_compiling" = yes; then :
                   13144:   lt_cv_dlopen_self_static=cross
                   13145: else
                   13146:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   13147:   lt_status=$lt_dlunknown
                   13148:   cat > conftest.$ac_ext <<_LT_EOF
                   13149: #line $LINENO "configure"
                   13150: #include "confdefs.h"
                   13151: 
                   13152: #if HAVE_DLFCN_H
                   13153: #include <dlfcn.h>
                   13154: #endif
                   13155: 
                   13156: #include <stdio.h>
                   13157: 
                   13158: #ifdef RTLD_GLOBAL
                   13159: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   13160: #else
                   13161: #  ifdef DL_GLOBAL
                   13162: #    define LT_DLGLOBAL                DL_GLOBAL
                   13163: #  else
                   13164: #    define LT_DLGLOBAL                0
                   13165: #  endif
                   13166: #endif
                   13167: 
                   13168: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   13169:    find out it does not work in some platform. */
                   13170: #ifndef LT_DLLAZY_OR_NOW
                   13171: #  ifdef RTLD_LAZY
                   13172: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   13173: #  else
                   13174: #    ifdef DL_LAZY
                   13175: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   13176: #    else
                   13177: #      ifdef RTLD_NOW
                   13178: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   13179: #      else
                   13180: #        ifdef DL_NOW
                   13181: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   13182: #        else
                   13183: #          define LT_DLLAZY_OR_NOW     0
                   13184: #        endif
                   13185: #      endif
                   13186: #    endif
                   13187: #  endif
                   13188: #endif
                   13189: 
                   13190: /* When -fvisbility=hidden is used, assume the code has been annotated
                   13191:    correspondingly for the symbols needed.  */
                   13192: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   13193: int fnord () __attribute__((visibility("default")));
                   13194: #endif
                   13195: 
                   13196: int fnord () { return 42; }
                   13197: int main ()
                   13198: {
                   13199:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   13200:   int status = $lt_dlunknown;
                   13201: 
                   13202:   if (self)
                   13203:     {
                   13204:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   13205:       else
                   13206:         {
                   13207:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   13208:           else puts (dlerror ());
                   13209:        }
                   13210:       /* dlclose (self); */
                   13211:     }
                   13212:   else
                   13213:     puts (dlerror ());
                   13214: 
                   13215:   return status;
                   13216: }
                   13217: _LT_EOF
1.150     moko     13218:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     13219:   (eval $ac_link) 2>&5
                   13220:   ac_status=$?
1.150     moko     13221:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   13222:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.128     moko     13223:     (./conftest; exit; ) >&5 2>/dev/null
                   13224:     lt_status=$?
                   13225:     case x$lt_status in
                   13226:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   13227:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
                   13228:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
                   13229:     esac
                   13230:   else :
                   13231:     # compilation failed
                   13232:     lt_cv_dlopen_self_static=no
                   13233:   fi
                   13234: fi
                   13235: rm -fr conftest*
                   13236: 
                   13237: 
                   13238: fi
1.150     moko     13239: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
                   13240: $as_echo "$lt_cv_dlopen_self_static" >&6; }
1.128     moko     13241:     fi
                   13242: 
                   13243:     CPPFLAGS="$save_CPPFLAGS"
                   13244:     LDFLAGS="$save_LDFLAGS"
                   13245:     LIBS="$save_LIBS"
                   13246:     ;;
                   13247:   esac
                   13248: 
                   13249:   case $lt_cv_dlopen_self in
                   13250:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   13251:   *) enable_dlopen_self=unknown ;;
                   13252:   esac
                   13253: 
                   13254:   case $lt_cv_dlopen_self_static in
                   13255:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   13256:   *) enable_dlopen_self_static=unknown ;;
                   13257:   esac
                   13258: fi
                   13259: 
                   13260: 
                   13261: 
                   13262: 
                   13263: 
                   13264: 
                   13265: 
                   13266: 
                   13267: 
                   13268: 
                   13269: 
                   13270: 
                   13271: 
                   13272: 
                   13273: 
                   13274: 
                   13275: 
                   13276: striplib=
                   13277: old_striplib=
1.150     moko     13278: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
                   13279: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
1.128     moko     13280: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
                   13281:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
                   13282:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
1.150     moko     13283:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   13284: $as_echo "yes" >&6; }
1.128     moko     13285: else
                   13286: # FIXME - insert some real tests, host_os isn't really good enough
                   13287:   case $host_os in
                   13288:   darwin*)
                   13289:     if test -n "$STRIP" ; then
                   13290:       striplib="$STRIP -x"
                   13291:       old_striplib="$STRIP -S"
1.150     moko     13292:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   13293: $as_echo "yes" >&6; }
1.128     moko     13294:     else
1.150     moko     13295:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   13296: $as_echo "no" >&6; }
1.128     moko     13297:     fi
                   13298:     ;;
                   13299:   *)
1.150     moko     13300:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   13301: $as_echo "no" >&6; }
1.128     moko     13302:     ;;
                   13303:   esac
                   13304: fi
                   13305: 
                   13306: 
                   13307: 
                   13308: 
                   13309: 
                   13310: 
                   13311: 
                   13312: 
                   13313: 
                   13314: 
                   13315: 
                   13316: 
                   13317:   # Report which library types will actually be built
1.150     moko     13318:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
                   13319: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
                   13320:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
                   13321: $as_echo "$can_build_shared" >&6; }
1.128     moko     13322: 
1.150     moko     13323:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
                   13324: $as_echo_n "checking whether to build shared libraries... " >&6; }
1.128     moko     13325:   test "$can_build_shared" = "no" && enable_shared=no
                   13326: 
                   13327:   # On AIX, shared libraries and static libraries use the same namespace, and
                   13328:   # are all built from PIC.
                   13329:   case $host_os in
                   13330:   aix3*)
                   13331:     test "$enable_shared" = yes && enable_static=no
                   13332:     if test -n "$RANLIB"; then
                   13333:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   13334:       postinstall_cmds='$RANLIB $lib'
                   13335:     fi
                   13336:     ;;
                   13337: 
                   13338:   aix[4-9]*)
                   13339:     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
                   13340:       test "$enable_shared" = yes && enable_static=no
                   13341:     fi
                   13342:     ;;
                   13343:   esac
1.150     moko     13344:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
                   13345: $as_echo "$enable_shared" >&6; }
1.128     moko     13346: 
1.150     moko     13347:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
                   13348: $as_echo_n "checking whether to build static libraries... " >&6; }
1.128     moko     13349:   # Make sure either enable_shared or enable_static is yes.
                   13350:   test "$enable_shared" = yes || enable_static=yes
1.150     moko     13351:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
                   13352: $as_echo "$enable_static" >&6; }
1.128     moko     13353: 
                   13354: 
                   13355: 
                   13356: 
                   13357: fi
                   13358: ac_ext=c
                   13359: ac_cpp='$CPP $CPPFLAGS'
                   13360: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   13361: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   13362: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   13363: 
                   13364: CC="$lt_save_CC"
                   13365: 
                   13366:       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
                   13367:     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
                   13368:     (test "X$CXX" != "Xg++"))) ; then
1.150     moko     13369:   ac_ext=cpp
1.128     moko     13370: ac_cpp='$CXXCPP $CPPFLAGS'
                   13371: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   13372: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   13373: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.150     moko     13374: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
                   13375: $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
1.128     moko     13376: if test -z "$CXXCPP"; then
1.150     moko     13377:   if ${ac_cv_prog_CXXCPP+:} false; then :
                   13378:   $as_echo_n "(cached) " >&6
1.128     moko     13379: else
                   13380:       # Double quotes because CXXCPP needs to be expanded
                   13381:     for CXXCPP in "$CXX -E" "/lib/cpp"
                   13382:     do
                   13383:       ac_preproc_ok=false
                   13384: for ac_cxx_preproc_warn_flag in '' yes
                   13385: do
                   13386:   # Use a header file that comes with gcc, so configuring glibc
                   13387:   # with a fresh cross-compiler works.
                   13388:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   13389:   # <limits.h> exists even on freestanding compilers.
                   13390:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   13391:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     13392:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13393: /* end confdefs.h.  */
                   13394: #ifdef __STDC__
                   13395: # include <limits.h>
                   13396: #else
                   13397: # include <assert.h>
                   13398: #endif
                   13399:                     Syntax error
                   13400: _ACEOF
1.150     moko     13401: if ac_fn_cxx_try_cpp "$LINENO"; then :
                   13402: 
1.128     moko     13403: else
                   13404:   # Broken: fails on valid input.
                   13405: continue
                   13406: fi
1.150     moko     13407: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     13408: 
1.150     moko     13409:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     13410:   # can be detected and how.
1.150     moko     13411:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13412: /* end confdefs.h.  */
                   13413: #include <ac_nonexistent.h>
                   13414: _ACEOF
1.150     moko     13415: if ac_fn_cxx_try_cpp "$LINENO"; then :
1.128     moko     13416:   # Broken: success on invalid input.
                   13417: continue
                   13418: else
                   13419:   # Passes both tests.
                   13420: ac_preproc_ok=:
                   13421: break
                   13422: fi
1.150     moko     13423: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     13424: 
                   13425: done
                   13426: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     13427: rm -f conftest.i conftest.err conftest.$ac_ext
                   13428: if $ac_preproc_ok; then :
1.128     moko     13429:   break
                   13430: fi
                   13431: 
                   13432:     done
                   13433:     ac_cv_prog_CXXCPP=$CXXCPP
                   13434: 
                   13435: fi
                   13436:   CXXCPP=$ac_cv_prog_CXXCPP
                   13437: else
                   13438:   ac_cv_prog_CXXCPP=$CXXCPP
                   13439: fi
1.150     moko     13440: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
                   13441: $as_echo "$CXXCPP" >&6; }
1.128     moko     13442: ac_preproc_ok=false
                   13443: for ac_cxx_preproc_warn_flag in '' yes
                   13444: do
                   13445:   # Use a header file that comes with gcc, so configuring glibc
                   13446:   # with a fresh cross-compiler works.
                   13447:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   13448:   # <limits.h> exists even on freestanding compilers.
                   13449:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   13450:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     13451:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13452: /* end confdefs.h.  */
                   13453: #ifdef __STDC__
                   13454: # include <limits.h>
                   13455: #else
                   13456: # include <assert.h>
                   13457: #endif
                   13458:                     Syntax error
                   13459: _ACEOF
1.150     moko     13460: if ac_fn_cxx_try_cpp "$LINENO"; then :
                   13461: 
1.128     moko     13462: else
                   13463:   # Broken: fails on valid input.
                   13464: continue
                   13465: fi
1.150     moko     13466: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     13467: 
1.150     moko     13468:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     13469:   # can be detected and how.
1.150     moko     13470:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13471: /* end confdefs.h.  */
                   13472: #include <ac_nonexistent.h>
                   13473: _ACEOF
1.150     moko     13474: if ac_fn_cxx_try_cpp "$LINENO"; then :
1.128     moko     13475:   # Broken: success on invalid input.
                   13476: continue
                   13477: else
                   13478:   # Passes both tests.
                   13479: ac_preproc_ok=:
                   13480: break
                   13481: fi
1.150     moko     13482: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     13483: 
                   13484: done
                   13485: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     13486: rm -f conftest.i conftest.err conftest.$ac_ext
                   13487: if $ac_preproc_ok; then :
                   13488: 
1.128     moko     13489: else
1.150     moko     13490:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   13491: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   13492: as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
                   13493: See \`config.log' for more details" "$LINENO" 5; }
1.128     moko     13494: fi
                   13495: 
                   13496: ac_ext=c
                   13497: ac_cpp='$CPP $CPPFLAGS'
                   13498: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   13499: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   13500: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   13501: 
                   13502: else
                   13503:   _lt_caught_CXX_error=yes
                   13504: fi
                   13505: 
1.150     moko     13506: ac_ext=cpp
1.128     moko     13507: ac_cpp='$CXXCPP $CPPFLAGS'
                   13508: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   13509: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   13510: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   13511: 
                   13512: archive_cmds_need_lc_CXX=no
                   13513: allow_undefined_flag_CXX=
                   13514: always_export_symbols_CXX=no
                   13515: archive_expsym_cmds_CXX=
                   13516: compiler_needs_object_CXX=no
                   13517: export_dynamic_flag_spec_CXX=
                   13518: hardcode_direct_CXX=no
                   13519: hardcode_direct_absolute_CXX=no
                   13520: hardcode_libdir_flag_spec_CXX=
                   13521: hardcode_libdir_separator_CXX=
                   13522: hardcode_minus_L_CXX=no
                   13523: hardcode_shlibpath_var_CXX=unsupported
                   13524: hardcode_automatic_CXX=no
                   13525: inherit_rpath_CXX=no
                   13526: module_cmds_CXX=
                   13527: module_expsym_cmds_CXX=
                   13528: link_all_deplibs_CXX=unknown
                   13529: old_archive_cmds_CXX=$old_archive_cmds
                   13530: reload_flag_CXX=$reload_flag
                   13531: reload_cmds_CXX=$reload_cmds
                   13532: no_undefined_flag_CXX=
                   13533: whole_archive_flag_spec_CXX=
                   13534: enable_shared_with_static_runtimes_CXX=no
                   13535: 
                   13536: # Source file extension for C++ test sources.
                   13537: ac_ext=cpp
                   13538: 
                   13539: # Object file extension for compiled C++ test sources.
                   13540: objext=o
                   13541: objext_CXX=$objext
                   13542: 
                   13543: # No sense in running all these tests if we already determined that
                   13544: # the CXX compiler isn't working.  Some variables (like enable_shared)
                   13545: # are currently assumed to apply to all compilers on this platform,
                   13546: # and will be corrupted by setting them based on a non-working compiler.
                   13547: if test "$_lt_caught_CXX_error" != yes; then
                   13548:   # Code to be used in simple compile tests
                   13549:   lt_simple_compile_test_code="int some_variable = 0;"
                   13550: 
                   13551:   # Code to be used in simple link tests
                   13552:   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
                   13553: 
                   13554:   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
                   13555: 
                   13556: 
                   13557: 
                   13558: 
                   13559: 
                   13560: 
                   13561: # If no C compiler was specified, use CC.
                   13562: LTCC=${LTCC-"$CC"}
                   13563: 
                   13564: # If no C compiler flags were specified, use CFLAGS.
                   13565: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   13566: 
                   13567: # Allow CC to be a program name with arguments.
                   13568: compiler=$CC
                   13569: 
                   13570: 
                   13571:   # save warnings/boilerplate of simple test code
                   13572:   ac_outfile=conftest.$ac_objext
                   13573: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   13574: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   13575: _lt_compiler_boilerplate=`cat conftest.err`
                   13576: $RM conftest*
                   13577: 
                   13578:   ac_outfile=conftest.$ac_objext
                   13579: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   13580: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   13581: _lt_linker_boilerplate=`cat conftest.err`
                   13582: $RM -r conftest*
                   13583: 
                   13584: 
                   13585:   # Allow CC to be a program name with arguments.
                   13586:   lt_save_CC=$CC
                   13587:   lt_save_CFLAGS=$CFLAGS
                   13588:   lt_save_LD=$LD
                   13589:   lt_save_GCC=$GCC
                   13590:   GCC=$GXX
                   13591:   lt_save_with_gnu_ld=$with_gnu_ld
                   13592:   lt_save_path_LD=$lt_cv_path_LD
                   13593:   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
                   13594:     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
                   13595:   else
                   13596:     $as_unset lt_cv_prog_gnu_ld
                   13597:   fi
                   13598:   if test -n "${lt_cv_path_LDCXX+set}"; then
                   13599:     lt_cv_path_LD=$lt_cv_path_LDCXX
                   13600:   else
                   13601:     $as_unset lt_cv_path_LD
                   13602:   fi
                   13603:   test -z "${LDCXX+set}" || LD=$LDCXX
                   13604:   CC=${CXX-"c++"}
                   13605:   CFLAGS=$CXXFLAGS
                   13606:   compiler=$CC
                   13607:   compiler_CXX=$CC
                   13608:   for cc_temp in $compiler""; do
                   13609:   case $cc_temp in
                   13610:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   13611:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   13612:     \-*) ;;
                   13613:     *) break;;
                   13614:   esac
                   13615: done
                   13616: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   13617: 
                   13618: 
                   13619:   if test -n "$compiler"; then
                   13620:     # We don't want -fno-exception when compiling C++ code, so set the
                   13621:     # no_builtin_flag separately
                   13622:     if test "$GXX" = yes; then
                   13623:       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
                   13624:     else
                   13625:       lt_prog_compiler_no_builtin_flag_CXX=
                   13626:     fi
                   13627: 
                   13628:     if test "$GXX" = yes; then
                   13629:       # Set up default GNU C++ configuration
                   13630: 
                   13631: 
                   13632: 
1.150     moko     13633: # Check whether --with-gnu-ld was given.
                   13634: if test "${with_gnu_ld+set}" = set; then :
                   13635:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
1.128     moko     13636: else
                   13637:   with_gnu_ld=no
1.150     moko     13638: fi
                   13639: 
1.128     moko     13640: ac_prog=ld
                   13641: if test "$GCC" = yes; then
                   13642:   # Check if gcc -print-prog-name=ld gives a path.
1.150     moko     13643:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   13644: $as_echo_n "checking for ld used by $CC... " >&6; }
1.128     moko     13645:   case $host in
                   13646:   *-*-mingw*)
                   13647:     # gcc leaves a trailing carriage return which upsets mingw
                   13648:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   13649:   *)
                   13650:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   13651:   esac
                   13652:   case $ac_prog in
                   13653:     # Accept absolute paths.
                   13654:     [\\/]* | ?:[\\/]*)
                   13655:       re_direlt='/[^/][^/]*/\.\./'
                   13656:       # Canonicalize the pathname of ld
                   13657:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   13658:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   13659:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   13660:       done
                   13661:       test -z "$LD" && LD="$ac_prog"
                   13662:       ;;
                   13663:   "")
                   13664:     # If it fails, then pretend we aren't using GCC.
                   13665:     ac_prog=ld
                   13666:     ;;
                   13667:   *)
                   13668:     # If it is relative, then search for the first ld in PATH.
                   13669:     with_gnu_ld=unknown
                   13670:     ;;
                   13671:   esac
                   13672: elif test "$with_gnu_ld" = yes; then
1.150     moko     13673:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   13674: $as_echo_n "checking for GNU ld... " >&6; }
1.128     moko     13675: else
1.150     moko     13676:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   13677: $as_echo_n "checking for non-GNU ld... " >&6; }
1.128     moko     13678: fi
1.150     moko     13679: if ${lt_cv_path_LD+:} false; then :
                   13680:   $as_echo_n "(cached) " >&6
1.128     moko     13681: else
                   13682:   if test -z "$LD"; then
                   13683:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   13684:   for ac_dir in $PATH; do
                   13685:     IFS="$lt_save_ifs"
                   13686:     test -z "$ac_dir" && ac_dir=.
                   13687:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   13688:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   13689:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   13690:       # but apparently some variants of GNU ld only accept -v.
                   13691:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   13692:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   13693:       *GNU* | *'with BFD'*)
                   13694:        test "$with_gnu_ld" != no && break
                   13695:        ;;
                   13696:       *)
                   13697:        test "$with_gnu_ld" != yes && break
                   13698:        ;;
                   13699:       esac
                   13700:     fi
                   13701:   done
                   13702:   IFS="$lt_save_ifs"
                   13703: else
                   13704:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   13705: fi
                   13706: fi
                   13707: 
                   13708: LD="$lt_cv_path_LD"
                   13709: if test -n "$LD"; then
1.150     moko     13710:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   13711: $as_echo "$LD" >&6; }
1.128     moko     13712: else
1.150     moko     13713:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   13714: $as_echo "no" >&6; }
1.128     moko     13715: fi
1.150     moko     13716: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
                   13717: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   13718: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
                   13719: if ${lt_cv_prog_gnu_ld+:} false; then :
                   13720:   $as_echo_n "(cached) " >&6
1.128     moko     13721: else
                   13722:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   13723: case `$LD -v 2>&1 </dev/null` in
                   13724: *GNU* | *'with BFD'*)
                   13725:   lt_cv_prog_gnu_ld=yes
                   13726:   ;;
                   13727: *)
                   13728:   lt_cv_prog_gnu_ld=no
                   13729:   ;;
                   13730: esac
                   13731: fi
1.150     moko     13732: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   13733: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
1.128     moko     13734: with_gnu_ld=$lt_cv_prog_gnu_ld
                   13735: 
                   13736: 
                   13737: 
                   13738: 
                   13739: 
                   13740: 
                   13741: 
                   13742:       # Check if GNU C++ uses GNU ld as the underlying linker, since the
                   13743:       # archiving commands below assume that GNU ld is being used.
                   13744:       if test "$with_gnu_ld" = yes; then
                   13745:         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13746:         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'
                   13747: 
                   13748:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13749:         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13750: 
                   13751:         # If archive_cmds runs LD, not CC, wlarc should be empty
                   13752:         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
                   13753:         #     investigate it a little bit more. (MM)
                   13754:         wlarc='${wl}'
                   13755: 
                   13756:         # ancient GNU ld didn't support --whole-archive et. al.
                   13757:         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
                   13758:          $GREP 'no-whole-archive' > /dev/null; then
                   13759:           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   13760:         else
                   13761:           whole_archive_flag_spec_CXX=
                   13762:         fi
                   13763:       else
                   13764:         with_gnu_ld=no
                   13765:         wlarc=
                   13766: 
                   13767:         # A generic and very simple default shared library creation
                   13768:         # command for GNU C++ for the case where it uses the native
                   13769:         # linker, instead of GNU ld.  If possible, this setting should
                   13770:         # overridden to take advantage of the native linker features on
                   13771:         # the platform it is being used on.
                   13772:         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   13773:       fi
                   13774: 
                   13775:       # Commands to make compiler produce verbose output that lists
                   13776:       # what "hidden" libraries, object files and flags are used when
                   13777:       # linking a shared library.
                   13778:       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13779: 
                   13780:     else
                   13781:       GXX=no
                   13782:       with_gnu_ld=no
                   13783:       wlarc=
                   13784:     fi
                   13785: 
                   13786:     # PORTME: fill in a description of your system's C++ link characteristics
1.150     moko     13787:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   13788: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     13789:     ld_shlibs_CXX=yes
                   13790:     case $host_os in
                   13791:       aix3*)
                   13792:         # FIXME: insert proper C++ library support
                   13793:         ld_shlibs_CXX=no
                   13794:         ;;
                   13795:       aix[4-9]*)
                   13796:         if test "$host_cpu" = ia64; then
                   13797:           # On IA64, the linker does run time linking by default, so we don't
                   13798:           # have to do anything special.
                   13799:           aix_use_runtimelinking=no
                   13800:           exp_sym_flag='-Bexport'
                   13801:           no_entry_flag=""
                   13802:         else
                   13803:           aix_use_runtimelinking=no
                   13804: 
                   13805:           # Test if we are trying to use run time linking or normal
                   13806:           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   13807:           # need to do runtime linking.
                   13808:           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   13809:            for ld_flag in $LDFLAGS; do
                   13810:              case $ld_flag in
                   13811:              *-brtl*)
                   13812:                aix_use_runtimelinking=yes
                   13813:                break
                   13814:                ;;
                   13815:              esac
                   13816:            done
                   13817:            ;;
                   13818:           esac
                   13819: 
                   13820:           exp_sym_flag='-bexport'
                   13821:           no_entry_flag='-bnoentry'
                   13822:         fi
                   13823: 
                   13824:         # When large executables or shared objects are built, AIX ld can
                   13825:         # have problems creating the table of contents.  If linking a library
                   13826:         # or program results in "error TOC overflow" add -mminimal-toc to
                   13827:         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   13828:         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   13829: 
                   13830:         archive_cmds_CXX=''
                   13831:         hardcode_direct_CXX=yes
                   13832:         hardcode_direct_absolute_CXX=yes
                   13833:         hardcode_libdir_separator_CXX=':'
                   13834:         link_all_deplibs_CXX=yes
                   13835:         file_list_spec_CXX='${wl}-f,'
                   13836: 
                   13837:         if test "$GXX" = yes; then
                   13838:           case $host_os in aix4.[012]|aix4.[012].*)
                   13839:           # We only want to do this on AIX 4.2 and lower, the check
                   13840:           # below for broken collect2 doesn't work under 4.3+
                   13841:          collect2name=`${CC} -print-prog-name=collect2`
                   13842:          if test -f "$collect2name" &&
                   13843:             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   13844:          then
                   13845:            # We have reworked collect2
                   13846:            :
                   13847:          else
                   13848:            # We have old collect2
                   13849:            hardcode_direct_CXX=unsupported
                   13850:            # It fails to find uninstalled libraries when the uninstalled
                   13851:            # path is not listed in the libpath.  Setting hardcode_minus_L
                   13852:            # to unsupported forces relinking
                   13853:            hardcode_minus_L_CXX=yes
                   13854:            hardcode_libdir_flag_spec_CXX='-L$libdir'
                   13855:            hardcode_libdir_separator_CXX=
                   13856:          fi
                   13857:           esac
                   13858:           shared_flag='-shared'
                   13859:          if test "$aix_use_runtimelinking" = yes; then
                   13860:            shared_flag="$shared_flag "'${wl}-G'
                   13861:          fi
                   13862:         else
                   13863:           # not using gcc
                   13864:           if test "$host_cpu" = ia64; then
                   13865:          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   13866:          # chokes on -Wl,-G. The following line is correct:
                   13867:          shared_flag='-G'
                   13868:           else
                   13869:            if test "$aix_use_runtimelinking" = yes; then
                   13870:              shared_flag='${wl}-G'
                   13871:            else
                   13872:              shared_flag='${wl}-bM:SRE'
                   13873:            fi
                   13874:           fi
                   13875:         fi
                   13876: 
                   13877:         export_dynamic_flag_spec_CXX='${wl}-bexpall'
                   13878:         # It seems that -bexpall does not export symbols beginning with
                   13879:         # underscore (_), so it is better to generate a list of symbols to
                   13880:        # export.
                   13881:         always_export_symbols_CXX=yes
                   13882:         if test "$aix_use_runtimelinking" = yes; then
                   13883:           # Warning - without using the other runtime loading flags (-brtl),
                   13884:           # -berok will link without error, but may produce a broken library.
                   13885:           allow_undefined_flag_CXX='-berok'
                   13886:           # Determine the default libpath from the value encoded in an empty
                   13887:           # executable.
                   13888:           if test "${lt_cv_aix_libpath+set}" = set; then
                   13889:   aix_libpath=$lt_cv_aix_libpath
                   13890: else
1.150     moko     13891:   if ${lt_cv_aix_libpath__CXX+:} false; then :
                   13892:   $as_echo_n "(cached) " >&6
1.128     moko     13893: else
1.150     moko     13894:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13895: /* end confdefs.h.  */
                   13896: 
                   13897: int
                   13898: main ()
                   13899: {
                   13900: 
                   13901:   ;
                   13902:   return 0;
                   13903: }
                   13904: _ACEOF
1.150     moko     13905: if ac_fn_cxx_try_link "$LINENO"; then :
1.128     moko     13906: 
                   13907:   lt_aix_libpath_sed='
                   13908:       /Import File Strings/,/^$/ {
                   13909:          /^0/ {
                   13910:              s/^0  *\([^ ]*\) *$/\1/
                   13911:              p
                   13912:          }
                   13913:       }'
                   13914:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13915:   # Check for a 64-bit object if we didn't find anything.
                   13916:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13917:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13918:   fi
                   13919: fi
1.150     moko     13920: rm -f core conftest.err conftest.$ac_objext \
                   13921:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     13922:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13923:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   13924:   fi
                   13925: 
                   13926: fi
                   13927: 
                   13928:   aix_libpath=$lt_cv_aix_libpath__CXX
                   13929: fi
                   13930: 
                   13931:           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   13932: 
                   13933:           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"
                   13934:         else
                   13935:           if test "$host_cpu" = ia64; then
                   13936:            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
                   13937:            allow_undefined_flag_CXX="-z nodefs"
                   13938:            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"
                   13939:           else
                   13940:            # Determine the default libpath from the value encoded in an
                   13941:            # empty executable.
                   13942:            if test "${lt_cv_aix_libpath+set}" = set; then
                   13943:   aix_libpath=$lt_cv_aix_libpath
                   13944: else
1.150     moko     13945:   if ${lt_cv_aix_libpath__CXX+:} false; then :
                   13946:   $as_echo_n "(cached) " >&6
1.128     moko     13947: else
1.150     moko     13948:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13949: /* end confdefs.h.  */
                   13950: 
                   13951: int
                   13952: main ()
                   13953: {
                   13954: 
                   13955:   ;
                   13956:   return 0;
                   13957: }
                   13958: _ACEOF
1.150     moko     13959: if ac_fn_cxx_try_link "$LINENO"; then :
1.128     moko     13960: 
                   13961:   lt_aix_libpath_sed='
                   13962:       /Import File Strings/,/^$/ {
                   13963:          /^0/ {
                   13964:              s/^0  *\([^ ]*\) *$/\1/
                   13965:              p
                   13966:          }
                   13967:       }'
                   13968:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13969:   # Check for a 64-bit object if we didn't find anything.
                   13970:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13971:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13972:   fi
                   13973: fi
1.150     moko     13974: rm -f core conftest.err conftest.$ac_objext \
                   13975:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     13976:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13977:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   13978:   fi
                   13979: 
                   13980: fi
                   13981: 
                   13982:   aix_libpath=$lt_cv_aix_libpath__CXX
                   13983: fi
                   13984: 
                   13985:            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   13986:            # Warning - without using the other run time loading flags,
                   13987:            # -berok will link without error, but may produce a broken library.
                   13988:            no_undefined_flag_CXX=' ${wl}-bernotok'
                   13989:            allow_undefined_flag_CXX=' ${wl}-berok'
                   13990:            if test "$with_gnu_ld" = yes; then
                   13991:              # We only use this code for GNU lds that support --whole-archive.
                   13992:              whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   13993:            else
                   13994:              # Exported symbols can be pulled into shared objects from archives
                   13995:              whole_archive_flag_spec_CXX='$convenience'
                   13996:            fi
                   13997:            archive_cmds_need_lc_CXX=yes
                   13998:            # This is similar to how AIX traditionally builds its shared
                   13999:            # libraries.
                   14000:            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'
                   14001:           fi
                   14002:         fi
                   14003:         ;;
                   14004: 
                   14005:       beos*)
                   14006:        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   14007:          allow_undefined_flag_CXX=unsupported
                   14008:          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   14009:          # support --undefined.  This deserves some investigation.  FIXME
                   14010:          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   14011:        else
                   14012:          ld_shlibs_CXX=no
                   14013:        fi
                   14014:        ;;
                   14015: 
                   14016:       chorus*)
                   14017:         case $cc_basename in
                   14018:           *)
                   14019:          # FIXME: insert proper C++ library support
                   14020:          ld_shlibs_CXX=no
                   14021:          ;;
                   14022:         esac
                   14023:         ;;
                   14024: 
                   14025:       cygwin* | mingw* | pw32* | cegcc*)
                   14026:        case $GXX,$cc_basename in
                   14027:        ,cl* | no,cl*)
                   14028:          # Native MSVC
                   14029:          # hardcode_libdir_flag_spec is actually meaningless, as there is
                   14030:          # no search path for DLLs.
                   14031:          hardcode_libdir_flag_spec_CXX=' '
                   14032:          allow_undefined_flag_CXX=unsupported
                   14033:          always_export_symbols_CXX=yes
                   14034:          file_list_spec_CXX='@'
                   14035:          # Tell ltmain to make .lib files, not .a files.
                   14036:          libext=lib
                   14037:          # Tell ltmain to make .dll files, not .so files.
                   14038:          shrext_cmds=".dll"
                   14039:          # FIXME: Setting linknames here is a bad hack.
                   14040:          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   14041:          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   14042:              $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   14043:            else
                   14044:              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   14045:            fi~
                   14046:            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   14047:            linknames='
                   14048:          # The linker will not automatically build a static lib if we build a DLL.
                   14049:          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
                   14050:          enable_shared_with_static_runtimes_CXX=yes
                   14051:          # Don't use ranlib
                   14052:          old_postinstall_cmds_CXX='chmod 644 $oldlib'
                   14053:          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
                   14054:            lt_tool_outputfile="@TOOL_OUTPUT@"~
                   14055:            case $lt_outputfile in
                   14056:              *.exe|*.EXE) ;;
                   14057:              *)
                   14058:                lt_outputfile="$lt_outputfile.exe"
                   14059:                lt_tool_outputfile="$lt_tool_outputfile.exe"
                   14060:                ;;
                   14061:            esac~
                   14062:            func_to_tool_file "$lt_outputfile"~
                   14063:            if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   14064:              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   14065:              $RM "$lt_outputfile.manifest";
                   14066:            fi'
                   14067:          ;;
                   14068:        *)
                   14069:          # g++
                   14070:          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
                   14071:          # as there is no search path for DLLs.
                   14072:          hardcode_libdir_flag_spec_CXX='-L$libdir'
                   14073:          export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
                   14074:          allow_undefined_flag_CXX=unsupported
                   14075:          always_export_symbols_CXX=no
                   14076:          enable_shared_with_static_runtimes_CXX=yes
                   14077: 
                   14078:          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   14079:            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'
                   14080:            # If the export-symbols file already is a .def file (1st line
                   14081:            # is EXPORTS), use it as is; otherwise, prepend...
                   14082:            archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   14083:              cp $export_symbols $output_objdir/$soname.def;
                   14084:            else
                   14085:              echo EXPORTS > $output_objdir/$soname.def;
                   14086:              cat $export_symbols >> $output_objdir/$soname.def;
                   14087:            fi~
                   14088:            $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'
                   14089:          else
                   14090:            ld_shlibs_CXX=no
                   14091:          fi
                   14092:          ;;
                   14093:        esac
                   14094:        ;;
                   14095:       darwin* | rhapsody*)
                   14096: 
                   14097: 
                   14098:   archive_cmds_need_lc_CXX=no
                   14099:   hardcode_direct_CXX=no
                   14100:   hardcode_automatic_CXX=yes
                   14101:   hardcode_shlibpath_var_CXX=unsupported
                   14102:   if test "$lt_cv_ld_force_load" = "yes"; then
                   14103:     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\"`'
                   14104: 
                   14105:   else
                   14106:     whole_archive_flag_spec_CXX=''
                   14107:   fi
                   14108:   link_all_deplibs_CXX=yes
                   14109:   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
                   14110:   case $cc_basename in
                   14111:      ifort*) _lt_dar_can_shared=yes ;;
                   14112:      *) _lt_dar_can_shared=$GCC ;;
                   14113:   esac
                   14114:   if test "$_lt_dar_can_shared" = "yes"; then
                   14115:     output_verbose_link_cmd=func_echo_all
                   14116:     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}"
                   14117:     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   14118:     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}"
                   14119:     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}"
                   14120:        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
                   14121:       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}"
                   14122:       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}"
                   14123:     fi
                   14124: 
                   14125:   else
                   14126:   ld_shlibs_CXX=no
                   14127:   fi
                   14128: 
                   14129:        ;;
                   14130: 
                   14131:       dgux*)
                   14132:         case $cc_basename in
                   14133:           ec++*)
                   14134:            # FIXME: insert proper C++ library support
                   14135:            ld_shlibs_CXX=no
                   14136:            ;;
                   14137:           ghcx*)
                   14138:            # Green Hills C++ Compiler
                   14139:            # FIXME: insert proper C++ library support
                   14140:            ld_shlibs_CXX=no
                   14141:            ;;
                   14142:           *)
                   14143:            # FIXME: insert proper C++ library support
                   14144:            ld_shlibs_CXX=no
                   14145:            ;;
                   14146:         esac
                   14147:         ;;
                   14148: 
                   14149:       freebsd2.*)
                   14150:         # C++ shared libraries reported to be fairly broken before
                   14151:        # switch to ELF
                   14152:         ld_shlibs_CXX=no
                   14153:         ;;
                   14154: 
                   14155:       freebsd-elf*)
                   14156:         archive_cmds_need_lc_CXX=no
                   14157:         ;;
                   14158: 
                   14159:       freebsd* | dragonfly*)
                   14160:         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
                   14161:         # conventions
                   14162:         ld_shlibs_CXX=yes
                   14163:         ;;
                   14164: 
                   14165:       gnu*)
                   14166:         ;;
                   14167: 
                   14168:       haiku*)
                   14169:         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   14170:         link_all_deplibs_CXX=yes
                   14171:         ;;
                   14172: 
                   14173:       hpux9*)
                   14174:         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   14175:         hardcode_libdir_separator_CXX=:
                   14176:         export_dynamic_flag_spec_CXX='${wl}-E'
                   14177:         hardcode_direct_CXX=yes
                   14178:         hardcode_minus_L_CXX=yes # Not in the search PATH,
                   14179:                                             # but as the default
                   14180:                                             # location of the library.
                   14181: 
                   14182:         case $cc_basename in
                   14183:           CC*)
                   14184:             # FIXME: insert proper C++ library support
                   14185:             ld_shlibs_CXX=no
                   14186:             ;;
                   14187:           aCC*)
                   14188:             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'
                   14189:             # Commands to make compiler produce verbose output that lists
                   14190:             # what "hidden" libraries, object files and flags are used when
                   14191:             # linking a shared library.
                   14192:             #
                   14193:             # There doesn't appear to be a way to prevent this compiler from
                   14194:             # explicitly linking system object files so we need to strip them
                   14195:             # from the output so that they don't get included in the library
                   14196:             # dependencies.
                   14197:             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"'
                   14198:             ;;
                   14199:           *)
                   14200:             if test "$GXX" = yes; then
                   14201:               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'
                   14202:             else
                   14203:               # FIXME: insert proper C++ library support
                   14204:               ld_shlibs_CXX=no
                   14205:             fi
                   14206:             ;;
                   14207:         esac
                   14208:         ;;
                   14209: 
                   14210:       hpux10*|hpux11*)
                   14211:         if test $with_gnu_ld = no; then
                   14212:          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   14213:          hardcode_libdir_separator_CXX=:
                   14214: 
                   14215:           case $host_cpu in
                   14216:             hppa*64*|ia64*)
                   14217:               ;;
                   14218:             *)
                   14219:              export_dynamic_flag_spec_CXX='${wl}-E'
                   14220:               ;;
                   14221:           esac
                   14222:         fi
                   14223:         case $host_cpu in
                   14224:           hppa*64*|ia64*)
                   14225:             hardcode_direct_CXX=no
                   14226:             hardcode_shlibpath_var_CXX=no
                   14227:             ;;
                   14228:           *)
                   14229:             hardcode_direct_CXX=yes
                   14230:             hardcode_direct_absolute_CXX=yes
                   14231:             hardcode_minus_L_CXX=yes # Not in the search PATH,
                   14232:                                                 # but as the default
                   14233:                                                 # location of the library.
                   14234:             ;;
                   14235:         esac
                   14236: 
                   14237:         case $cc_basename in
                   14238:           CC*)
                   14239:            # FIXME: insert proper C++ library support
                   14240:            ld_shlibs_CXX=no
                   14241:            ;;
                   14242:           aCC*)
                   14243:            case $host_cpu in
                   14244:              hppa*64*)
                   14245:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14246:                ;;
                   14247:              ia64*)
                   14248:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14249:                ;;
                   14250:              *)
                   14251:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14252:                ;;
                   14253:            esac
                   14254:            # Commands to make compiler produce verbose output that lists
                   14255:            # what "hidden" libraries, object files and flags are used when
                   14256:            # linking a shared library.
                   14257:            #
                   14258:            # There doesn't appear to be a way to prevent this compiler from
                   14259:            # explicitly linking system object files so we need to strip them
                   14260:            # from the output so that they don't get included in the library
                   14261:            # dependencies.
                   14262:            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"'
                   14263:            ;;
                   14264:           *)
                   14265:            if test "$GXX" = yes; then
                   14266:              if test $with_gnu_ld = no; then
                   14267:                case $host_cpu in
                   14268:                  hppa*64*)
                   14269:                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14270:                    ;;
                   14271:                  ia64*)
                   14272:                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14273:                    ;;
                   14274:                  *)
                   14275:                    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'
                   14276:                    ;;
                   14277:                esac
                   14278:              fi
                   14279:            else
                   14280:              # FIXME: insert proper C++ library support
                   14281:              ld_shlibs_CXX=no
                   14282:            fi
                   14283:            ;;
                   14284:         esac
                   14285:         ;;
                   14286: 
                   14287:       interix[3-9]*)
                   14288:        hardcode_direct_CXX=no
                   14289:        hardcode_shlibpath_var_CXX=no
                   14290:        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   14291:        export_dynamic_flag_spec_CXX='${wl}-E'
                   14292:        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   14293:        # Instead, shared libraries are loaded at an image base (0x10000000 by
                   14294:        # default) and relocated if they conflict, which is a slow very memory
                   14295:        # consuming and fragmenting process.  To avoid this, we pick a random,
                   14296:        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   14297:        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   14298:        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'
                   14299:        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'
                   14300:        ;;
                   14301:       irix5* | irix6*)
                   14302:         case $cc_basename in
                   14303:           CC*)
                   14304:            # SGI C++
                   14305:            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'
                   14306: 
                   14307:            # Archives containing C++ object files must be created using
                   14308:            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
                   14309:            # necessary to make sure instantiated templates are included
                   14310:            # in the archive.
                   14311:            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
                   14312:            ;;
                   14313:           *)
                   14314:            if test "$GXX" = yes; then
                   14315:              if test "$with_gnu_ld" = no; then
                   14316:                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'
                   14317:              else
                   14318:                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'
                   14319:              fi
                   14320:            fi
                   14321:            link_all_deplibs_CXX=yes
                   14322:            ;;
                   14323:         esac
                   14324:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   14325:         hardcode_libdir_separator_CXX=:
                   14326:         inherit_rpath_CXX=yes
                   14327:         ;;
                   14328: 
                   14329:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   14330:         case $cc_basename in
                   14331:           KCC*)
                   14332:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   14333: 
                   14334:            # KCC will only create a shared library if the output file
                   14335:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   14336:            # to its proper name (with version) after linking.
                   14337:            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'
                   14338:            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'
                   14339:            # Commands to make compiler produce verbose output that lists
                   14340:            # what "hidden" libraries, object files and flags are used when
                   14341:            # linking a shared library.
                   14342:            #
                   14343:            # There doesn't appear to be a way to prevent this compiler from
                   14344:            # explicitly linking system object files so we need to strip them
                   14345:            # from the output so that they don't get included in the library
                   14346:            # dependencies.
                   14347:            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"'
                   14348: 
                   14349:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   14350:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   14351: 
                   14352:            # Archives containing C++ object files must be created using
                   14353:            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
                   14354:            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
                   14355:            ;;
                   14356:          icpc* | ecpc* )
                   14357:            # Intel C++
                   14358:            with_gnu_ld=yes
                   14359:            # version 8.0 and above of icpc choke on multiply defined symbols
                   14360:            # if we add $predep_objects and $postdep_objects, however 7.1 and
                   14361:            # earlier do not add the objects themselves.
                   14362:            case `$CC -V 2>&1` in
                   14363:              *"Version 7."*)
                   14364:                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   14365:                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'
                   14366:                ;;
                   14367:              *)  # Version 8.0 or newer
                   14368:                tmp_idyn=
                   14369:                case $host_cpu in
                   14370:                  ia64*) tmp_idyn=' -i_dynamic';;
                   14371:                esac
                   14372:                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   14373:                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'
                   14374:                ;;
                   14375:            esac
                   14376:            archive_cmds_need_lc_CXX=no
                   14377:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   14378:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   14379:            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   14380:            ;;
                   14381:           pgCC* | pgcpp*)
                   14382:             # Portland Group C++ compiler
                   14383:            case `$CC -V` in
                   14384:            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
                   14385:              prelink_cmds_CXX='tpldir=Template.dir~
                   14386:                rm -rf $tpldir~
                   14387:                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
                   14388:                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
                   14389:              old_archive_cmds_CXX='tpldir=Template.dir~
                   14390:                rm -rf $tpldir~
                   14391:                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
                   14392:                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
                   14393:                $RANLIB $oldlib'
                   14394:              archive_cmds_CXX='tpldir=Template.dir~
                   14395:                rm -rf $tpldir~
                   14396:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   14397:                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   14398:              archive_expsym_cmds_CXX='tpldir=Template.dir~
                   14399:                rm -rf $tpldir~
                   14400:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   14401:                $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'
                   14402:              ;;
                   14403:            *) # Version 6 and above use weak symbols
                   14404:              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   14405:              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'
                   14406:              ;;
                   14407:            esac
                   14408: 
                   14409:            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
                   14410:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   14411:            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'
                   14412:             ;;
                   14413:          cxx*)
                   14414:            # Compaq C++
                   14415:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   14416:            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'
                   14417: 
                   14418:            runpath_var=LD_RUN_PATH
                   14419:            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   14420:            hardcode_libdir_separator_CXX=:
                   14421: 
                   14422:            # Commands to make compiler produce verbose output that lists
                   14423:            # what "hidden" libraries, object files and flags are used when
                   14424:            # linking a shared library.
                   14425:            #
                   14426:            # There doesn't appear to be a way to prevent this compiler from
                   14427:            # explicitly linking system object files so we need to strip them
                   14428:            # from the output so that they don't get included in the library
                   14429:            # dependencies.
                   14430:            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'
                   14431:            ;;
                   14432:          xl* | mpixl* | bgxl*)
                   14433:            # IBM XL 8.0 on PPC, with GNU ld
                   14434:            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   14435:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   14436:            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   14437:            if test "x$supports_anon_versioning" = xyes; then
                   14438:              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
                   14439:                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   14440:                echo "local: *; };" >> $output_objdir/$libname.ver~
                   14441:                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   14442:            fi
                   14443:            ;;
                   14444:          *)
                   14445:            case `$CC -V 2>&1 | sed 5q` in
                   14446:            *Sun\ C*)
                   14447:              # Sun C++ 5.9
                   14448:              no_undefined_flag_CXX=' -zdefs'
                   14449:              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14450:              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'
                   14451:              hardcode_libdir_flag_spec_CXX='-R$libdir'
                   14452:              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'
                   14453:              compiler_needs_object_CXX=yes
                   14454: 
                   14455:              # Not sure whether something based on
                   14456:              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
                   14457:              # would be better.
                   14458:              output_verbose_link_cmd='func_echo_all'
                   14459: 
                   14460:              # Archives containing C++ object files must be created using
                   14461:              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   14462:              # necessary to make sure instantiated templates are included
                   14463:              # in the archive.
                   14464:              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   14465:              ;;
                   14466:            esac
                   14467:            ;;
                   14468:        esac
                   14469:        ;;
                   14470: 
                   14471:       lynxos*)
                   14472:         # FIXME: insert proper C++ library support
                   14473:        ld_shlibs_CXX=no
                   14474:        ;;
                   14475: 
                   14476:       m88k*)
                   14477:         # FIXME: insert proper C++ library support
                   14478:         ld_shlibs_CXX=no
                   14479:        ;;
                   14480: 
                   14481:       mvs*)
                   14482:         case $cc_basename in
                   14483:           cxx*)
                   14484:            # FIXME: insert proper C++ library support
                   14485:            ld_shlibs_CXX=no
                   14486:            ;;
                   14487:          *)
                   14488:            # FIXME: insert proper C++ library support
                   14489:            ld_shlibs_CXX=no
                   14490:            ;;
                   14491:        esac
                   14492:        ;;
                   14493: 
                   14494:       netbsd*)
                   14495:         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   14496:          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
                   14497:          wlarc=
                   14498:          hardcode_libdir_flag_spec_CXX='-R$libdir'
                   14499:          hardcode_direct_CXX=yes
                   14500:          hardcode_shlibpath_var_CXX=no
                   14501:        fi
                   14502:        # Workaround some broken pre-1.5 toolchains
                   14503:        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
                   14504:        ;;
                   14505: 
                   14506:       *nto* | *qnx*)
                   14507:         ld_shlibs_CXX=yes
                   14508:        ;;
                   14509: 
                   14510:       openbsd2*)
                   14511:         # C++ shared libraries are fairly broken
                   14512:        ld_shlibs_CXX=no
                   14513:        ;;
                   14514: 
                   14515:       openbsd*)
                   14516:        if test -f /usr/libexec/ld.so; then
                   14517:          hardcode_direct_CXX=yes
                   14518:          hardcode_shlibpath_var_CXX=no
                   14519:          hardcode_direct_absolute_CXX=yes
                   14520:          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   14521:          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   14522:          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   14523:            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
                   14524:            export_dynamic_flag_spec_CXX='${wl}-E'
                   14525:            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   14526:          fi
                   14527:          output_verbose_link_cmd=func_echo_all
                   14528:        else
                   14529:          ld_shlibs_CXX=no
                   14530:        fi
                   14531:        ;;
                   14532: 
                   14533:       osf3* | osf4* | osf5*)
                   14534:         case $cc_basename in
                   14535:           KCC*)
                   14536:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   14537: 
                   14538:            # KCC will only create a shared library if the output file
                   14539:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   14540:            # to its proper name (with version) after linking.
                   14541:            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'
                   14542: 
                   14543:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   14544:            hardcode_libdir_separator_CXX=:
                   14545: 
                   14546:            # Archives containing C++ object files must be created using
                   14547:            # the KAI C++ compiler.
                   14548:            case $host in
                   14549:              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
                   14550:              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
                   14551:            esac
                   14552:            ;;
                   14553:           RCC*)
                   14554:            # Rational C++ 2.4.1
                   14555:            # FIXME: insert proper C++ library support
                   14556:            ld_shlibs_CXX=no
                   14557:            ;;
                   14558:           cxx*)
                   14559:            case $host in
                   14560:              osf3*)
                   14561:                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   14562:                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'
                   14563:                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   14564:                ;;
                   14565:              *)
                   14566:                allow_undefined_flag_CXX=' -expect_unresolved \*'
                   14567:                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'
                   14568:                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
                   14569:                  echo "-hidden">> $lib.exp~
                   14570:                  $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~
                   14571:                  $RM $lib.exp'
                   14572:                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   14573:                ;;
                   14574:            esac
                   14575: 
                   14576:            hardcode_libdir_separator_CXX=:
                   14577: 
                   14578:            # Commands to make compiler produce verbose output that lists
                   14579:            # what "hidden" libraries, object files and flags are used when
                   14580:            # linking a shared library.
                   14581:            #
                   14582:            # There doesn't appear to be a way to prevent this compiler from
                   14583:            # explicitly linking system object files so we need to strip them
                   14584:            # from the output so that they don't get included in the library
                   14585:            # dependencies.
                   14586:            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"'
                   14587:            ;;
                   14588:          *)
                   14589:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   14590:              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   14591:              case $host in
                   14592:                osf3*)
                   14593:                  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'
                   14594:                  ;;
                   14595:                *)
                   14596:                  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'
                   14597:                  ;;
                   14598:              esac
                   14599: 
                   14600:              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   14601:              hardcode_libdir_separator_CXX=:
                   14602: 
                   14603:              # Commands to make compiler produce verbose output that lists
                   14604:              # what "hidden" libraries, object files and flags are used when
                   14605:              # linking a shared library.
                   14606:              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   14607: 
                   14608:            else
                   14609:              # FIXME: insert proper C++ library support
                   14610:              ld_shlibs_CXX=no
                   14611:            fi
                   14612:            ;;
                   14613:         esac
                   14614:         ;;
                   14615: 
                   14616:       psos*)
                   14617:         # FIXME: insert proper C++ library support
                   14618:         ld_shlibs_CXX=no
                   14619:         ;;
                   14620: 
                   14621:       sunos4*)
                   14622:         case $cc_basename in
                   14623:           CC*)
                   14624:            # Sun C++ 4.x
                   14625:            # FIXME: insert proper C++ library support
                   14626:            ld_shlibs_CXX=no
                   14627:            ;;
                   14628:           lcc*)
                   14629:            # Lucid
                   14630:            # FIXME: insert proper C++ library support
                   14631:            ld_shlibs_CXX=no
                   14632:            ;;
                   14633:           *)
                   14634:            # FIXME: insert proper C++ library support
                   14635:            ld_shlibs_CXX=no
                   14636:            ;;
                   14637:         esac
                   14638:         ;;
                   14639: 
                   14640:       solaris*)
                   14641:         case $cc_basename in
                   14642:           CC* | sunCC*)
                   14643:            # Sun C++ 4.2, 5.x and Centerline C++
                   14644:             archive_cmds_need_lc_CXX=yes
                   14645:            no_undefined_flag_CXX=' -zdefs'
                   14646:            archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14647:            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   14648:              $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'
                   14649: 
                   14650:            hardcode_libdir_flag_spec_CXX='-R$libdir'
                   14651:            hardcode_shlibpath_var_CXX=no
                   14652:            case $host_os in
                   14653:              solaris2.[0-5] | solaris2.[0-5].*) ;;
                   14654:              *)
                   14655:                # The compiler driver will combine and reorder linker options,
                   14656:                # but understands `-z linker_flag'.
                   14657:                # Supported since Solaris 2.6 (maybe 2.5.1?)
                   14658:                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
                   14659:                ;;
                   14660:            esac
                   14661:            link_all_deplibs_CXX=yes
                   14662: 
                   14663:            output_verbose_link_cmd='func_echo_all'
                   14664: 
                   14665:            # Archives containing C++ object files must be created using
                   14666:            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   14667:            # necessary to make sure instantiated templates are included
                   14668:            # in the archive.
                   14669:            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   14670:            ;;
                   14671:           gcx*)
                   14672:            # Green Hills C++ Compiler
                   14673:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   14674: 
                   14675:            # The C++ compiler must be used to create the archive.
                   14676:            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
                   14677:            ;;
                   14678:           *)
                   14679:            # GNU C++ compiler with Solaris linker
                   14680:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   14681:              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
                   14682:              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
                   14683:                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   14684:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   14685:                  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   14686: 
                   14687:                # Commands to make compiler produce verbose output that lists
                   14688:                # what "hidden" libraries, object files and flags are used when
                   14689:                # linking a shared library.
                   14690:                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   14691:              else
                   14692:                # g++ 2.7 appears to require `-G' NOT `-shared' on this
                   14693:                # platform.
                   14694:                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   14695:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   14696:                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   14697: 
                   14698:                # Commands to make compiler produce verbose output that lists
                   14699:                # what "hidden" libraries, object files and flags are used when
                   14700:                # linking a shared library.
                   14701:                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   14702:              fi
                   14703: 
                   14704:              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
                   14705:              case $host_os in
                   14706:                solaris2.[0-5] | solaris2.[0-5].*) ;;
                   14707:                *)
                   14708:                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   14709:                  ;;
                   14710:              esac
                   14711:            fi
                   14712:            ;;
                   14713:         esac
                   14714:         ;;
                   14715: 
                   14716:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   14717:       no_undefined_flag_CXX='${wl}-z,text'
                   14718:       archive_cmds_need_lc_CXX=no
                   14719:       hardcode_shlibpath_var_CXX=no
                   14720:       runpath_var='LD_RUN_PATH'
                   14721: 
                   14722:       case $cc_basename in
                   14723:         CC*)
                   14724:          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14725:          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14726:          ;;
                   14727:        *)
                   14728:          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14729:          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14730:          ;;
                   14731:       esac
                   14732:       ;;
                   14733: 
                   14734:       sysv5* | sco3.2v5* | sco5v6*)
                   14735:        # Note: We can NOT use -z defs as we might desire, because we do not
                   14736:        # link with -lc, and that would cause any symbols used from libc to
                   14737:        # always be unresolved, which means just about no library would
                   14738:        # ever link correctly.  If we're not using GNU ld we use -z text
                   14739:        # though, which does catch some bad symbols but isn't as heavy-handed
                   14740:        # as -z defs.
                   14741:        no_undefined_flag_CXX='${wl}-z,text'
                   14742:        allow_undefined_flag_CXX='${wl}-z,nodefs'
                   14743:        archive_cmds_need_lc_CXX=no
                   14744:        hardcode_shlibpath_var_CXX=no
                   14745:        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
                   14746:        hardcode_libdir_separator_CXX=':'
                   14747:        link_all_deplibs_CXX=yes
                   14748:        export_dynamic_flag_spec_CXX='${wl}-Bexport'
                   14749:        runpath_var='LD_RUN_PATH'
                   14750: 
                   14751:        case $cc_basename in
                   14752:           CC*)
                   14753:            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14754:            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14755:            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
                   14756:              '"$old_archive_cmds_CXX"
                   14757:            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
                   14758:              '"$reload_cmds_CXX"
                   14759:            ;;
                   14760:          *)
                   14761:            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14762:            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14763:            ;;
                   14764:        esac
                   14765:       ;;
                   14766: 
                   14767:       tandem*)
                   14768:         case $cc_basename in
                   14769:           NCC*)
                   14770:            # NonStop-UX NCC 3.20
                   14771:            # FIXME: insert proper C++ library support
                   14772:            ld_shlibs_CXX=no
                   14773:            ;;
                   14774:           *)
                   14775:            # FIXME: insert proper C++ library support
                   14776:            ld_shlibs_CXX=no
                   14777:            ;;
                   14778:         esac
                   14779:         ;;
                   14780: 
                   14781:       vxworks*)
                   14782:         # FIXME: insert proper C++ library support
                   14783:         ld_shlibs_CXX=no
                   14784:         ;;
                   14785: 
                   14786:       *)
                   14787:         # FIXME: insert proper C++ library support
                   14788:         ld_shlibs_CXX=no
                   14789:         ;;
                   14790:     esac
                   14791: 
1.150     moko     14792:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
                   14793: $as_echo "$ld_shlibs_CXX" >&6; }
1.128     moko     14794:     test "$ld_shlibs_CXX" = no && can_build_shared=no
                   14795: 
                   14796:     GCC_CXX="$GXX"
                   14797:     LD_CXX="$LD"
                   14798: 
                   14799:     ## CAVEAT EMPTOR:
                   14800:     ## There is no encapsulation within the following macros, do not change
                   14801:     ## the running order or otherwise move them around unless you know exactly
                   14802:     ## what you are doing...
                   14803:     # Dependencies to place before and after the object being linked:
                   14804: predep_objects_CXX=
                   14805: postdep_objects_CXX=
                   14806: predeps_CXX=
                   14807: postdeps_CXX=
                   14808: compiler_lib_search_path_CXX=
                   14809: 
                   14810: cat > conftest.$ac_ext <<_LT_EOF
                   14811: class Foo
                   14812: {
                   14813: public:
                   14814:   Foo (void) { a = 0; }
                   14815: private:
                   14816:   int a;
                   14817: };
                   14818: _LT_EOF
                   14819: 
                   14820: 
                   14821: _lt_libdeps_save_CFLAGS=$CFLAGS
                   14822: case "$CC $CFLAGS " in #(
                   14823: *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
                   14824: *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
                   14825: *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
                   14826: esac
                   14827: 
1.150     moko     14828: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     14829:   (eval $ac_compile) 2>&5
                   14830:   ac_status=$?
1.150     moko     14831:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   14832:   test $ac_status = 0; }; then
1.128     moko     14833:   # Parse the compiler output and extract the necessary
                   14834:   # objects, libraries and library flags.
                   14835: 
                   14836:   # Sentinel used to keep track of whether or not we are before
                   14837:   # the conftest object file.
                   14838:   pre_test_object_deps_done=no
                   14839: 
                   14840:   for p in `eval "$output_verbose_link_cmd"`; do
                   14841:     case ${prev}${p} in
                   14842: 
                   14843:     -L* | -R* | -l*)
                   14844:        # Some compilers place space between "-{L,R}" and the path.
                   14845:        # Remove the space.
                   14846:        if test $p = "-L" ||
                   14847:           test $p = "-R"; then
                   14848:         prev=$p
                   14849:         continue
                   14850:        fi
                   14851: 
                   14852:        # Expand the sysroot to ease extracting the directories later.
                   14853:        if test -z "$prev"; then
                   14854:          case $p in
                   14855:          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
                   14856:          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
                   14857:          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
                   14858:          esac
                   14859:        fi
                   14860:        case $p in
                   14861:        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
                   14862:        esac
                   14863:        if test "$pre_test_object_deps_done" = no; then
                   14864:         case ${prev} in
                   14865:         -L | -R)
                   14866:           # Internal compiler library paths should come after those
                   14867:           # provided the user.  The postdeps already come after the
                   14868:           # user supplied libs so there is no need to process them.
                   14869:           if test -z "$compiler_lib_search_path_CXX"; then
                   14870:             compiler_lib_search_path_CXX="${prev}${p}"
                   14871:           else
                   14872:             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
                   14873:           fi
                   14874:           ;;
                   14875:         # The "-l" case would never come before the object being
                   14876:         # linked, so don't bother handling this case.
                   14877:         esac
                   14878:        else
                   14879:         if test -z "$postdeps_CXX"; then
                   14880:           postdeps_CXX="${prev}${p}"
                   14881:         else
                   14882:           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
                   14883:         fi
                   14884:        fi
                   14885:        prev=
                   14886:        ;;
                   14887: 
                   14888:     *.lto.$objext) ;; # Ignore GCC LTO objects
                   14889:     *.$objext)
                   14890:        # This assumes that the test object file only shows up
                   14891:        # once in the compiler output.
                   14892:        if test "$p" = "conftest.$objext"; then
                   14893:         pre_test_object_deps_done=yes
                   14894:         continue
                   14895:        fi
                   14896: 
                   14897:        if test "$pre_test_object_deps_done" = no; then
                   14898:         if test -z "$predep_objects_CXX"; then
                   14899:           predep_objects_CXX="$p"
                   14900:         else
                   14901:           predep_objects_CXX="$predep_objects_CXX $p"
                   14902:         fi
                   14903:        else
                   14904:         if test -z "$postdep_objects_CXX"; then
                   14905:           postdep_objects_CXX="$p"
                   14906:         else
                   14907:           postdep_objects_CXX="$postdep_objects_CXX $p"
                   14908:         fi
                   14909:        fi
                   14910:        ;;
                   14911: 
                   14912:     *) ;; # Ignore the rest.
                   14913: 
                   14914:     esac
                   14915:   done
                   14916: 
                   14917:   # Clean up.
                   14918:   rm -f a.out a.exe
                   14919: else
                   14920:   echo "libtool.m4: error: problem compiling CXX test program"
                   14921: fi
                   14922: 
                   14923: $RM -f confest.$objext
                   14924: CFLAGS=$_lt_libdeps_save_CFLAGS
                   14925: 
                   14926: # PORTME: override above test on systems where it is broken
                   14927: case $host_os in
                   14928: interix[3-9]*)
                   14929:   # Interix 3.5 installs completely hosed .la files for C++, so rather than
                   14930:   # hack all around it, let's just trust "g++" to DTRT.
                   14931:   predep_objects_CXX=
                   14932:   postdep_objects_CXX=
                   14933:   postdeps_CXX=
                   14934:   ;;
                   14935: 
                   14936: linux*)
                   14937:   case `$CC -V 2>&1 | sed 5q` in
                   14938:   *Sun\ C*)
                   14939:     # Sun C++ 5.9
                   14940: 
                   14941:     # The more standards-conforming stlport4 library is
                   14942:     # incompatible with the Cstd library. Avoid specifying
                   14943:     # it if it's in CXXFLAGS. Ignore libCrun as
                   14944:     # -library=stlport4 depends on it.
                   14945:     case " $CXX $CXXFLAGS " in
                   14946:     *" -library=stlport4 "*)
                   14947:       solaris_use_stlport4=yes
                   14948:       ;;
                   14949:     esac
                   14950: 
                   14951:     if test "$solaris_use_stlport4" != yes; then
                   14952:       postdeps_CXX='-library=Cstd -library=Crun'
                   14953:     fi
                   14954:     ;;
                   14955:   esac
                   14956:   ;;
                   14957: 
                   14958: solaris*)
                   14959:   case $cc_basename in
                   14960:   CC* | sunCC*)
                   14961:     # The more standards-conforming stlport4 library is
                   14962:     # incompatible with the Cstd library. Avoid specifying
                   14963:     # it if it's in CXXFLAGS. Ignore libCrun as
                   14964:     # -library=stlport4 depends on it.
                   14965:     case " $CXX $CXXFLAGS " in
                   14966:     *" -library=stlport4 "*)
                   14967:       solaris_use_stlport4=yes
                   14968:       ;;
                   14969:     esac
                   14970: 
                   14971:     # Adding this requires a known-good setup of shared libraries for
                   14972:     # Sun compiler versions before 5.6, else PIC objects from an old
                   14973:     # archive will be linked into the output, leading to subtle bugs.
                   14974:     if test "$solaris_use_stlport4" != yes; then
                   14975:       postdeps_CXX='-library=Cstd -library=Crun'
                   14976:     fi
                   14977:     ;;
                   14978:   esac
                   14979:   ;;
                   14980: esac
                   14981: 
                   14982: 
                   14983: case " $postdeps_CXX " in
                   14984: *" -lc "*) archive_cmds_need_lc_CXX=no ;;
                   14985: esac
                   14986:  compiler_lib_search_dirs_CXX=
                   14987: if test -n "${compiler_lib_search_path_CXX}"; then
                   14988:  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
                   14989: fi
                   14990: 
                   14991: 
                   14992: 
                   14993: 
                   14994: 
                   14995: 
                   14996: 
                   14997: 
                   14998: 
                   14999: 
                   15000: 
                   15001: 
                   15002: 
                   15003: 
                   15004: 
                   15005: 
                   15006: 
                   15007: 
                   15008: 
                   15009: 
                   15010: 
                   15011: 
                   15012: 
                   15013: 
                   15014: 
                   15015: 
                   15016: 
                   15017: 
                   15018: 
                   15019: 
                   15020: 
                   15021:     lt_prog_compiler_wl_CXX=
                   15022: lt_prog_compiler_pic_CXX=
                   15023: lt_prog_compiler_static_CXX=
                   15024: 
                   15025: 
                   15026:   # C++ specific cases for pic, static, wl, etc.
                   15027:   if test "$GXX" = yes; then
                   15028:     lt_prog_compiler_wl_CXX='-Wl,'
                   15029:     lt_prog_compiler_static_CXX='-static'
                   15030: 
                   15031:     case $host_os in
                   15032:     aix*)
                   15033:       # All AIX code is PIC.
                   15034:       if test "$host_cpu" = ia64; then
                   15035:        # AIX 5 now supports IA64 processor
                   15036:        lt_prog_compiler_static_CXX='-Bstatic'
                   15037:       fi
                   15038:       ;;
                   15039: 
                   15040:     amigaos*)
                   15041:       case $host_cpu in
                   15042:       powerpc)
                   15043:             # see comment about AmigaOS4 .so support
                   15044:             lt_prog_compiler_pic_CXX='-fPIC'
                   15045:         ;;
                   15046:       m68k)
                   15047:             # FIXME: we need at least 68020 code to build shared libraries, but
                   15048:             # adding the `-m68020' flag to GCC prevents building anything better,
                   15049:             # like `-m68040'.
                   15050:             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
                   15051:         ;;
                   15052:       esac
                   15053:       ;;
                   15054: 
                   15055:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   15056:       # PIC is the default for these OSes.
                   15057:       ;;
                   15058:     mingw* | cygwin* | os2* | pw32* | cegcc*)
                   15059:       # This hack is so that the source file can tell whether it is being
                   15060:       # built for inclusion in a dll (and should export symbols for example).
                   15061:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   15062:       # (--disable-auto-import) libraries
                   15063:       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   15064:       ;;
                   15065:     darwin* | rhapsody*)
                   15066:       # PIC is the default on this platform
                   15067:       # Common symbols not allowed in MH_DYLIB files
                   15068:       lt_prog_compiler_pic_CXX='-fno-common'
                   15069:       ;;
                   15070:     *djgpp*)
                   15071:       # DJGPP does not support shared libraries at all
                   15072:       lt_prog_compiler_pic_CXX=
                   15073:       ;;
                   15074:     haiku*)
                   15075:       # PIC is the default for Haiku.
                   15076:       # The "-static" flag exists, but is broken.
                   15077:       lt_prog_compiler_static_CXX=
                   15078:       ;;
                   15079:     interix[3-9]*)
                   15080:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   15081:       # Instead, we relocate shared libraries at runtime.
                   15082:       ;;
                   15083:     sysv4*MP*)
                   15084:       if test -d /usr/nec; then
                   15085:        lt_prog_compiler_pic_CXX=-Kconform_pic
                   15086:       fi
                   15087:       ;;
                   15088:     hpux*)
                   15089:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   15090:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   15091:       # sets the default TLS model and affects inlining.
                   15092:       case $host_cpu in
                   15093:       hppa*64*)
                   15094:        ;;
                   15095:       *)
                   15096:        lt_prog_compiler_pic_CXX='-fPIC'
                   15097:        ;;
                   15098:       esac
                   15099:       ;;
                   15100:     *qnx* | *nto*)
                   15101:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   15102:       # it will coredump.
                   15103:       lt_prog_compiler_pic_CXX='-fPIC -shared'
                   15104:       ;;
                   15105:     *)
                   15106:       lt_prog_compiler_pic_CXX='-fPIC'
                   15107:       ;;
                   15108:     esac
                   15109:   else
                   15110:     case $host_os in
                   15111:       aix[4-9]*)
                   15112:        # All AIX code is PIC.
                   15113:        if test "$host_cpu" = ia64; then
                   15114:          # AIX 5 now supports IA64 processor
                   15115:          lt_prog_compiler_static_CXX='-Bstatic'
                   15116:        else
                   15117:          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
                   15118:        fi
                   15119:        ;;
                   15120:       chorus*)
                   15121:        case $cc_basename in
                   15122:        cxch68*)
                   15123:          # Green Hills C++ Compiler
                   15124:          # _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"
                   15125:          ;;
                   15126:        esac
                   15127:        ;;
                   15128:       mingw* | cygwin* | os2* | pw32* | cegcc*)
                   15129:        # This hack is so that the source file can tell whether it is being
                   15130:        # built for inclusion in a dll (and should export symbols for example).
                   15131:        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   15132:        ;;
                   15133:       dgux*)
                   15134:        case $cc_basename in
                   15135:          ec++*)
                   15136:            lt_prog_compiler_pic_CXX='-KPIC'
                   15137:            ;;
                   15138:          ghcx*)
                   15139:            # Green Hills C++ Compiler
                   15140:            lt_prog_compiler_pic_CXX='-pic'
                   15141:            ;;
                   15142:          *)
                   15143:            ;;
                   15144:        esac
                   15145:        ;;
                   15146:       freebsd* | dragonfly*)
                   15147:        # FreeBSD uses GNU C++
                   15148:        ;;
                   15149:       hpux9* | hpux10* | hpux11*)
                   15150:        case $cc_basename in
                   15151:          CC*)
                   15152:            lt_prog_compiler_wl_CXX='-Wl,'
                   15153:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   15154:            if test "$host_cpu" != ia64; then
                   15155:              lt_prog_compiler_pic_CXX='+Z'
                   15156:            fi
                   15157:            ;;
                   15158:          aCC*)
                   15159:            lt_prog_compiler_wl_CXX='-Wl,'
                   15160:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   15161:            case $host_cpu in
                   15162:            hppa*64*|ia64*)
                   15163:              # +Z the default
                   15164:              ;;
                   15165:            *)
                   15166:              lt_prog_compiler_pic_CXX='+Z'
                   15167:              ;;
                   15168:            esac
                   15169:            ;;
                   15170:          *)
                   15171:            ;;
                   15172:        esac
                   15173:        ;;
                   15174:       interix*)
                   15175:        # This is c89, which is MS Visual C++ (no shared libs)
                   15176:        # Anyone wants to do a port?
                   15177:        ;;
                   15178:       irix5* | irix6* | nonstopux*)
                   15179:        case $cc_basename in
                   15180:          CC*)
                   15181:            lt_prog_compiler_wl_CXX='-Wl,'
                   15182:            lt_prog_compiler_static_CXX='-non_shared'
                   15183:            # CC pic flag -KPIC is the default.
                   15184:            ;;
                   15185:          *)
                   15186:            ;;
                   15187:        esac
                   15188:        ;;
                   15189:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   15190:        case $cc_basename in
                   15191:          KCC*)
                   15192:            # KAI C++ Compiler
                   15193:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   15194:            lt_prog_compiler_pic_CXX='-fPIC'
                   15195:            ;;
                   15196:          ecpc* )
                   15197:            # old Intel C++ for x86_64 which still supported -KPIC.
                   15198:            lt_prog_compiler_wl_CXX='-Wl,'
                   15199:            lt_prog_compiler_pic_CXX='-KPIC'
                   15200:            lt_prog_compiler_static_CXX='-static'
                   15201:            ;;
                   15202:          icpc* )
                   15203:            # Intel C++, used to be incompatible with GCC.
                   15204:            # ICC 10 doesn't accept -KPIC any more.
                   15205:            lt_prog_compiler_wl_CXX='-Wl,'
                   15206:            lt_prog_compiler_pic_CXX='-fPIC'
                   15207:            lt_prog_compiler_static_CXX='-static'
                   15208:            ;;
                   15209:          pgCC* | pgcpp*)
                   15210:            # Portland Group C++ compiler
                   15211:            lt_prog_compiler_wl_CXX='-Wl,'
                   15212:            lt_prog_compiler_pic_CXX='-fpic'
                   15213:            lt_prog_compiler_static_CXX='-Bstatic'
                   15214:            ;;
                   15215:          cxx*)
                   15216:            # Compaq C++
                   15217:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   15218:            # Linux and Compaq Tru64 Unix objects are PIC.
                   15219:            lt_prog_compiler_pic_CXX=
                   15220:            lt_prog_compiler_static_CXX='-non_shared'
                   15221:            ;;
                   15222:          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
                   15223:            # IBM XL 8.0, 9.0 on PPC and BlueGene
                   15224:            lt_prog_compiler_wl_CXX='-Wl,'
                   15225:            lt_prog_compiler_pic_CXX='-qpic'
                   15226:            lt_prog_compiler_static_CXX='-qstaticlink'
                   15227:            ;;
                   15228:          *)
                   15229:            case `$CC -V 2>&1 | sed 5q` in
                   15230:            *Sun\ C*)
                   15231:              # Sun C++ 5.9
                   15232:              lt_prog_compiler_pic_CXX='-KPIC'
                   15233:              lt_prog_compiler_static_CXX='-Bstatic'
                   15234:              lt_prog_compiler_wl_CXX='-Qoption ld '
                   15235:              ;;
                   15236:            esac
                   15237:            ;;
                   15238:        esac
                   15239:        ;;
                   15240:       lynxos*)
                   15241:        ;;
                   15242:       m88k*)
                   15243:        ;;
                   15244:       mvs*)
                   15245:        case $cc_basename in
                   15246:          cxx*)
                   15247:            lt_prog_compiler_pic_CXX='-W c,exportall'
                   15248:            ;;
                   15249:          *)
                   15250:            ;;
                   15251:        esac
                   15252:        ;;
                   15253:       netbsd*)
                   15254:        ;;
                   15255:       *qnx* | *nto*)
                   15256:         # QNX uses GNU C++, but need to define -shared option too, otherwise
                   15257:         # it will coredump.
                   15258:         lt_prog_compiler_pic_CXX='-fPIC -shared'
                   15259:         ;;
                   15260:       osf3* | osf4* | osf5*)
                   15261:        case $cc_basename in
                   15262:          KCC*)
                   15263:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   15264:            ;;
                   15265:          RCC*)
                   15266:            # Rational C++ 2.4.1
                   15267:            lt_prog_compiler_pic_CXX='-pic'
                   15268:            ;;
                   15269:          cxx*)
                   15270:            # Digital/Compaq C++
                   15271:            lt_prog_compiler_wl_CXX='-Wl,'
                   15272:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   15273:            # Linux and Compaq Tru64 Unix objects are PIC.
                   15274:            lt_prog_compiler_pic_CXX=
                   15275:            lt_prog_compiler_static_CXX='-non_shared'
                   15276:            ;;
                   15277:          *)
                   15278:            ;;
                   15279:        esac
                   15280:        ;;
                   15281:       psos*)
                   15282:        ;;
                   15283:       solaris*)
                   15284:        case $cc_basename in
                   15285:          CC* | sunCC*)
                   15286:            # Sun C++ 4.2, 5.x and Centerline C++
                   15287:            lt_prog_compiler_pic_CXX='-KPIC'
                   15288:            lt_prog_compiler_static_CXX='-Bstatic'
                   15289:            lt_prog_compiler_wl_CXX='-Qoption ld '
                   15290:            ;;
                   15291:          gcx*)
                   15292:            # Green Hills C++ Compiler
                   15293:            lt_prog_compiler_pic_CXX='-PIC'
                   15294:            ;;
                   15295:          *)
                   15296:            ;;
                   15297:        esac
                   15298:        ;;
                   15299:       sunos4*)
                   15300:        case $cc_basename in
                   15301:          CC*)
                   15302:            # Sun C++ 4.x
                   15303:            lt_prog_compiler_pic_CXX='-pic'
                   15304:            lt_prog_compiler_static_CXX='-Bstatic'
                   15305:            ;;
                   15306:          lcc*)
                   15307:            # Lucid
                   15308:            lt_prog_compiler_pic_CXX='-pic'
                   15309:            ;;
                   15310:          *)
                   15311:            ;;
                   15312:        esac
                   15313:        ;;
                   15314:       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   15315:        case $cc_basename in
                   15316:          CC*)
                   15317:            lt_prog_compiler_wl_CXX='-Wl,'
                   15318:            lt_prog_compiler_pic_CXX='-KPIC'
                   15319:            lt_prog_compiler_static_CXX='-Bstatic'
                   15320:            ;;
                   15321:        esac
                   15322:        ;;
                   15323:       tandem*)
                   15324:        case $cc_basename in
                   15325:          NCC*)
                   15326:            # NonStop-UX NCC 3.20
                   15327:            lt_prog_compiler_pic_CXX='-KPIC'
                   15328:            ;;
                   15329:          *)
                   15330:            ;;
                   15331:        esac
                   15332:        ;;
                   15333:       vxworks*)
                   15334:        ;;
                   15335:       *)
                   15336:        lt_prog_compiler_can_build_shared_CXX=no
                   15337:        ;;
                   15338:     esac
                   15339:   fi
                   15340: 
                   15341: case $host_os in
                   15342:   # For platforms which do not support PIC, -DPIC is meaningless:
                   15343:   *djgpp*)
                   15344:     lt_prog_compiler_pic_CXX=
                   15345:     ;;
                   15346:   *)
                   15347:     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
                   15348:     ;;
                   15349: esac
                   15350: 
1.150     moko     15351: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   15352: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
                   15353: if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
                   15354:   $as_echo_n "(cached) " >&6
1.128     moko     15355: else
                   15356:   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
                   15357: fi
1.150     moko     15358: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
                   15359: $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
1.128     moko     15360: lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
                   15361: 
                   15362: #
                   15363: # Check to make sure the PIC flag actually works.
                   15364: #
                   15365: if test -n "$lt_prog_compiler_pic_CXX"; then
1.150     moko     15366:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
                   15367: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
                   15368: if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
                   15369:   $as_echo_n "(cached) " >&6
1.128     moko     15370: else
                   15371:   lt_cv_prog_compiler_pic_works_CXX=no
                   15372:    ac_outfile=conftest.$ac_objext
                   15373:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   15374:    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
                   15375:    # Insert the option either (1) after the last *FLAGS variable, or
                   15376:    # (2) before a word containing "conftest.", or (3) at the end.
                   15377:    # Note that $ac_compile itself does not contain backslashes and begins
                   15378:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   15379:    # The option is referenced via a variable to avoid confusing sed.
                   15380:    lt_compile=`echo "$ac_compile" | $SED \
                   15381:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   15382:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   15383:    -e 's:$: $lt_compiler_flag:'`
                   15384:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   15385:    (eval "$lt_compile" 2>conftest.err)
                   15386:    ac_status=$?
                   15387:    cat conftest.err >&5
                   15388:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15389:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   15390:      # The compiler can only warn and ignore the option if not recognized
                   15391:      # So say no if there are warnings other than the usual output.
                   15392:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   15393:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   15394:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   15395:        lt_cv_prog_compiler_pic_works_CXX=yes
                   15396:      fi
                   15397:    fi
                   15398:    $RM conftest*
                   15399: 
                   15400: fi
1.150     moko     15401: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
                   15402: $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
1.128     moko     15403: 
                   15404: if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
                   15405:     case $lt_prog_compiler_pic_CXX in
                   15406:      "" | " "*) ;;
                   15407:      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
                   15408:      esac
                   15409: else
                   15410:     lt_prog_compiler_pic_CXX=
                   15411:      lt_prog_compiler_can_build_shared_CXX=no
                   15412: fi
                   15413: 
                   15414: fi
                   15415: 
                   15416: 
                   15417: 
                   15418: 
                   15419: 
                   15420: #
                   15421: # Check to make sure the static flag actually works.
                   15422: #
                   15423: wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
1.150     moko     15424: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   15425: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   15426: if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
                   15427:   $as_echo_n "(cached) " >&6
1.128     moko     15428: else
                   15429:   lt_cv_prog_compiler_static_works_CXX=no
                   15430:    save_LDFLAGS="$LDFLAGS"
                   15431:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   15432:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   15433:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   15434:      # The linker can only warn and ignore the option if not recognized
                   15435:      # So say no if there are warnings
                   15436:      if test -s conftest.err; then
                   15437:        # Append any errors to the config.log.
                   15438:        cat conftest.err 1>&5
                   15439:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   15440:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   15441:        if diff conftest.exp conftest.er2 >/dev/null; then
                   15442:          lt_cv_prog_compiler_static_works_CXX=yes
                   15443:        fi
                   15444:      else
                   15445:        lt_cv_prog_compiler_static_works_CXX=yes
                   15446:      fi
                   15447:    fi
                   15448:    $RM -r conftest*
                   15449:    LDFLAGS="$save_LDFLAGS"
                   15450: 
                   15451: fi
1.150     moko     15452: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
                   15453: $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
1.128     moko     15454: 
                   15455: if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
                   15456:     :
                   15457: else
                   15458:     lt_prog_compiler_static_CXX=
                   15459: fi
                   15460: 
                   15461: 
                   15462: 
                   15463: 
1.150     moko     15464:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   15465: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   15466: if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
                   15467:   $as_echo_n "(cached) " >&6
1.128     moko     15468: else
                   15469:   lt_cv_prog_compiler_c_o_CXX=no
                   15470:    $RM -r conftest 2>/dev/null
                   15471:    mkdir conftest
                   15472:    cd conftest
                   15473:    mkdir out
                   15474:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   15475: 
                   15476:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   15477:    # Insert the option either (1) after the last *FLAGS variable, or
                   15478:    # (2) before a word containing "conftest.", or (3) at the end.
                   15479:    # Note that $ac_compile itself does not contain backslashes and begins
                   15480:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   15481:    lt_compile=`echo "$ac_compile" | $SED \
                   15482:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   15483:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   15484:    -e 's:$: $lt_compiler_flag:'`
                   15485:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   15486:    (eval "$lt_compile" 2>out/conftest.err)
                   15487:    ac_status=$?
                   15488:    cat out/conftest.err >&5
                   15489:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15490:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   15491:    then
                   15492:      # The compiler can only warn and ignore the option if not recognized
                   15493:      # So say no if there are warnings
                   15494:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   15495:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   15496:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   15497:        lt_cv_prog_compiler_c_o_CXX=yes
                   15498:      fi
                   15499:    fi
                   15500:    chmod u+w . 2>&5
                   15501:    $RM conftest*
                   15502:    # SGI C++ compiler will create directory out/ii_files/ for
                   15503:    # template instantiation
                   15504:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   15505:    $RM out/* && rmdir out
                   15506:    cd ..
                   15507:    $RM -r conftest
                   15508:    $RM conftest*
                   15509: 
                   15510: fi
1.150     moko     15511: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   15512: $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
1.128     moko     15513: 
                   15514: 
                   15515: 
1.150     moko     15516:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   15517: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   15518: if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
                   15519:   $as_echo_n "(cached) " >&6
1.128     moko     15520: else
                   15521:   lt_cv_prog_compiler_c_o_CXX=no
                   15522:    $RM -r conftest 2>/dev/null
                   15523:    mkdir conftest
                   15524:    cd conftest
                   15525:    mkdir out
                   15526:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   15527: 
                   15528:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   15529:    # Insert the option either (1) after the last *FLAGS variable, or
                   15530:    # (2) before a word containing "conftest.", or (3) at the end.
                   15531:    # Note that $ac_compile itself does not contain backslashes and begins
                   15532:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   15533:    lt_compile=`echo "$ac_compile" | $SED \
                   15534:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   15535:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   15536:    -e 's:$: $lt_compiler_flag:'`
                   15537:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   15538:    (eval "$lt_compile" 2>out/conftest.err)
                   15539:    ac_status=$?
                   15540:    cat out/conftest.err >&5
                   15541:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15542:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   15543:    then
                   15544:      # The compiler can only warn and ignore the option if not recognized
                   15545:      # So say no if there are warnings
                   15546:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   15547:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   15548:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   15549:        lt_cv_prog_compiler_c_o_CXX=yes
                   15550:      fi
                   15551:    fi
                   15552:    chmod u+w . 2>&5
                   15553:    $RM conftest*
                   15554:    # SGI C++ compiler will create directory out/ii_files/ for
                   15555:    # template instantiation
                   15556:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   15557:    $RM out/* && rmdir out
                   15558:    cd ..
                   15559:    $RM -r conftest
                   15560:    $RM conftest*
                   15561: 
                   15562: fi
1.150     moko     15563: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   15564: $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
1.128     moko     15565: 
                   15566: 
                   15567: 
                   15568: 
                   15569: hard_links="nottested"
                   15570: if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
                   15571:   # do not overwrite the value of need_locks provided by the user
1.150     moko     15572:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   15573: $as_echo_n "checking if we can lock with hard links... " >&6; }
1.128     moko     15574:   hard_links=yes
                   15575:   $RM conftest*
                   15576:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   15577:   touch conftest.a
                   15578:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   15579:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.150     moko     15580:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   15581: $as_echo "$hard_links" >&6; }
1.128     moko     15582:   if test "$hard_links" = no; then
1.150     moko     15583:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   15584: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.128     moko     15585:     need_locks=warn
                   15586:   fi
                   15587: else
                   15588:   need_locks=no
                   15589: fi
                   15590: 
                   15591: 
                   15592: 
1.150     moko     15593:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   15594: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     15595: 
                   15596:   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   15597:   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   15598:   case $host_os in
                   15599:   aix[4-9]*)
                   15600:     # If we're using GNU nm, then we don't want the "-C" option.
                   15601:     # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   15602:     # Also, AIX nm treats weak defined symbols like other global defined
                   15603:     # symbols, whereas GNU nm marks them as "W".
                   15604:     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   15605:       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'
                   15606:     else
                   15607:       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'
                   15608:     fi
                   15609:     ;;
                   15610:   pw32*)
                   15611:     export_symbols_cmds_CXX="$ltdll_cmds"
                   15612:     ;;
                   15613:   cygwin* | mingw* | cegcc*)
                   15614:     case $cc_basename in
                   15615:     cl*)
                   15616:       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   15617:       ;;
                   15618:     *)
                   15619:       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'
                   15620:       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   15621:       ;;
                   15622:     esac
                   15623:     ;;
                   15624:   *)
                   15625:     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   15626:     ;;
                   15627:   esac
                   15628: 
1.150     moko     15629: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
                   15630: $as_echo "$ld_shlibs_CXX" >&6; }
1.128     moko     15631: test "$ld_shlibs_CXX" = no && can_build_shared=no
                   15632: 
                   15633: with_gnu_ld_CXX=$with_gnu_ld
                   15634: 
                   15635: 
                   15636: 
                   15637: 
                   15638: 
                   15639: 
                   15640: #
                   15641: # Do we need to explicitly link libc?
                   15642: #
                   15643: case "x$archive_cmds_need_lc_CXX" in
                   15644: x|xyes)
                   15645:   # Assume -lc should be added
                   15646:   archive_cmds_need_lc_CXX=yes
                   15647: 
                   15648:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   15649:     case $archive_cmds_CXX in
                   15650:     *'~'*)
                   15651:       # FIXME: we may have to deal with multi-command sequences.
                   15652:       ;;
                   15653:     '$CC '*)
                   15654:       # Test whether the compiler implicitly links with -lc since on some
                   15655:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   15656:       # to ld, don't add -lc before -lgcc.
1.150     moko     15657:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   15658: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
                   15659: if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
                   15660:   $as_echo_n "(cached) " >&6
1.128     moko     15661: else
                   15662:   $RM conftest*
                   15663:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   15664: 
1.150     moko     15665:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     15666:   (eval $ac_compile) 2>&5
                   15667:   ac_status=$?
1.150     moko     15668:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   15669:   test $ac_status = 0; } 2>conftest.err; then
1.128     moko     15670:          soname=conftest
                   15671:          lib=conftest
                   15672:          libobjs=conftest.$ac_objext
                   15673:          deplibs=
                   15674:          wl=$lt_prog_compiler_wl_CXX
                   15675:          pic_flag=$lt_prog_compiler_pic_CXX
                   15676:          compiler_flags=-v
                   15677:          linker_flags=-v
                   15678:          verstring=
                   15679:          output_objdir=.
                   15680:          libname=conftest
                   15681:          lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
                   15682:          allow_undefined_flag_CXX=
1.150     moko     15683:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1.128     moko     15684:   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   15685:   ac_status=$?
1.150     moko     15686:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   15687:   test $ac_status = 0; }
1.128     moko     15688:          then
                   15689:            lt_cv_archive_cmds_need_lc_CXX=no
                   15690:          else
                   15691:            lt_cv_archive_cmds_need_lc_CXX=yes
                   15692:          fi
                   15693:          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
                   15694:        else
                   15695:          cat conftest.err 1>&5
                   15696:        fi
                   15697:        $RM conftest*
                   15698: 
                   15699: fi
1.150     moko     15700: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
                   15701: $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
1.128     moko     15702:       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
                   15703:       ;;
                   15704:     esac
                   15705:   fi
                   15706:   ;;
                   15707: esac
                   15708: 
                   15709: 
                   15710: 
                   15711: 
                   15712: 
                   15713: 
                   15714: 
                   15715: 
                   15716: 
                   15717: 
                   15718: 
                   15719: 
                   15720: 
                   15721: 
                   15722: 
                   15723: 
                   15724: 
                   15725: 
                   15726: 
                   15727: 
                   15728: 
                   15729: 
                   15730: 
                   15731: 
                   15732: 
                   15733: 
                   15734: 
                   15735: 
                   15736: 
                   15737: 
                   15738: 
                   15739: 
                   15740: 
                   15741: 
                   15742: 
                   15743: 
                   15744: 
                   15745: 
                   15746: 
                   15747: 
                   15748: 
                   15749: 
                   15750: 
                   15751: 
                   15752: 
                   15753: 
                   15754: 
                   15755: 
                   15756: 
                   15757: 
                   15758: 
                   15759: 
                   15760: 
                   15761: 
                   15762: 
                   15763: 
                   15764: 
                   15765: 
                   15766: 
                   15767: 
                   15768: 
                   15769: 
1.150     moko     15770:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   15771: $as_echo_n "checking dynamic linker characteristics... " >&6; }
1.128     moko     15772: 
                   15773: library_names_spec=
                   15774: libname_spec='lib$name'
                   15775: soname_spec=
                   15776: shrext_cmds=".so"
                   15777: postinstall_cmds=
                   15778: postuninstall_cmds=
                   15779: finish_cmds=
                   15780: finish_eval=
                   15781: shlibpath_var=
                   15782: shlibpath_overrides_runpath=unknown
                   15783: version_type=none
                   15784: dynamic_linker="$host_os ld.so"
                   15785: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   15786: need_lib_prefix=unknown
                   15787: hardcode_into_libs=no
                   15788: 
                   15789: # when you set need_version to no, make sure it does not cause -set_version
                   15790: # flags to be left without arguments
                   15791: need_version=unknown
                   15792: 
                   15793: case $host_os in
                   15794: aix3*)
                   15795:   version_type=linux # correct to gnu/linux during the next big refactor
                   15796:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   15797:   shlibpath_var=LIBPATH
                   15798: 
                   15799:   # AIX 3 has no versioning support, so we append a major version to the name.
                   15800:   soname_spec='${libname}${release}${shared_ext}$major'
                   15801:   ;;
                   15802: 
                   15803: aix[4-9]*)
                   15804:   version_type=linux # correct to gnu/linux during the next big refactor
                   15805:   need_lib_prefix=no
                   15806:   need_version=no
                   15807:   hardcode_into_libs=yes
                   15808:   if test "$host_cpu" = ia64; then
                   15809:     # AIX 5 supports IA64
                   15810:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   15811:     shlibpath_var=LD_LIBRARY_PATH
                   15812:   else
                   15813:     # With GCC up to 2.95.x, collect2 would create an import file
                   15814:     # for dependence libraries.  The import file would start with
                   15815:     # the line `#! .'.  This would cause the generated library to
                   15816:     # depend on `.', always an invalid library.  This was fixed in
                   15817:     # development snapshots of GCC prior to 3.0.
                   15818:     case $host_os in
                   15819:       aix4 | aix4.[01] | aix4.[01].*)
                   15820:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   15821:           echo ' yes '
                   15822:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   15823:        :
                   15824:       else
                   15825:        can_build_shared=no
                   15826:       fi
                   15827:       ;;
                   15828:     esac
                   15829:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   15830:     # soname into executable. Probably we can add versioning support to
                   15831:     # collect2, so additional links can be useful in future.
                   15832:     if test "$aix_use_runtimelinking" = yes; then
                   15833:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   15834:       # instead of lib<name>.a to let people know that these are not
                   15835:       # typical AIX shared libraries.
                   15836:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15837:     else
                   15838:       # We preserve .a as extension for shared libraries through AIX4.2
                   15839:       # and later when we are not doing run time linking.
                   15840:       library_names_spec='${libname}${release}.a $libname.a'
                   15841:       soname_spec='${libname}${release}${shared_ext}$major'
                   15842:     fi
                   15843:     shlibpath_var=LIBPATH
                   15844:   fi
                   15845:   ;;
                   15846: 
                   15847: amigaos*)
                   15848:   case $host_cpu in
                   15849:   powerpc)
                   15850:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   15851:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   15852:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15853:     ;;
                   15854:   m68k)
                   15855:     library_names_spec='$libname.ixlibrary $libname.a'
                   15856:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   15857:     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'
                   15858:     ;;
                   15859:   esac
                   15860:   ;;
                   15861: 
                   15862: beos*)
                   15863:   library_names_spec='${libname}${shared_ext}'
                   15864:   dynamic_linker="$host_os ld.so"
                   15865:   shlibpath_var=LIBRARY_PATH
                   15866:   ;;
                   15867: 
                   15868: bsdi[45]*)
                   15869:   version_type=linux # correct to gnu/linux during the next big refactor
                   15870:   need_version=no
                   15871:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15872:   soname_spec='${libname}${release}${shared_ext}$major'
                   15873:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   15874:   shlibpath_var=LD_LIBRARY_PATH
                   15875:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   15876:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   15877:   # the default ld.so.conf also contains /usr/contrib/lib and
                   15878:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   15879:   # libtool to hard-code these into programs
                   15880:   ;;
                   15881: 
                   15882: cygwin* | mingw* | pw32* | cegcc*)
                   15883:   version_type=windows
                   15884:   shrext_cmds=".dll"
                   15885:   need_version=no
                   15886:   need_lib_prefix=no
                   15887: 
                   15888:   case $GCC,$cc_basename in
                   15889:   yes,*)
                   15890:     # gcc
                   15891:     library_names_spec='$libname.dll.a'
                   15892:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   15893:     postinstall_cmds='base_file=`basename \${file}`~
                   15894:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   15895:       dldir=$destdir/`dirname \$dlpath`~
                   15896:       test -d \$dldir || mkdir -p \$dldir~
                   15897:       $install_prog $dir/$dlname \$dldir/$dlname~
                   15898:       chmod a+x \$dldir/$dlname~
                   15899:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   15900:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   15901:       fi'
                   15902:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   15903:       dlpath=$dir/\$dldll~
                   15904:        $RM \$dlpath'
                   15905:     shlibpath_overrides_runpath=yes
                   15906: 
                   15907:     case $host_os in
                   15908:     cygwin*)
                   15909:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   15910:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15911: 
                   15912:       ;;
                   15913:     mingw* | cegcc*)
                   15914:       # MinGW DLLs use traditional 'lib' prefix
                   15915:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15916:       ;;
                   15917:     pw32*)
                   15918:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   15919:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15920:       ;;
                   15921:     esac
                   15922:     dynamic_linker='Win32 ld.exe'
                   15923:     ;;
                   15924: 
                   15925:   *,cl*)
                   15926:     # Native MSVC
                   15927:     libname_spec='$name'
                   15928:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15929:     library_names_spec='${libname}.dll.lib'
                   15930: 
                   15931:     case $build_os in
                   15932:     mingw*)
                   15933:       sys_lib_search_path_spec=
                   15934:       lt_save_ifs=$IFS
                   15935:       IFS=';'
                   15936:       for lt_path in $LIB
                   15937:       do
                   15938:         IFS=$lt_save_ifs
                   15939:         # Let DOS variable expansion print the short 8.3 style file name.
                   15940:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   15941:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   15942:       done
                   15943:       IFS=$lt_save_ifs
                   15944:       # Convert to MSYS style.
                   15945:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   15946:       ;;
                   15947:     cygwin*)
                   15948:       # Convert to unix form, then to dos form, then back to unix form
                   15949:       # but this time dos style (no spaces!) so that the unix form looks
                   15950:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   15951:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   15952:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   15953:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   15954:       ;;
                   15955:     *)
                   15956:       sys_lib_search_path_spec="$LIB"
                   15957:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   15958:         # It is most probably a Windows format PATH.
                   15959:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   15960:       else
                   15961:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   15962:       fi
                   15963:       # FIXME: find the short name or the path components, as spaces are
                   15964:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   15965:       ;;
                   15966:     esac
                   15967: 
                   15968:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   15969:     postinstall_cmds='base_file=`basename \${file}`~
                   15970:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   15971:       dldir=$destdir/`dirname \$dlpath`~
                   15972:       test -d \$dldir || mkdir -p \$dldir~
                   15973:       $install_prog $dir/$dlname \$dldir/$dlname'
                   15974:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   15975:       dlpath=$dir/\$dldll~
                   15976:        $RM \$dlpath'
                   15977:     shlibpath_overrides_runpath=yes
                   15978:     dynamic_linker='Win32 link.exe'
                   15979:     ;;
                   15980: 
                   15981:   *)
                   15982:     # Assume MSVC wrapper
                   15983:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   15984:     dynamic_linker='Win32 ld.exe'
                   15985:     ;;
                   15986:   esac
                   15987:   # FIXME: first we should search . and the directory the executable is in
                   15988:   shlibpath_var=PATH
                   15989:   ;;
                   15990: 
                   15991: darwin* | rhapsody*)
                   15992:   dynamic_linker="$host_os dyld"
                   15993:   version_type=darwin
                   15994:   need_lib_prefix=no
                   15995:   need_version=no
                   15996:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   15997:   soname_spec='${libname}${release}${major}$shared_ext'
                   15998:   shlibpath_overrides_runpath=yes
                   15999:   shlibpath_var=DYLD_LIBRARY_PATH
                   16000:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   16001: 
                   16002:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   16003:   ;;
                   16004: 
                   16005: dgux*)
                   16006:   version_type=linux # correct to gnu/linux during the next big refactor
                   16007:   need_lib_prefix=no
                   16008:   need_version=no
                   16009:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   16010:   soname_spec='${libname}${release}${shared_ext}$major'
                   16011:   shlibpath_var=LD_LIBRARY_PATH
                   16012:   ;;
                   16013: 
                   16014: freebsd* | dragonfly*)
                   16015:   # DragonFly does not have aout.  When/if they implement a new
                   16016:   # versioning mechanism, adjust this.
                   16017:   if test -x /usr/bin/objformat; then
                   16018:     objformat=`/usr/bin/objformat`
                   16019:   else
                   16020:     case $host_os in
                   16021:     freebsd[23].*) objformat=aout ;;
                   16022:     *) objformat=elf ;;
                   16023:     esac
                   16024:   fi
                   16025:   version_type=freebsd-$objformat
                   16026:   case $version_type in
                   16027:     freebsd-elf*)
                   16028:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   16029:       need_version=no
                   16030:       need_lib_prefix=no
                   16031:       ;;
                   16032:     freebsd-*)
                   16033:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   16034:       need_version=yes
                   16035:       ;;
                   16036:   esac
                   16037:   shlibpath_var=LD_LIBRARY_PATH
                   16038:   case $host_os in
                   16039:   freebsd2.*)
                   16040:     shlibpath_overrides_runpath=yes
                   16041:     ;;
                   16042:   freebsd3.[01]* | freebsdelf3.[01]*)
                   16043:     shlibpath_overrides_runpath=yes
                   16044:     hardcode_into_libs=yes
                   16045:     ;;
                   16046:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   16047:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   16048:     shlibpath_overrides_runpath=no
                   16049:     hardcode_into_libs=yes
                   16050:     ;;
                   16051:   *) # from 4.6 on, and DragonFly
                   16052:     shlibpath_overrides_runpath=yes
                   16053:     hardcode_into_libs=yes
                   16054:     ;;
                   16055:   esac
                   16056:   ;;
                   16057: 
                   16058: gnu*)
                   16059:   version_type=linux # correct to gnu/linux during the next big refactor
                   16060:   need_lib_prefix=no
                   16061:   need_version=no
                   16062:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   16063:   soname_spec='${libname}${release}${shared_ext}$major'
                   16064:   shlibpath_var=LD_LIBRARY_PATH
                   16065:   shlibpath_overrides_runpath=no
                   16066:   hardcode_into_libs=yes
                   16067:   ;;
                   16068: 
                   16069: haiku*)
                   16070:   version_type=linux # correct to gnu/linux during the next big refactor
                   16071:   need_lib_prefix=no
                   16072:   need_version=no
                   16073:   dynamic_linker="$host_os runtime_loader"
                   16074:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   16075:   soname_spec='${libname}${release}${shared_ext}$major'
                   16076:   shlibpath_var=LIBRARY_PATH
                   16077:   shlibpath_overrides_runpath=yes
                   16078:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   16079:   hardcode_into_libs=yes
                   16080:   ;;
                   16081: 
                   16082: hpux9* | hpux10* | hpux11*)
                   16083:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   16084:   # link against other versions.
                   16085:   version_type=sunos
                   16086:   need_lib_prefix=no
                   16087:   need_version=no
                   16088:   case $host_cpu in
                   16089:   ia64*)
                   16090:     shrext_cmds='.so'
                   16091:     hardcode_into_libs=yes
                   16092:     dynamic_linker="$host_os dld.so"
                   16093:     shlibpath_var=LD_LIBRARY_PATH
                   16094:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   16095:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16096:     soname_spec='${libname}${release}${shared_ext}$major'
                   16097:     if test "X$HPUX_IA64_MODE" = X32; then
                   16098:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   16099:     else
                   16100:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   16101:     fi
                   16102:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   16103:     ;;
                   16104:   hppa*64*)
                   16105:     shrext_cmds='.sl'
                   16106:     hardcode_into_libs=yes
                   16107:     dynamic_linker="$host_os dld.sl"
                   16108:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   16109:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   16110:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16111:     soname_spec='${libname}${release}${shared_ext}$major'
                   16112:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   16113:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   16114:     ;;
                   16115:   *)
                   16116:     shrext_cmds='.sl'
                   16117:     dynamic_linker="$host_os dld.sl"
                   16118:     shlibpath_var=SHLIB_PATH
                   16119:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   16120:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16121:     soname_spec='${libname}${release}${shared_ext}$major'
                   16122:     ;;
                   16123:   esac
                   16124:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   16125:   postinstall_cmds='chmod 555 $lib'
                   16126:   # or fails outright, so override atomically:
                   16127:   install_override_mode=555
                   16128:   ;;
                   16129: 
                   16130: interix[3-9]*)
                   16131:   version_type=linux # correct to gnu/linux during the next big refactor
                   16132:   need_lib_prefix=no
                   16133:   need_version=no
                   16134:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   16135:   soname_spec='${libname}${release}${shared_ext}$major'
                   16136:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   16137:   shlibpath_var=LD_LIBRARY_PATH
                   16138:   shlibpath_overrides_runpath=no
                   16139:   hardcode_into_libs=yes
                   16140:   ;;
                   16141: 
                   16142: irix5* | irix6* | nonstopux*)
                   16143:   case $host_os in
                   16144:     nonstopux*) version_type=nonstopux ;;
                   16145:     *)
                   16146:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   16147:                version_type=linux # correct to gnu/linux during the next big refactor
                   16148:        else
                   16149:                version_type=irix
                   16150:        fi ;;
                   16151:   esac
                   16152:   need_lib_prefix=no
                   16153:   need_version=no
                   16154:   soname_spec='${libname}${release}${shared_ext}$major'
                   16155:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   16156:   case $host_os in
                   16157:   irix5* | nonstopux*)
                   16158:     libsuff= shlibsuff=
                   16159:     ;;
                   16160:   *)
                   16161:     case $LD in # libtool.m4 will add one of these switches to LD
                   16162:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   16163:       libsuff= shlibsuff= libmagic=32-bit;;
                   16164:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   16165:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   16166:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   16167:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   16168:     *) libsuff= shlibsuff= libmagic=never-match;;
                   16169:     esac
                   16170:     ;;
                   16171:   esac
                   16172:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   16173:   shlibpath_overrides_runpath=no
                   16174:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   16175:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   16176:   hardcode_into_libs=yes
                   16177:   ;;
                   16178: 
                   16179: # No shared lib support for Linux oldld, aout, or coff.
                   16180: linux*oldld* | linux*aout* | linux*coff*)
                   16181:   dynamic_linker=no
                   16182:   ;;
                   16183: 
                   16184: # This must be glibc/ELF.
                   16185: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   16186:   version_type=linux # correct to gnu/linux during the next big refactor
                   16187:   need_lib_prefix=no
                   16188:   need_version=no
                   16189:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16190:   soname_spec='${libname}${release}${shared_ext}$major'
                   16191:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   16192:   shlibpath_var=LD_LIBRARY_PATH
                   16193:   shlibpath_overrides_runpath=no
                   16194: 
                   16195:   # Some binutils ld are patched to set DT_RUNPATH
1.150     moko     16196:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
                   16197:   $as_echo_n "(cached) " >&6
1.128     moko     16198: else
                   16199:   lt_cv_shlibpath_overrides_runpath=no
                   16200:     save_LDFLAGS=$LDFLAGS
                   16201:     save_libdir=$libdir
                   16202:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
                   16203:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
1.150     moko     16204:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16205: /* end confdefs.h.  */
                   16206: 
                   16207: int
                   16208: main ()
                   16209: {
                   16210: 
                   16211:   ;
                   16212:   return 0;
                   16213: }
                   16214: _ACEOF
1.150     moko     16215: if ac_fn_cxx_try_link "$LINENO"; then :
                   16216:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
1.128     moko     16217:   lt_cv_shlibpath_overrides_runpath=yes
                   16218: fi
                   16219: fi
1.150     moko     16220: rm -f core conftest.err conftest.$ac_objext \
                   16221:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16222:     LDFLAGS=$save_LDFLAGS
                   16223:     libdir=$save_libdir
                   16224: 
                   16225: fi
                   16226: 
                   16227:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   16228: 
                   16229:   # This implies no fast_install, which is unacceptable.
                   16230:   # Some rework will be needed to allow for fast_install
                   16231:   # before this can be enabled.
                   16232:   hardcode_into_libs=yes
                   16233: 
                   16234:   # Append ld.so.conf contents to the search path
                   16235:   if test -f /etc/ld.so.conf; then
                   16236:     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' ' '`
                   16237:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   16238:   fi
                   16239: 
                   16240:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   16241:   # powerpc, because MkLinux only supported shared libraries with the
                   16242:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   16243:   # most powerpc-linux boxes support dynamic linking these days and
                   16244:   # people can always --disable-shared, the test was removed, and we
                   16245:   # assume the GNU/Linux dynamic linker is in use.
                   16246:   dynamic_linker='GNU/Linux ld.so'
                   16247:   ;;
                   16248: 
                   16249: netbsd*)
                   16250:   version_type=sunos
                   16251:   need_lib_prefix=no
                   16252:   need_version=no
                   16253:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   16254:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   16255:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   16256:     dynamic_linker='NetBSD (a.out) ld.so'
                   16257:   else
                   16258:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   16259:     soname_spec='${libname}${release}${shared_ext}$major'
                   16260:     dynamic_linker='NetBSD ld.elf_so'
                   16261:   fi
                   16262:   shlibpath_var=LD_LIBRARY_PATH
                   16263:   shlibpath_overrides_runpath=yes
                   16264:   hardcode_into_libs=yes
                   16265:   ;;
                   16266: 
                   16267: newsos6)
                   16268:   version_type=linux # correct to gnu/linux during the next big refactor
                   16269:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16270:   shlibpath_var=LD_LIBRARY_PATH
                   16271:   shlibpath_overrides_runpath=yes
                   16272:   ;;
                   16273: 
                   16274: *nto* | *qnx*)
                   16275:   version_type=qnx
                   16276:   need_lib_prefix=no
                   16277:   need_version=no
                   16278:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16279:   soname_spec='${libname}${release}${shared_ext}$major'
                   16280:   shlibpath_var=LD_LIBRARY_PATH
                   16281:   shlibpath_overrides_runpath=no
                   16282:   hardcode_into_libs=yes
                   16283:   dynamic_linker='ldqnx.so'
                   16284:   ;;
                   16285: 
                   16286: openbsd*)
                   16287:   version_type=sunos
                   16288:   sys_lib_dlsearch_path_spec="/usr/lib"
                   16289:   need_lib_prefix=no
                   16290:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   16291:   case $host_os in
                   16292:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   16293:     *)                         need_version=no  ;;
                   16294:   esac
                   16295:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   16296:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   16297:   shlibpath_var=LD_LIBRARY_PATH
                   16298:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   16299:     case $host_os in
                   16300:       openbsd2.[89] | openbsd2.[89].*)
                   16301:        shlibpath_overrides_runpath=no
                   16302:        ;;
                   16303:       *)
                   16304:        shlibpath_overrides_runpath=yes
                   16305:        ;;
                   16306:       esac
                   16307:   else
                   16308:     shlibpath_overrides_runpath=yes
                   16309:   fi
                   16310:   ;;
                   16311: 
                   16312: os2*)
                   16313:   libname_spec='$name'
                   16314:   shrext_cmds=".dll"
                   16315:   need_lib_prefix=no
                   16316:   library_names_spec='$libname${shared_ext} $libname.a'
                   16317:   dynamic_linker='OS/2 ld.exe'
                   16318:   shlibpath_var=LIBPATH
                   16319:   ;;
                   16320: 
                   16321: osf3* | osf4* | osf5*)
                   16322:   version_type=osf
                   16323:   need_lib_prefix=no
                   16324:   need_version=no
                   16325:   soname_spec='${libname}${release}${shared_ext}$major'
                   16326:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16327:   shlibpath_var=LD_LIBRARY_PATH
                   16328:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   16329:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   16330:   ;;
                   16331: 
                   16332: rdos*)
                   16333:   dynamic_linker=no
                   16334:   ;;
                   16335: 
                   16336: solaris*)
                   16337:   version_type=linux # correct to gnu/linux during the next big refactor
                   16338:   need_lib_prefix=no
                   16339:   need_version=no
                   16340:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16341:   soname_spec='${libname}${release}${shared_ext}$major'
                   16342:   shlibpath_var=LD_LIBRARY_PATH
                   16343:   shlibpath_overrides_runpath=yes
                   16344:   hardcode_into_libs=yes
                   16345:   # ldd complains unless libraries are executable
                   16346:   postinstall_cmds='chmod +x $lib'
                   16347:   ;;
                   16348: 
                   16349: sunos4*)
                   16350:   version_type=sunos
                   16351:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   16352:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   16353:   shlibpath_var=LD_LIBRARY_PATH
                   16354:   shlibpath_overrides_runpath=yes
                   16355:   if test "$with_gnu_ld" = yes; then
                   16356:     need_lib_prefix=no
                   16357:   fi
                   16358:   need_version=yes
                   16359:   ;;
                   16360: 
                   16361: sysv4 | sysv4.3*)
                   16362:   version_type=linux # correct to gnu/linux during the next big refactor
                   16363:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16364:   soname_spec='${libname}${release}${shared_ext}$major'
                   16365:   shlibpath_var=LD_LIBRARY_PATH
                   16366:   case $host_vendor in
                   16367:     sni)
                   16368:       shlibpath_overrides_runpath=no
                   16369:       need_lib_prefix=no
                   16370:       runpath_var=LD_RUN_PATH
                   16371:       ;;
                   16372:     siemens)
                   16373:       need_lib_prefix=no
                   16374:       ;;
                   16375:     motorola)
                   16376:       need_lib_prefix=no
                   16377:       need_version=no
                   16378:       shlibpath_overrides_runpath=no
                   16379:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   16380:       ;;
                   16381:   esac
                   16382:   ;;
                   16383: 
                   16384: sysv4*MP*)
                   16385:   if test -d /usr/nec ;then
                   16386:     version_type=linux # correct to gnu/linux during the next big refactor
                   16387:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   16388:     soname_spec='$libname${shared_ext}.$major'
                   16389:     shlibpath_var=LD_LIBRARY_PATH
                   16390:   fi
                   16391:   ;;
                   16392: 
                   16393: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   16394:   version_type=freebsd-elf
                   16395:   need_lib_prefix=no
                   16396:   need_version=no
                   16397:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   16398:   soname_spec='${libname}${release}${shared_ext}$major'
                   16399:   shlibpath_var=LD_LIBRARY_PATH
                   16400:   shlibpath_overrides_runpath=yes
                   16401:   hardcode_into_libs=yes
                   16402:   if test "$with_gnu_ld" = yes; then
                   16403:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   16404:   else
                   16405:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   16406:     case $host_os in
                   16407:       sco3.2v5*)
                   16408:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   16409:        ;;
                   16410:     esac
                   16411:   fi
                   16412:   sys_lib_dlsearch_path_spec='/usr/lib'
                   16413:   ;;
                   16414: 
                   16415: tpf*)
                   16416:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   16417:   version_type=linux # correct to gnu/linux during the next big refactor
                   16418:   need_lib_prefix=no
                   16419:   need_version=no
                   16420:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16421:   shlibpath_var=LD_LIBRARY_PATH
                   16422:   shlibpath_overrides_runpath=no
                   16423:   hardcode_into_libs=yes
                   16424:   ;;
                   16425: 
                   16426: uts4*)
                   16427:   version_type=linux # correct to gnu/linux during the next big refactor
                   16428:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16429:   soname_spec='${libname}${release}${shared_ext}$major'
                   16430:   shlibpath_var=LD_LIBRARY_PATH
                   16431:   ;;
                   16432: 
                   16433: *)
                   16434:   dynamic_linker=no
                   16435:   ;;
                   16436: esac
1.150     moko     16437: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   16438: $as_echo "$dynamic_linker" >&6; }
1.128     moko     16439: test "$dynamic_linker" = no && can_build_shared=no
                   16440: 
                   16441: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   16442: if test "$GCC" = yes; then
                   16443:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   16444: fi
                   16445: 
                   16446: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   16447:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   16448: fi
                   16449: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   16450:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   16451: fi
                   16452: 
                   16453: 
                   16454: 
                   16455: 
                   16456: 
                   16457: 
                   16458: 
                   16459: 
                   16460: 
                   16461: 
                   16462: 
                   16463: 
                   16464: 
                   16465: 
                   16466: 
                   16467: 
                   16468: 
                   16469: 
                   16470: 
                   16471: 
                   16472: 
                   16473: 
                   16474: 
                   16475: 
                   16476: 
                   16477: 
                   16478: 
                   16479: 
                   16480: 
                   16481: 
                   16482: 
                   16483: 
                   16484: 
                   16485: 
                   16486: 
                   16487: 
                   16488: 
                   16489: 
1.150     moko     16490:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   16491: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1.128     moko     16492: hardcode_action_CXX=
                   16493: if test -n "$hardcode_libdir_flag_spec_CXX" ||
                   16494:    test -n "$runpath_var_CXX" ||
                   16495:    test "X$hardcode_automatic_CXX" = "Xyes" ; then
                   16496: 
                   16497:   # We can hardcode non-existent directories.
                   16498:   if test "$hardcode_direct_CXX" != no &&
                   16499:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   16500:      # have to relink, otherwise we might link with an installed library
                   16501:      # when we should be linking with a yet-to-be-installed one
                   16502:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
                   16503:      test "$hardcode_minus_L_CXX" != no; then
                   16504:     # Linking always hardcodes the temporary library directory.
                   16505:     hardcode_action_CXX=relink
                   16506:   else
                   16507:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   16508:     hardcode_action_CXX=immediate
                   16509:   fi
                   16510: else
                   16511:   # We cannot hardcode anything, or else we can only hardcode existing
                   16512:   # directories.
                   16513:   hardcode_action_CXX=unsupported
                   16514: fi
1.150     moko     16515: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
                   16516: $as_echo "$hardcode_action_CXX" >&6; }
1.128     moko     16517: 
                   16518: if test "$hardcode_action_CXX" = relink ||
                   16519:    test "$inherit_rpath_CXX" = yes; then
                   16520:   # Fast installation is not supported
                   16521:   enable_fast_install=no
                   16522: elif test "$shlibpath_overrides_runpath" = yes ||
                   16523:      test "$enable_shared" = no; then
                   16524:   # Fast installation is not necessary
                   16525:   enable_fast_install=needless
                   16526: fi
                   16527: 
                   16528: 
                   16529: 
                   16530: 
                   16531: 
                   16532: 
                   16533: 
                   16534:   fi # test -n "$compiler"
                   16535: 
                   16536:   CC=$lt_save_CC
                   16537:   CFLAGS=$lt_save_CFLAGS
                   16538:   LDCXX=$LD
                   16539:   LD=$lt_save_LD
                   16540:   GCC=$lt_save_GCC
                   16541:   with_gnu_ld=$lt_save_with_gnu_ld
                   16542:   lt_cv_path_LDCXX=$lt_cv_path_LD
                   16543:   lt_cv_path_LD=$lt_save_path_LD
                   16544:   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
                   16545:   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
                   16546: fi # test "$_lt_caught_CXX_error" != yes
                   16547: 
                   16548: ac_ext=c
                   16549: ac_cpp='$CPP $CPPFLAGS'
                   16550: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16551: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16552: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16553: 
                   16554: 
                   16555: 
                   16556: 
                   16557: 
                   16558: 
                   16559: 
                   16560: 
                   16561: 
                   16562: 
                   16563: 
                   16564: 
                   16565: 
                   16566: 
                   16567: 
1.150     moko     16568:         ac_config_commands="$ac_config_commands libtool"
1.128     moko     16569: 
                   16570: 
                   16571: 
                   16572: 
                   16573: # Only expand once:
                   16574: 
                   16575: 
1.150     moko     16576: { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
                   16577: $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
                   16578: if ${libltdl_cv_shlibext+:} false; then :
                   16579:   $as_echo_n "(cached) " >&6
1.128     moko     16580: else
                   16581: 
                   16582: module=yes
                   16583: eval libltdl_cv_shlibext=$shrext_cmds
                   16584: module=no
                   16585: eval libltdl_cv_shrext=$shrext_cmds
                   16586: 
                   16587: fi
1.150     moko     16588: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
                   16589: $as_echo "$libltdl_cv_shlibext" >&6; }
1.128     moko     16590: if test -n "$libltdl_cv_shlibext"; then
                   16591: 
                   16592: cat >>confdefs.h <<_ACEOF
                   16593: #define LT_MODULE_EXT "$libltdl_cv_shlibext"
                   16594: _ACEOF
                   16595: 
                   16596: fi
                   16597: if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
                   16598: 
                   16599: cat >>confdefs.h <<_ACEOF
                   16600: #define LT_SHARED_EXT "$libltdl_cv_shrext"
                   16601: _ACEOF
                   16602: 
                   16603: fi
                   16604: 
1.150     moko     16605: { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
                   16606: $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
                   16607: if ${lt_cv_module_path_var+:} false; then :
                   16608:   $as_echo_n "(cached) " >&6
1.128     moko     16609: else
                   16610:   lt_cv_module_path_var="$shlibpath_var"
                   16611: fi
1.150     moko     16612: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
                   16613: $as_echo "$lt_cv_module_path_var" >&6; }
1.128     moko     16614: if test -n "$lt_cv_module_path_var"; then
                   16615: 
                   16616: cat >>confdefs.h <<_ACEOF
                   16617: #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
                   16618: _ACEOF
                   16619: 
                   16620: fi
                   16621: 
1.150     moko     16622: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
                   16623: $as_echo_n "checking for the default library search path... " >&6; }
                   16624: if ${lt_cv_sys_dlsearch_path+:} false; then :
                   16625:   $as_echo_n "(cached) " >&6
1.128     moko     16626: else
                   16627:   lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
                   16628: fi
1.150     moko     16629: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
                   16630: $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
1.128     moko     16631: if test -n "$lt_cv_sys_dlsearch_path"; then
                   16632:   sys_dlsearch_path=
                   16633:   for dir in $lt_cv_sys_dlsearch_path; do
                   16634:     if test -z "$sys_dlsearch_path"; then
                   16635:       sys_dlsearch_path="$dir"
                   16636:     else
                   16637:       sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
                   16638:     fi
                   16639:   done
                   16640: 
                   16641: cat >>confdefs.h <<_ACEOF
                   16642: #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
                   16643: _ACEOF
                   16644: 
                   16645: fi
                   16646: 
                   16647: 
                   16648: LT_DLLOADERS=
                   16649: 
                   16650: 
                   16651: ac_ext=c
                   16652: ac_cpp='$CPP $CPPFLAGS'
                   16653: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16654: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16655: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16656: 
                   16657: 
                   16658: LIBADD_DLOPEN=
1.150     moko     16659: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
                   16660: $as_echo_n "checking for library containing dlopen... " >&6; }
                   16661: if ${ac_cv_search_dlopen+:} false; then :
                   16662:   $as_echo_n "(cached) " >&6
1.128     moko     16663: else
                   16664:   ac_func_search_save_LIBS=$LIBS
1.150     moko     16665: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16666: /* end confdefs.h.  */
                   16667: 
1.150     moko     16668: /* Override any GCC internal prototype to avoid an error.
                   16669:    Use char because int might match the return type of a GCC
                   16670:    builtin and then its argument prototype would still apply.  */
1.128     moko     16671: #ifdef __cplusplus
                   16672: extern "C"
                   16673: #endif
                   16674: char dlopen ();
                   16675: int
                   16676: main ()
                   16677: {
1.150     moko     16678: return dlopen ();
1.128     moko     16679:   ;
                   16680:   return 0;
                   16681: }
                   16682: _ACEOF
1.150     moko     16683: for ac_lib in '' dl; do
                   16684:   if test -z "$ac_lib"; then
                   16685:     ac_res="none required"
                   16686:   else
                   16687:     ac_res=-l$ac_lib
                   16688:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   16689:   fi
                   16690:   if ac_fn_c_try_link "$LINENO"; then :
                   16691:   ac_cv_search_dlopen=$ac_res
                   16692: fi
                   16693: rm -f core conftest.err conftest.$ac_objext \
                   16694:     conftest$ac_exeext
                   16695:   if ${ac_cv_search_dlopen+:} false; then :
                   16696:   break
1.128     moko     16697: fi
1.150     moko     16698: done
                   16699: if ${ac_cv_search_dlopen+:} false; then :
1.128     moko     16700: 
                   16701: else
1.150     moko     16702:   ac_cv_search_dlopen=no
1.128     moko     16703: fi
1.150     moko     16704: rm conftest.$ac_ext
1.128     moko     16705: LIBS=$ac_func_search_save_LIBS
                   16706: fi
1.150     moko     16707: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
                   16708: $as_echo "$ac_cv_search_dlopen" >&6; }
                   16709: ac_res=$ac_cv_search_dlopen
                   16710: if test "$ac_res" != no; then :
                   16711:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
1.128     moko     16712: 
1.150     moko     16713: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     16714: 
                   16715:        if test "$ac_cv_search_dlopen" != "none required" ; then
                   16716:          LIBADD_DLOPEN="-ldl"
                   16717:        fi
                   16718:        libltdl_cv_lib_dl_dlopen="yes"
                   16719:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16720: else
1.150     moko     16721:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16722: /* end confdefs.h.  */
                   16723: #if HAVE_DLFCN_H
                   16724: #  include <dlfcn.h>
                   16725: #endif
                   16726: 
                   16727: int
                   16728: main ()
                   16729: {
                   16730: dlopen(0, 0);
                   16731:   ;
                   16732:   return 0;
                   16733: }
                   16734: _ACEOF
1.150     moko     16735: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     16736: 
1.150     moko     16737: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     16738: 
                   16739:            libltdl_cv_func_dlopen="yes"
                   16740:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16741: else
1.150     moko     16742:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   16743: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
                   16744: if ${ac_cv_lib_svld_dlopen+:} false; then :
                   16745:   $as_echo_n "(cached) " >&6
1.128     moko     16746: else
                   16747:   ac_check_lib_save_LIBS=$LIBS
                   16748: LIBS="-lsvld  $LIBS"
1.150     moko     16749: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16750: /* end confdefs.h.  */
                   16751: 
1.150     moko     16752: /* Override any GCC internal prototype to avoid an error.
                   16753:    Use char because int might match the return type of a GCC
                   16754:    builtin and then its argument prototype would still apply.  */
1.128     moko     16755: #ifdef __cplusplus
                   16756: extern "C"
                   16757: #endif
                   16758: char dlopen ();
                   16759: int
                   16760: main ()
                   16761: {
1.150     moko     16762: return dlopen ();
1.128     moko     16763:   ;
                   16764:   return 0;
                   16765: }
                   16766: _ACEOF
1.150     moko     16767: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     16768:   ac_cv_lib_svld_dlopen=yes
                   16769: else
1.150     moko     16770:   ac_cv_lib_svld_dlopen=no
1.128     moko     16771: fi
1.150     moko     16772: rm -f core conftest.err conftest.$ac_objext \
                   16773:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16774: LIBS=$ac_check_lib_save_LIBS
                   16775: fi
1.150     moko     16776: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   16777: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
                   16778: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
1.128     moko     16779: 
1.150     moko     16780: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     16781: 
                   16782:                LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
                   16783:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16784: fi
                   16785: 
                   16786: fi
1.150     moko     16787: rm -f core conftest.err conftest.$ac_objext \
                   16788:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16789: fi
                   16790: 
                   16791: if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
                   16792: then
                   16793:   lt_save_LIBS="$LIBS"
                   16794:   LIBS="$LIBS $LIBADD_DLOPEN"
1.150     moko     16795:   for ac_func in dlerror
                   16796: do :
                   16797:   ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
                   16798: if test "x$ac_cv_func_dlerror" = xyes; then :
1.128     moko     16799:   cat >>confdefs.h <<_ACEOF
1.150     moko     16800: #define HAVE_DLERROR 1
1.128     moko     16801: _ACEOF
                   16802: 
                   16803: fi
                   16804: done
                   16805: 
                   16806:   LIBS="$lt_save_LIBS"
                   16807: fi
                   16808: 
                   16809: 
                   16810: LIBADD_SHL_LOAD=
1.150     moko     16811: ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
                   16812: if test "x$ac_cv_func_shl_load" = xyes; then :
1.128     moko     16813: 
1.150     moko     16814: $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
1.128     moko     16815: 
                   16816:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
1.66      paf      16817: else
1.150     moko     16818:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   16819: $as_echo_n "checking for shl_load in -ldld... " >&6; }
                   16820: if ${ac_cv_lib_dld_shl_load+:} false; then :
                   16821:   $as_echo_n "(cached) " >&6
1.66      paf      16822: else
                   16823:   ac_check_lib_save_LIBS=$LIBS
                   16824: LIBS="-ldld  $LIBS"
1.150     moko     16825: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      16826: /* end confdefs.h.  */
1.10      paf      16827: 
1.150     moko     16828: /* Override any GCC internal prototype to avoid an error.
                   16829:    Use char because int might match the return type of a GCC
                   16830:    builtin and then its argument prototype would still apply.  */
1.66      paf      16831: #ifdef __cplusplus
                   16832: extern "C"
                   16833: #endif
                   16834: char shl_load ();
                   16835: int
                   16836: main ()
                   16837: {
1.150     moko     16838: return shl_load ();
1.66      paf      16839:   ;
                   16840:   return 0;
                   16841: }
                   16842: _ACEOF
1.150     moko     16843: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      16844:   ac_cv_lib_dld_shl_load=yes
                   16845: else
1.150     moko     16846:   ac_cv_lib_dld_shl_load=no
1.66      paf      16847: fi
1.150     moko     16848: rm -f core conftest.err conftest.$ac_objext \
                   16849:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      16850: LIBS=$ac_check_lib_save_LIBS
                   16851: fi
1.150     moko     16852: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   16853: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
                   16854: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
1.1       paf      16855: 
1.150     moko     16856: $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
1.1       paf      16857: 
1.128     moko     16858:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
                   16859:            LIBADD_SHL_LOAD="-ldld"
                   16860: fi
                   16861: 
                   16862: fi
                   16863: 
                   16864: 
                   16865: 
                   16866: case $host_os in
                   16867: darwin[1567].*)
                   16868: # We only want this for pre-Mac OS X 10.4.
1.150     moko     16869:   ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
                   16870: if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
                   16871: 
                   16872: $as_echo "#define HAVE_DYLD 1" >>confdefs.h
1.128     moko     16873: 
1.150     moko     16874:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
                   16875: fi
1.128     moko     16876: 
1.150     moko     16877:   ;;
                   16878: beos*)
1.128     moko     16879:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
                   16880:   ;;
                   16881: cygwin* | mingw* | os2* | pw32*)
1.150     moko     16882:   ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
                   16883: "
                   16884: if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
                   16885:   ac_have_decl=1
1.128     moko     16886: else
1.150     moko     16887:   ac_have_decl=0
1.128     moko     16888: fi
                   16889: 
                   16890: cat >>confdefs.h <<_ACEOF
1.150     moko     16891: #define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl
1.128     moko     16892: _ACEOF
                   16893: 
                   16894:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
                   16895:   ;;
                   16896: esac
                   16897: 
1.150     moko     16898: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   16899: $as_echo_n "checking for dld_link in -ldld... " >&6; }
                   16900: if ${ac_cv_lib_dld_dld_link+:} false; then :
                   16901:   $as_echo_n "(cached) " >&6
1.66      paf      16902: else
                   16903:   ac_check_lib_save_LIBS=$LIBS
1.128     moko     16904: LIBS="-ldld  $LIBS"
1.150     moko     16905: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      16906: /* end confdefs.h.  */
1.62      paf      16907: 
1.150     moko     16908: /* Override any GCC internal prototype to avoid an error.
                   16909:    Use char because int might match the return type of a GCC
                   16910:    builtin and then its argument prototype would still apply.  */
1.66      paf      16911: #ifdef __cplusplus
                   16912: extern "C"
                   16913: #endif
1.128     moko     16914: char dld_link ();
1.66      paf      16915: int
                   16916: main ()
                   16917: {
1.150     moko     16918: return dld_link ();
1.66      paf      16919:   ;
                   16920:   return 0;
                   16921: }
                   16922: _ACEOF
1.150     moko     16923: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     16924:   ac_cv_lib_dld_dld_link=yes
1.66      paf      16925: else
1.150     moko     16926:   ac_cv_lib_dld_dld_link=no
1.128     moko     16927: fi
1.150     moko     16928: rm -f core conftest.err conftest.$ac_objext \
                   16929:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16930: LIBS=$ac_check_lib_save_LIBS
                   16931: fi
1.150     moko     16932: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   16933: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
                   16934: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
1.128     moko     16935: 
1.150     moko     16936: $as_echo "#define HAVE_DLD 1" >>confdefs.h
1.128     moko     16937: 
                   16938:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
                   16939: fi
                   16940: 
                   16941: 
                   16942: 
                   16943: 
                   16944: LT_DLPREOPEN=
                   16945: if test -n "$LT_DLLOADERS"
                   16946: then
                   16947:   for lt_loader in $LT_DLLOADERS; do
                   16948:     LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
                   16949:   done
                   16950: 
1.150     moko     16951: $as_echo "#define HAVE_LIBDLLOADER 1" >>confdefs.h
1.128     moko     16952: 
                   16953: fi
                   16954: 
                   16955: 
                   16956: LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
                   16957: 
                   16958: 
                   16959: ac_ext=c
                   16960: ac_cpp='$CPP $CPPFLAGS'
                   16961: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16962: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16963: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16964: 
                   16965: 
1.150     moko     16966: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
                   16967: $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
                   16968: if ${lt_cv_sys_symbol_underscore+:} false; then :
                   16969:   $as_echo_n "(cached) " >&6
1.128     moko     16970: else
                   16971:   lt_cv_sys_symbol_underscore=no
                   16972:   cat > conftest.$ac_ext <<_LT_EOF
                   16973: void nm_test_func(){}
                   16974: int main(){nm_test_func;return 0;}
                   16975: _LT_EOF
1.150     moko     16976:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     16977:   (eval $ac_compile) 2>&5
                   16978:   ac_status=$?
1.150     moko     16979:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   16980:   test $ac_status = 0; }; then
1.128     moko     16981:     # Now try to grab the symbols.
                   16982:     ac_nlist=conftest.nm
1.150     moko     16983:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
1.128     moko     16984:   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
                   16985:   ac_status=$?
1.150     moko     16986:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   16987:   test $ac_status = 0; } && test -s "$ac_nlist"; then
1.128     moko     16988:       # See whether the symbols have a leading underscore.
                   16989:       if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
                   16990:         lt_cv_sys_symbol_underscore=yes
                   16991:       else
                   16992:         if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
                   16993:          :
                   16994:         else
                   16995:          echo "configure: cannot find nm_test_func in $ac_nlist" >&5
                   16996:         fi
                   16997:       fi
                   16998:     else
                   16999:       echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   17000:     fi
                   17001:   else
                   17002:     echo "configure: failed program was:" >&5
                   17003:     cat conftest.c >&5
                   17004:   fi
                   17005:   rm -rf conftest*
1.29      paf      17006: 
1.66      paf      17007: fi
1.150     moko     17008: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5
                   17009: $as_echo "$lt_cv_sys_symbol_underscore" >&6; }
1.128     moko     17010:   sys_symbol_underscore=$lt_cv_sys_symbol_underscore
1.29      paf      17011: 
1.62      paf      17012: 
1.128     moko     17013: if test x"$lt_cv_sys_symbol_underscore" = xyes; then
                   17014:   if test x"$libltdl_cv_func_dlopen" = xyes ||
                   17015:      test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
1.150     moko     17016:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
                   17017: $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
                   17018: if ${libltdl_cv_need_uscore+:} false; then :
                   17019:   $as_echo_n "(cached) " >&6
1.66      paf      17020: else
1.128     moko     17021:   libltdl_cv_need_uscore=unknown
                   17022:           save_LIBS="$LIBS"
                   17023:           LIBS="$LIBS $LIBADD_DLOPEN"
                   17024:          if test "$cross_compiling" = yes; then :
                   17025:   libltdl_cv_need_uscore=cross
                   17026: else
                   17027:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   17028:   lt_status=$lt_dlunknown
                   17029:   cat > conftest.$ac_ext <<_LT_EOF
                   17030: #line $LINENO "configure"
                   17031: #include "confdefs.h"
                   17032: 
1.66      paf      17033: #if HAVE_DLFCN_H
1.128     moko     17034: #include <dlfcn.h>
                   17035: #endif
                   17036: 
                   17037: #include <stdio.h>
                   17038: 
                   17039: #ifdef RTLD_GLOBAL
                   17040: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   17041: #else
                   17042: #  ifdef DL_GLOBAL
                   17043: #    define LT_DLGLOBAL                DL_GLOBAL
                   17044: #  else
                   17045: #    define LT_DLGLOBAL                0
                   17046: #  endif
                   17047: #endif
                   17048: 
                   17049: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   17050:    find out it does not work in some platform. */
                   17051: #ifndef LT_DLLAZY_OR_NOW
                   17052: #  ifdef RTLD_LAZY
                   17053: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   17054: #  else
                   17055: #    ifdef DL_LAZY
                   17056: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   17057: #    else
                   17058: #      ifdef RTLD_NOW
                   17059: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   17060: #      else
                   17061: #        ifdef DL_NOW
                   17062: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   17063: #        else
                   17064: #          define LT_DLLAZY_OR_NOW     0
                   17065: #        endif
                   17066: #      endif
                   17067: #    endif
                   17068: #  endif
                   17069: #endif
                   17070: 
                   17071: /* When -fvisbility=hidden is used, assume the code has been annotated
                   17072:    correspondingly for the symbols needed.  */
                   17073: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   17074: int fnord () __attribute__((visibility("default")));
1.66      paf      17075: #endif
1.62      paf      17076: 
1.128     moko     17077: int fnord () { return 42; }
                   17078: int main ()
1.66      paf      17079: {
1.128     moko     17080:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   17081:   int status = $lt_dlunknown;
                   17082: 
                   17083:   if (self)
                   17084:     {
                   17085:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   17086:       else
                   17087:         {
                   17088:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   17089:           else puts (dlerror ());
                   17090:        }
                   17091:       /* dlclose (self); */
                   17092:     }
                   17093:   else
                   17094:     puts (dlerror ());
                   17095: 
                   17096:   return status;
1.66      paf      17097: }
1.128     moko     17098: _LT_EOF
1.150     moko     17099:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     17100:   (eval $ac_link) 2>&5
1.66      paf      17101:   ac_status=$?
1.150     moko     17102:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   17103:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.128     moko     17104:     (./conftest; exit; ) >&5 2>/dev/null
                   17105:     lt_status=$?
                   17106:     case x$lt_status in
                   17107:       x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
                   17108:       x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
                   17109:       x$lt_dlunknown|x*)  ;;
                   17110:     esac
                   17111:   else :
                   17112:     # compilation failed
                   17113: 
                   17114:   fi
                   17115: fi
                   17116: rm -fr conftest*
                   17117: 
                   17118:          LIBS="$save_LIBS"
                   17119: 
                   17120: fi
1.150     moko     17121: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
                   17122: $as_echo "$libltdl_cv_need_uscore" >&6; }
1.128     moko     17123:   fi
                   17124: fi
                   17125: 
                   17126: if test x"$libltdl_cv_need_uscore" = xyes; then
1.29      paf      17127: 
1.150     moko     17128: $as_echo "#define NEED_USCORE 1" >>confdefs.h
1.29      paf      17129: 
1.128     moko     17130: fi
                   17131: 
1.150     moko     17132: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
                   17133: $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
                   17134: if ${lt_cv_sys_dlopen_deplibs+:} false; then :
                   17135:   $as_echo_n "(cached) " >&6
1.66      paf      17136: else
1.128     moko     17137:   # PORTME does your system automatically load deplibs for dlopen?
                   17138:   # or its logical equivalent (e.g. shl_load for HP-UX < 11)
                   17139:   # For now, we just catch OSes we know something about -- in the
                   17140:   # future, we'll try test this programmatically.
                   17141:   lt_cv_sys_dlopen_deplibs=unknown
                   17142:   case $host_os in
                   17143:   aix3*|aix4.1.*|aix4.2.*)
                   17144:     # Unknown whether this is true for these versions of AIX, but
                   17145:     # we want this `case' here to explicitly catch those versions.
                   17146:     lt_cv_sys_dlopen_deplibs=unknown
                   17147:     ;;
                   17148:   aix[4-9]*)
                   17149:     lt_cv_sys_dlopen_deplibs=yes
                   17150:     ;;
                   17151:   amigaos*)
                   17152:     case $host_cpu in
                   17153:     powerpc)
                   17154:       lt_cv_sys_dlopen_deplibs=no
                   17155:       ;;
                   17156:     esac
                   17157:     ;;
                   17158:   darwin*)
                   17159:     # Assuming the user has installed a libdl from somewhere, this is true
                   17160:     # If you are looking for one http://www.opendarwin.org/projects/dlcompat
                   17161:     lt_cv_sys_dlopen_deplibs=yes
                   17162:     ;;
                   17163:   freebsd* | dragonfly*)
                   17164:     lt_cv_sys_dlopen_deplibs=yes
                   17165:     ;;
                   17166:   gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   17167:     # GNU and its variants, using gnu ld.so (Glibc)
                   17168:     lt_cv_sys_dlopen_deplibs=yes
                   17169:     ;;
                   17170:   hpux10*|hpux11*)
                   17171:     lt_cv_sys_dlopen_deplibs=yes
                   17172:     ;;
                   17173:   interix*)
                   17174:     lt_cv_sys_dlopen_deplibs=yes
                   17175:     ;;
                   17176:   irix[12345]*|irix6.[01]*)
                   17177:     # Catch all versions of IRIX before 6.2, and indicate that we don't
                   17178:     # know how it worked for any of those versions.
                   17179:     lt_cv_sys_dlopen_deplibs=unknown
                   17180:     ;;
                   17181:   irix*)
                   17182:     # The case above catches anything before 6.2, and it's known that
                   17183:     # at 6.2 and later dlopen does load deplibs.
                   17184:     lt_cv_sys_dlopen_deplibs=yes
                   17185:     ;;
                   17186:   netbsd*)
                   17187:     lt_cv_sys_dlopen_deplibs=yes
                   17188:     ;;
                   17189:   openbsd*)
                   17190:     lt_cv_sys_dlopen_deplibs=yes
                   17191:     ;;
                   17192:   osf[1234]*)
                   17193:     # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
                   17194:     # it did *not* use an RPATH in a shared library to find objects the
                   17195:     # library depends on, so we explicitly say `no'.
                   17196:     lt_cv_sys_dlopen_deplibs=no
                   17197:     ;;
                   17198:   osf5.0|osf5.0a|osf5.1)
                   17199:     # dlopen *does* load deplibs and with the right loader patch applied
                   17200:     # it even uses RPATH in a shared library to search for shared objects
                   17201:     # that the library depends on, but there's no easy way to know if that
                   17202:     # patch is installed.  Since this is the case, all we can really
                   17203:     # say is unknown -- it depends on the patch being installed.  If
                   17204:     # it is, this changes to `yes'.  Without it, it would be `no'.
                   17205:     lt_cv_sys_dlopen_deplibs=unknown
                   17206:     ;;
                   17207:   osf*)
                   17208:     # the two cases above should catch all versions of osf <= 5.1.  Read
                   17209:     # the comments above for what we know about them.
                   17210:     # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
                   17211:     # is used to find them so we can finally say `yes'.
                   17212:     lt_cv_sys_dlopen_deplibs=yes
                   17213:     ;;
                   17214:   qnx*)
                   17215:     lt_cv_sys_dlopen_deplibs=yes
                   17216:     ;;
                   17217:   solaris*)
                   17218:     lt_cv_sys_dlopen_deplibs=yes
                   17219:     ;;
                   17220:   sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   17221:     libltdl_cv_sys_dlopen_deplibs=yes
                   17222:     ;;
                   17223:   esac
                   17224: 
                   17225: fi
1.150     moko     17226: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
                   17227: $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
1.128     moko     17228: if test "$lt_cv_sys_dlopen_deplibs" != yes; then
                   17229: 
1.150     moko     17230: $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
1.128     moko     17231: 
                   17232: fi
                   17233: 
                   17234: :
                   17235: 
                   17236: for ac_header in argz.h
1.150     moko     17237: do :
                   17238:   ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
                   17239: "
                   17240: if test "x$ac_cv_header_argz_h" = xyes; then :
1.128     moko     17241:   cat >>confdefs.h <<_ACEOF
1.150     moko     17242: #define HAVE_ARGZ_H 1
1.128     moko     17243: _ACEOF
                   17244: 
1.66      paf      17245: fi
1.62      paf      17246: 
1.128     moko     17247: done
                   17248: 
1.29      paf      17249: 
1.150     moko     17250: ac_fn_c_check_type "$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H)
1.128     moko     17251: #  include <argz.h>
                   17252: #endif
1.150     moko     17253: "
                   17254: if test "x$ac_cv_type_error_t" = xyes; then :
1.29      paf      17255: 
1.128     moko     17256: cat >>confdefs.h <<_ACEOF
                   17257: #define HAVE_ERROR_T 1
1.62      paf      17258: _ACEOF
1.16      paf      17259: 
                   17260: 
1.128     moko     17261: else
1.16      paf      17262: 
1.150     moko     17263: $as_echo "#define error_t int" >>confdefs.h
1.16      paf      17264: 
1.12      paf      17265: 
1.150     moko     17266: $as_echo "#define __error_t_defined 1" >>confdefs.h
1.12      paf      17267: 
1.66      paf      17268: fi
1.12      paf      17269: 
1.128     moko     17270: 
                   17271: ARGZ_H=
                   17272: for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
                   17273:        argz_next argz_stringify
1.150     moko     17274: do :
                   17275:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17276: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   17277: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.128     moko     17278:   cat >>confdefs.h <<_ACEOF
1.150     moko     17279: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.128     moko     17280: _ACEOF
                   17281: 
                   17282: else
                   17283:   ARGZ_H=argz.h;
                   17284: 
                   17285:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   17286: 
                   17287: fi
                   17288: done
                   17289: 
                   17290: 
1.150     moko     17291: if test -z "$ARGZ_H"; then :
                   17292:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
                   17293: $as_echo_n "checking if argz actually works... " >&6; }
                   17294: if ${lt_cv_sys_argz_works+:} false; then :
                   17295:   $as_echo_n "(cached) " >&6
1.128     moko     17296: else
                   17297:   case $host_os in #(
                   17298:         *cygwin*)
                   17299:           lt_cv_sys_argz_works=no
                   17300:           if test "$cross_compiling" != no; then
                   17301:             lt_cv_sys_argz_works="guessing no"
                   17302:           else
                   17303:             lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
                   17304:             save_IFS=$IFS
                   17305:             IFS=-.
                   17306:             set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
                   17307:             IFS=$save_IFS
                   17308:             lt_os_major=${2-0}
                   17309:             lt_os_minor=${3-0}
                   17310:             lt_os_micro=${4-0}
                   17311:             if test "$lt_os_major" -gt 1 \
                   17312:                || { test "$lt_os_major" -eq 1 \
                   17313:                  && { test "$lt_os_minor" -gt 5 \
                   17314:                    || { test "$lt_os_minor" -eq 5 \
                   17315:                      && test "$lt_os_micro" -gt 24; }; }; }; then
                   17316:               lt_cv_sys_argz_works=yes
                   17317:             fi
                   17318:           fi
                   17319:           ;; #(
                   17320:         *) lt_cv_sys_argz_works=yes ;;
                   17321:         esac
                   17322: fi
1.150     moko     17323: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
                   17324: $as_echo "$lt_cv_sys_argz_works" >&6; }
                   17325:      if test "$lt_cv_sys_argz_works" = yes; then :
1.128     moko     17326: 
1.150     moko     17327: $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
1.128     moko     17328: 
1.62      paf      17329: else
1.128     moko     17330:   ARGZ_H=argz.h
                   17331: 
                   17332: 
                   17333:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   17334: 
                   17335: fi
1.62      paf      17336: fi
1.128     moko     17337: 
                   17338: 
                   17339: 
1.150     moko     17340: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
                   17341: $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
                   17342: if ${libltdl_cv_preloaded_symbols+:} false; then :
                   17343:   $as_echo_n "(cached) " >&6
1.128     moko     17344: else
                   17345:   if test -n "$lt_cv_sys_global_symbol_pipe"; then
                   17346:     libltdl_cv_preloaded_symbols=yes
                   17347:   else
                   17348:     libltdl_cv_preloaded_symbols=no
                   17349:   fi
                   17350: 
1.62      paf      17351: fi
1.150     moko     17352: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
                   17353: $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
1.128     moko     17354: if test x"$libltdl_cv_preloaded_symbols" = xyes; then
                   17355: 
1.150     moko     17356: $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
1.66      paf      17357: 
                   17358: fi
                   17359: 
1.150     moko     17360: 
                   17361: 
1.128     moko     17362: # Set options
                   17363: 
                   17364: 
                   17365: 
                   17366: 
                   17367: 
                   17368: 
                   17369: 
                   17370: 
                   17371: 
                   17372: 
1.66      paf      17373: 
                   17374: 
1.150     moko     17375: # Check whether --with-included_ltdl was given.
                   17376: if test "${with_included_ltdl+set}" = set; then :
                   17377:   withval=$with_included_ltdl;
                   17378: fi
1.64      paf      17379: 
                   17380: 
1.128     moko     17381: if test "x$with_included_ltdl" != xyes; then
                   17382:   # We are not being forced to use the included libltdl sources, so
                   17383:   # decide whether there is a useful installed version we can use.
1.150     moko     17384:   ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
1.128     moko     17385: 
1.150     moko     17386: "
                   17387: if test "x$ac_cv_header_ltdl_h" = xyes; then :
                   17388:   ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
1.128     moko     17389:            #include <ltdl.h>
1.150     moko     17390: "
                   17391: if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
                   17392:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
                   17393: $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
                   17394: if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
                   17395:   $as_echo_n "(cached) " >&6
1.79      paf      17396: else
1.128     moko     17397:   ac_check_lib_save_LIBS=$LIBS
                   17398: LIBS="-lltdl  $LIBS"
1.150     moko     17399: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.79      paf      17400: /* end confdefs.h.  */
1.128     moko     17401: 
1.150     moko     17402: /* Override any GCC internal prototype to avoid an error.
                   17403:    Use char because int might match the return type of a GCC
                   17404:    builtin and then its argument prototype would still apply.  */
1.128     moko     17405: #ifdef __cplusplus
                   17406: extern "C"
                   17407: #endif
                   17408: char lt_dladvise_preload ();
1.79      paf      17409: int
                   17410: main ()
                   17411: {
1.150     moko     17412: return lt_dladvise_preload ();
1.79      paf      17413:   ;
                   17414:   return 0;
                   17415: }
                   17416: _ACEOF
1.150     moko     17417: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     17418:   ac_cv_lib_ltdl_lt_dladvise_preload=yes
1.79      paf      17419: else
1.150     moko     17420:   ac_cv_lib_ltdl_lt_dladvise_preload=no
1.128     moko     17421: fi
1.150     moko     17422: rm -f core conftest.err conftest.$ac_objext \
                   17423:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     17424: LIBS=$ac_check_lib_save_LIBS
1.79      paf      17425: fi
1.150     moko     17426: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
                   17427: $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
                   17428: if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
1.128     moko     17429:   with_included_ltdl=no
1.79      paf      17430: else
1.128     moko     17431:   with_included_ltdl=yes
                   17432: fi
                   17433: 
1.79      paf      17434: else
1.128     moko     17435:   with_included_ltdl=yes
                   17436: fi
1.79      paf      17437: 
1.128     moko     17438: else
                   17439:   with_included_ltdl=yes
1.79      paf      17440: fi
1.128     moko     17441: 
                   17442: 
1.79      paf      17443: fi
1.128     moko     17444: 
                   17445: 
                   17446: 
                   17447: 
1.150     moko     17448: # Check whether --with-ltdl_include was given.
                   17449: if test "${with_ltdl_include+set}" = set; then :
                   17450:   withval=$with_ltdl_include;
                   17451: fi
1.128     moko     17452: 
                   17453: 
                   17454: if test -n "$with_ltdl_include"; then
                   17455:   if test -f "$with_ltdl_include/ltdl.h"; then :
                   17456:   else
1.150     moko     17457:     as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
1.128     moko     17458:   fi
                   17459: else
                   17460:   with_ltdl_include=no
1.79      paf      17461: fi
1.128     moko     17462: 
                   17463: 
1.150     moko     17464: # Check whether --with-ltdl_lib was given.
                   17465: if test "${with_ltdl_lib+set}" = set; then :
                   17466:   withval=$with_ltdl_lib;
                   17467: fi
1.128     moko     17468: 
                   17469: 
                   17470: if test -n "$with_ltdl_lib"; then
                   17471:   if test -f "$with_ltdl_lib/libltdl.la"; then :
                   17472:   else
1.150     moko     17473:     as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
1.128     moko     17474:   fi
                   17475: else
                   17476:   with_ltdl_lib=no
1.79      paf      17477: fi
                   17478: 
1.128     moko     17479: case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
                   17480:   ,yes,no,no,)
                   17481:        case $enable_ltdl_convenience in
1.150     moko     17482:   no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
1.128     moko     17483:   "") enable_ltdl_convenience=yes
                   17484:       ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
                   17485: esac
1.150     moko     17486: LIBLTDL='${top_build_prefix}'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
1.128     moko     17487: LTDLDEPS=$LIBLTDL
                   17488: LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
                   17489: 
                   17490: 
                   17491: 
                   17492: 
                   17493: 
                   17494: # For backwards non-gettext consistent compatibility...
                   17495: INCLTDL="$LTDLINCL"
                   17496: 
1.79      paf      17497: 
1.128     moko     17498:        ;;
                   17499:   ,no,no,no,)
                   17500:        # If the included ltdl is not to be used, then use the
                   17501:        # preinstalled libltdl we found.
1.79      paf      17502: 
1.150     moko     17503: $as_echo "#define HAVE_LTDL 1" >>confdefs.h
1.79      paf      17504: 
1.128     moko     17505:        LIBLTDL=-lltdl
                   17506:        LTDLDEPS=
                   17507:        LTDLINCL=
                   17508:        ;;
                   17509:   ,no*,no,*)
1.150     moko     17510:        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
1.128     moko     17511:        ;;
                   17512:   *)   with_included_ltdl=no
                   17513:        LIBLTDL="-L$with_ltdl_lib -lltdl"
                   17514:        LTDLDEPS=
                   17515:        LTDLINCL="-I$with_ltdl_include"
                   17516:        ;;
                   17517: esac
                   17518: INCLTDL="$LTDLINCL"
                   17519: 
                   17520: # Report our decision...
1.150     moko     17521: { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5
                   17522: $as_echo_n "checking where to find libltdl headers... " >&6; }
                   17523: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LTDLINCL" >&5
                   17524: $as_echo "$LTDLINCL" >&6; }
                   17525: { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl library" >&5
                   17526: $as_echo_n "checking where to find libltdl library... " >&6; }
                   17527: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBLTDL" >&5
                   17528: $as_echo "$LIBLTDL" >&6; }
1.128     moko     17529: 
                   17530: 
                   17531: 
1.150     moko     17532: # Check whether --enable-ltdl-install was given.
                   17533: if test "${enable_ltdl_install+set}" = set; then :
                   17534:   enableval=$enable_ltdl_install;
                   17535: fi
1.128     moko     17536: 
                   17537: 
                   17538: case ,${enable_ltdl_install},${enable_ltdl_convenience} in
                   17539:   *yes*) ;;
                   17540:   *) enable_ltdl_convenience=yes ;;
                   17541: esac
                   17542: 
1.150     moko     17543:  if test x"${enable_ltdl_install-no}" != xno; then
1.128     moko     17544:   INSTALL_LTDL_TRUE=
                   17545:   INSTALL_LTDL_FALSE='#'
                   17546: else
                   17547:   INSTALL_LTDL_TRUE='#'
                   17548:   INSTALL_LTDL_FALSE=
                   17549: fi
                   17550: 
1.150     moko     17551:   if test x"${enable_ltdl_convenience-no}" != xno; then
1.128     moko     17552:   CONVENIENCE_LTDL_TRUE=
                   17553:   CONVENIENCE_LTDL_FALSE='#'
                   17554: else
                   17555:   CONVENIENCE_LTDL_TRUE='#'
                   17556:   CONVENIENCE_LTDL_FALSE=
                   17557: fi
                   17558: 
                   17559: 
                   17560: 
1.150     moko     17561:     subdirs="$subdirs src/lib/ltdl"
1.128     moko     17562: 
                   17563: 
                   17564: 
                   17565: 
                   17566: # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
                   17567: # the user used.  This is so that ltdl.h can pick up the parent projects
                   17568: # config.h file, The first file in AC_CONFIG_HEADERS must contain the
                   17569: # definitions required by ltdl.c.
                   17570: # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
                   17571: 
                   17572: 
                   17573: 
1.150     moko     17574: for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
                   17575: do :
                   17576:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   17577: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   17578: "
                   17579: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   17580:   cat >>confdefs.h <<_ACEOF
                   17581: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   17582: _ACEOF
1.128     moko     17583: 
1.150     moko     17584: fi
1.128     moko     17585: 
1.150     moko     17586: done
1.128     moko     17587: 
                   17588: 
1.150     moko     17589: for ac_func in closedir opendir readdir
                   17590: do :
                   17591:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17592: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   17593: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   17594:   cat >>confdefs.h <<_ACEOF
                   17595: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   17596: _ACEOF
1.66      paf      17597: 
                   17598: else
1.64      paf      17599: 
1.66      paf      17600: 
1.128     moko     17601:   _LT_LIBOBJS="$_LT_LIBOBJS lt__dirent.$ac_objext"
1.1       paf      17602: 
1.66      paf      17603: fi
1.128     moko     17604: done
                   17605: 
                   17606: for ac_func in strlcat strlcpy
1.150     moko     17607: do :
                   17608:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17609: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   17610: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.128     moko     17611:   cat >>confdefs.h <<_ACEOF
1.150     moko     17612: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.128     moko     17613: _ACEOF
                   17614: 
                   17615: else
                   17616: 
                   17617: 
                   17618:   _LT_LIBOBJS="$_LT_LIBOBJS lt__strl.$ac_objext"
                   17619: 
1.62      paf      17620: fi
1.128     moko     17621: done
                   17622: 
                   17623: 
1.64      paf      17624: 
1.128     moko     17625: cat >>confdefs.h <<_ACEOF
                   17626: #define LT_LIBEXT "$libext"
1.62      paf      17627: _ACEOF
1.64      paf      17628: 
1.128     moko     17629: 
                   17630: name=
                   17631: eval "lt_libprefix=\"$libname_spec\""
                   17632: 
                   17633: cat >>confdefs.h <<_ACEOF
                   17634: #define LT_LIBPREFIX "$lt_libprefix"
1.66      paf      17635: _ACEOF
1.128     moko     17636: 
                   17637: 
                   17638: name=ltdl
                   17639: eval "LTDLOPEN=\"$libname_spec\""
                   17640: 
                   17641: 
                   17642: 
                   17643: 
                   17644: 
                   17645: 
                   17646: 
                   17647: 
                   17648: # Only expand once:
                   17649: 
                   17650: 
                   17651: 
                   17652: 
1.150     moko     17653:  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
                   17654: $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
                   17655: if ${ac_cv_c_bigendian+:} false; then :
                   17656:   $as_echo_n "(cached) " >&6
                   17657: else
                   17658:   ac_cv_c_bigendian=unknown
                   17659:     # See if we're dealing with a universal compiler.
                   17660:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17661: /* end confdefs.h.  */
                   17662: #ifndef __APPLE_CC__
                   17663:               not a universal capable compiler
                   17664:             #endif
                   17665:             typedef int dummy;
                   17666: 
                   17667: _ACEOF
                   17668: if ac_fn_c_try_compile "$LINENO"; then :
                   17669: 
                   17670:        # Check for potential -arch flags.  It is not universal unless
                   17671:        # there are at least two -arch flags with different values.
                   17672:        ac_arch=
                   17673:        ac_prev=
                   17674:        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
                   17675:         if test -n "$ac_prev"; then
                   17676:           case $ac_word in
                   17677:             i?86 | x86_64 | ppc | ppc64)
                   17678:               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
                   17679:                 ac_arch=$ac_word
                   17680:               else
                   17681:                 ac_cv_c_bigendian=universal
                   17682:                 break
                   17683:               fi
                   17684:               ;;
                   17685:           esac
                   17686:           ac_prev=
                   17687:         elif test "x$ac_word" = "x-arch"; then
                   17688:           ac_prev=arch
                   17689:         fi
                   17690:        done
                   17691: fi
                   17692: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17693:     if test $ac_cv_c_bigendian = unknown; then
                   17694:       # See if sys/param.h defines the BYTE_ORDER macro.
                   17695:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      17696: /* end confdefs.h.  */
1.128     moko     17697: #include <sys/types.h>
1.150     moko     17698:             #include <sys/param.h>
1.128     moko     17699: 
                   17700: int
                   17701: main ()
                   17702: {
1.150     moko     17703: #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
                   17704:                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
                   17705:                     && LITTLE_ENDIAN)
                   17706:              bogus endian macros
                   17707:             #endif
1.64      paf      17708: 
1.128     moko     17709:   ;
                   17710:   return 0;
                   17711: }
1.66      paf      17712: _ACEOF
1.150     moko     17713: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     17714:   # It does; now see whether it defined to BIG_ENDIAN or not.
1.150     moko     17715:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.64      paf      17716: /* end confdefs.h.  */
1.128     moko     17717: #include <sys/types.h>
1.150     moko     17718:                #include <sys/param.h>
1.64      paf      17719: 
                   17720: int
                   17721: main ()
1.128     moko     17722: {
                   17723: #if BYTE_ORDER != BIG_ENDIAN
1.150     moko     17724:                 not big endian
                   17725:                #endif
1.128     moko     17726: 
                   17727:   ;
                   17728:   return 0;
1.64      paf      17729: }
                   17730: _ACEOF
1.150     moko     17731: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     17732:   ac_cv_c_bigendian=yes
1.64      paf      17733: else
1.150     moko     17734:   ac_cv_c_bigendian=no
                   17735: fi
                   17736: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17737: fi
                   17738: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17739:     fi
                   17740:     if test $ac_cv_c_bigendian = unknown; then
                   17741:       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
                   17742:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17743: /* end confdefs.h.  */
                   17744: #include <limits.h>
1.64      paf      17745: 
1.150     moko     17746: int
                   17747: main ()
                   17748: {
                   17749: #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
                   17750:              bogus endian macros
                   17751:             #endif
1.66      paf      17752: 
1.150     moko     17753:   ;
                   17754:   return 0;
                   17755: }
1.62      paf      17756: _ACEOF
1.150     moko     17757: if ac_fn_c_try_compile "$LINENO"; then :
                   17758:   # It does; now see whether it defined to _BIG_ENDIAN or not.
                   17759:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17760: /* end confdefs.h.  */
1.150     moko     17761: #include <limits.h>
                   17762: 
1.128     moko     17763: int
                   17764: main ()
                   17765: {
1.150     moko     17766: #ifndef _BIG_ENDIAN
                   17767:                 not big endian
                   17768:                #endif
                   17769: 
1.128     moko     17770:   ;
                   17771:   return 0;
                   17772: }
1.62      paf      17773: _ACEOF
1.150     moko     17774: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     17775:   ac_cv_c_bigendian=yes
1.150     moko     17776: else
                   17777:   ac_cv_c_bigendian=no
1.128     moko     17778: fi
1.150     moko     17779: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     17780: fi
1.150     moko     17781: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17782:     fi
                   17783:     if test $ac_cv_c_bigendian = unknown; then
                   17784:       # Compile a test program.
                   17785:       if test "$cross_compiling" = yes; then :
                   17786:   # Try to guess by grepping values from an object file.
                   17787:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17788: /* end confdefs.h.  */
                   17789: short int ascii_mm[] =
                   17790:                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
                   17791:                short int ascii_ii[] =
                   17792:                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
                   17793:                int use_ascii (int i) {
                   17794:                  return ascii_mm[i] + ascii_ii[i];
                   17795:                }
                   17796:                short int ebcdic_ii[] =
                   17797:                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
                   17798:                short int ebcdic_mm[] =
                   17799:                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
                   17800:                int use_ebcdic (int i) {
                   17801:                  return ebcdic_mm[i] + ebcdic_ii[i];
                   17802:                }
                   17803:                extern int foo;
1.62      paf      17804: 
1.150     moko     17805: int
                   17806: main ()
                   17807: {
                   17808: return use_ascii (foo) == use_ebcdic (foo);
                   17809:   ;
                   17810:   return 0;
                   17811: }
                   17812: _ACEOF
                   17813: if ac_fn_c_try_compile "$LINENO"; then :
                   17814:   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
                   17815:              ac_cv_c_bigendian=yes
                   17816:            fi
                   17817:            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
                   17818:              if test "$ac_cv_c_bigendian" = unknown; then
                   17819:                ac_cv_c_bigendian=no
                   17820:              else
                   17821:                # finding both strings is unlikely to happen, but who knows?
                   17822:                ac_cv_c_bigendian=unknown
                   17823:              fi
                   17824:            fi
1.128     moko     17825: fi
1.150     moko     17826: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     17827: else
1.150     moko     17828:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     17829: /* end confdefs.h.  */
1.150     moko     17830: $ac_includes_default
1.128     moko     17831: int
                   17832: main ()
                   17833: {
1.150     moko     17834: 
                   17835:             /* Are we little or big endian?  From Harbison&Steele.  */
                   17836:             union
                   17837:             {
                   17838:               long int l;
                   17839:               char c[sizeof (long int)];
                   17840:             } u;
                   17841:             u.l = 1;
                   17842:             return u.c[sizeof (long int) - 1] == 1;
                   17843: 
                   17844:   ;
                   17845:   return 0;
1.128     moko     17846: }
                   17847: _ACEOF
1.150     moko     17848: if ac_fn_c_try_run "$LINENO"; then :
1.128     moko     17849:   ac_cv_c_bigendian=no
                   17850: else
1.150     moko     17851:   ac_cv_c_bigendian=yes
1.128     moko     17852: fi
1.150     moko     17853: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   17854:   conftest.$ac_objext conftest.beam conftest.$ac_ext
1.128     moko     17855: fi
1.150     moko     17856: 
                   17857:     fi
1.66      paf      17858: fi
1.150     moko     17859: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
                   17860: $as_echo "$ac_cv_c_bigendian" >&6; }
                   17861:  case $ac_cv_c_bigendian in #(
                   17862:    yes)
                   17863: 
                   17864: $as_echo "#define PA_BIG_ENDIAN /**/" >>confdefs.h
                   17865: 
                   17866: ;; #(
                   17867:    no)
1.128     moko     17868: 
1.150     moko     17869: $as_echo "#define PA_LITTLE_ENDIAN /**/" >>confdefs.h
1.66      paf      17870: 
1.150     moko     17871:  ;; #(
                   17872:    universal)
1.128     moko     17873: 
1.150     moko     17874: $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
1.1       paf      17875: 
1.150     moko     17876:      ;; #(
                   17877:    *)
                   17878:      as_fn_error $? "word endianness not determined for some obscure reason" "$LINENO" 5
1.128     moko     17879:  ;;
1.150     moko     17880:  esac
1.66      paf      17881: 
                   17882: 
1.150     moko     17883: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
                   17884: if test "x$ac_cv_type_size_t" = xyes; then :
1.62      paf      17885: 
1.66      paf      17886: else
1.1       paf      17887: 
1.66      paf      17888: cat >>confdefs.h <<_ACEOF
1.150     moko     17889: #define size_t unsigned int
1.66      paf      17890: _ACEOF
1.62      paf      17891: 
                   17892: fi
1.66      paf      17893: 
1.156     moko     17894: ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
                   17895: if test "x$ac_cv_type_ssize_t" = xyes; then :
                   17896: 
                   17897: else
                   17898: 
                   17899: cat >>confdefs.h <<_ACEOF
                   17900: #define ssize_t int
                   17901: _ACEOF
                   17902: 
                   17903: fi
                   17904: 
1.159     moko     17905: ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
                   17906: case $ac_cv_c_uint8_t in #(
                   17907:   no|yes) ;; #(
                   17908:   *)
                   17909: 
                   17910: $as_echo "#define _UINT8_T 1" >>confdefs.h
                   17911: 
                   17912: 
                   17913: cat >>confdefs.h <<_ACEOF
                   17914: #define uint8_t $ac_cv_c_uint8_t
                   17915: _ACEOF
                   17916: ;;
                   17917:   esac
                   17918: 
1.165     moko     17919: ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
                   17920: case $ac_cv_c_uint16_t in #(
                   17921:   no|yes) ;; #(
                   17922:   *)
                   17923: 
                   17924: 
                   17925: cat >>confdefs.h <<_ACEOF
                   17926: #define uint16_t $ac_cv_c_uint16_t
                   17927: _ACEOF
                   17928: ;;
                   17929:   esac
                   17930: 
1.156     moko     17931: ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
                   17932: case $ac_cv_c_uint32_t in #(
                   17933:   no|yes) ;; #(
                   17934:   *)
                   17935: 
                   17936: $as_echo "#define _UINT32_T 1" >>confdefs.h
                   17937: 
                   17938: 
                   17939: cat >>confdefs.h <<_ACEOF
                   17940: #define uint32_t $ac_cv_c_uint32_t
                   17941: _ACEOF
                   17942: ;;
                   17943:   esac
1.128     moko     17944: 
1.159     moko     17945: ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
                   17946: case $ac_cv_c_uint64_t in #(
                   17947:   no|yes) ;; #(
                   17948:   *)
                   17949: 
                   17950: $as_echo "#define _UINT64_T 1" >>confdefs.h
                   17951: 
                   17952: 
                   17953: cat >>confdefs.h <<_ACEOF
                   17954: #define uint64_t $ac_cv_c_uint64_t
                   17955: _ACEOF
                   17956: ;;
                   17957:   esac
                   17958: 
1.234     moko     17959: ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
                   17960: case $ac_cv_c_int64_t in #(
                   17961:   no|yes) ;; #(
                   17962:   *)
                   17963: 
                   17964: cat >>confdefs.h <<_ACEOF
                   17965: #define int64_t $ac_cv_c_int64_t
                   17966: _ACEOF
                   17967: ;;
                   17968: esac
                   17969: 
1.159     moko     17970: 
1.161     moko     17971: ac_header_dirent=no
                   17972: for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
                   17973:   as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
                   17974: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
                   17975: $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
                   17976: if eval \${$as_ac_Header+:} false; then :
                   17977:   $as_echo_n "(cached) " >&6
                   17978: else
                   17979:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17980: /* end confdefs.h.  */
                   17981: #include <sys/types.h>
                   17982: #include <$ac_hdr>
                   17983: 
                   17984: int
                   17985: main ()
                   17986: {
                   17987: if ((DIR *) 0)
                   17988: return 0;
                   17989:   ;
                   17990:   return 0;
                   17991: }
                   17992: _ACEOF
                   17993: if ac_fn_c_try_compile "$LINENO"; then :
                   17994:   eval "$as_ac_Header=yes"
                   17995: else
                   17996:   eval "$as_ac_Header=no"
                   17997: fi
                   17998: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17999: fi
                   18000: eval ac_res=\$$as_ac_Header
                   18001:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   18002: $as_echo "$ac_res" >&6; }
                   18003: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   18004:   cat >>confdefs.h <<_ACEOF
                   18005: #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
                   18006: _ACEOF
                   18007: 
                   18008: ac_header_dirent=$ac_hdr; break
                   18009: fi
                   18010: 
                   18011: done
                   18012: # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
                   18013: if test $ac_header_dirent = dirent.h; then
                   18014:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
                   18015: $as_echo_n "checking for library containing opendir... " >&6; }
                   18016: if ${ac_cv_search_opendir+:} false; then :
                   18017:   $as_echo_n "(cached) " >&6
                   18018: else
                   18019:   ac_func_search_save_LIBS=$LIBS
                   18020: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18021: /* end confdefs.h.  */
                   18022: 
                   18023: /* Override any GCC internal prototype to avoid an error.
                   18024:    Use char because int might match the return type of a GCC
                   18025:    builtin and then its argument prototype would still apply.  */
                   18026: #ifdef __cplusplus
                   18027: extern "C"
                   18028: #endif
                   18029: char opendir ();
                   18030: int
                   18031: main ()
                   18032: {
                   18033: return opendir ();
                   18034:   ;
                   18035:   return 0;
                   18036: }
                   18037: _ACEOF
                   18038: for ac_lib in '' dir; do
                   18039:   if test -z "$ac_lib"; then
                   18040:     ac_res="none required"
                   18041:   else
                   18042:     ac_res=-l$ac_lib
                   18043:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   18044:   fi
                   18045:   if ac_fn_c_try_link "$LINENO"; then :
                   18046:   ac_cv_search_opendir=$ac_res
                   18047: fi
                   18048: rm -f core conftest.err conftest.$ac_objext \
                   18049:     conftest$ac_exeext
                   18050:   if ${ac_cv_search_opendir+:} false; then :
                   18051:   break
                   18052: fi
                   18053: done
                   18054: if ${ac_cv_search_opendir+:} false; then :
                   18055: 
                   18056: else
                   18057:   ac_cv_search_opendir=no
                   18058: fi
                   18059: rm conftest.$ac_ext
                   18060: LIBS=$ac_func_search_save_LIBS
                   18061: fi
                   18062: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
                   18063: $as_echo "$ac_cv_search_opendir" >&6; }
                   18064: ac_res=$ac_cv_search_opendir
                   18065: if test "$ac_res" != no; then :
                   18066:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   18067: 
                   18068: fi
                   18069: 
                   18070: else
                   18071:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
                   18072: $as_echo_n "checking for library containing opendir... " >&6; }
                   18073: if ${ac_cv_search_opendir+:} false; then :
                   18074:   $as_echo_n "(cached) " >&6
                   18075: else
                   18076:   ac_func_search_save_LIBS=$LIBS
                   18077: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18078: /* end confdefs.h.  */
                   18079: 
                   18080: /* Override any GCC internal prototype to avoid an error.
                   18081:    Use char because int might match the return type of a GCC
                   18082:    builtin and then its argument prototype would still apply.  */
                   18083: #ifdef __cplusplus
                   18084: extern "C"
                   18085: #endif
                   18086: char opendir ();
                   18087: int
                   18088: main ()
                   18089: {
                   18090: return opendir ();
                   18091:   ;
                   18092:   return 0;
                   18093: }
                   18094: _ACEOF
                   18095: for ac_lib in '' x; do
                   18096:   if test -z "$ac_lib"; then
                   18097:     ac_res="none required"
                   18098:   else
                   18099:     ac_res=-l$ac_lib
                   18100:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   18101:   fi
                   18102:   if ac_fn_c_try_link "$LINENO"; then :
                   18103:   ac_cv_search_opendir=$ac_res
                   18104: fi
                   18105: rm -f core conftest.err conftest.$ac_objext \
                   18106:     conftest$ac_exeext
                   18107:   if ${ac_cv_search_opendir+:} false; then :
                   18108:   break
                   18109: fi
                   18110: done
                   18111: if ${ac_cv_search_opendir+:} false; then :
                   18112: 
                   18113: else
                   18114:   ac_cv_search_opendir=no
                   18115: fi
                   18116: rm conftest.$ac_ext
                   18117: LIBS=$ac_func_search_save_LIBS
                   18118: fi
                   18119: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
                   18120: $as_echo "$ac_cv_search_opendir" >&6; }
                   18121: ac_res=$ac_cv_search_opendir
                   18122: if test "$ac_res" != no; then :
                   18123:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   18124: 
                   18125: fi
                   18126: 
                   18127: fi
                   18128: 
                   18129: 
                   18130: 
                   18131:   ac_fn_c_check_member "$LINENO" "struct dirent" "d_type" "ac_cv_member_struct_dirent_d_type" "
                   18132: #include <sys/types.h>
                   18133: #ifdef HAVE_DIRENT_H
                   18134: # include <dirent.h>
                   18135: #else
                   18136: # define dirent direct
                   18137: # ifdef HAVE_SYS_NDIR_H
                   18138: #  include <sys/ndir.h>
                   18139: # endif
                   18140: # ifdef HAVE_SYS_DIR_H
                   18141: #  include <sys/dir.h>
                   18142: # endif
                   18143: # ifdef HAVE_NDIR_H
                   18144: #  include <ndir.h>
                   18145: # endif
                   18146: #endif
                   18147: 
                   18148: "
                   18149: if test "x$ac_cv_member_struct_dirent_d_type" = xyes; then :
                   18150: 
                   18151: cat >>confdefs.h <<_ACEOF
                   18152: #define HAVE_STRUCT_DIRENT_D_TYPE 1
                   18153: _ACEOF
                   18154: 
                   18155: 
                   18156: fi
                   18157: 
                   18158: 
1.159     moko     18159: 
1.171     moko     18160: # Check whether --enable-largefile was given.
                   18161: if test "${enable_largefile+set}" = set; then :
                   18162:   enableval=$enable_largefile;
                   18163: fi
                   18164: 
                   18165: if test "$enable_largefile" != no; then
                   18166: 
                   18167:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
                   18168: $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
                   18169: if ${ac_cv_sys_largefile_CC+:} false; then :
                   18170:   $as_echo_n "(cached) " >&6
                   18171: else
                   18172:   ac_cv_sys_largefile_CC=no
                   18173:      if test "$GCC" != yes; then
                   18174:        ac_save_CC=$CC
                   18175:        while :; do
                   18176:         # IRIX 6.2 and later do not support large files by default,
                   18177:         # so use the C compiler's -n32 option if that helps.
                   18178:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18179: /* end confdefs.h.  */
                   18180: #include <sys/types.h>
                   18181:  /* Check that off_t can represent 2**63 - 1 correctly.
                   18182:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   18183:     since some C++ compilers masquerading as C compilers
                   18184:     incorrectly reject 9223372036854775807.  */
1.191     moko     18185: #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
1.171     moko     18186:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   18187:                       && LARGE_OFF_T % 2147483647 == 1)
                   18188:                      ? 1 : -1];
                   18189: int
                   18190: main ()
                   18191: {
                   18192: 
                   18193:   ;
                   18194:   return 0;
                   18195: }
                   18196: _ACEOF
                   18197:         if ac_fn_c_try_compile "$LINENO"; then :
                   18198:   break
                   18199: fi
                   18200: rm -f core conftest.err conftest.$ac_objext
                   18201:         CC="$CC -n32"
                   18202:         if ac_fn_c_try_compile "$LINENO"; then :
                   18203:   ac_cv_sys_largefile_CC=' -n32'; break
                   18204: fi
                   18205: rm -f core conftest.err conftest.$ac_objext
                   18206:         break
                   18207:        done
                   18208:        CC=$ac_save_CC
                   18209:        rm -f conftest.$ac_ext
                   18210:     fi
                   18211: fi
                   18212: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
                   18213: $as_echo "$ac_cv_sys_largefile_CC" >&6; }
                   18214:   if test "$ac_cv_sys_largefile_CC" != no; then
                   18215:     CC=$CC$ac_cv_sys_largefile_CC
                   18216:   fi
                   18217: 
                   18218:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
                   18219: $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
                   18220: if ${ac_cv_sys_file_offset_bits+:} false; then :
                   18221:   $as_echo_n "(cached) " >&6
                   18222: else
                   18223:   while :; do
                   18224:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18225: /* end confdefs.h.  */
                   18226: #include <sys/types.h>
                   18227:  /* Check that off_t can represent 2**63 - 1 correctly.
                   18228:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   18229:     since some C++ compilers masquerading as C compilers
                   18230:     incorrectly reject 9223372036854775807.  */
1.191     moko     18231: #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
1.171     moko     18232:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   18233:                       && LARGE_OFF_T % 2147483647 == 1)
                   18234:                      ? 1 : -1];
                   18235: int
                   18236: main ()
                   18237: {
                   18238: 
                   18239:   ;
                   18240:   return 0;
                   18241: }
                   18242: _ACEOF
                   18243: if ac_fn_c_try_compile "$LINENO"; then :
                   18244:   ac_cv_sys_file_offset_bits=no; break
                   18245: fi
                   18246: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18247:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18248: /* end confdefs.h.  */
                   18249: #define _FILE_OFFSET_BITS 64
                   18250: #include <sys/types.h>
                   18251:  /* Check that off_t can represent 2**63 - 1 correctly.
                   18252:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   18253:     since some C++ compilers masquerading as C compilers
                   18254:     incorrectly reject 9223372036854775807.  */
1.191     moko     18255: #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
1.171     moko     18256:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   18257:                       && LARGE_OFF_T % 2147483647 == 1)
                   18258:                      ? 1 : -1];
                   18259: int
                   18260: main ()
                   18261: {
                   18262: 
                   18263:   ;
                   18264:   return 0;
                   18265: }
                   18266: _ACEOF
                   18267: if ac_fn_c_try_compile "$LINENO"; then :
                   18268:   ac_cv_sys_file_offset_bits=64; break
                   18269: fi
                   18270: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18271:   ac_cv_sys_file_offset_bits=unknown
                   18272:   break
                   18273: done
                   18274: fi
                   18275: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
                   18276: $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
                   18277: case $ac_cv_sys_file_offset_bits in #(
                   18278:   no | unknown) ;;
                   18279:   *)
                   18280: cat >>confdefs.h <<_ACEOF
                   18281: #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
                   18282: _ACEOF
                   18283: ;;
                   18284: esac
                   18285: rm -rf conftest*
                   18286:   if test $ac_cv_sys_file_offset_bits = unknown; then
                   18287:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
                   18288: $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
                   18289: if ${ac_cv_sys_large_files+:} false; then :
                   18290:   $as_echo_n "(cached) " >&6
                   18291: else
                   18292:   while :; do
                   18293:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18294: /* end confdefs.h.  */
                   18295: #include <sys/types.h>
                   18296:  /* Check that off_t can represent 2**63 - 1 correctly.
                   18297:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   18298:     since some C++ compilers masquerading as C compilers
                   18299:     incorrectly reject 9223372036854775807.  */
1.191     moko     18300: #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
1.171     moko     18301:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   18302:                       && LARGE_OFF_T % 2147483647 == 1)
                   18303:                      ? 1 : -1];
                   18304: int
                   18305: main ()
                   18306: {
                   18307: 
                   18308:   ;
                   18309:   return 0;
                   18310: }
                   18311: _ACEOF
                   18312: if ac_fn_c_try_compile "$LINENO"; then :
                   18313:   ac_cv_sys_large_files=no; break
                   18314: fi
                   18315: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18316:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18317: /* end confdefs.h.  */
                   18318: #define _LARGE_FILES 1
                   18319: #include <sys/types.h>
                   18320:  /* Check that off_t can represent 2**63 - 1 correctly.
                   18321:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   18322:     since some C++ compilers masquerading as C compilers
                   18323:     incorrectly reject 9223372036854775807.  */
1.191     moko     18324: #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
1.171     moko     18325:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   18326:                       && LARGE_OFF_T % 2147483647 == 1)
                   18327:                      ? 1 : -1];
                   18328: int
                   18329: main ()
                   18330: {
                   18331: 
                   18332:   ;
                   18333:   return 0;
                   18334: }
                   18335: _ACEOF
                   18336: if ac_fn_c_try_compile "$LINENO"; then :
                   18337:   ac_cv_sys_large_files=1; break
                   18338: fi
                   18339: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18340:   ac_cv_sys_large_files=unknown
                   18341:   break
                   18342: done
                   18343: fi
                   18344: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
                   18345: $as_echo "$ac_cv_sys_large_files" >&6; }
                   18346: case $ac_cv_sys_large_files in #(
                   18347:   no | unknown) ;;
                   18348:   *)
                   18349: cat >>confdefs.h <<_ACEOF
                   18350: #define _LARGE_FILES $ac_cv_sys_large_files
                   18351: _ACEOF
                   18352: ;;
                   18353: esac
                   18354: rm -rf conftest*
                   18355:   fi
                   18356: 
                   18357: 
                   18358: fi
                   18359: 
                   18360: 
1.159     moko     18361: 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
                   18362: do :
                   18363:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   18364: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   18365: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   18366:   cat >>confdefs.h <<_ACEOF
                   18367: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   18368: _ACEOF
                   18369: 
                   18370: fi
1.150     moko     18371: 
1.159     moko     18372: done
                   18373: 
1.229     moko     18374: for ac_header in time.h sys/time.h assert.h limits.h ctype.h math.h process.h stdarg.h setjmp.h signal.h pthread.h
1.159     moko     18375: do :
                   18376:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   18377: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   18378: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   18379:   cat >>confdefs.h <<_ACEOF
                   18380: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   18381: _ACEOF
                   18382: 
                   18383: fi
                   18384: 
                   18385: done
                   18386: 
1.164     moko     18387: 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     18388: do :
                   18389:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   18390: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   18391: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   18392:   cat >>confdefs.h <<_ACEOF
                   18393: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   18394: _ACEOF
                   18395: 
                   18396: fi
                   18397: 
                   18398: done
                   18399: 
1.163     moko     18400: for ac_header in sys/socket.h netinet/in.h arpa/inet.h netdb.h
1.150     moko     18401: do :
                   18402:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   18403: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   18404: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1.66      paf      18405:   cat >>confdefs.h <<_ACEOF
1.150     moko     18406: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.62      paf      18407: _ACEOF
                   18408: 
                   18409: fi
                   18410: 
1.66      paf      18411: done
1.62      paf      18412: 
                   18413: 
                   18414: 
1.66      paf      18415: case "$host" in
1.107     misha    18416:   *-freebsd4*)
                   18417: 
1.150     moko     18418: $as_echo "#define FREEBSD4 /**/" >>confdefs.h
1.107     misha    18419: 
                   18420:   ;;
1.195     moko     18421:   *-freebsd1*)
                   18422: 
                   18423: $as_echo "#define FREEBSD1X /**/" >>confdefs.h
                   18424: 
                   18425:   ;;
1.66      paf      18426:   *-sunos5.6* | *-solaris2.6*)
1.150     moko     18427:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lxnet" >&5
                   18428: $as_echo_n "checking for main in -lxnet... " >&6; }
                   18429: if ${ac_cv_lib_xnet_main+:} false; then :
                   18430:   $as_echo_n "(cached) " >&6
1.62      paf      18431: else
1.66      paf      18432:   ac_check_lib_save_LIBS=$LIBS
                   18433: LIBS="-lxnet  $LIBS"
1.150     moko     18434: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18435: /* end confdefs.h.  */
                   18436: 
1.66      paf      18437: 
                   18438: int
                   18439: main ()
                   18440: {
1.150     moko     18441: return main ();
1.66      paf      18442:   ;
                   18443:   return 0;
                   18444: }
1.62      paf      18445: _ACEOF
1.150     moko     18446: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18447:   ac_cv_lib_xnet_main=yes
1.62      paf      18448: else
1.150     moko     18449:   ac_cv_lib_xnet_main=no
1.62      paf      18450: fi
1.150     moko     18451: rm -f core conftest.err conftest.$ac_objext \
                   18452:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      18453: LIBS=$ac_check_lib_save_LIBS
1.62      paf      18454: fi
1.150     moko     18455: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xnet_main" >&5
                   18456: $as_echo "$ac_cv_lib_xnet_main" >&6; }
                   18457: if test "x$ac_cv_lib_xnet_main" = xyes; then :
1.62      paf      18458:   cat >>confdefs.h <<_ACEOF
1.66      paf      18459: #define HAVE_LIBXNET 1
1.62      paf      18460: _ACEOF
1.1       paf      18461: 
1.66      paf      18462:   LIBS="-lxnet $LIBS"
                   18463: 
1.1       paf      18464: fi
                   18465: 
1.66      paf      18466:   ;;
                   18467:   *-sunos5* | *-solaris2*)
1.150     moko     18468:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
                   18469: $as_echo_n "checking for main in -lsocket... " >&6; }
                   18470: if ${ac_cv_lib_socket_main+:} false; then :
                   18471:   $as_echo_n "(cached) " >&6
1.62      paf      18472: else
1.66      paf      18473:   ac_check_lib_save_LIBS=$LIBS
                   18474: LIBS="-lsocket  $LIBS"
1.150     moko     18475: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18476: /* end confdefs.h.  */
1.66      paf      18477: 
                   18478: 
1.62      paf      18479: int
                   18480: main ()
                   18481: {
1.150     moko     18482: return main ();
1.62      paf      18483:   ;
                   18484:   return 0;
                   18485: }
                   18486: _ACEOF
1.150     moko     18487: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18488:   ac_cv_lib_socket_main=yes
1.1       paf      18489: else
1.150     moko     18490:   ac_cv_lib_socket_main=no
1.1       paf      18491: fi
1.150     moko     18492: rm -f core conftest.err conftest.$ac_objext \
                   18493:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      18494: LIBS=$ac_check_lib_save_LIBS
1.62      paf      18495: fi
1.150     moko     18496: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
                   18497: $as_echo "$ac_cv_lib_socket_main" >&6; }
                   18498: if test "x$ac_cv_lib_socket_main" = xyes; then :
1.66      paf      18499:   cat >>confdefs.h <<_ACEOF
                   18500: #define HAVE_LIBSOCKET 1
                   18501: _ACEOF
1.1       paf      18502: 
1.66      paf      18503:   LIBS="-lsocket $LIBS"
1.1       paf      18504: 
                   18505: fi
                   18506: 
1.150     moko     18507:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
                   18508: $as_echo_n "checking for main in -lnsl... " >&6; }
                   18509: if ${ac_cv_lib_nsl_main+:} false; then :
                   18510:   $as_echo_n "(cached) " >&6
1.62      paf      18511: else
1.66      paf      18512:   ac_check_lib_save_LIBS=$LIBS
                   18513: LIBS="-lnsl  $LIBS"
1.150     moko     18514: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18515: /* end confdefs.h.  */
1.66      paf      18516: 
                   18517: 
1.62      paf      18518: int
                   18519: main ()
                   18520: {
1.150     moko     18521: return main ();
1.62      paf      18522:   ;
                   18523:   return 0;
                   18524: }
                   18525: _ACEOF
1.150     moko     18526: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18527:   ac_cv_lib_nsl_main=yes
1.30      paf      18528: else
1.150     moko     18529:   ac_cv_lib_nsl_main=no
1.30      paf      18530: fi
1.150     moko     18531: rm -f core conftest.err conftest.$ac_objext \
                   18532:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      18533: LIBS=$ac_check_lib_save_LIBS
1.62      paf      18534: fi
1.150     moko     18535: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
                   18536: $as_echo "$ac_cv_lib_nsl_main" >&6; }
                   18537: if test "x$ac_cv_lib_nsl_main" = xyes; then :
1.66      paf      18538:   cat >>confdefs.h <<_ACEOF
                   18539: #define HAVE_LIBNSL 1
                   18540: _ACEOF
1.30      paf      18541: 
1.66      paf      18542:   LIBS="-lnsl $LIBS"
1.30      paf      18543: 
                   18544: fi
                   18545: 
1.66      paf      18546:   ;;
                   18547:   *-nec-sysv4*)
1.150     moko     18548:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
                   18549: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
                   18550: if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
                   18551:   $as_echo_n "(cached) " >&6
1.62      paf      18552: else
1.66      paf      18553:   ac_check_lib_save_LIBS=$LIBS
                   18554: LIBS="-lnsl  $LIBS"
1.150     moko     18555: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18556: /* end confdefs.h.  */
1.66      paf      18557: 
1.150     moko     18558: /* Override any GCC internal prototype to avoid an error.
                   18559:    Use char because int might match the return type of a GCC
                   18560:    builtin and then its argument prototype would still apply.  */
1.66      paf      18561: #ifdef __cplusplus
                   18562: extern "C"
                   18563: #endif
                   18564: char gethostbyname ();
1.62      paf      18565: int
                   18566: main ()
                   18567: {
1.150     moko     18568: return gethostbyname ();
1.62      paf      18569:   ;
                   18570:   return 0;
                   18571: }
                   18572: _ACEOF
1.150     moko     18573: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18574:   ac_cv_lib_nsl_gethostbyname=yes
1.30      paf      18575: else
1.150     moko     18576:   ac_cv_lib_nsl_gethostbyname=no
1.30      paf      18577: fi
1.150     moko     18578: rm -f core conftest.err conftest.$ac_objext \
                   18579:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      18580: LIBS=$ac_check_lib_save_LIBS
1.62      paf      18581: fi
1.150     moko     18582: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
                   18583: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
                   18584: if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
1.66      paf      18585:   cat >>confdefs.h <<_ACEOF
                   18586: #define HAVE_LIBNSL 1
                   18587: _ACEOF
1.30      paf      18588: 
1.66      paf      18589:   LIBS="-lnsl $LIBS"
1.30      paf      18590: 
                   18591: fi
                   18592: 
1.150     moko     18593:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
                   18594: $as_echo_n "checking for socket in -lsocket... " >&6; }
                   18595: if ${ac_cv_lib_socket_socket+:} false; then :
                   18596:   $as_echo_n "(cached) " >&6
1.8       paf      18597: else
1.66      paf      18598:   ac_check_lib_save_LIBS=$LIBS
                   18599: LIBS="-lsocket  $LIBS"
1.150     moko     18600: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18601: /* end confdefs.h.  */
                   18602: 
1.150     moko     18603: /* Override any GCC internal prototype to avoid an error.
                   18604:    Use char because int might match the return type of a GCC
                   18605:    builtin and then its argument prototype would still apply.  */
1.66      paf      18606: #ifdef __cplusplus
                   18607: extern "C"
                   18608: #endif
                   18609: char socket ();
1.62      paf      18610: int
                   18611: main ()
                   18612: {
1.150     moko     18613: return socket ();
1.62      paf      18614:   ;
                   18615:   return 0;
                   18616: }
                   18617: _ACEOF
1.150     moko     18618: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18619:   ac_cv_lib_socket_socket=yes
1.8       paf      18620: else
1.150     moko     18621:   ac_cv_lib_socket_socket=no
1.8       paf      18622: fi
1.150     moko     18623: rm -f core conftest.err conftest.$ac_objext \
                   18624:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      18625: LIBS=$ac_check_lib_save_LIBS
1.8       paf      18626: fi
1.150     moko     18627: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
                   18628: $as_echo "$ac_cv_lib_socket_socket" >&6; }
                   18629: if test "x$ac_cv_lib_socket_socket" = xyes; then :
1.66      paf      18630:   cat >>confdefs.h <<_ACEOF
1.128     moko     18631: #define HAVE_LIBSOCKET 1
1.66      paf      18632: _ACEOF
                   18633: 
1.128     moko     18634:   LIBS="-lsocket $LIBS"
1.66      paf      18635: 
1.62      paf      18636: fi
                   18637: 
1.66      paf      18638:   ;;
1.128     moko     18639:   *-cygwin*)
                   18640: 
1.150     moko     18641: $as_echo "#define WIN32 /**/" >>confdefs.h
1.128     moko     18642: 
1.66      paf      18643:   ;;
                   18644: esac
1.1       paf      18645: 
1.150     moko     18646: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
                   18647: $as_echo_n "checking for sin in -lm... " >&6; }
                   18648: if ${ac_cv_lib_m_sin+:} false; then :
                   18649:   $as_echo_n "(cached) " >&6
1.1       paf      18650: else
1.62      paf      18651:   ac_check_lib_save_LIBS=$LIBS
1.66      paf      18652: LIBS="-lm  $LIBS"
1.150     moko     18653: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18654: /* end confdefs.h.  */
                   18655: 
1.150     moko     18656: /* Override any GCC internal prototype to avoid an error.
                   18657:    Use char because int might match the return type of a GCC
                   18658:    builtin and then its argument prototype would still apply.  */
1.66      paf      18659: #ifdef __cplusplus
                   18660: extern "C"
                   18661: #endif
                   18662: char sin ();
1.62      paf      18663: int
                   18664: main ()
                   18665: {
1.150     moko     18666: return sin ();
1.62      paf      18667:   ;
                   18668:   return 0;
                   18669: }
                   18670: _ACEOF
1.150     moko     18671: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18672:   ac_cv_lib_m_sin=yes
1.62      paf      18673: else
1.150     moko     18674:   ac_cv_lib_m_sin=no
1.62      paf      18675: fi
1.150     moko     18676: rm -f core conftest.err conftest.$ac_objext \
                   18677:     conftest$ac_exeext conftest.$ac_ext
1.62      paf      18678: LIBS=$ac_check_lib_save_LIBS
                   18679: fi
1.150     moko     18680: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
                   18681: $as_echo "$ac_cv_lib_m_sin" >&6; }
                   18682: if test "x$ac_cv_lib_m_sin" = xyes; then :
1.62      paf      18683:   cat >>confdefs.h <<_ACEOF
1.66      paf      18684: #define HAVE_LIBM 1
1.62      paf      18685: _ACEOF
1.1       paf      18686: 
1.66      paf      18687:   LIBS="-lm $LIBS"
1.1       paf      18688: 
                   18689: fi
                   18690: 
1.150     moko     18691: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5
                   18692: $as_echo_n "checking for crypt in -lcrypt... " >&6; }
                   18693: if ${ac_cv_lib_crypt_crypt+:} false; then :
                   18694:   $as_echo_n "(cached) " >&6
1.1       paf      18695: else
1.62      paf      18696:   ac_check_lib_save_LIBS=$LIBS
1.66      paf      18697: LIBS="-lcrypt  $LIBS"
1.150     moko     18698: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18699: /* end confdefs.h.  */
                   18700: 
1.150     moko     18701: /* Override any GCC internal prototype to avoid an error.
                   18702:    Use char because int might match the return type of a GCC
                   18703:    builtin and then its argument prototype would still apply.  */
1.66      paf      18704: #ifdef __cplusplus
                   18705: extern "C"
                   18706: #endif
                   18707: char crypt ();
1.62      paf      18708: int
                   18709: main ()
                   18710: {
1.150     moko     18711: return crypt ();
1.62      paf      18712:   ;
                   18713:   return 0;
                   18714: }
                   18715: _ACEOF
1.150     moko     18716: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18717:   ac_cv_lib_crypt_crypt=yes
1.62      paf      18718: else
1.150     moko     18719:   ac_cv_lib_crypt_crypt=no
1.62      paf      18720: fi
1.150     moko     18721: rm -f core conftest.err conftest.$ac_objext \
                   18722:     conftest$ac_exeext conftest.$ac_ext
1.62      paf      18723: LIBS=$ac_check_lib_save_LIBS
                   18724: fi
1.150     moko     18725: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5
                   18726: $as_echo "$ac_cv_lib_crypt_crypt" >&6; }
                   18727: if test "x$ac_cv_lib_crypt_crypt" = xyes; then :
1.62      paf      18728:   cat >>confdefs.h <<_ACEOF
1.66      paf      18729: #define HAVE_LIBCRYPT 1
1.62      paf      18730: _ACEOF
1.1       paf      18731: 
1.66      paf      18732:   LIBS="-lcrypt $LIBS"
                   18733: 
                   18734: fi
                   18735: 
                   18736: 
                   18737: 
1.221     moko     18738: for ac_func in flock fcntl lockf ftruncate fchmod
1.159     moko     18739: do :
                   18740:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   18741: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   18742: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   18743:   cat >>confdefs.h <<_ACEOF
                   18744: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   18745: _ACEOF
                   18746: 
                   18747: fi
                   18748: done
1.66      paf      18749: 
1.227     moko     18750: for ac_func in getrusage gettimeofday crypt sigsetjmp siglongjmp unsetenv syslog
1.150     moko     18751: do :
                   18752:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   18753: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   18754: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.62      paf      18755:   cat >>confdefs.h <<_ACEOF
1.150     moko     18756: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.62      paf      18757: _ACEOF
1.1       paf      18758: 
1.66      paf      18759: fi
                   18760: done
                   18761: 
1.1       paf      18762: 
                   18763: 
1.159     moko     18764: 
1.67      paf      18765: pa_func=sigsetjmp
1.150     moko     18766: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for (maybe built-in) function $pa_func" >&5
                   18767: $as_echo_n "checking for (maybe built-in) function $pa_func... " >&6; }
1.229     moko     18768: 
                   18769:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.67      paf      18770: /* end confdefs.h.  */
                   18771: 
                   18772: #ifdef HAVE_SETJMP_H
                   18773: #      include <setjmp.h>
                   18774: #endif
                   18775: 
                   18776: int
                   18777: main ()
                   18778: {
                   18779: 
                   18780:         $pa_func(0,0);
                   18781: 
                   18782:   ;
                   18783:   return 0;
                   18784: }
                   18785: _ACEOF
1.150     moko     18786: if ac_fn_c_try_compile "$LINENO"; then :
                   18787:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   18788: $as_echo "yes" >&6; }
1.67      paf      18789: cat >>confdefs.h <<_ACEOF
1.150     moko     18790: #define `$as_echo "HAVE_$pa_func" | $as_tr_cpp` 1
1.67      paf      18791: _ACEOF
                   18792: 
                   18793: 
                   18794: else
1.150     moko     18795:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18796: $as_echo "no" >&6; }
1.67      paf      18797: 
1.229     moko     18798: 
1.67      paf      18799: fi
1.150     moko     18800: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.67      paf      18801: 
                   18802: 
                   18803: 
1.159     moko     18804: 
1.229     moko     18805: 
1.150     moko     18806: ac_ext=cpp
1.67      paf      18807: ac_cpp='$CXXCPP $CPPFLAGS'
                   18808: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   18809: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   18810: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   18811: 
                   18812: 
                   18813: 
1.188     moko     18814: for pa_func in trunc round sign isfinite
1.67      paf      18815: do
                   18816: 
1.150     moko     18817: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for (maybe built-in) math function $pa_func" >&5
                   18818: $as_echo_n "checking for (maybe built-in) math function $pa_func... " >&6; }
1.229     moko     18819: 
                   18820:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.67      paf      18821: /* end confdefs.h.  */
                   18822: 
                   18823: #ifdef HAVE_MATH_H
                   18824: #       include <math.h>
                   18825: #endif
                   18826: 
                   18827: int
                   18828: main ()
                   18829: {
                   18830: 
                   18831:         double result=$pa_func(1.6);
                   18832: 
                   18833:   ;
                   18834:   return 0;
                   18835: }
                   18836: _ACEOF
1.150     moko     18837: if ac_fn_cxx_try_compile "$LINENO"; then :
                   18838:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   18839: $as_echo "yes" >&6; }
1.67      paf      18840: cat >>confdefs.h <<_ACEOF
1.150     moko     18841: #define `$as_echo "HAVE_$pa_func" | $as_tr_cpp`  1
1.62      paf      18842: _ACEOF
1.66      paf      18843: 
1.62      paf      18844: else
1.150     moko     18845:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18846: $as_echo "no" >&6; }
1.62      paf      18847: 
1.229     moko     18848: 
1.62      paf      18849: fi
1.150     moko     18850: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18851: 
1.229     moko     18852: 
1.150     moko     18853: done
                   18854: 
                   18855: ac_ext=c
                   18856: ac_cpp='$CPP $CPPFLAGS'
                   18857: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   18858: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   18859: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   18860: 
                   18861: 
                   18862: 
                   18863: for ac_func in qsort
                   18864: do :
                   18865:   ac_fn_c_check_func "$LINENO" "qsort" "ac_cv_func_qsort"
                   18866: if test "x$ac_cv_func_qsort" = xyes; then :
1.62      paf      18867:   cat >>confdefs.h <<_ACEOF
1.150     moko     18868: #define HAVE_QSORT 1
1.62      paf      18869: _ACEOF
1.1       paf      18870: 
1.66      paf      18871: else
1.150     moko     18872:   as_fn_error $? "No qsort library function." "$LINENO" 5
1.1       paf      18873: fi
1.66      paf      18874: done
1.1       paf      18875: 
                   18876: 
1.62      paf      18877: 
1.159     moko     18878: 
1.177     moko     18879: ac_ext=cpp
                   18880: ac_cpp='$CXXCPP $CPPFLAGS'
                   18881: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   18882: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   18883: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   18884: 
1.150     moko     18885: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
                   18886: $as_echo_n "checking for timezone variable... " >&6; }
1.229     moko     18887: 
                   18888:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18889: /* end confdefs.h.  */
1.66      paf      18890: #include <time.h>
1.62      paf      18891: int
                   18892: main ()
                   18893: {
1.177     moko     18894: int test=timezone;
1.62      paf      18895:   ;
                   18896:   return 0;
                   18897: }
                   18898: _ACEOF
1.177     moko     18899: if ac_fn_cxx_try_compile "$LINENO"; then :
1.150     moko     18900:   $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
1.158     moko     18901:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.150     moko     18902: $as_echo "yes" >&6; }
1.62      paf      18903: else
1.150     moko     18904:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18905: $as_echo "no" >&6; }
1.229     moko     18906: 
1.62      paf      18907: fi
1.150     moko     18908: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.229     moko     18909: 
1.177     moko     18910: ac_ext=c
                   18911: ac_cpp='$CPP $CPPFLAGS'
                   18912: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   18913: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   18914: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   18915: 
1.1       paf      18916: 
1.176     moko     18917: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
                   18918: $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
1.229     moko     18919: 
                   18920:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18921: /* end confdefs.h.  */
1.66      paf      18922: #include <time.h>
1.62      paf      18923: int
                   18924: main ()
                   18925: {
1.176     moko     18926: struct tm tm; tm.tm_gmtoff=0;
1.62      paf      18927:   ;
                   18928:   return 0;
                   18929: }
                   18930: _ACEOF
1.150     moko     18931: if ac_fn_c_try_compile "$LINENO"; then :
1.176     moko     18932:   $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
1.158     moko     18933:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.150     moko     18934: $as_echo "yes" >&6; }
1.62      paf      18935: else
1.150     moko     18936:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18937: $as_echo "no" >&6; }
1.229     moko     18938: 
1.62      paf      18939: fi
1.150     moko     18940: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      18941: 
1.229     moko     18942: 
1.176     moko     18943: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_tzadj in struct tm" >&5
                   18944: $as_echo_n "checking for tm_tzadj in struct tm... " >&6; }
1.229     moko     18945: 
                   18946:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18947: /* end confdefs.h.  */
1.66      paf      18948: #include <time.h>
1.62      paf      18949: int
                   18950: main ()
                   18951: {
1.176     moko     18952: struct tm tm; tm.tm_tzadj=0;
1.62      paf      18953:   ;
                   18954:   return 0;
                   18955: }
                   18956: _ACEOF
1.150     moko     18957: if ac_fn_c_try_compile "$LINENO"; then :
1.176     moko     18958:   $as_echo "#define HAVE_TM_TZADJ 1" >>confdefs.h
1.158     moko     18959:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.150     moko     18960: $as_echo "yes" >&6; }
1.62      paf      18961: else
1.150     moko     18962:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18963: $as_echo "no" >&6; }
1.229     moko     18964: 
1.62      paf      18965: fi
1.150     moko     18966: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       paf      18967: 
1.229     moko     18968: 
1.206     moko     18969: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettid" >&5
                   18970: $as_echo_n "checking for gettid... " >&6; }
1.229     moko     18971: 
                   18972:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.206     moko     18973: /* end confdefs.h.  */
                   18974: 
                   18975: #include <sys/types.h>
                   18976: #include <sys/syscall.h>
                   18977: 
                   18978: int
                   18979: main ()
                   18980: {
                   18981: uint tid=syscall(__NR_gettid);
                   18982:   ;
                   18983:   return 0;
                   18984: }
                   18985: _ACEOF
                   18986: if ac_fn_c_try_compile "$LINENO"; then :
                   18987:   $as_echo "#define HAVE_GETTID 1" >>confdefs.h
                   18988:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   18989: $as_echo "yes" >&6; }
                   18990: else
                   18991:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18992: $as_echo "no" >&6; }
1.229     moko     18993: 
1.206     moko     18994: fi
                   18995: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18996: 
1.229     moko     18997: 
1.208     moko     18998: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TLS" >&5
                   18999: $as_echo_n "checking for TLS... " >&6; }
1.229     moko     19000: 
                   19001:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.208     moko     19002: /* end confdefs.h.  */
1.209     moko     19003: __thread int i=0;
1.208     moko     19004: int
                   19005: main ()
                   19006: {
1.209     moko     19007: 
1.208     moko     19008:   ;
                   19009:   return 0;
                   19010: }
                   19011: _ACEOF
                   19012: if ac_fn_c_try_compile "$LINENO"; then :
                   19013:   $as_echo "#define HAVE_TLS 1" >>confdefs.h
                   19014:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   19015: $as_echo "yes" >&6; }
                   19016: else
                   19017:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   19018: $as_echo "no" >&6; }
1.229     moko     19019: 
1.208     moko     19020: fi
                   19021: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   19022: 
1.229     moko     19023: 
1.176     moko     19024: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 0..9999 year date range support" >&5
                   19025: $as_echo_n "checking for 0..9999 year date range support... " >&6; }
                   19026: if test "$cross_compiling" = yes; then :
                   19027:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   19028: $as_echo "no" >&6; }
                   19029: else
                   19030:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      19031: /* end confdefs.h.  */
1.176     moko     19032: 
                   19033: #include <string.h>
1.66      paf      19034: #include <time.h>
1.176     moko     19035: 
                   19036: int main() {
                   19037:        struct tm tmL,tmH;
                   19038:        memset(&tmL, 0, sizeof(tmL));
                   19039:        memset(&tmH, 0, sizeof(tmH));
                   19040:        tmL.tm_year=-1900;
                   19041:        tmL.tm_mon=-1;
                   19042:        tmH.tm_year=9999-1900;
                   19043:        tmH.tm_mon=12-1;
                   19044:        tmH.tm_mday=31;
                   19045:        return mktime(&tmL)==-1 || mktime(&tmH)==-1;
1.62      paf      19046: }
1.176     moko     19047: 
1.62      paf      19048: _ACEOF
1.176     moko     19049: if ac_fn_c_try_run "$LINENO"; then :
                   19050:   $as_echo "#define PA_DATE64 1" >>confdefs.h
1.158     moko     19051:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.150     moko     19052: $as_echo "yes" >&6; }
1.62      paf      19053: else
1.150     moko     19054:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   19055: $as_echo "no" >&6; }
1.62      paf      19056: fi
1.176     moko     19057: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   19058:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   19059: fi
1.31      paf      19060: 
1.1       paf      19061: 
                   19062: 
                   19063: 
1.62      paf      19064: 
                   19065: 
                   19066: 
1.206     moko     19067: 
1.208     moko     19068: 
1.150     moko     19069: ac_config_headers="$ac_config_headers src/include/pa_config_auto.h"
1.62      paf      19070: 
                   19071: 
1.200     moko     19072: 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 etc/auto.p"
1.62      paf      19073: 
                   19074: cat >confcache <<\_ACEOF
1.1       paf      19075: # This file is a shell script that caches the results of configure
                   19076: # tests run on this system so they can be shared between configure
1.62      paf      19077: # scripts and configure runs, see configure's option --config-cache.
                   19078: # It is not useful on other systems.  If it contains results you don't
                   19079: # want to keep, you may remove or edit it.
1.1       paf      19080: #
1.62      paf      19081: # config.status only pays attention to the cache file if you give it
                   19082: # the --recheck option to rerun configure.
1.1       paf      19083: #
1.62      paf      19084: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   19085: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   19086: # following values.
                   19087: 
                   19088: _ACEOF
                   19089: 
1.1       paf      19090: # The following way of writing the cache mishandles newlines in values,
                   19091: # but we know of no workaround that is simple, portable, and efficient.
1.150     moko     19092: # So, we kill variables containing newlines.
1.1       paf      19093: # Ultrix sh set writes to stderr and can't be redirected directly,
                   19094: # and sets the high bit in the cache file unless we assign to the vars.
1.150     moko     19095: (
                   19096:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   19097:     eval ac_val=\$$ac_var
                   19098:     case $ac_val in #(
                   19099:     *${as_nl}*)
                   19100:       case $ac_var in #(
                   19101:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   19102: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   19103:       esac
                   19104:       case $ac_var in #(
                   19105:       _ | IFS | as_nl) ;; #(
                   19106:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   19107:       *) { eval $ac_var=; unset $ac_var;} ;;
                   19108:       esac ;;
                   19109:     esac
                   19110:   done
                   19111: 
1.62      paf      19112:   (set) 2>&1 |
1.150     moko     19113:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   19114:     *${as_nl}ac_space=\ *)
                   19115:       # `set' does not quote correctly, so add quotes: double-quote
                   19116:       # substitution turns \\\\ into \\, and sed turns \\ into \.
1.62      paf      19117:       sed -n \
1.86      paf      19118:        "s/'/'\\\\''/g;
                   19119:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1.150     moko     19120:       ;; #(
1.62      paf      19121:     *)
                   19122:       # `set' quotes correctly as required by POSIX, so do not add quotes.
1.150     moko     19123:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.62      paf      19124:       ;;
1.150     moko     19125:     esac |
                   19126:     sort
                   19127: ) |
1.62      paf      19128:   sed '
1.150     moko     19129:      /^ac_cv_env_/b end
1.62      paf      19130:      t clear
1.150     moko     19131:      :clear
1.62      paf      19132:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   19133:      t end
1.150     moko     19134:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   19135:      :end' >>confcache
                   19136: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   19137:   if test -w "$cache_file"; then
                   19138:     if test "x$cache_file" != "x/dev/null"; then
                   19139:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
                   19140: $as_echo "$as_me: updating cache $cache_file" >&6;}
                   19141:       if test ! -f "$cache_file" || test -h "$cache_file"; then
                   19142:        cat confcache >"$cache_file"
                   19143:       else
                   19144:         case $cache_file in #(
                   19145:         */* | ?:*)
                   19146:          mv -f confcache "$cache_file"$$ &&
                   19147:          mv -f "$cache_file"$$ "$cache_file" ;; #(
                   19148:         *)
                   19149:          mv -f confcache "$cache_file" ;;
                   19150:        esac
                   19151:       fi
                   19152:     fi
1.1       paf      19153:   else
1.150     moko     19154:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
                   19155: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1.1       paf      19156:   fi
                   19157: fi
                   19158: rm -f confcache
                   19159: 
                   19160: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   19161: # Let make expand exec_prefix.
                   19162: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   19163: 
1.62      paf      19164: DEFS=-DHAVE_CONFIG_H
                   19165: 
                   19166: ac_libobjs=
                   19167: ac_ltlibobjs=
1.229     moko     19168: U=
1.62      paf      19169: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   19170:   # 1. Remove the extension, and $U if already installed.
1.150     moko     19171:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
                   19172:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
                   19173:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   19174:   #    will be set to the directory where LIBOBJS objects are built.
                   19175:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   19176:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
1.62      paf      19177: done
                   19178: LIBOBJS=$ac_libobjs
                   19179: 
                   19180: LTLIBOBJS=$ac_ltlibobjs
1.1       paf      19181: 
                   19182: 
1.187     moko     19183: { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
                   19184: $as_echo_n "checking that generated files are newer than configure... " >&6; }
                   19185:    if test -n "$am_sleep_pid"; then
                   19186:      # Hide warnings about reused PIDs.
                   19187:      wait $am_sleep_pid 2>/dev/null
                   19188:    fi
                   19189:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
                   19190: $as_echo "done" >&6; }
1.150     moko     19191:  if test -n "$EXEEXT"; then
                   19192:   am__EXEEXT_TRUE=
                   19193:   am__EXEEXT_FALSE='#'
                   19194: else
                   19195:   am__EXEEXT_TRUE='#'
                   19196:   am__EXEEXT_FALSE=
                   19197: fi
                   19198: 
1.62      paf      19199: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
1.150     moko     19200:   as_fn_error $? "conditional \"AMDEP\" was never defined.
                   19201: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      19202: fi
1.66      paf      19203: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
1.150     moko     19204:   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
                   19205: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      19206: fi
1.66      paf      19207: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.150     moko     19208:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
                   19209: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      19210: fi
1.122     moko     19211: if test -z "${COMPILE_APACHE_MODULE_TRUE}" && test -z "${COMPILE_APACHE_MODULE_FALSE}"; then
1.150     moko     19212:   as_fn_error $? "conditional \"COMPILE_APACHE_MODULE\" was never defined.
                   19213: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      19214: fi
1.128     moko     19215: if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
1.150     moko     19216:   as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
                   19217: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.128     moko     19218: fi
                   19219: if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
1.150     moko     19220:   as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
                   19221: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.128     moko     19222: fi
1.150     moko     19223: LT_CONFIG_H=src/include/pa_config_auto.h
1.128     moko     19224: 
                   19225:     _ltdl_libobjs=
                   19226:     _ltdl_ltlibobjs=
                   19227:     if test -n "$_LT_LIBOBJS"; then
                   19228:       # Remove the extension.
                   19229:       _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
                   19230:       for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
                   19231:         _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
                   19232:         _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
                   19233:       done
                   19234:     fi
                   19235:     ltdl_LIBOBJS=$_ltdl_libobjs
                   19236: 
                   19237:     ltdl_LTLIBOBJS=$_ltdl_ltlibobjs
                   19238: 
                   19239: 
1.62      paf      19240: 
1.150     moko     19241: 
                   19242: : "${CONFIG_STATUS=./config.status}"
                   19243: ac_write_fail=0
1.62      paf      19244: ac_clean_files_save=$ac_clean_files
                   19245: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.150     moko     19246: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
                   19247: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   19248: as_write_fail=0
                   19249: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1.62      paf      19250: #! $SHELL
                   19251: # Generated by $as_me.
                   19252: # Run this file to recreate the current configuration.
                   19253: # Compiler output produced by configure, useful for debugging
                   19254: # configure, is in config.log if it exists.
                   19255: 
                   19256: debug=false
                   19257: ac_cs_recheck=false
                   19258: ac_cs_silent=false
1.150     moko     19259: 
1.62      paf      19260: SHELL=\${CONFIG_SHELL-$SHELL}
1.150     moko     19261: export SHELL
                   19262: _ASEOF
                   19263: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
                   19264: ## -------------------- ##
                   19265: ## M4sh Initialization. ##
                   19266: ## -------------------- ##
1.62      paf      19267: 
1.150     moko     19268: # Be more Bourne compatible
                   19269: DUALCASE=1; export DUALCASE # for MKS sh
                   19270: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.62      paf      19271:   emulate sh
                   19272:   NULLCMD=:
1.150     moko     19273:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.62      paf      19274:   # is contrary to our usage.  Disable this feature.
                   19275:   alias -g '${1+"$@"}'='"$@"'
1.150     moko     19276:   setopt NO_GLOB_SUBST
                   19277: else
                   19278:   case `(set -o) 2>/dev/null` in #(
                   19279:   *posix*) :
                   19280:     set -o posix ;; #(
                   19281:   *) :
                   19282:      ;;
                   19283: esac
                   19284: fi
                   19285: 
                   19286: 
                   19287: as_nl='
                   19288: '
                   19289: export as_nl
                   19290: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                   19291: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   19292: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                   19293: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                   19294: # Prefer a ksh shell builtin over an external printf program on Solaris,
                   19295: # but without wasting forks for bash or zsh.
                   19296: if test -z "$BASH_VERSION$ZSH_VERSION" \
                   19297:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                   19298:   as_echo='print -r --'
                   19299:   as_echo_n='print -rn --'
                   19300: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                   19301:   as_echo='printf %s\n'
                   19302:   as_echo_n='printf %s'
                   19303: else
                   19304:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                   19305:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                   19306:     as_echo_n='/usr/ucb/echo -n'
                   19307:   else
                   19308:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                   19309:     as_echo_n_body='eval
                   19310:       arg=$1;
                   19311:       case $arg in #(
                   19312:       *"$as_nl"*)
                   19313:        expr "X$arg" : "X\\(.*\\)$as_nl";
                   19314:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                   19315:       esac;
                   19316:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                   19317:     '
                   19318:     export as_echo_n_body
                   19319:     as_echo_n='sh -c $as_echo_n_body as_echo'
                   19320:   fi
                   19321:   export as_echo_body
                   19322:   as_echo='sh -c $as_echo_body as_echo'
1.62      paf      19323: fi
                   19324: 
1.150     moko     19325: # The user is always right.
                   19326: if test "${PATH_SEPARATOR+set}" != set; then
                   19327:   PATH_SEPARATOR=:
                   19328:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   19329:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   19330:       PATH_SEPARATOR=';'
                   19331:   }
1.62      paf      19332: fi
                   19333: 
                   19334: 
1.150     moko     19335: # IFS
                   19336: # We need space, tab and new line, in precisely that order.  Quoting is
                   19337: # there to prevent editors from complaining about space-tab.
                   19338: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                   19339: # splitting by setting IFS to empty value.)
                   19340: IFS=" ""       $as_nl"
                   19341: 
                   19342: # Find who we are.  Look in the path if we contain no directory separator.
                   19343: as_myself=
                   19344: case $0 in #((
                   19345:   *[\\/]* ) as_myself=$0 ;;
                   19346:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   19347: for as_dir in $PATH
                   19348: do
                   19349:   IFS=$as_save_IFS
                   19350:   test -z "$as_dir" && as_dir=.
                   19351:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   19352:   done
                   19353: IFS=$as_save_IFS
                   19354: 
                   19355:      ;;
                   19356: esac
                   19357: # We did not find ourselves, most probably we were run as `sh COMMAND'
                   19358: # in which case we are not to be found in the path.
                   19359: if test "x$as_myself" = x; then
                   19360:   as_myself=$0
                   19361: fi
                   19362: if test ! -f "$as_myself"; then
                   19363:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                   19364:   exit 1
                   19365: fi
                   19366: 
                   19367: # Unset variables that we do not need and which cause bugs (e.g. in
                   19368: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                   19369: # suppresses any "Segmentation fault" message there.  '((' could
                   19370: # trigger a bug in pdksh 5.2.14.
                   19371: for as_var in BASH_ENV ENV MAIL MAILPATH
                   19372: do eval test x\${$as_var+set} = xset \
                   19373:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                   19374: done
1.62      paf      19375: PS1='$ '
                   19376: PS2='> '
                   19377: PS4='+ '
                   19378: 
                   19379: # NLS nuisances.
1.150     moko     19380: LC_ALL=C
                   19381: export LC_ALL
                   19382: LANGUAGE=C
                   19383: export LANGUAGE
                   19384: 
                   19385: # CDPATH.
                   19386: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   19387: 
                   19388: 
                   19389: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                   19390: # ----------------------------------------
                   19391: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                   19392: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                   19393: # script with STATUS, using 1 if that was 0.
                   19394: as_fn_error ()
                   19395: {
                   19396:   as_status=$1; test $as_status -eq 0 && as_status=1
                   19397:   if test "$4"; then
                   19398:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   19399:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                   19400:   fi
                   19401:   $as_echo "$as_me: error: $2" >&2
                   19402:   as_fn_exit $as_status
                   19403: } # as_fn_error
                   19404: 
                   19405: 
                   19406: # as_fn_set_status STATUS
                   19407: # -----------------------
                   19408: # Set $? to STATUS, without forking.
                   19409: as_fn_set_status ()
                   19410: {
                   19411:   return $1
                   19412: } # as_fn_set_status
                   19413: 
                   19414: # as_fn_exit STATUS
                   19415: # -----------------
                   19416: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                   19417: as_fn_exit ()
                   19418: {
                   19419:   set +e
                   19420:   as_fn_set_status $1
                   19421:   exit $1
                   19422: } # as_fn_exit
                   19423: 
                   19424: # as_fn_unset VAR
                   19425: # ---------------
                   19426: # Portably unset VAR.
                   19427: as_fn_unset ()
                   19428: {
                   19429:   { eval $1=; unset $1;}
                   19430: }
                   19431: as_unset=as_fn_unset
                   19432: # as_fn_append VAR VALUE
                   19433: # ----------------------
                   19434: # Append the text in VALUE to the end of the definition contained in VAR. Take
                   19435: # advantage of any shell optimizations that allow amortized linear growth over
                   19436: # repeated appends, instead of the typical quadratic growth present in naive
                   19437: # implementations.
                   19438: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                   19439:   eval 'as_fn_append ()
                   19440:   {
                   19441:     eval $1+=\$2
                   19442:   }'
                   19443: else
                   19444:   as_fn_append ()
                   19445:   {
                   19446:     eval $1=\$$1\$2
                   19447:   }
                   19448: fi # as_fn_append
                   19449: 
                   19450: # as_fn_arith ARG...
                   19451: # ------------------
                   19452: # Perform arithmetic evaluation on the ARGs, and store the result in the
                   19453: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                   19454: # must be portable across $(()) and expr.
                   19455: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                   19456:   eval 'as_fn_arith ()
                   19457:   {
                   19458:     as_val=$(( $* ))
                   19459:   }'
                   19460: else
                   19461:   as_fn_arith ()
                   19462:   {
                   19463:     as_val=`expr "$@" || test $? -eq 1`
                   19464:   }
                   19465: fi # as_fn_arith
                   19466: 
1.1       paf      19467: 
1.150     moko     19468: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   19469:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.62      paf      19470:   as_expr=expr
                   19471: else
                   19472:   as_expr=false
                   19473: fi
                   19474: 
1.150     moko     19475: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1.62      paf      19476:   as_basename=basename
                   19477: else
                   19478:   as_basename=false
                   19479: fi
                   19480: 
1.150     moko     19481: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   19482:   as_dirname=dirname
                   19483: else
                   19484:   as_dirname=false
                   19485: fi
1.62      paf      19486: 
1.150     moko     19487: as_me=`$as_basename -- "$0" ||
1.62      paf      19488: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   19489:         X"$0" : 'X\(//\)$' \| \
1.150     moko     19490:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                   19491: $as_echo X/"$0" |
                   19492:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   19493:            s//\1/
                   19494:            q
                   19495:          }
                   19496:          /^X\/\(\/\/\)$/{
                   19497:            s//\1/
                   19498:            q
                   19499:          }
                   19500:          /^X\/\(\/\).*/{
                   19501:            s//\1/
                   19502:            q
                   19503:          }
                   19504:          s/.*/./; q'`
1.62      paf      19505: 
                   19506: # Avoid depending upon Character Ranges.
                   19507: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   19508: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   19509: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   19510: as_cr_digits='0123456789'
                   19511: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   19512: 
1.150     moko     19513: ECHO_C= ECHO_N= ECHO_T=
                   19514: case `echo -n x` in #(((((
                   19515: -n*)
                   19516:   case `echo 'xy\c'` in
                   19517:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                   19518:   xy)  ECHO_C='\c';;
                   19519:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                   19520:        ECHO_T='        ';;
                   19521:   esac;;
                   19522: *)
                   19523:   ECHO_N='-n';;
1.62      paf      19524: esac
                   19525: 
1.150     moko     19526: rm -f conf$$ conf$$.exe conf$$.file
                   19527: if test -d conf$$.dir; then
                   19528:   rm -f conf$$.dir/conf$$.file
1.62      paf      19529: else
1.150     moko     19530:   rm -f conf$$.dir
                   19531:   mkdir conf$$.dir 2>/dev/null
1.62      paf      19532: fi
1.150     moko     19533: if (echo >conf$$.file) 2>/dev/null; then
                   19534:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   19535:     as_ln_s='ln -s'
                   19536:     # ... but there are two gotchas:
                   19537:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                   19538:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1.166     moko     19539:     # In both cases, we have to default to `cp -pR'.
1.150     moko     19540:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.166     moko     19541:       as_ln_s='cp -pR'
1.150     moko     19542:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   19543:     as_ln_s=ln
                   19544:   else
1.166     moko     19545:     as_ln_s='cp -pR'
1.62      paf      19546:   fi
                   19547: else
1.166     moko     19548:   as_ln_s='cp -pR'
1.62      paf      19549: fi
1.150     moko     19550: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   19551: rmdir conf$$.dir 2>/dev/null
                   19552: 
                   19553: 
                   19554: # as_fn_mkdir_p
                   19555: # -------------
                   19556: # Create "$as_dir" as a directory, including parents if necessary.
                   19557: as_fn_mkdir_p ()
                   19558: {
                   19559: 
                   19560:   case $as_dir in #(
                   19561:   -*) as_dir=./$as_dir;;
                   19562:   esac
                   19563:   test -d "$as_dir" || eval $as_mkdir_p || {
                   19564:     as_dirs=
                   19565:     while :; do
                   19566:       case $as_dir in #(
                   19567:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                   19568:       *) as_qdir=$as_dir;;
                   19569:       esac
                   19570:       as_dirs="'$as_qdir' $as_dirs"
                   19571:       as_dir=`$as_dirname -- "$as_dir" ||
                   19572: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   19573:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   19574:         X"$as_dir" : 'X\(//\)$' \| \
                   19575:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                   19576: $as_echo X"$as_dir" |
                   19577:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   19578:            s//\1/
                   19579:            q
                   19580:          }
                   19581:          /^X\(\/\/\)[^/].*/{
                   19582:            s//\1/
                   19583:            q
                   19584:          }
                   19585:          /^X\(\/\/\)$/{
                   19586:            s//\1/
                   19587:            q
                   19588:          }
                   19589:          /^X\(\/\).*/{
                   19590:            s//\1/
                   19591:            q
                   19592:          }
                   19593:          s/.*/./; q'`
                   19594:       test -d "$as_dir" && break
                   19595:     done
                   19596:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                   19597:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                   19598: 
1.62      paf      19599: 
1.150     moko     19600: } # as_fn_mkdir_p
1.62      paf      19601: if mkdir -p . 2>/dev/null; then
1.150     moko     19602:   as_mkdir_p='mkdir -p "$as_dir"'
1.62      paf      19603: else
1.86      paf      19604:   test -d ./-p && rmdir ./-p
1.62      paf      19605:   as_mkdir_p=false
                   19606: fi
                   19607: 
1.166     moko     19608: 
                   19609: # as_fn_executable_p FILE
                   19610: # -----------------------
                   19611: # Test if FILE is an executable regular file.
                   19612: as_fn_executable_p ()
                   19613: {
                   19614:   test -f "$1" && test -x "$1"
                   19615: } # as_fn_executable_p
                   19616: as_test_x='test -x'
                   19617: as_executable_p=as_fn_executable_p
1.62      paf      19618: 
                   19619: # Sed expression to map a string onto a valid CPP name.
1.86      paf      19620: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf      19621: 
                   19622: # Sed expression to map a string onto a valid variable name.
1.86      paf      19623: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf      19624: 
                   19625: 
                   19626: exec 6>&1
1.150     moko     19627: ## ----------------------------------- ##
                   19628: ## Main body of $CONFIG_STATUS script. ##
                   19629: ## ----------------------------------- ##
                   19630: _ASEOF
                   19631: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
1.62      paf      19632: 
1.150     moko     19633: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   19634: # Save the log message, to keep $0 and so on meaningful, and to
1.62      paf      19635: # report actual input values of CONFIG_FILES etc. instead of their
1.150     moko     19636: # values after options handling.
                   19637: ac_log="
1.230     moko     19638: This file was extended by parser $as_me 3.5.2b, which was
1.166     moko     19639: generated by GNU Autoconf 2.69.  Invocation command line was
1.62      paf      19640: 
                   19641:   CONFIG_FILES    = $CONFIG_FILES
                   19642:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   19643:   CONFIG_LINKS    = $CONFIG_LINKS
                   19644:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   19645:   $ $0 $@
                   19646: 
1.150     moko     19647: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   19648: "
                   19649: 
1.62      paf      19650: _ACEOF
                   19651: 
1.150     moko     19652: case $ac_config_files in *"
                   19653: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   19654: esac
1.62      paf      19655: 
1.150     moko     19656: case $ac_config_headers in *"
                   19657: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
                   19658: esac
1.62      paf      19659: 
                   19660: 
1.150     moko     19661: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19662: # Files that config.status was made for.
                   19663: config_files="$ac_config_files"
                   19664: config_headers="$ac_config_headers"
                   19665: config_commands="$ac_config_commands"
1.62      paf      19666: 
1.150     moko     19667: _ACEOF
1.62      paf      19668: 
1.150     moko     19669: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      19670: ac_cs_usage="\
1.150     moko     19671: \`$as_me' instantiates files and other configuration actions
                   19672: from templates according to the current configuration.  Unless the files
                   19673: and actions are specified as TAGs, all are instantiated by default.
1.62      paf      19674: 
1.150     moko     19675: Usage: $0 [OPTION]... [TAG]...
1.62      paf      19676: 
                   19677:   -h, --help       print this help, then exit
1.150     moko     19678:   -V, --version    print version number and configuration settings, then exit
                   19679:       --config     print configuration, then exit
                   19680:   -q, --quiet, --silent
                   19681:                    do not print progress messages
1.62      paf      19682:   -d, --debug      don't remove temporary files
                   19683:       --recheck    update $as_me by reconfiguring in the same conditions
1.150     moko     19684:       --file=FILE[:TEMPLATE]
                   19685:                    instantiate the configuration file FILE
                   19686:       --header=FILE[:TEMPLATE]
                   19687:                    instantiate the configuration header FILE
1.62      paf      19688: 
                   19689: Configuration files:
                   19690: $config_files
                   19691: 
                   19692: Configuration headers:
                   19693: $config_headers
                   19694: 
                   19695: Configuration commands:
                   19696: $config_commands
                   19697: 
1.150     moko     19698: Report bugs to the package provider."
                   19699: 
1.62      paf      19700: _ACEOF
1.150     moko     19701: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19702: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1.62      paf      19703: ac_cs_version="\\
1.230     moko     19704: parser config.status 3.5.2b
1.166     moko     19705: configured by $0, generated by GNU Autoconf 2.69,
1.150     moko     19706:   with options \\"\$ac_cs_config\\"
1.62      paf      19707: 
1.166     moko     19708: Copyright (C) 2012 Free Software Foundation, Inc.
1.62      paf      19709: This config.status script is free software; the Free Software Foundation
                   19710: gives unlimited permission to copy, distribute and modify it."
1.150     moko     19711: 
                   19712: ac_pwd='$ac_pwd'
                   19713: srcdir='$srcdir'
                   19714: INSTALL='$INSTALL'
                   19715: MKDIR_P='$MKDIR_P'
                   19716: AWK='$AWK'
                   19717: test -n "\$AWK" || AWK=awk
1.62      paf      19718: _ACEOF
                   19719: 
1.150     moko     19720: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   19721: # The default lists apply if the user does not specify any file.
1.62      paf      19722: ac_need_defaults=:
                   19723: while test $# != 0
                   19724: do
                   19725:   case $1 in
1.150     moko     19726:   --*=?*)
                   19727:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   19728:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
1.62      paf      19729:     ac_shift=:
                   19730:     ;;
1.150     moko     19731:   --*=)
                   19732:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   19733:     ac_optarg=
                   19734:     ac_shift=:
                   19735:     ;;
                   19736:   *)
1.62      paf      19737:     ac_option=$1
                   19738:     ac_optarg=$2
                   19739:     ac_shift=shift
                   19740:     ;;
                   19741:   esac
                   19742: 
                   19743:   case $ac_option in
                   19744:   # Handling of the options.
                   19745:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   19746:     ac_cs_recheck=: ;;
1.150     moko     19747:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
                   19748:     $as_echo "$ac_cs_version"; exit ;;
                   19749:   --config | --confi | --conf | --con | --co | --c )
                   19750:     $as_echo "$ac_cs_config"; exit ;;
                   19751:   --debug | --debu | --deb | --de | --d | -d )
1.62      paf      19752:     debug=: ;;
                   19753:   --file | --fil | --fi | --f )
                   19754:     $ac_shift
1.150     moko     19755:     case $ac_optarg in
                   19756:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   19757:     '') as_fn_error $? "missing file argument" ;;
                   19758:     esac
                   19759:     as_fn_append CONFIG_FILES " '$ac_optarg'"
1.62      paf      19760:     ac_need_defaults=false;;
                   19761:   --header | --heade | --head | --hea )
                   19762:     $ac_shift
1.150     moko     19763:     case $ac_optarg in
                   19764:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   19765:     esac
                   19766:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
1.62      paf      19767:     ac_need_defaults=false;;
1.150     moko     19768:   --he | --h)
                   19769:     # Conflict between --help and --header
                   19770:     as_fn_error $? "ambiguous option: \`$1'
                   19771: Try \`$0 --help' for more information.";;
                   19772:   --help | --hel | -h )
                   19773:     $as_echo "$ac_cs_usage"; exit ;;
1.62      paf      19774:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   19775:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   19776:     ac_cs_silent=: ;;
                   19777: 
                   19778:   # This is an error.
1.150     moko     19779:   -*) as_fn_error $? "unrecognized option: \`$1'
                   19780: Try \`$0 --help' for more information." ;;
1.62      paf      19781: 
1.150     moko     19782:   *) as_fn_append ac_config_targets " $1"
                   19783:      ac_need_defaults=false ;;
1.62      paf      19784: 
                   19785:   esac
                   19786:   shift
                   19787: done
                   19788: 
                   19789: ac_configure_extra_args=
                   19790: 
                   19791: if $ac_cs_silent; then
                   19792:   exec 6>/dev/null
1.150     moko     19793:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   19794: fi
                   19795: 
                   19796: _ACEOF
                   19797: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19798: if \$ac_cs_recheck; then
1.166     moko     19799:   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1.150     moko     19800:   shift
                   19801:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
                   19802:   CONFIG_SHELL='$SHELL'
                   19803:   export CONFIG_SHELL
                   19804:   exec "\$@"
                   19805: fi
                   19806: 
                   19807: _ACEOF
                   19808: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   19809: exec 5>>config.log
                   19810: {
                   19811:   echo
                   19812:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   19813: ## Running $as_me. ##
                   19814: _ASBOX
                   19815:   $as_echo "$ac_log"
                   19816: } >&5
1.62      paf      19817: 
                   19818: _ACEOF
1.150     moko     19819: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1       paf      19820: #
1.150     moko     19821: # INIT-COMMANDS
1.1       paf      19822: #
1.199     moko     19823: AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
1.62      paf      19824: 
1.128     moko     19825: 
                   19826: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   19827: # if CDPATH is set.
                   19828: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   19829: 
                   19830: sed_quote_subst='$sed_quote_subst'
                   19831: double_quote_subst='$double_quote_subst'
                   19832: delay_variable_subst='$delay_variable_subst'
                   19833: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
                   19834: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
                   19835: AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
                   19836: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
                   19837: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
1.145     moko     19838: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
1.128     moko     19839: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
1.138     moko     19840: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
1.128     moko     19841: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
                   19842: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
                   19843: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
                   19844: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
                   19845: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
                   19846: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
                   19847: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
                   19848: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
                   19849: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
                   19850: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
                   19851: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
                   19852: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
                   19853: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
                   19854: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
                   19855: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
                   19856: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
                   19857: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
                   19858: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
                   19859: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
                   19860: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
                   19861: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
                   19862: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
                   19863: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
                   19864: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
                   19865: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
                   19866: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
                   19867: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
                   19868: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
                   19869: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
                   19870: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
                   19871: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
                   19872: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
                   19873: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
                   19874: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
                   19875: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
                   19876: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
                   19877: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
                   19878: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
                   19879: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   19880: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   19881: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
                   19882: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
                   19883: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
                   19884: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
                   19885: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
                   19886: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
                   19887: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
                   19888: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
                   19889: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
                   19890: 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"`'
                   19891: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
                   19892: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
                   19893: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
                   19894: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
                   19895: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
                   19896: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
                   19897: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
                   19898: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
                   19899: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
                   19900: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
                   19901: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
                   19902: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
                   19903: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
                   19904: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
                   19905: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
                   19906: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
                   19907: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
                   19908: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
                   19909: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   19910: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
                   19911: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
                   19912: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
                   19913: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
                   19914: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
                   19915: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
                   19916: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   19917: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
                   19918: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   19919: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
                   19920: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   19921: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
                   19922: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   19923: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   19924: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
                   19925: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
                   19926: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
                   19927: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
                   19928: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
                   19929: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   19930: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
                   19931: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
                   19932: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
                   19933: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
                   19934: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
                   19935: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
                   19936: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
                   19937: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
                   19938: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
                   19939: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
                   19940: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
                   19941: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
                   19942: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
                   19943: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
                   19944: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
                   19945: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   19946: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
                   19947: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
                   19948: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
                   19949: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
                   19950: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
                   19951: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   19952: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   19953: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
                   19954: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
                   19955: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
                   19956: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
                   19957: sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
                   19958: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
                   19959: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
                   19960: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
                   19961: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
                   19962: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
                   19963: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
                   19964: compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
                   19965: predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
                   19966: postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
                   19967: predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
                   19968: postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
                   19969: compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
                   19970: LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
                   19971: reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   19972: reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19973: old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19974: compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
                   19975: GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
                   19976: lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   19977: lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
                   19978: lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
                   19979: lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
                   19980: lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
                   19981: archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
                   19982: enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
                   19983: export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   19984: whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   19985: compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
                   19986: old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19987: old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19988: archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19989: archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19990: module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19991: module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19992: with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
                   19993: allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   19994: no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   19995: hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   19996: hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
                   19997: hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
                   19998: hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
                   19999: hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
                   20000: hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
                   20001: hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
                   20002: inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
                   20003: link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
                   20004: always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
                   20005: export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20006: exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   20007: include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   20008: prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20009: postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20010: file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   20011: hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
                   20012: compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
                   20013: predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   20014: postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   20015: predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
                   20016: postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
                   20017: compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
                   20018: 
                   20019: LTCC='$LTCC'
                   20020: LTCFLAGS='$LTCFLAGS'
                   20021: compiler='$compiler_DEFAULT'
                   20022: 
                   20023: # A function that is used when there is no print builtin or printf.
                   20024: func_fallback_echo ()
                   20025: {
                   20026:   eval 'cat <<_LTECHO_EOF
                   20027: \$1
                   20028: _LTECHO_EOF'
                   20029: }
                   20030: 
                   20031: # Quote evaled strings.
                   20032: for var in AS \
                   20033: DLLTOOL \
                   20034: OBJDUMP \
                   20035: SHELL \
                   20036: ECHO \
                   20037: PATH_SEPARATOR \
                   20038: SED \
                   20039: GREP \
                   20040: EGREP \
                   20041: FGREP \
                   20042: LD \
                   20043: NM \
                   20044: LN_S \
                   20045: lt_SP2NL \
                   20046: lt_NL2SP \
                   20047: reload_flag \
                   20048: deplibs_check_method \
                   20049: file_magic_cmd \
                   20050: file_magic_glob \
                   20051: want_nocaseglob \
                   20052: sharedlib_from_linklib_cmd \
                   20053: AR \
                   20054: AR_FLAGS \
                   20055: archiver_list_spec \
                   20056: STRIP \
                   20057: RANLIB \
                   20058: CC \
                   20059: CFLAGS \
                   20060: compiler \
                   20061: lt_cv_sys_global_symbol_pipe \
                   20062: lt_cv_sys_global_symbol_to_cdecl \
                   20063: lt_cv_sys_global_symbol_to_c_name_address \
                   20064: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
                   20065: nm_file_list_spec \
                   20066: lt_prog_compiler_no_builtin_flag \
                   20067: lt_prog_compiler_pic \
                   20068: lt_prog_compiler_wl \
                   20069: lt_prog_compiler_static \
                   20070: lt_cv_prog_compiler_c_o \
                   20071: need_locks \
                   20072: MANIFEST_TOOL \
                   20073: DSYMUTIL \
                   20074: NMEDIT \
                   20075: LIPO \
                   20076: OTOOL \
                   20077: OTOOL64 \
                   20078: shrext_cmds \
                   20079: export_dynamic_flag_spec \
                   20080: whole_archive_flag_spec \
                   20081: compiler_needs_object \
                   20082: with_gnu_ld \
                   20083: allow_undefined_flag \
                   20084: no_undefined_flag \
                   20085: hardcode_libdir_flag_spec \
                   20086: hardcode_libdir_separator \
                   20087: exclude_expsyms \
                   20088: include_expsyms \
                   20089: file_list_spec \
                   20090: variables_saved_for_relink \
                   20091: libname_spec \
                   20092: library_names_spec \
                   20093: soname_spec \
                   20094: install_override_mode \
                   20095: finish_eval \
                   20096: old_striplib \
                   20097: striplib \
                   20098: compiler_lib_search_dirs \
                   20099: predep_objects \
                   20100: postdep_objects \
                   20101: predeps \
                   20102: postdeps \
                   20103: compiler_lib_search_path \
                   20104: LD_CXX \
                   20105: reload_flag_CXX \
                   20106: compiler_CXX \
                   20107: lt_prog_compiler_no_builtin_flag_CXX \
                   20108: lt_prog_compiler_pic_CXX \
                   20109: lt_prog_compiler_wl_CXX \
                   20110: lt_prog_compiler_static_CXX \
                   20111: lt_cv_prog_compiler_c_o_CXX \
                   20112: export_dynamic_flag_spec_CXX \
                   20113: whole_archive_flag_spec_CXX \
                   20114: compiler_needs_object_CXX \
                   20115: with_gnu_ld_CXX \
                   20116: allow_undefined_flag_CXX \
                   20117: no_undefined_flag_CXX \
                   20118: hardcode_libdir_flag_spec_CXX \
                   20119: hardcode_libdir_separator_CXX \
                   20120: exclude_expsyms_CXX \
                   20121: include_expsyms_CXX \
                   20122: file_list_spec_CXX \
                   20123: compiler_lib_search_dirs_CXX \
                   20124: predep_objects_CXX \
                   20125: postdep_objects_CXX \
                   20126: predeps_CXX \
                   20127: postdeps_CXX \
                   20128: compiler_lib_search_path_CXX; do
                   20129:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   20130:     *[\\\\\\\`\\"\\\$]*)
                   20131:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
                   20132:       ;;
                   20133:     *)
                   20134:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   20135:       ;;
                   20136:     esac
                   20137: done
                   20138: 
                   20139: # Double-quote double-evaled strings.
                   20140: for var in reload_cmds \
                   20141: old_postinstall_cmds \
                   20142: old_postuninstall_cmds \
                   20143: old_archive_cmds \
                   20144: extract_expsyms_cmds \
                   20145: old_archive_from_new_cmds \
                   20146: old_archive_from_expsyms_cmds \
                   20147: archive_cmds \
                   20148: archive_expsym_cmds \
                   20149: module_cmds \
                   20150: module_expsym_cmds \
                   20151: export_symbols_cmds \
                   20152: prelink_cmds \
                   20153: postlink_cmds \
                   20154: postinstall_cmds \
                   20155: postuninstall_cmds \
                   20156: finish_cmds \
                   20157: sys_lib_search_path_spec \
                   20158: sys_lib_dlsearch_path_spec \
                   20159: reload_cmds_CXX \
                   20160: old_archive_cmds_CXX \
                   20161: old_archive_from_new_cmds_CXX \
                   20162: old_archive_from_expsyms_cmds_CXX \
                   20163: archive_cmds_CXX \
                   20164: archive_expsym_cmds_CXX \
                   20165: module_cmds_CXX \
                   20166: module_expsym_cmds_CXX \
                   20167: export_symbols_cmds_CXX \
                   20168: prelink_cmds_CXX \
                   20169: postlink_cmds_CXX; do
                   20170:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   20171:     *[\\\\\\\`\\"\\\$]*)
                   20172:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
                   20173:       ;;
                   20174:     *)
                   20175:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   20176:       ;;
                   20177:     esac
                   20178: done
                   20179: 
                   20180: ac_aux_dir='$ac_aux_dir'
                   20181: xsi_shell='$xsi_shell'
                   20182: lt_shell_append='$lt_shell_append'
                   20183: 
                   20184: # See if we are running on zsh, and set the options which allow our
                   20185: # commands through without removal of \ escapes INIT.
                   20186: if test -n "\${ZSH_VERSION+set}" ; then
                   20187:    setopt NO_GLOB_SUBST
                   20188: fi
                   20189: 
                   20190: 
                   20191:     PACKAGE='$PACKAGE'
                   20192:     VERSION='$VERSION'
                   20193:     TIMESTAMP='$TIMESTAMP'
                   20194:     RM='$RM'
                   20195:     ofile='$ofile'
                   20196: 
                   20197: 
                   20198: 
                   20199: 
                   20200: 
                   20201: 
1.62      paf      20202: _ACEOF
                   20203: 
1.150     moko     20204: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      20205: 
1.150     moko     20206: # Handling of arguments.
1.62      paf      20207: for ac_config_target in $ac_config_targets
1.1       paf      20208: do
1.150     moko     20209:   case $ac_config_target in
                   20210:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   20211:     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
                   20212:     "src/include/pa_config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS src/include/pa_config_auto.h" ;;
                   20213:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   20214:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
                   20215:     "src/types/Makefile") CONFIG_FILES="$CONFIG_FILES src/types/Makefile" ;;
                   20216:     "src/classes/Makefile") CONFIG_FILES="$CONFIG_FILES src/classes/Makefile" ;;
                   20217:     "src/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
                   20218:     "src/main/Makefile") CONFIG_FILES="$CONFIG_FILES src/main/Makefile" ;;
                   20219:     "src/sql/Makefile") CONFIG_FILES="$CONFIG_FILES src/sql/Makefile" ;;
                   20220:     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
                   20221:     "src/lib/gd/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gd/Makefile" ;;
                   20222:     "src/lib/smtp/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/smtp/Makefile" ;;
                   20223:     "src/lib/gc/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gc/Makefile" ;;
                   20224:     "src/lib/gc/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gc/include/Makefile" ;;
                   20225:     "src/lib/pcre/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/pcre/Makefile" ;;
                   20226:     "src/lib/cord/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/Makefile" ;;
                   20227:     "src/lib/cord/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/Makefile" ;;
                   20228:     "src/lib/cord/include/private/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/private/Makefile" ;;
                   20229:     "src/lib/md5/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/md5/Makefile" ;;
                   20230:     "src/lib/sdbm/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/Makefile" ;;
                   20231:     "src/lib/sdbm/pa-include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/pa-include/Makefile" ;;
                   20232:     "src/lib/json/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/json/Makefile" ;;
1.173     moko     20233:     "src/lib/curl/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/curl/Makefile" ;;
                   20234:     "src/lib/punycode/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/punycode/Makefile" ;;
1.150     moko     20235:     "src/lib/memcached/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/memcached/Makefile" ;;
                   20236:     "src/targets/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/Makefile" ;;
                   20237:     "src/targets/cgi/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/cgi/Makefile" ;;
                   20238:     "src/targets/apache/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/apache/Makefile" ;;
                   20239:     "src/targets/isapi/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/isapi/Makefile" ;;
                   20240:     "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
                   20241:     "etc/parser3.charsets/Makefile") CONFIG_FILES="$CONFIG_FILES etc/parser3.charsets/Makefile" ;;
1.200     moko     20242:     "etc/auto.p") CONFIG_FILES="$CONFIG_FILES etc/auto.p" ;;
1.150     moko     20243: 
                   20244:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
1.1       paf      20245:   esac
                   20246: done
                   20247: 
1.150     moko     20248: 
1.62      paf      20249: # If the user did not use the arguments to specify the items to instantiate,
                   20250: # then the envvar interface is used.  Set only those that are not.
                   20251: # We use the long form for the default assignment because of an extremely
                   20252: # bizarre bug on SunOS 4.1.3.
                   20253: if $ac_need_defaults; then
                   20254:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   20255:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   20256:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   20257: fi
                   20258: 
                   20259: # Have a temporary directory for convenience.  Make it in the build tree
1.150     moko     20260: # simply because there is no reason against having it here, and in addition,
1.62      paf      20261: # creating and moving files from /tmp can sometimes cause problems.
1.150     moko     20262: # Hook for its removal unless debugging.
                   20263: # Note that there is a small window in which the directory will not be cleaned:
                   20264: # after its creation but before its name has been assigned to `$tmp'.
1.62      paf      20265: $debug ||
                   20266: {
1.150     moko     20267:   tmp= ac_tmp=
                   20268:   trap 'exit_status=$?
                   20269:   : "${ac_tmp:=$tmp}"
                   20270:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
                   20271: ' 0
                   20272:   trap 'as_fn_exit 1' 1 2 13 15
1.62      paf      20273: }
                   20274: # Create a (secure) tmp directory for tmp files.
                   20275: 
                   20276: {
1.150     moko     20277:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
                   20278:   test -d "$tmp"
1.62      paf      20279: }  ||
                   20280: {
1.150     moko     20281:   tmp=./conf$$-$RANDOM
                   20282:   (umask 077 && mkdir "$tmp")
                   20283: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
                   20284: ac_tmp=$tmp
                   20285: 
                   20286: # Set up the scripts for CONFIG_FILES section.
                   20287: # No need to generate them if there are no CONFIG_FILES.
                   20288: # This happens for instance with `./config.status config.h'.
                   20289: if test -n "$CONFIG_FILES"; then
                   20290: 
                   20291: 
                   20292: ac_cr=`echo X | tr X '\015'`
                   20293: # On cygwin, bash can eat \r inside `` if the user requested igncr.
                   20294: # But we know of no other shell where ac_cr would be empty at this
                   20295: # point, so we can use a bashism as a fallback.
                   20296: if test "x$ac_cr" = x; then
                   20297:   eval ac_cr=\$\'\\r\'
                   20298: fi
                   20299: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   20300: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
                   20301:   ac_cs_awk_cr='\\r'
                   20302: else
                   20303:   ac_cs_awk_cr=$ac_cr
                   20304: fi
                   20305: 
                   20306: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
                   20307: _ACEOF
                   20308: 
                   20309: 
1.62      paf      20310: {
1.150     moko     20311:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   20312:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   20313:   echo "_ACEOF"
                   20314: } >conf$$subs.sh ||
                   20315:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   20316: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
                   20317: ac_delim='%!_!# '
                   20318: for ac_last_try in false false false false false :; do
                   20319:   . ./conf$$subs.sh ||
                   20320:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   20321: 
                   20322:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   20323:   if test $ac_delim_n = $ac_delim_num; then
                   20324:     break
                   20325:   elif $ac_last_try; then
                   20326:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   20327:   else
                   20328:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   20329:   fi
                   20330: done
                   20331: rm -f conf$$subs.sh
                   20332: 
                   20333: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   20334: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
                   20335: _ACEOF
                   20336: sed -n '
                   20337: h
                   20338: s/^/S["/; s/!.*/"]=/
                   20339: p
                   20340: g
                   20341: s/^[^!]*!//
                   20342: :repl
                   20343: t repl
                   20344: s/'"$ac_delim"'$//
                   20345: t delim
                   20346: :nl
                   20347: h
                   20348: s/\(.\{148\}\)..*/\1/
                   20349: t more1
                   20350: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   20351: p
                   20352: n
                   20353: b repl
                   20354: :more1
                   20355: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   20356: p
                   20357: g
                   20358: s/.\{148\}//
                   20359: t nl
                   20360: :delim
                   20361: h
                   20362: s/\(.\{148\}\)..*/\1/
                   20363: t more2
                   20364: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   20365: p
                   20366: b
                   20367: :more2
                   20368: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   20369: p
                   20370: g
                   20371: s/.\{148\}//
                   20372: t delim
                   20373: ' <conf$$subs.awk | sed '
                   20374: /^[^""]/{
                   20375:   N
                   20376:   s/\n//
                   20377: }
                   20378: ' >>$CONFIG_STATUS || ac_write_fail=1
                   20379: rm -f conf$$subs.awk
                   20380: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   20381: _ACAWK
                   20382: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
                   20383:   for (key in S) S_is_set[key] = 1
                   20384:   FS = ""
                   20385: 
                   20386: }
                   20387: {
                   20388:   line = $ 0
                   20389:   nfields = split(line, field, "@")
                   20390:   substed = 0
                   20391:   len = length(field[1])
                   20392:   for (i = 2; i < nfields; i++) {
                   20393:     key = field[i]
                   20394:     keylen = length(key)
                   20395:     if (S_is_set[key]) {
                   20396:       value = S[key]
                   20397:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   20398:       len += length(value) + length(field[++i])
                   20399:       substed = 1
                   20400:     } else
                   20401:       len += 1 + keylen
                   20402:   }
                   20403: 
                   20404:   print line
1.62      paf      20405: }
                   20406: 
1.150     moko     20407: _ACAWK
                   20408: _ACEOF
                   20409: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   20410: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   20411:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
                   20412: else
                   20413:   cat
                   20414: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
                   20415:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
1.62      paf      20416: _ACEOF
1.1       paf      20417: 
1.150     moko     20418: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
                   20419: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
                   20420: # trailing colons and then remove the whole line if VPATH becomes empty
                   20421: # (actually we leave an empty line to preserve line numbers).
                   20422: if test "x$srcdir" = x.; then
                   20423:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
                   20424: h
                   20425: s///
                   20426: s/^/:/
                   20427: s/[     ]*$/:/
                   20428: s/:\$(srcdir):/:/g
                   20429: s/:\${srcdir}:/:/g
                   20430: s/:@srcdir@:/:/g
                   20431: s/^:*//
                   20432: s/:*$//
                   20433: x
                   20434: s/\(=[  ]*\).*/\1/
                   20435: G
                   20436: s/\n//
                   20437: s/^[^=]*=[      ]*$//
                   20438: }'
                   20439: fi
1.62      paf      20440: 
1.150     moko     20441: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   20442: fi # test -n "$CONFIG_FILES"
1.1       paf      20443: 
1.150     moko     20444: # Set up the scripts for CONFIG_HEADERS section.
                   20445: # No need to generate them if there are no CONFIG_HEADERS.
                   20446: # This happens for instance with `./config.status Makefile'.
                   20447: if test -n "$CONFIG_HEADERS"; then
                   20448: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
                   20449: BEGIN {
                   20450: _ACEOF
                   20451: 
                   20452: # Transform confdefs.h into an awk script `defines.awk', embedded as
                   20453: # here-document in config.status, that substitutes the proper values into
                   20454: # config.h.in to produce config.h.
                   20455: 
                   20456: # Create a delimiter string that does not exist in confdefs.h, to ease
                   20457: # handling of long lines.
                   20458: ac_delim='%!_!# '
                   20459: for ac_last_try in false false :; do
                   20460:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
                   20461:   if test -z "$ac_tt"; then
                   20462:     break
                   20463:   elif $ac_last_try; then
                   20464:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
                   20465:   else
                   20466:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
1.1       paf      20467:   fi
1.150     moko     20468: done
1.1       paf      20469: 
1.150     moko     20470: # For the awk script, D is an array of macro values keyed by name,
                   20471: # likewise P contains macro parameters if any.  Preserve backslash
                   20472: # newline sequences.
                   20473: 
                   20474: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
                   20475: sed -n '
                   20476: s/.\{148\}/&'"$ac_delim"'/g
                   20477: t rset
                   20478: :rset
                   20479: s/^[    ]*#[    ]*define[       ][      ]*/ /
                   20480: t def
                   20481: d
                   20482: :def
                   20483: s/\\$//
                   20484: t bsnl
                   20485: s/["\\]/\\&/g
                   20486: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   20487: D["\1"]=" \3"/p
                   20488: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
                   20489: d
                   20490: :bsnl
                   20491: s/["\\]/\\&/g
                   20492: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   20493: D["\1"]=" \3\\\\\\n"\\/p
                   20494: t cont
                   20495: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
                   20496: t cont
                   20497: d
                   20498: :cont
                   20499: n
                   20500: s/.\{148\}/&'"$ac_delim"'/g
                   20501: t clear
                   20502: :clear
                   20503: s/\\$//
                   20504: t bsnlc
                   20505: s/["\\]/\\&/g; s/^/"/; s/$/"/p
                   20506: d
                   20507: :bsnlc
                   20508: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
                   20509: b cont
                   20510: ' <confdefs.h | sed '
                   20511: s/'"$ac_delim"'/"\\\
                   20512: "/g' >>$CONFIG_STATUS || ac_write_fail=1
                   20513: 
                   20514: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   20515:   for (key in D) D_is_set[key] = 1
                   20516:   FS = ""
                   20517: }
                   20518: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
                   20519:   line = \$ 0
                   20520:   split(line, arg, " ")
                   20521:   if (arg[1] == "#") {
                   20522:     defundef = arg[2]
                   20523:     mac1 = arg[3]
                   20524:   } else {
                   20525:     defundef = substr(arg[1], 2)
                   20526:     mac1 = arg[2]
                   20527:   }
                   20528:   split(mac1, mac2, "(") #)
                   20529:   macro = mac2[1]
                   20530:   prefix = substr(line, 1, index(line, defundef) - 1)
                   20531:   if (D_is_set[macro]) {
                   20532:     # Preserve the white space surrounding the "#".
                   20533:     print prefix "define", macro P[macro] D[macro]
                   20534:     next
                   20535:   } else {
                   20536:     # Replace #undef with comments.  This is necessary, for example,
                   20537:     # in the case of _POSIX_SOURCE, which is predefined and required
                   20538:     # on some systems where configure will not decide to define it.
                   20539:     if (defundef == "undef") {
                   20540:       print "/*", prefix defundef, macro, "*/"
                   20541:       next
                   20542:     }
                   20543:   }
                   20544: }
                   20545: { print }
                   20546: _ACAWK
1.62      paf      20547: _ACEOF
1.150     moko     20548: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   20549:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
                   20550: fi # test -n "$CONFIG_HEADERS"
                   20551: 
                   20552: 
                   20553: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
                   20554: shift
                   20555: for ac_tag
                   20556: do
                   20557:   case $ac_tag in
                   20558:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   20559:   esac
                   20560:   case $ac_mode$ac_tag in
                   20561:   :[FHL]*:*);;
                   20562:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
                   20563:   :[FH]-) ac_tag=-:-;;
                   20564:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   20565:   esac
                   20566:   ac_save_IFS=$IFS
                   20567:   IFS=:
                   20568:   set x $ac_tag
                   20569:   IFS=$ac_save_IFS
                   20570:   shift
                   20571:   ac_file=$1
                   20572:   shift
                   20573: 
                   20574:   case $ac_mode in
                   20575:   :L) ac_source=$1;;
                   20576:   :[FH])
                   20577:     ac_file_inputs=
                   20578:     for ac_f
                   20579:     do
                   20580:       case $ac_f in
                   20581:       -) ac_f="$ac_tmp/stdin";;
                   20582:       *) # Look for the file first in the build tree, then in the source tree
                   20583:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
                   20584:         # because $ac_f cannot contain `:'.
                   20585:         test -f "$ac_f" ||
                   20586:           case $ac_f in
                   20587:           [\\/$]*) false;;
                   20588:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   20589:           esac ||
                   20590:           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
                   20591:       esac
                   20592:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
                   20593:       as_fn_append ac_file_inputs " '$ac_f'"
                   20594:     done
                   20595: 
                   20596:     # Let's still pretend it is `configure' which instantiates (i.e., don't
                   20597:     # use $as_me), people would be surprised to read:
                   20598:     #    /* config.h.  Generated by config.status.  */
                   20599:     configure_input='Generated from '`
                   20600:          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
                   20601:        `' by configure.'
                   20602:     if test x"$ac_file" != x-; then
                   20603:       configure_input="$ac_file.  $configure_input"
                   20604:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
                   20605: $as_echo "$as_me: creating $ac_file" >&6;}
                   20606:     fi
                   20607:     # Neutralize special characters interpreted by sed in replacement strings.
                   20608:     case $configure_input in #(
                   20609:     *\&* | *\|* | *\\* )
                   20610:        ac_sed_conf_input=`$as_echo "$configure_input" |
                   20611:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   20612:     *) ac_sed_conf_input=$configure_input;;
                   20613:     esac
                   20614: 
                   20615:     case $ac_tag in
                   20616:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
                   20617:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
                   20618:     esac
                   20619:     ;;
1.1       paf      20620:   esac
                   20621: 
1.150     moko     20622:   ac_dir=`$as_dirname -- "$ac_file" ||
1.62      paf      20623: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      20624:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   20625:         X"$ac_file" : 'X\(//\)$' \| \
1.150     moko     20626:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
                   20627: $as_echo X"$ac_file" |
                   20628:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   20629:            s//\1/
                   20630:            q
                   20631:          }
                   20632:          /^X\(\/\/\)[^/].*/{
                   20633:            s//\1/
                   20634:            q
                   20635:          }
                   20636:          /^X\(\/\/\)$/{
                   20637:            s//\1/
                   20638:            q
                   20639:          }
                   20640:          /^X\(\/\).*/{
                   20641:            s//\1/
                   20642:            q
                   20643:          }
                   20644:          s/.*/./; q'`
                   20645:   as_dir="$ac_dir"; as_fn_mkdir_p
1.62      paf      20646:   ac_builddir=.
                   20647: 
1.150     moko     20648: case "$ac_dir" in
                   20649: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   20650: *)
                   20651:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   20652:   # A ".." for each directory in $ac_dir_suffix.
                   20653:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   20654:   case $ac_top_builddir_sub in
                   20655:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   20656:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   20657:   esac ;;
                   20658: esac
                   20659: ac_abs_top_builddir=$ac_pwd
                   20660: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   20661: # for backward compatibility:
                   20662: ac_top_builddir=$ac_top_build_prefix
1.62      paf      20663: 
                   20664: case $srcdir in
1.150     moko     20665:   .)  # We are building in place.
1.62      paf      20666:     ac_srcdir=.
1.150     moko     20667:     ac_top_srcdir=$ac_top_builddir_sub
                   20668:     ac_abs_top_srcdir=$ac_pwd ;;
                   20669:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.62      paf      20670:     ac_srcdir=$srcdir$ac_dir_suffix;
1.150     moko     20671:     ac_top_srcdir=$srcdir
                   20672:     ac_abs_top_srcdir=$srcdir ;;
                   20673:   *) # Relative name.
                   20674:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   20675:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   20676:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.62      paf      20677: esac
1.150     moko     20678: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.86      paf      20679: 
1.62      paf      20680: 
1.150     moko     20681:   case $ac_mode in
                   20682:   :F)
                   20683:   #
                   20684:   # CONFIG_FILE
                   20685:   #
1.1       paf      20686: 
1.62      paf      20687:   case $INSTALL in
                   20688:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1.150     moko     20689:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
1.1       paf      20690:   esac
1.150     moko     20691:   ac_MKDIR_P=$MKDIR_P
                   20692:   case $MKDIR_P in
                   20693:   [\\/$]* | ?:[\\/]* ) ;;
                   20694:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
                   20695:   esac
                   20696: _ACEOF
1.1       paf      20697: 
1.150     moko     20698: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   20699: # If the template does not know about datarootdir, expand it.
                   20700: # FIXME: This hack should be removed a few years after 2.60.
                   20701: ac_datarootdir_hack=; ac_datarootdir_seen=
                   20702: ac_sed_dataroot='
                   20703: /datarootdir/ {
                   20704:   p
                   20705:   q
                   20706: }
                   20707: /@datadir@/p
                   20708: /@docdir@/p
                   20709: /@infodir@/p
                   20710: /@localedir@/p
                   20711: /@mandir@/p'
                   20712: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
                   20713: *datarootdir*) ac_datarootdir_seen=yes;;
                   20714: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
                   20715:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
                   20716: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
                   20717: _ACEOF
                   20718: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   20719:   ac_datarootdir_hack='
                   20720:   s&@datadir@&$datadir&g
                   20721:   s&@docdir@&$docdir&g
                   20722:   s&@infodir@&$infodir&g
                   20723:   s&@localedir@&$localedir&g
                   20724:   s&@mandir@&$mandir&g
                   20725:   s&\\\${datarootdir}&$datarootdir&g' ;;
                   20726: esac
                   20727: _ACEOF
1.62      paf      20728: 
1.150     moko     20729: # Neutralize VPATH when `$srcdir' = `.'.
                   20730: # Shell code in configure.ac might set extrasub.
                   20731: # FIXME: do we really want to maintain this feature?
                   20732: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   20733: ac_sed_extra="$ac_vpsub
1.62      paf      20734: $extrasub
                   20735: _ACEOF
1.150     moko     20736: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      20737: :t
                   20738: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1.150     moko     20739: s|@configure_input@|$ac_sed_conf_input|;t t
                   20740: s&@top_builddir@&$ac_top_builddir_sub&;t t
                   20741: s&@top_build_prefix@&$ac_top_build_prefix&;t t
                   20742: s&@srcdir@&$ac_srcdir&;t t
                   20743: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   20744: s&@top_srcdir@&$ac_top_srcdir&;t t
                   20745: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   20746: s&@builddir@&$ac_builddir&;t t
                   20747: s&@abs_builddir@&$ac_abs_builddir&;t t
                   20748: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
                   20749: s&@INSTALL@&$ac_INSTALL&;t t
                   20750: s&@MKDIR_P@&$ac_MKDIR_P&;t t
                   20751: $ac_datarootdir_hack
                   20752: "
                   20753: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
                   20754:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   20755: 
                   20756: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
                   20757:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
                   20758:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
                   20759:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
                   20760:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   20761: which seems to be undefined.  Please make sure it is defined" >&5
                   20762: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   20763: which seems to be undefined.  Please make sure it is defined" >&2;}
1.1       paf      20764: 
1.150     moko     20765:   rm -f "$ac_tmp/stdin"
1.62      paf      20766:   case $ac_file in
1.150     moko     20767:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
                   20768:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
                   20769:   esac \
                   20770:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   20771:  ;;
                   20772:   :H)
                   20773:   #
                   20774:   # CONFIG_HEADER
                   20775:   #
1.62      paf      20776:   if test x"$ac_file" != x-; then
1.150     moko     20777:     {
                   20778:       $as_echo "/* $configure_input  */" \
                   20779:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
                   20780:     } >"$ac_tmp/config.h" \
                   20781:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   20782:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
                   20783:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
                   20784: $as_echo "$as_me: $ac_file is unchanged" >&6;}
1.62      paf      20785:     else
1.150     moko     20786:       rm -f "$ac_file"
                   20787:       mv "$ac_tmp/config.h" "$ac_file" \
                   20788:        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.62      paf      20789:     fi
                   20790:   else
1.150     moko     20791:     $as_echo "/* $configure_input  */" \
                   20792:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
                   20793:       || as_fn_error $? "could not create -" "$LINENO" 5
1.62      paf      20794:   fi
1.150     moko     20795: # Compute "$ac_file"'s index in $config_headers.
                   20796: _am_arg="$ac_file"
1.86      paf      20797: _am_stamp_count=1
                   20798: for _am_header in $config_headers :; do
                   20799:   case $_am_header in
1.150     moko     20800:     $_am_arg | $_am_arg:* )
1.86      paf      20801:       break ;;
                   20802:     * )
                   20803:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   20804:   esac
                   20805: done
1.150     moko     20806: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
                   20807: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   20808:         X"$_am_arg" : 'X\(//\)[^/]' \| \
                   20809:         X"$_am_arg" : 'X\(//\)$' \| \
                   20810:         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
                   20811: $as_echo X"$_am_arg" |
                   20812:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   20813:            s//\1/
                   20814:            q
                   20815:          }
                   20816:          /^X\(\/\/\)[^/].*/{
                   20817:            s//\1/
                   20818:            q
                   20819:          }
                   20820:          /^X\(\/\/\)$/{
                   20821:            s//\1/
                   20822:            q
                   20823:          }
                   20824:          /^X\(\/\).*/{
                   20825:            s//\1/
                   20826:            q
                   20827:          }
                   20828:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   20829:  ;;
1.62      paf      20830: 
1.150     moko     20831:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
                   20832: $as_echo "$as_me: executing $ac_file commands" >&6;}
                   20833:  ;;
                   20834:   esac
1.86      paf      20835: 
1.62      paf      20836: 
1.150     moko     20837:   case $ac_file$ac_mode in
                   20838:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
1.187     moko     20839:   # Older Autoconf quotes --file arguments for eval, but not when files
1.150     moko     20840:   # are listed without --file.  Let's play safe and only enable the eval
                   20841:   # if we detect the quoting.
1.199     moko     20842:   # TODO: see whether this extra hack can be removed once we start
                   20843:   # requiring Autoconf 2.70 or later.
                   20844:   case $CONFIG_FILES in #(
                   20845:   *\'*) :
                   20846:     eval set x "$CONFIG_FILES" ;; #(
                   20847:   *) :
                   20848:     set x $CONFIG_FILES ;; #(
                   20849:   *) :
                   20850:      ;;
                   20851: esac
1.150     moko     20852:   shift
1.199     moko     20853:   # Used to flag and report bootstrapping failures.
                   20854:   am_rc=0
                   20855:   for am_mf
1.150     moko     20856:   do
                   20857:     # Strip MF so we end up with the name of the file.
1.199     moko     20858:     am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
                   20859:     # Check whether this is an Automake generated Makefile which includes
                   20860:     # dependency-tracking related rules and includes.
                   20861:     # Grep'ing the whole file directly is not great: AIX grep has a line
1.150     moko     20862:     # limit of 2048, but all sed's we know have understand at least 4000.
1.199     moko     20863:     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
                   20864:       || continue
                   20865:     am_dirpart=`$as_dirname -- "$am_mf" ||
                   20866: $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   20867:         X"$am_mf" : 'X\(//\)[^/]' \| \
                   20868:         X"$am_mf" : 'X\(//\)$' \| \
                   20869:         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
                   20870: $as_echo X"$am_mf" |
1.150     moko     20871:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   20872:            s//\1/
                   20873:            q
                   20874:          }
                   20875:          /^X\(\/\/\)[^/].*/{
                   20876:            s//\1/
                   20877:            q
                   20878:          }
                   20879:          /^X\(\/\/\)$/{
                   20880:            s//\1/
                   20881:            q
                   20882:          }
                   20883:          /^X\(\/\).*/{
                   20884:            s//\1/
                   20885:            q
                   20886:          }
                   20887:          s/.*/./; q'`
1.199     moko     20888:     am_filepart=`$as_basename -- "$am_mf" ||
                   20889: $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
                   20890:         X"$am_mf" : 'X\(//\)$' \| \
                   20891:         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
                   20892: $as_echo X/"$am_mf" |
                   20893:     sed '/^.*\/\([^/][^/]*\)\/*$/{
1.150     moko     20894:            s//\1/
                   20895:            q
                   20896:          }
1.199     moko     20897:          /^X\/\(\/\/\)$/{
1.150     moko     20898:            s//\1/
                   20899:            q
                   20900:          }
1.199     moko     20901:          /^X\/\(\/\).*/{
1.150     moko     20902:            s//\1/
                   20903:            q
                   20904:          }
                   20905:          s/.*/./; q'`
1.199     moko     20906:     { echo "$as_me:$LINENO: cd "$am_dirpart" \
                   20907:       && sed -e '/# am--include-marker/d' "$am_filepart" \
                   20908:         | $MAKE -f - am--depfiles" >&5
                   20909:    (cd "$am_dirpart" \
                   20910:       && sed -e '/# am--include-marker/d' "$am_filepart" \
                   20911:         | $MAKE -f - am--depfiles) >&5 2>&5
                   20912:    ac_status=$?
                   20913:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   20914:    (exit $ac_status); } || am_rc=$?
1.62      paf      20915:   done
1.199     moko     20916:   if test $am_rc -ne 0; then
                   20917:     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   20918: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   20919: as_fn_error $? "Something went wrong bootstrapping makefile fragments
1.216     moko     20920:     for automatic dependency tracking.  If GNU make was not used, consider
                   20921:     re-running the configure script with MAKE=\"gmake\" (or whatever is
                   20922:     necessary).  You can also try re-running configure with the
1.199     moko     20923:     '--disable-dependency-tracking' option to at least be able to build
                   20924:     the package (albeit without support for automatic dependency tracking).
                   20925: See \`config.log' for more details" "$LINENO" 5; }
                   20926:   fi
                   20927:   { am_dirpart=; unset am_dirpart;}
                   20928:   { am_filepart=; unset am_filepart;}
                   20929:   { am_mf=; unset am_mf;}
                   20930:   { am_rc=; unset am_rc;}
                   20931:   rm -f conftest-deps.mk
1.150     moko     20932: }
1.62      paf      20933:  ;;
1.150     moko     20934:     "libtool":C)
1.128     moko     20935: 
                   20936:     # See if we are running on zsh, and set the options which allow our
                   20937:     # commands through without removal of \ escapes.
                   20938:     if test -n "${ZSH_VERSION+set}" ; then
                   20939:       setopt NO_GLOB_SUBST
                   20940:     fi
                   20941: 
                   20942:     cfgfile="${ofile}T"
                   20943:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
                   20944:     $RM "$cfgfile"
                   20945: 
                   20946:     cat <<_LT_EOF >> "$cfgfile"
                   20947: #! $SHELL
                   20948: 
                   20949: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
                   20950: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
                   20951: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
                   20952: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
                   20953: #
                   20954: #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
                   20955: #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
                   20956: #                 Foundation, Inc.
                   20957: #   Written by Gordon Matzigkeit, 1996
                   20958: #
                   20959: #   This file is part of GNU Libtool.
                   20960: #
                   20961: # GNU Libtool is free software; you can redistribute it and/or
                   20962: # modify it under the terms of the GNU General Public License as
                   20963: # published by the Free Software Foundation; either version 2 of
                   20964: # the License, or (at your option) any later version.
                   20965: #
                   20966: # As a special exception to the GNU General Public License,
                   20967: # if you distribute this file as part of a program or library that
                   20968: # is built using GNU Libtool, you may include this file under the
                   20969: # same distribution terms that you use for the rest of that program.
                   20970: #
                   20971: # GNU Libtool is distributed in the hope that it will be useful,
                   20972: # but WITHOUT ANY WARRANTY; without even the implied warranty of
                   20973: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   20974: # GNU General Public License for more details.
                   20975: #
                   20976: # You should have received a copy of the GNU General Public License
                   20977: # along with GNU Libtool; see the file COPYING.  If not, a copy
                   20978: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
                   20979: # obtained by writing to the Free Software Foundation, Inc.,
                   20980: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
                   20981: 
                   20982: 
                   20983: # The names of the tagged configurations supported by this script.
                   20984: available_tags="CXX "
                   20985: 
                   20986: # ### BEGIN LIBTOOL CONFIG
                   20987: 
                   20988: # Which release of libtool.m4 was used?
                   20989: macro_version=$macro_version
                   20990: macro_revision=$macro_revision
                   20991: 
                   20992: # Assembler program.
                   20993: AS=$lt_AS
                   20994: 
                   20995: # DLL creation program.
                   20996: DLLTOOL=$lt_DLLTOOL
                   20997: 
                   20998: # Object dumper program.
                   20999: OBJDUMP=$lt_OBJDUMP
                   21000: 
1.145     moko     21001: # What type of objects to build.
                   21002: pic_mode=$pic_mode
                   21003: 
1.128     moko     21004: # Whether or not to build shared libraries.
                   21005: build_libtool_libs=$enable_shared
                   21006: 
1.138     moko     21007: # Whether or not to build static libraries.
                   21008: build_old_libs=$enable_static
                   21009: 
1.128     moko     21010: # Whether or not to optimize for fast installation.
                   21011: fast_install=$enable_fast_install
                   21012: 
                   21013: # Shell to use when invoking shell scripts.
                   21014: SHELL=$lt_SHELL
                   21015: 
                   21016: # An echo program that protects backslashes.
                   21017: ECHO=$lt_ECHO
                   21018: 
                   21019: # The PATH separator for the build system.
                   21020: PATH_SEPARATOR=$lt_PATH_SEPARATOR
                   21021: 
                   21022: # The host system.
                   21023: host_alias=$host_alias
                   21024: host=$host
                   21025: host_os=$host_os
                   21026: 
                   21027: # The build system.
                   21028: build_alias=$build_alias
                   21029: build=$build
                   21030: build_os=$build_os
                   21031: 
                   21032: # A sed program that does not truncate output.
                   21033: SED=$lt_SED
                   21034: 
                   21035: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   21036: Xsed="\$SED -e 1s/^X//"
                   21037: 
                   21038: # A grep program that handles long lines.
                   21039: GREP=$lt_GREP
                   21040: 
                   21041: # An ERE matcher.
                   21042: EGREP=$lt_EGREP
                   21043: 
                   21044: # A literal string matcher.
                   21045: FGREP=$lt_FGREP
                   21046: 
                   21047: # A BSD- or MS-compatible name lister.
                   21048: NM=$lt_NM
                   21049: 
                   21050: # Whether we need soft or hard links.
                   21051: LN_S=$lt_LN_S
                   21052: 
                   21053: # What is the maximum length of a command?
                   21054: max_cmd_len=$max_cmd_len
                   21055: 
                   21056: # Object file suffix (normally "o").
                   21057: objext=$ac_objext
                   21058: 
                   21059: # Executable file suffix (normally "").
                   21060: exeext=$exeext
                   21061: 
                   21062: # whether the shell understands "unset".
                   21063: lt_unset=$lt_unset
                   21064: 
                   21065: # turn spaces into newlines.
                   21066: SP2NL=$lt_lt_SP2NL
                   21067: 
                   21068: # turn newlines into spaces.
                   21069: NL2SP=$lt_lt_NL2SP
                   21070: 
                   21071: # convert \$build file names to \$host format.
                   21072: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   21073: 
                   21074: # convert \$build files to toolchain format.
                   21075: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   21076: 
                   21077: # Method to check whether dependent libraries are shared objects.
                   21078: deplibs_check_method=$lt_deplibs_check_method
                   21079: 
                   21080: # Command to use when deplibs_check_method = "file_magic".
                   21081: file_magic_cmd=$lt_file_magic_cmd
                   21082: 
                   21083: # How to find potential files when deplibs_check_method = "file_magic".
                   21084: file_magic_glob=$lt_file_magic_glob
                   21085: 
                   21086: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
                   21087: want_nocaseglob=$lt_want_nocaseglob
                   21088: 
                   21089: # Command to associate shared and link libraries.
                   21090: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
                   21091: 
                   21092: # The archiver.
                   21093: AR=$lt_AR
                   21094: 
                   21095: # Flags to create an archive.
                   21096: AR_FLAGS=$lt_AR_FLAGS
                   21097: 
                   21098: # How to feed a file listing to the archiver.
                   21099: archiver_list_spec=$lt_archiver_list_spec
                   21100: 
                   21101: # A symbol stripping program.
                   21102: STRIP=$lt_STRIP
                   21103: 
                   21104: # Commands used to install an old-style archive.
                   21105: RANLIB=$lt_RANLIB
                   21106: old_postinstall_cmds=$lt_old_postinstall_cmds
                   21107: old_postuninstall_cmds=$lt_old_postuninstall_cmds
                   21108: 
                   21109: # Whether to use a lock for old archive extraction.
                   21110: lock_old_archive_extraction=$lock_old_archive_extraction
                   21111: 
                   21112: # A C compiler.
                   21113: LTCC=$lt_CC
                   21114: 
                   21115: # LTCC compiler flags.
                   21116: LTCFLAGS=$lt_CFLAGS
                   21117: 
                   21118: # Take the output of nm and produce a listing of raw symbols and C names.
                   21119: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
                   21120: 
                   21121: # Transform the output of nm in a proper C declaration.
                   21122: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
                   21123: 
                   21124: # Transform the output of nm in a C name address pair.
                   21125: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
                   21126: 
                   21127: # Transform the output of nm in a C name address pair when lib prefix is needed.
                   21128: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
                   21129: 
                   21130: # Specify filename containing input files for \$NM.
                   21131: nm_file_list_spec=$lt_nm_file_list_spec
                   21132: 
                   21133: # The root where to search for dependent libraries,and in which our libraries should be installed.
                   21134: lt_sysroot=$lt_sysroot
                   21135: 
                   21136: # The name of the directory that contains temporary libtool files.
                   21137: objdir=$objdir
                   21138: 
                   21139: # Used to examine libraries when file_magic_cmd begins with "file".
                   21140: MAGIC_CMD=$MAGIC_CMD
                   21141: 
                   21142: # Must we lock files when doing compilation?
                   21143: need_locks=$lt_need_locks
                   21144: 
                   21145: # Manifest tool.
                   21146: MANIFEST_TOOL=$lt_MANIFEST_TOOL
                   21147: 
                   21148: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
                   21149: DSYMUTIL=$lt_DSYMUTIL
                   21150: 
                   21151: # Tool to change global to local symbols on Mac OS X.
                   21152: NMEDIT=$lt_NMEDIT
                   21153: 
                   21154: # Tool to manipulate fat objects and archives on Mac OS X.
                   21155: LIPO=$lt_LIPO
                   21156: 
                   21157: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
                   21158: OTOOL=$lt_OTOOL
                   21159: 
                   21160: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
                   21161: OTOOL64=$lt_OTOOL64
                   21162: 
                   21163: # Old archive suffix (normally "a").
                   21164: libext=$libext
                   21165: 
                   21166: # Shared library suffix (normally ".so").
                   21167: shrext_cmds=$lt_shrext_cmds
                   21168: 
                   21169: # The commands to extract the exported symbol list from a shared archive.
                   21170: extract_expsyms_cmds=$lt_extract_expsyms_cmds
                   21171: 
                   21172: # Variables whose values should be saved in libtool wrapper scripts and
                   21173: # restored at link time.
                   21174: variables_saved_for_relink=$lt_variables_saved_for_relink
                   21175: 
                   21176: # Do we need the "lib" prefix for modules?
                   21177: need_lib_prefix=$need_lib_prefix
                   21178: 
                   21179: # Do we need a version for libraries?
                   21180: need_version=$need_version
                   21181: 
                   21182: # Library versioning type.
                   21183: version_type=$version_type
                   21184: 
                   21185: # Shared library runtime path variable.
                   21186: runpath_var=$runpath_var
                   21187: 
                   21188: # Shared library path variable.
                   21189: shlibpath_var=$shlibpath_var
                   21190: 
                   21191: # Is shlibpath searched before the hard-coded library search path?
                   21192: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
                   21193: 
                   21194: # Format of library name prefix.
                   21195: libname_spec=$lt_libname_spec
                   21196: 
                   21197: # List of archive names.  First name is the real one, the rest are links.
                   21198: # The last name is the one that the linker finds with -lNAME
                   21199: library_names_spec=$lt_library_names_spec
                   21200: 
                   21201: # The coded name of the library, if different from the real name.
                   21202: soname_spec=$lt_soname_spec
                   21203: 
                   21204: # Permission mode override for installation of shared libraries.
                   21205: install_override_mode=$lt_install_override_mode
                   21206: 
                   21207: # Command to use after installation of a shared archive.
                   21208: postinstall_cmds=$lt_postinstall_cmds
                   21209: 
                   21210: # Command to use after uninstallation of a shared archive.
                   21211: postuninstall_cmds=$lt_postuninstall_cmds
                   21212: 
                   21213: # Commands used to finish a libtool library installation in a directory.
                   21214: finish_cmds=$lt_finish_cmds
                   21215: 
                   21216: # As "finish_cmds", except a single script fragment to be evaled but
                   21217: # not shown.
                   21218: finish_eval=$lt_finish_eval
                   21219: 
                   21220: # Whether we should hardcode library paths into libraries.
                   21221: hardcode_into_libs=$hardcode_into_libs
                   21222: 
                   21223: # Compile-time system search path for libraries.
                   21224: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
                   21225: 
                   21226: # Run-time system search path for libraries.
                   21227: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
                   21228: 
                   21229: # Whether dlopen is supported.
                   21230: dlopen_support=$enable_dlopen
                   21231: 
                   21232: # Whether dlopen of programs is supported.
                   21233: dlopen_self=$enable_dlopen_self
                   21234: 
                   21235: # Whether dlopen of statically linked programs is supported.
                   21236: dlopen_self_static=$enable_dlopen_self_static
                   21237: 
                   21238: # Commands to strip libraries.
                   21239: old_striplib=$lt_old_striplib
                   21240: striplib=$lt_striplib
                   21241: 
                   21242: 
                   21243: # The linker used to build libraries.
                   21244: LD=$lt_LD
                   21245: 
                   21246: # How to create reloadable object files.
                   21247: reload_flag=$lt_reload_flag
                   21248: reload_cmds=$lt_reload_cmds
                   21249: 
                   21250: # Commands used to build an old-style archive.
                   21251: old_archive_cmds=$lt_old_archive_cmds
                   21252: 
                   21253: # A language specific compiler.
                   21254: CC=$lt_compiler
                   21255: 
                   21256: # Is the compiler the GNU compiler?
                   21257: with_gcc=$GCC
                   21258: 
                   21259: # Compiler flag to turn off builtin functions.
                   21260: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
                   21261: 
                   21262: # Additional compiler flags for building library objects.
                   21263: pic_flag=$lt_lt_prog_compiler_pic
                   21264: 
                   21265: # How to pass a linker flag through the compiler.
                   21266: wl=$lt_lt_prog_compiler_wl
                   21267: 
                   21268: # Compiler flag to prevent dynamic linking.
                   21269: link_static_flag=$lt_lt_prog_compiler_static
                   21270: 
                   21271: # Does compiler simultaneously support -c and -o options?
                   21272: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
                   21273: 
                   21274: # Whether or not to add -lc for building shared libraries.
                   21275: build_libtool_need_lc=$archive_cmds_need_lc
                   21276: 
                   21277: # Whether or not to disallow shared libs when runtime libs are static.
                   21278: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
                   21279: 
                   21280: # Compiler flag to allow reflexive dlopens.
                   21281: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
                   21282: 
                   21283: # Compiler flag to generate shared objects directly from archives.
                   21284: whole_archive_flag_spec=$lt_whole_archive_flag_spec
                   21285: 
                   21286: # Whether the compiler copes with passing no objects directly.
                   21287: compiler_needs_object=$lt_compiler_needs_object
                   21288: 
                   21289: # Create an old-style archive from a shared archive.
                   21290: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
                   21291: 
                   21292: # Create a temporary old-style archive to link instead of a shared archive.
                   21293: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
                   21294: 
                   21295: # Commands used to build a shared archive.
                   21296: archive_cmds=$lt_archive_cmds
                   21297: archive_expsym_cmds=$lt_archive_expsym_cmds
                   21298: 
                   21299: # Commands used to build a loadable module if different from building
                   21300: # a shared archive.
                   21301: module_cmds=$lt_module_cmds
                   21302: module_expsym_cmds=$lt_module_expsym_cmds
                   21303: 
                   21304: # Whether we are building with GNU ld or not.
                   21305: with_gnu_ld=$lt_with_gnu_ld
                   21306: 
                   21307: # Flag that allows shared libraries with undefined symbols to be built.
                   21308: allow_undefined_flag=$lt_allow_undefined_flag
                   21309: 
                   21310: # Flag that enforces no undefined symbols.
                   21311: no_undefined_flag=$lt_no_undefined_flag
                   21312: 
                   21313: # Flag to hardcode \$libdir into a binary during linking.
                   21314: # This must work even if \$libdir does not exist
                   21315: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
                   21316: 
                   21317: # Whether we need a single "-rpath" flag with a separated argument.
                   21318: hardcode_libdir_separator=$lt_hardcode_libdir_separator
                   21319: 
                   21320: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   21321: # DIR into the resulting binary.
                   21322: hardcode_direct=$hardcode_direct
                   21323: 
                   21324: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   21325: # DIR into the resulting binary and the resulting library dependency is
                   21326: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   21327: # library is relocated.
                   21328: hardcode_direct_absolute=$hardcode_direct_absolute
                   21329: 
                   21330: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   21331: # into the resulting binary.
                   21332: hardcode_minus_L=$hardcode_minus_L
                   21333: 
                   21334: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   21335: # into the resulting binary.
                   21336: hardcode_shlibpath_var=$hardcode_shlibpath_var
                   21337: 
                   21338: # Set to "yes" if building a shared library automatically hardcodes DIR
                   21339: # into the library and all subsequent libraries and executables linked
                   21340: # against it.
                   21341: hardcode_automatic=$hardcode_automatic
                   21342: 
                   21343: # Set to yes if linker adds runtime paths of dependent libraries
                   21344: # to runtime path list.
                   21345: inherit_rpath=$inherit_rpath
                   21346: 
                   21347: # Whether libtool must link a program against all its dependency libraries.
                   21348: link_all_deplibs=$link_all_deplibs
                   21349: 
                   21350: # Set to "yes" if exported symbols are required.
                   21351: always_export_symbols=$always_export_symbols
                   21352: 
                   21353: # The commands to list exported symbols.
                   21354: export_symbols_cmds=$lt_export_symbols_cmds
                   21355: 
                   21356: # Symbols that should not be listed in the preloaded symbols.
                   21357: exclude_expsyms=$lt_exclude_expsyms
                   21358: 
                   21359: # Symbols that must always be exported.
                   21360: include_expsyms=$lt_include_expsyms
                   21361: 
                   21362: # Commands necessary for linking programs (against libraries) with templates.
                   21363: prelink_cmds=$lt_prelink_cmds
                   21364: 
                   21365: # Commands necessary for finishing linking programs.
                   21366: postlink_cmds=$lt_postlink_cmds
                   21367: 
                   21368: # Specify filename containing input files.
                   21369: file_list_spec=$lt_file_list_spec
                   21370: 
                   21371: # How to hardcode a shared library path into an executable.
                   21372: hardcode_action=$hardcode_action
                   21373: 
                   21374: # The directories searched by this compiler when creating a shared library.
                   21375: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
                   21376: 
                   21377: # Dependencies to place before and after the objects being linked to
                   21378: # create a shared library.
                   21379: predep_objects=$lt_predep_objects
                   21380: postdep_objects=$lt_postdep_objects
                   21381: predeps=$lt_predeps
                   21382: postdeps=$lt_postdeps
                   21383: 
                   21384: # The library search path used internally by the compiler when linking
                   21385: # a shared library.
                   21386: compiler_lib_search_path=$lt_compiler_lib_search_path
                   21387: 
                   21388: # ### END LIBTOOL CONFIG
                   21389: 
                   21390: _LT_EOF
                   21391: 
                   21392:   case $host_os in
                   21393:   aix3*)
                   21394:     cat <<\_LT_EOF >> "$cfgfile"
                   21395: # AIX sometimes has problems with the GCC collect2 program.  For some
                   21396: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   21397: # vanish in a puff of smoke.
                   21398: if test "X${COLLECT_NAMES+set}" != Xset; then
                   21399:   COLLECT_NAMES=
                   21400:   export COLLECT_NAMES
                   21401: fi
                   21402: _LT_EOF
                   21403:     ;;
                   21404:   esac
                   21405: 
                   21406: 
                   21407: ltmain="$ac_aux_dir/ltmain.sh"
                   21408: 
                   21409: 
                   21410:   # We use sed instead of cat because bash on DJGPP gets confused if
                   21411:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   21412:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   21413:   # is reportedly fixed, but why not run on old versions too?
                   21414:   sed '$q' "$ltmain" >> "$cfgfile" \
                   21415:      || (rm -f "$cfgfile"; exit 1)
                   21416: 
                   21417:   if test x"$xsi_shell" = xyes; then
                   21418:   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
                   21419: func_dirname ()\
                   21420: {\
                   21421: \    case ${1} in\
                   21422: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   21423: \      *  ) func_dirname_result="${3}" ;;\
                   21424: \    esac\
                   21425: } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
                   21426:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21427:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21428: test 0 -eq $? || _lt_function_replace_fail=:
                   21429: 
                   21430: 
                   21431:   sed -e '/^func_basename ()$/,/^} # func_basename /c\
                   21432: func_basename ()\
                   21433: {\
                   21434: \    func_basename_result="${1##*/}"\
                   21435: } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   21436:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21437:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21438: test 0 -eq $? || _lt_function_replace_fail=:
                   21439: 
                   21440: 
                   21441:   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
                   21442: func_dirname_and_basename ()\
                   21443: {\
                   21444: \    case ${1} in\
                   21445: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   21446: \      *  ) func_dirname_result="${3}" ;;\
                   21447: \    esac\
                   21448: \    func_basename_result="${1##*/}"\
                   21449: } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   21450:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21451:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21452: test 0 -eq $? || _lt_function_replace_fail=:
                   21453: 
                   21454: 
                   21455:   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
                   21456: func_stripname ()\
                   21457: {\
                   21458: \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
                   21459: \    # positional parameters, so assign one to ordinary parameter first.\
                   21460: \    func_stripname_result=${3}\
                   21461: \    func_stripname_result=${func_stripname_result#"${1}"}\
                   21462: \    func_stripname_result=${func_stripname_result%"${2}"}\
                   21463: } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
                   21464:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21465:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21466: test 0 -eq $? || _lt_function_replace_fail=:
                   21467: 
                   21468: 
                   21469:   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
                   21470: func_split_long_opt ()\
                   21471: {\
                   21472: \    func_split_long_opt_name=${1%%=*}\
                   21473: \    func_split_long_opt_arg=${1#*=}\
                   21474: } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   21475:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21476:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21477: test 0 -eq $? || _lt_function_replace_fail=:
                   21478: 
                   21479: 
                   21480:   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
                   21481: func_split_short_opt ()\
                   21482: {\
                   21483: \    func_split_short_opt_arg=${1#??}\
                   21484: \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
                   21485: } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   21486:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21487:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21488: test 0 -eq $? || _lt_function_replace_fail=:
                   21489: 
                   21490: 
                   21491:   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
                   21492: func_lo2o ()\
                   21493: {\
                   21494: \    case ${1} in\
                   21495: \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
                   21496: \      *)    func_lo2o_result=${1} ;;\
                   21497: \    esac\
                   21498: } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
                   21499:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21500:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21501: test 0 -eq $? || _lt_function_replace_fail=:
                   21502: 
                   21503: 
                   21504:   sed -e '/^func_xform ()$/,/^} # func_xform /c\
                   21505: func_xform ()\
                   21506: {\
                   21507:     func_xform_result=${1%.*}.lo\
                   21508: } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
                   21509:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21510:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21511: test 0 -eq $? || _lt_function_replace_fail=:
                   21512: 
                   21513: 
                   21514:   sed -e '/^func_arith ()$/,/^} # func_arith /c\
                   21515: func_arith ()\
                   21516: {\
                   21517:     func_arith_result=$(( $* ))\
                   21518: } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
                   21519:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21520:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21521: test 0 -eq $? || _lt_function_replace_fail=:
                   21522: 
                   21523: 
                   21524:   sed -e '/^func_len ()$/,/^} # func_len /c\
                   21525: func_len ()\
                   21526: {\
                   21527:     func_len_result=${#1}\
                   21528: } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
                   21529:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21530:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21531: test 0 -eq $? || _lt_function_replace_fail=:
                   21532: 
                   21533: fi
                   21534: 
                   21535: if test x"$lt_shell_append" = xyes; then
                   21536:   sed -e '/^func_append ()$/,/^} # func_append /c\
                   21537: func_append ()\
                   21538: {\
                   21539:     eval "${1}+=\\${2}"\
                   21540: } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
                   21541:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21542:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21543: test 0 -eq $? || _lt_function_replace_fail=:
                   21544: 
                   21545: 
                   21546:   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
                   21547: func_append_quoted ()\
                   21548: {\
                   21549: \    func_quote_for_eval "${2}"\
                   21550: \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
                   21551: } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
                   21552:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21553:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21554: test 0 -eq $? || _lt_function_replace_fail=:
                   21555: 
                   21556: 
                   21557:   # Save a `func_append' function call where possible by direct use of '+='
                   21558:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
                   21559:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21560:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21561:   test 0 -eq $? || _lt_function_replace_fail=:
                   21562: else
                   21563:   # Save a `func_append' function call even when '+=' is not available
                   21564:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
                   21565:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21566:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21567:   test 0 -eq $? || _lt_function_replace_fail=:
                   21568: fi
                   21569: 
                   21570: if test x"$_lt_function_replace_fail" = x":"; then
1.150     moko     21571:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
                   21572: $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
1.128     moko     21573: fi
                   21574: 
                   21575: 
                   21576:    mv -f "$cfgfile" "$ofile" ||
                   21577:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
                   21578:   chmod +x "$ofile"
                   21579: 
                   21580: 
                   21581:     cat <<_LT_EOF >> "$ofile"
                   21582: 
                   21583: # ### BEGIN LIBTOOL TAG CONFIG: CXX
                   21584: 
                   21585: # The linker used to build libraries.
                   21586: LD=$lt_LD_CXX
                   21587: 
                   21588: # How to create reloadable object files.
                   21589: reload_flag=$lt_reload_flag_CXX
                   21590: reload_cmds=$lt_reload_cmds_CXX
                   21591: 
                   21592: # Commands used to build an old-style archive.
                   21593: old_archive_cmds=$lt_old_archive_cmds_CXX
                   21594: 
                   21595: # A language specific compiler.
                   21596: CC=$lt_compiler_CXX
                   21597: 
                   21598: # Is the compiler the GNU compiler?
                   21599: with_gcc=$GCC_CXX
                   21600: 
                   21601: # Compiler flag to turn off builtin functions.
                   21602: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
                   21603: 
                   21604: # Additional compiler flags for building library objects.
                   21605: pic_flag=$lt_lt_prog_compiler_pic_CXX
                   21606: 
                   21607: # How to pass a linker flag through the compiler.
                   21608: wl=$lt_lt_prog_compiler_wl_CXX
                   21609: 
                   21610: # Compiler flag to prevent dynamic linking.
                   21611: link_static_flag=$lt_lt_prog_compiler_static_CXX
                   21612: 
                   21613: # Does compiler simultaneously support -c and -o options?
                   21614: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
                   21615: 
                   21616: # Whether or not to add -lc for building shared libraries.
                   21617: build_libtool_need_lc=$archive_cmds_need_lc_CXX
                   21618: 
                   21619: # Whether or not to disallow shared libs when runtime libs are static.
                   21620: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
                   21621: 
                   21622: # Compiler flag to allow reflexive dlopens.
                   21623: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
                   21624: 
                   21625: # Compiler flag to generate shared objects directly from archives.
                   21626: whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
                   21627: 
                   21628: # Whether the compiler copes with passing no objects directly.
                   21629: compiler_needs_object=$lt_compiler_needs_object_CXX
                   21630: 
                   21631: # Create an old-style archive from a shared archive.
                   21632: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
                   21633: 
                   21634: # Create a temporary old-style archive to link instead of a shared archive.
                   21635: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
                   21636: 
                   21637: # Commands used to build a shared archive.
                   21638: archive_cmds=$lt_archive_cmds_CXX
                   21639: archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
                   21640: 
                   21641: # Commands used to build a loadable module if different from building
                   21642: # a shared archive.
                   21643: module_cmds=$lt_module_cmds_CXX
                   21644: module_expsym_cmds=$lt_module_expsym_cmds_CXX
                   21645: 
                   21646: # Whether we are building with GNU ld or not.
                   21647: with_gnu_ld=$lt_with_gnu_ld_CXX
                   21648: 
                   21649: # Flag that allows shared libraries with undefined symbols to be built.
                   21650: allow_undefined_flag=$lt_allow_undefined_flag_CXX
                   21651: 
                   21652: # Flag that enforces no undefined symbols.
                   21653: no_undefined_flag=$lt_no_undefined_flag_CXX
                   21654: 
                   21655: # Flag to hardcode \$libdir into a binary during linking.
                   21656: # This must work even if \$libdir does not exist
                   21657: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
                   21658: 
                   21659: # Whether we need a single "-rpath" flag with a separated argument.
                   21660: hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
                   21661: 
                   21662: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   21663: # DIR into the resulting binary.
                   21664: hardcode_direct=$hardcode_direct_CXX
                   21665: 
                   21666: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   21667: # DIR into the resulting binary and the resulting library dependency is
                   21668: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   21669: # library is relocated.
                   21670: hardcode_direct_absolute=$hardcode_direct_absolute_CXX
                   21671: 
                   21672: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   21673: # into the resulting binary.
                   21674: hardcode_minus_L=$hardcode_minus_L_CXX
                   21675: 
                   21676: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   21677: # into the resulting binary.
                   21678: hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
                   21679: 
                   21680: # Set to "yes" if building a shared library automatically hardcodes DIR
                   21681: # into the library and all subsequent libraries and executables linked
                   21682: # against it.
                   21683: hardcode_automatic=$hardcode_automatic_CXX
                   21684: 
                   21685: # Set to yes if linker adds runtime paths of dependent libraries
                   21686: # to runtime path list.
                   21687: inherit_rpath=$inherit_rpath_CXX
                   21688: 
                   21689: # Whether libtool must link a program against all its dependency libraries.
                   21690: link_all_deplibs=$link_all_deplibs_CXX
                   21691: 
                   21692: # Set to "yes" if exported symbols are required.
                   21693: always_export_symbols=$always_export_symbols_CXX
                   21694: 
                   21695: # The commands to list exported symbols.
                   21696: export_symbols_cmds=$lt_export_symbols_cmds_CXX
                   21697: 
                   21698: # Symbols that should not be listed in the preloaded symbols.
                   21699: exclude_expsyms=$lt_exclude_expsyms_CXX
                   21700: 
                   21701: # Symbols that must always be exported.
                   21702: include_expsyms=$lt_include_expsyms_CXX
                   21703: 
                   21704: # Commands necessary for linking programs (against libraries) with templates.
                   21705: prelink_cmds=$lt_prelink_cmds_CXX
                   21706: 
                   21707: # Commands necessary for finishing linking programs.
                   21708: postlink_cmds=$lt_postlink_cmds_CXX
                   21709: 
                   21710: # Specify filename containing input files.
                   21711: file_list_spec=$lt_file_list_spec_CXX
                   21712: 
                   21713: # How to hardcode a shared library path into an executable.
                   21714: hardcode_action=$hardcode_action_CXX
                   21715: 
                   21716: # The directories searched by this compiler when creating a shared library.
                   21717: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
                   21718: 
                   21719: # Dependencies to place before and after the objects being linked to
                   21720: # create a shared library.
                   21721: predep_objects=$lt_predep_objects_CXX
                   21722: postdep_objects=$lt_postdep_objects_CXX
                   21723: predeps=$lt_predeps_CXX
                   21724: postdeps=$lt_postdeps_CXX
                   21725: 
                   21726: # The library search path used internally by the compiler when linking
                   21727: # a shared library.
                   21728: compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
                   21729: 
                   21730: # ### END LIBTOOL TAG CONFIG: CXX
                   21731: _LT_EOF
                   21732: 
                   21733:  ;;
1.150     moko     21734: 
1.62      paf      21735:   esac
1.150     moko     21736: done # for ac_tag
1.62      paf      21737: 
                   21738: 
1.150     moko     21739: as_fn_exit 0
1.62      paf      21740: _ACEOF
                   21741: ac_clean_files=$ac_clean_files_save
                   21742: 
1.150     moko     21743: test $ac_write_fail = 0 ||
                   21744:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
                   21745: 
1.1       paf      21746: 
1.62      paf      21747: # configure is writing to config.log, and then calls config.status.
                   21748: # config.status does its own redirection, appending to config.log.
                   21749: # Unfortunately, on DOS this fails, as config.log is still kept open
                   21750: # by configure, so config.status won't be able to write to it; its
                   21751: # output is simply discarded.  So we exec the FD to /dev/null,
                   21752: # effectively closing config.log, so it can be properly (re)opened and
                   21753: # appended to by config.status.  When coming back to configure, we
                   21754: # need to make the FD available again.
                   21755: if test "$no_create" != yes; then
                   21756:   ac_cs_success=:
                   21757:   ac_config_status_args=
                   21758:   test "$silent" = yes &&
                   21759:     ac_config_status_args="$ac_config_status_args --quiet"
                   21760:   exec 5>/dev/null
                   21761:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   21762:   exec 5>>config.log
                   21763:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   21764:   # would make configure fail if this is the last instruction.
1.150     moko     21765:   $ac_cs_success || as_fn_exit 1
1.62      paf      21766: fi
                   21767: 
                   21768: #
                   21769: # CONFIG_SUBDIRS section.
                   21770: #
1.1       paf      21771: if test "$no_recursion" != yes; then
                   21772: 
1.150     moko     21773:   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
                   21774:   # so they do not pile up.
1.1       paf      21775:   ac_sub_configure_args=
                   21776:   ac_prev=
1.150     moko     21777:   eval "set x $ac_configure_args"
                   21778:   shift
                   21779:   for ac_arg
                   21780:   do
1.1       paf      21781:     if test -n "$ac_prev"; then
                   21782:       ac_prev=
                   21783:       continue
                   21784:     fi
1.62      paf      21785:     case $ac_arg in
1.1       paf      21786:     -cache-file | --cache-file | --cache-fil | --cache-fi \
                   21787:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                   21788:       ac_prev=cache_file ;;
                   21789:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1.62      paf      21790:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
                   21791:     | --c=*)
                   21792:       ;;
                   21793:     --config-cache | -C)
1.1       paf      21794:       ;;
                   21795:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   21796:       ac_prev=srcdir ;;
                   21797:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   21798:       ;;
1.62      paf      21799:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   21800:       ac_prev=prefix ;;
                   21801:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   21802:       ;;
1.150     moko     21803:     --disable-option-checking)
                   21804:       ;;
                   21805:     *)
                   21806:       case $ac_arg in
                   21807:       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   21808:       esac
                   21809:       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
1.1       paf      21810:     esac
                   21811:   done
                   21812: 
1.62      paf      21813:   # Always prepend --prefix to ensure using the same prefix
                   21814:   # in subdir configurations.
1.150     moko     21815:   ac_arg="--prefix=$prefix"
                   21816:   case $ac_arg in
                   21817:   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   21818:   esac
                   21819:   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
                   21820: 
                   21821:   # Pass --silent
                   21822:   if test "$silent" = yes; then
                   21823:     ac_sub_configure_args="--silent $ac_sub_configure_args"
                   21824:   fi
                   21825: 
                   21826:   # Always prepend --disable-option-checking to silence warnings, since
                   21827:   # different subdirs can have different --enable and --with options.
                   21828:   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
1.62      paf      21829: 
                   21830:   ac_popdir=`pwd`
                   21831:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
1.1       paf      21832: 
                   21833:     # Do not complain, so a configure script can configure whichever
                   21834:     # parts of a large source tree are present.
1.150     moko     21835:     test -d "$srcdir/$ac_dir" || continue
1.62      paf      21836: 
1.150     moko     21837:     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
                   21838:     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
                   21839:     $as_echo "$ac_msg" >&6
                   21840:     as_dir="$ac_dir"; as_fn_mkdir_p
1.62      paf      21841:     ac_builddir=.
                   21842: 
1.150     moko     21843: case "$ac_dir" in
                   21844: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   21845: *)
                   21846:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   21847:   # A ".." for each directory in $ac_dir_suffix.
                   21848:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   21849:   case $ac_top_builddir_sub in
                   21850:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   21851:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   21852:   esac ;;
                   21853: esac
                   21854: ac_abs_top_builddir=$ac_pwd
                   21855: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   21856: # for backward compatibility:
                   21857: ac_top_builddir=$ac_top_build_prefix
1.62      paf      21858: 
                   21859: case $srcdir in
1.150     moko     21860:   .)  # We are building in place.
1.62      paf      21861:     ac_srcdir=.
1.150     moko     21862:     ac_top_srcdir=$ac_top_builddir_sub
                   21863:     ac_abs_top_srcdir=$ac_pwd ;;
                   21864:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.62      paf      21865:     ac_srcdir=$srcdir$ac_dir_suffix;
1.150     moko     21866:     ac_top_srcdir=$srcdir
                   21867:     ac_abs_top_srcdir=$srcdir ;;
                   21868:   *) # Relative name.
                   21869:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   21870:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   21871:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.86      paf      21872: esac
1.150     moko     21873: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.1       paf      21874: 
                   21875: 
1.150     moko     21876:     cd "$ac_dir"
1.1       paf      21877: 
                   21878:     # Check for guested configure; otherwise get Cygnus style configure.
1.150     moko     21879:     if test -f "$ac_srcdir/configure.gnu"; then
                   21880:       ac_sub_configure=$ac_srcdir/configure.gnu
                   21881:     elif test -f "$ac_srcdir/configure"; then
                   21882:       ac_sub_configure=$ac_srcdir/configure
                   21883:     elif test -f "$ac_srcdir/configure.in"; then
                   21884:       # This should be Cygnus configure.
                   21885:       ac_sub_configure=$ac_aux_dir/configure
1.1       paf      21886:     else
1.150     moko     21887:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
                   21888: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
1.1       paf      21889:       ac_sub_configure=
                   21890:     fi
                   21891: 
                   21892:     # The recursion is here.
                   21893:     if test -n "$ac_sub_configure"; then
                   21894:       # Make the cache file name correct relative to the subdirectory.
1.62      paf      21895:       case $cache_file in
                   21896:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
1.150     moko     21897:       *) # Relative name.
                   21898:        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
1.1       paf      21899:       esac
                   21900: 
1.150     moko     21901:       { $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
                   21902: $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      21903:       # The eval makes quoting arguments work.
1.150     moko     21904:       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
                   21905:           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
                   21906:        as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
1.1       paf      21907:     fi
                   21908: 
1.150     moko     21909:     cd "$ac_popdir"
1.1       paf      21910:   done
                   21911: fi
1.150     moko     21912: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
                   21913:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
                   21914: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
                   21915: fi
1.1       paf      21916: 

E-mail: